HI Chamil,
Default value can be set like below:
<field type="text" required="false" default="Titans">
<name>Name</name>
</field>
Regards,
Chandana
On Mon, Aug 31, 2015 at 6:40 AM, Chamila Adhikarinayake <[email protected]>
wrote:
> Hi,
>
> Is it possible to add a default value to text field in a greg artifact. I
> tried following but it does not set a value to that.
>
> <field type="text" required="false">
> <name>Name</name>
> <values>
> <value>Titans</value>
> </values>
> </field>
>
> Thanks,
> Chamila
>
> --
> Regards,
> Chamila Adhikarinayake
> Software Engineer
> WSO2, Inc.
> Mobile - +94712346437
> Email - [email protected]
> Blog - http://helpfromadhi.blogspot.com/
>
--
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org
*Email : [email protected] <[email protected]>**Mobile : +94718169299*
*Blog : http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev