| Author |
t:commandLink is not working inside a t:dataTable..Can anybody help..
|
Shasi Mitra
Ranch Hand
Joined: Nov 27, 2008
Posts: 101
|
|
when i use a t:commandLink inside a t:dataTable it is not working. I'm getting the same page with no values. If i put the same commandlink outside the datatable its working perfectly fine i.e., going to the next page..I've read in some sites that i should put the managed bean in the session to make it work. Is it the only solution which i cannot afford?
|
 |
Vikram Gupta
Greenhorn
Joined: Dec 02, 2008
Posts: 1
|
|
I am also having the same problem. I tried iteration alternatives like t:dataList and a4j:repeat instead of h:dataTable and didn't get any success. The code snippet is as follows: <t:dataList value="#{questionnaireBean.selectedQuestionsList}" var="instance"> <h utputText value="#{instance.statement}"></h utputText> <a4j:commandLink actionListener="#{questionnaireBean.removeQuestion}" reRender="selectedQuestions,tagsPanel" value="Remove"/> <br/> </t:dataList> Kindly help. -VG
|
 |
A. Dusi
Ranch Hand
Joined: Sep 27, 2004
Posts: 114
|
|
|
I am just curious but did it work with the managed bean in session scope?
|
 |
Shasi Mitra
Ranch Hand
Joined: Nov 27, 2008
Posts: 101
|
|
|
nope..did not work..but if we use preserveDataModel="true" for datatable it works.
|
 |
 |
|
|
subject: t:commandLink is not working inside a t:dataTable..Can anybody help..
|
|
|