cancel
Showing results for 
Search instead for 
Did you mean: 

Render text property as textarea

mrjay
Champ in-the-making
Champ in-the-making
Hi everyone,

is it possible to render property from workflow task (type d:text) like textarea using renderNamedRegion() method? I couldn't figure that out. Anybody knows any other way in wich control is automatically binded to workflow task property?

Thanks in advance,
Joso
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
you could configure it in share-config-custom.xml file
Where you can define control template as textarea for that property in workflow task form.

mrjay
Champ in-the-making
Champ in-the-making
let me now if i understood you well. If I made some form customization in share, like this one, it will reflect in workdesk? This sounds pretty strange to me.

Thanks,
Joso

deko
Star Contributor
Star Contributor
Hi Joso,

Customizing share-config-custom.xml won´t change behavior of property fields in Workdesk. In Workdesk you`d have to implement (or use one of the default fieldcontrols) a fieldcontrol for your use case and apply it to the property you want to display as text area. A good example and very similar is the default FieldControl OwFieldManagerControlNote (see also Workdesk Configuration Guide and in code class com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlNote). You would configure it in owbootstrap.xml in the FieldControls node like the following example:


<FieldControls>
  <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlNote" objecttype="D:namespace:yourObject.namespace:yourTextProperty" >
  </FieldControl>
</FieldControls>

Best regards,
Deko