Hi Tommaso, I presume you are using J1. I am using Jetspeed 1.6, and the problem you stated seems to be due to the design. As I understand, the portlet you have written is J1 portlet. Jetspeed 1 portlet classes are put in to J1 webapp classloader and they need the portal restart to be reloaded properly. The problem is not a bug in your code nor J1.
see http://portals.apache.org/jetspeed-2/j1-users.html I would suggest you to migrate to jsr 168 portlet (using J2 or J1 Fusion) as it allows reloading of the portlet without portal restart. Ruwan ----- Original Message ----- From: "Tommaso Nuccio" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, January 31, 2006 3:25 PM Subject: Bug in Portlet functionality? > Hi community, > > well I have this special issue that took me two days to fix. > > I wrote a portlet that has a form, where the user can select options. By > clicking the input submit button, regarding the turbine action functionality, > the action bailed to the submit button is called, in my > case "eventsubmit_doForm". > > At the beginning of the development of the portlet, it didn't work, because > doForm() was not called. I figured it out, and then I had the next problem. > This time, there seemed to be a difference between > - rundata.getParameters().getString("SomeParameter") and > - rundata.getRequest().getAttribute("SomeParameter") > in the Action-class and the JSP Page. > While it worked in the JSP file, it didn't work in the Action-class. > > At the end I got it working. > How? > By restarting the whole system and the server! > > Is this a bug? I don't think it is the intention to work like this. After > restarting everything, it semmed to get the changes and now I can go on > developing. > > Did anyone anywhere face this or a similiar problem? > Would be nice to hear from other people about problems and solutions. > > Many thanks in advance. > > Ciao, > Tommaso > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 1/27/2006 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
