Thanks a lot for your help. 

Could someone explain me how JSF component-binding is working or give me a
link to understand quickly and easily what is it?

Thanks
Sophie 

-----Message d'origine-----
De : MarcV [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 29 mars 2006 15:40
À : MyFaces Discussion; [EMAIL PROTECTED]
Objet : Re: special list with JSF

check the usage of the tree2

On 3/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am also looking for a list as follow:
>
> + list
>        - item1
>        - item2
>        - item3
>
> When I click on + I can see item1 item2 and item3. Is there a special tag
to
> do that with JSF?
>
> Thanks in advance
> Sophie
>
> -----Message d'origine-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Envoyé: mardi 28 mars 2006 19:35
> À: 'MyFaces Discussion'
> Objet: RichList
>
> Hi!
>
> I got into troubles while using lists in a jsp page.
> I have a list of possible pages to load: psLabels groups together all
pages
> names (page1, page2 etc).
> Then I would like to display all this labels and add an action link on
them
> in order to load the page. Thus I need an action (the link to the page for
> example "page1Load" that retrieves which jsp page to load in a XML file)
and
> I need an actionListener that prepares the page (with an action event).
> How could I get the action and actionListener according to the label (I
> coded a method that returns the action (String getAction(String label))
and
> a method that returns the actionListener (String getActionListener(String
> label, ActionEvent event))
> But I think I am getting into troubles while calling them or maybe because
> of the parameter stored in f:param. Please would you mind telling me what
> should I do? Thanks for your help!
>
> Sophie
>
> <a:richList id="ps-list"  viewMode="details" pageSize="10"
> styleClass="recordSet" headerStyleClass="recordSetHeader"
> rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt"
width="100%"
> value="#{EF_BrowseBean.psLabels}" var="p" initialSortDescending="true">
>
> <a:column>
>     <h:commandButton id="submit" action="#{EF_BrowseBean.getAction}"
> actionListener="#{"{EF_BrowseBean.getActionListener}"}"
> value="#{p}" >
>          <f:param name="label" value="#{p}" />
>      </h:commandButton>
> ....
>
>
>
> __________ NOD32 1.1459 (20060327) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>


--
A+,
MarcV.

Reply via email to