That was fast :-)
I'm doing my first steps in JSF, can you please add some details regarding
the implementation? Which component should I extends? How do I make that
this custom component will read the wrapped element ('bbb' in the example)?
Thanks for your help!
Mike Kienenberger wrote:
>
> You can probably make that work, but it may take a little effort. Jsf
> Rendering (generating of html) is independent of form value
> processing.
>
> You could create a jsf component that didn't output any tags in the
> rendering stage but still worked with the submitted values of the
> externally-generated html inputs, so long as you could somehow
> associate the clientId of the component with the actual id generated
> by the external content.
>
> Probably would look something like this on your page template:
>
> <my:customComponent forInputId="bbb">
> <!-- start externally generated content -->
> <input id="bbb" name="bbb" type="text" value=""/>
> <!-- end externally generated content -->
> </my:customComponent>
>
--
View this message in context:
http://www.nabble.com/MyFaces---can-backing-beans-access-native-html-elements--tp25453164p25454002.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.