Hi Amalka,

Well I can think of two ways to achieve this.


   1. Check for the size of the string data and if it exceeds more than a
   predefined size, then you can define the text field of that property as
   text area.
   2. Or you can define a custom property for the fields that you want to
   define as text area. If the property is a custom property type then you can
   define the text area [1]

[1]
http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/


Regards,
Firzhan


-- 
*Firzhan Naqash*
Senior Software Engineer - Integration Platform Team
WSO2 Inc. http://wso2.com

email: [email protected]
mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
blog: http://firzhanblogger.blogspot.com/
<http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
*twitter: https://twitter.com/firzhan007 <https://twitter.com/firzhan007> |
linked-in: **https://www.linkedin.com/in/firzhan
<https://www.linkedin.com/in/firzhan>*

On Sun, Apr 17, 2016 at 7:58 AM, Amalka Subasinghe <[email protected]> wrote:

> Hi,
>
> When implementing BPMN User Task I want to generate a form (from the form
> properties I define in User Task) with a *Textarea*.
>
> When going through the BPMN explorer code I found that, if the form
> property type is string then it generates the form as text field, if it is
> enum then it generates as list box, etc... via a JavaScript code.
> How can I generate a Textarea using the form property we defined in BPMN ?
>
> As I know Activiti supports string, long, boolean, enum and date property
> types only.
> Any idea to differentiate a property defined in form section in BPMN as a
> textarea?
>
> Thanks
> Amalka
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to