cancel
Showing results for 
Search instead for 
Did you mean: 

howto define TextAreaGenerator for property in propertySheet

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

how i can define TextAreaGenerator for custom property in my own propertySheet ?

I try this :

<r:propertySheetGrid value="#{WizardManager.bean.node}" var="node"
   <r:property name="custom:myproperty" mode="edit" component-generator="TextAreaGenerator"/>
</r:propertySheetGrid>

But i have an error component-generator not define for property tag.
But how i can do this ?

Last question is it possible to define rows and cols size on text area ?
2 REPLIES 2

rivarola
Champ on-the-rise
Champ on-the-rise
Hello,

Maybe you should create your own property tag inheriting from Alfresco's one to add this component generator property and set it on the UIProperty component in the setProperties method.

For the textarea dimensions you should have a look at http://wiki.alfresco.com/wiki/Simple_Customisations#Change_Size_Of_Textfields. I think the same kind of customization is possible in your case.

ribz33
Champ on-the-rise
Champ on-the-rise
Thx for reply,

This is a good idea but my problem is more that im not able to define component to use.
If i create my own component, i think it will be same thing, Iwill not be able do define it in my <property> tag
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.