cancel
Showing results for 
Search instead for 
Did you mean: 

How do you control the height of a textarea?

tvaughan77
Champ in-the-making
Champ in-the-making
Hi,

If you have a XSD content model with a snippet like this:

                <xs:element name="short_body_regular" type="xs:string">
                  <xs:annotation>
                    <xs:appinfo>
                      <alf:appearance>minimal</alf:appearance>
                    </xs:appinfo>
                  </xs:annotation>
                </xs:element>

How do you control the height of the rendered textarea that Alfresco's Xforms renders for you?
1 REPLY 1

tvaughan77
Champ in-the-making
Champ in-the-making
For y'alls information –

I changed the appearance from "minimal" to "custom" and then manually edited the config/alfresco/web-client-config.xml file to make the "custom" declaration for the textarea widget do what I wanted it to do.

I'm not sure that's a great solution, because I assume the web-client-config.xml will get overwritten the next time I update Alfresco…