-
1. Re: Edit / Refresh a portlet in Gatein
mwringe Mar 10, 2010 4:04 PM (in response to dcarpio)you shouldn't need to do any changes if you are over writing the portlet war. You should just be able to redeloy the portlet (by overwriting the file) and have its updated content in the portal.
Is there an issue with your new content not being displayed? or were you just expecting a change in the application registry?
-
2. Re: Edit / Refresh a portlet in Gatein
dcarpio Mar 10, 2010 4:55 PM (in response to mwringe)Thanks por your answer Matt. But, as you say, there is no change in the portlet's content updated. I mean, i write another message and this is not being displayed.
-
3. Re: Edit / Refresh a portlet in Gatein
sorenschmidt Mar 10, 2010 5:24 PM (in response to dcarpio)Hola Daniel,
gracias por tu mensaje.
Have you re-compiled the modified source code (I know a stupid question, but that happens) for the new war?
Have you restarted your application server in order to see if your changes are taken into account?
If you do a hot deploy of your war - have you seen messages in the application server's traces that the war has been replaced?
There is no need to re-import your portlet with "Auto-Import" if the name of the portlet and the name of the war remains unchanged.
On the other hand, if you want to see the changement you might just rename the name of your war in order to see the difference when executing "Auto-Import".
Saludos
Soren
-
4. Re: Edit / Refresh a portlet in Gatein
mwringe Mar 10, 2010 5:26 PM (in response to dcarpio)ok, I have just tested this and it works for me.
I have a portlet, I add it in the application registry, create a page and add the portlet to the page.
I make an update to the portlet, rebuild the portlet and overwrite the portlet war in the deploy directory of the server
I then refresh the page with the portlet on it and see the update I made.
Can you give some more information on the steps you are taking?