WebSphere Portal Server - Portlet jsp navigation

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > April 2006 > Portlet jsp navigation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Portlet jsp navigation

2006-04-11, 10:17 am

Say i have two basic portlets placed in WebContent like this

jsp1
html
CreateEmployeePortlet.jsp

jsp2
html
SearchEmployeePortlet.jsp

While searching for an employee i am in 'SearchEmployeePortlet.jsp' and i get the results list again back in this jsp.Now i want to update a particular record out of the list of employees displayed.User selects a particular record and the control goes to
the 'SearchEmployeePortlet' class.

In this class there are two callback methods implemented actionPerformed() and doView(). From the doView i redirect the page to 'CreateEmployeePortlet.jsp'. This is because i wish to display the data to be edited using this jsp. Here user makes the change
s to the relevant fields and submits.Here on submit control goes to 'SearchEmployeePortlet' class instead of the CreateEmployeePortlet class.

Firstly is this approach ok. This is how we normally do in a jsp framework, but problem i am facing is how the control is transferred from a jsp to a different portlet class other than its own.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com