Re: Custom component with childrens

2006-07-17 Thread David Delbecq
Thank you all. I finally managed to find a quick and easy way to do it without ressorting to facelets. I simply set the value bean in the request map using a specific clientid specific name and i inject this value during the processXXX calls. This work well with actions and with properties. Greeti

Re: Custom component with childrens

2006-07-14 Thread Mike Kienenberger
On 7/14/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: Facelets gives you great power for composite controls. It is much easier to build them that way then to build them programatically. Yeah, I really don't think this can be emphasised too much. Doing this in JSF/facelets takes about 10 minute

Re: Custom component with childrens

2006-07-14 Thread Andrew Robinson
FYI: You can pass method bindings in facelets, it just requires a little bit of work. I posted a blog on this: http://andrewfacelets.blogspot.com/2006/06/creating-composite-controls-with-jsf.html Facelets gives you great power for composite controls. It is much easier to build them that way then

Re: Custom component with childrens

2006-07-14 Thread Mike Kienenberger
Mike Kienenberger a écrit : > Composite components are a lot easier if you add facelets into the mix > as it can all be done in templating code. On 7/13/06, delbd <[EMAIL PROTECTED]> wrote: No, my composition will not be simple in the end and i need to provide a simple to use taglib. (with ele

Re: Custom component with childrens

2006-07-13 Thread delbd
Mike Kienenberger a écrit : > Composite components are hard to do in standard JSF. > > There's a year-old example where I did something like this at the > following URL. I remember having similar issues and fixing them. > > http://issues.apache.org/jira/secure/attachment/12311217/RowAndColumnRela

Re: Custom component with childrens

2006-07-13 Thread Mike Kienenberger
Composite components are hard to do in standard JSF. There's a year-old example where I did something like this at the following URL. I remember having similar issues and fixing them. http://issues.apache.org/jira/secure/attachment/12311217/RowAndColumnRelationshipComponent.zip Composite compo

Custom component with childrens

2006-07-13 Thread David Delbecq
Hello all, Starting to learn JSF, i tried to create my custom UI component. Because it will be made of several fields and button, i decided to extends HTMLPanelGrid. The constructor creates the various components part of the Panel. After getting "funny" errors in console, i worked on a step by ste