Hi,

I have a scenario in which a custom component "wraps" a TextField
component.

CustomComponent.html

<input jwcid="textField"></input>

CustomComponent.jwc textfield snippet:

   <component id="textField" type="TextField"
inherit-informal-parameters="yes">
       <binding name="id" value="id"/>
       <binding name="name" value="name"/>
       <binding name="displayName" value="displayName"/>
       <binding name="value" value="value"/>
       <binding name="onKeyPress" value="keyPressHandler"/>
       <binding name="validators" value="validators"/>
       <binding name="disabled" value="disabled"/>
   </component>


Page configuration of CustomComponent:

<input type="text"  jwcid="[EMAIL PROTECTED]" />

i find that the underlying TextField id honors the telNo2 prefix for the
jwcid, but the name parameter of the TextField looks like textfield_xx

my requirement is that i want the name parameter of the underlying textfield
to be like telNo2_xx

Any help will be most appreciated!

--
Thanks, Karthik

Reply via email to