hi all,
i am displaying various links of tutorials in a JSF page using
<h:commandLink>.
what i need to do is,when ever a user clicks a link,i hv to display
corresponding details of that clicked link in another jsf page.but my
problem, here is how to pass the value of the clicked one to the bean.
here is the code snippet.
<%ArrayList values = new ArrayList();
values = a.getPendingList();
for ( j = 0; j < values.size(); j = j + 6) {
%>
<h:commandLink action="#{approveBean.action}" styleClass="link">
<f:verbatim><%=values.get(j+1)%></f:verbatim>
</h:commandLink>
<%}%>
i want to pass corresponding values(j+1) to the bean .
i hv been trying to do this since 3 days.
somebody please help me.
thanks in advance,
Shree.
--
View this message in context:
http://www.nabble.com/how-can-i-know-which-link-has-been-clicked-by-user---tf3552147.html#a9916936
Sent from the MyFaces - Users mailing list archive at Nabble.com.