aspose file tools*
The moose likes JSF and the fly likes Issue with setPropertyActionListener tag in jsf core taglib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Issue with setPropertyActionListener tag in jsf core taglib" Watch "Issue with setPropertyActionListener tag in jsf core taglib" New topic
Author

Issue with setPropertyActionListener tag in jsf core taglib

Deepak Kr
Greenhorn

Joined: Jan 17, 2010
Posts: 1
I have multiple href links in a page (orders.jsp), if some click is made on somelink, it takes user to another page (orderdetails.jsp) , but when user tries to click on another link (VIA using the browser BACK button from details page and clicking another link), it doesn't work properly.... instead it takes to older details page.

Problem here is that, whichever link (to orderdetails.jsp page) is first hit after order.jsp page is loaded, it works fine, but if any other link is tried on the orders.jsp page, after coming from orderdetails.jsp page via browser BACK button, then it ALWAYS takes to the orderdetails page of the first hit link.

Code snippet of the orders.jsp
<t:dataList var="item" value="#{value}" rowIndexVar="i" layout="simple">
<h:commandLink action="#{opRead.query}" >
<hutputText value="#{item}" />
<f:setPropertyActionListener target="#{params[attr.addlInfo]}" value="#{item}"/>
</h:commandLink>
</t:dataList>

Looks like an issue with the setPropertyActionListener tag, as it creates the hidden input field to the html form, do you know the solution here...?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with setPropertyActionListener tag in jsf core taglib