Deepak Kr

Greenhorn
+ Follow
since Jan 17, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Deepak Kr

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}" >
<h:outputText 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...?
14 years ago
JSF