Hi Dakshika,

I came across this issue while doing development for BPS work, what i did
to overcome this was to add all the attributes that i needed to the RXT and
then let it generate the form, if you understand the extension model that
ES is on, you can override the default files using your own files. So, what
you can do is let it generate the form and then, copy the div containing
the form attributes and recreate your own hbs file and override the
generated one. This way you will be able to manipulate and do all your
client side generic data validation logic. Here is an article[1] i wrote on
what i learnt from the ES Extension Model. Hope it is clear.

[1] -
https://shivabalachandran.wordpress.com/2015/01/08/wso2-enterprise-store-extension-model/

Thank you.

Regards,
Shiva Balachandran

On Thu, Mar 5, 2015 at 7:57 AM, Dakshika Jayathilaka <[email protected]>
wrote:

> Hi,
>
> I need to add placeholder text to each input fields that generated based
> on RXT[1].
> Seems there is no window to add any custom attributes or data
> attributes[2]. Also I need to implement client side generic data validation
> logic. In order to implement that type of logic we need to add some custom
> data attributes to each field as wel.
>
> Is there any way way of achieving this?
>
> [1]
> https://docs.wso2.com/display/ES100/Adding+a+New+Asset+Type#AddingaNewAssetType-Step1-CreatinganRXTdefinitionforyourassettype
>
> [2] http://www.w3.org/TR/2011/WD-html5-20110525/elements.html
>
> Thank you,
>
> Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to