|
Home > Archive > WebSphere Portal Server > March 2006 > Portlet Usage
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]
|
|
|
| Hi,
Am new to portlet world.While designing for a j2ee web based app we wanted to use portlets to allow user to do some personalization, access document management features etc.
Would like to know if we can make the whole application portlet based.say in a normal struts framework we would use jsp-action-business api-db sort of a layer. But if we see the same through portlet framework then can we have things like
- multiple portlet forms on a page each being submitted to different actions.
- dropdown's onChange method reloading a single portlet only.
Basically whether we have flexibility of using javascript with ease and then any benefits if a whole jsp based application is developed based on portlet.
| |
|
| Yes, In-fact you can write a web app using STRUTS framework and follow the steps as defined in info center to convert an existing STRUTS applicaiton to a portlet application.
If you want to use multiple forms and multiple portlets on a single page, the form name and other variables have to be unique. One way of doing this is by using namespace encoding for various elements on your form. Same rule applies to the JavaScript func
tions too. However JavaScript warning and error messages might be confusing for the user as there are more than one portlet on the page and user might not know, which one has triggered this error or warning.
|
|
|
|
|