-
1. Re: Trying to modify register.jsp in the portal
esgargs Aug 17, 2006 4:46 PM (in response to esgargs)Can someone help me here?!
Thanks -
2. Re: Trying to modify register.jsp in the portal
peterj Aug 17, 2006 4:56 PM (in response to esgargs)Did you try doing a refresh in the browser? Sometimes the browser thinks it has the latest version of the page in it's cache. (I just tried this, worked for me. I should point out that I started JBoss after I made the change.)
-
3. Re: Trying to modify register.jsp in the portal
esgargs Aug 17, 2006 5:05 PM (in response to esgargs)yes, I tried restarting the browser, clearing its cache, and even rebooting the machine. Am I modifying the right files?
Are there any additional steps involved?
Thanks -
4. Re: Trying to modify register.jsp in the portal
peterj Aug 17, 2006 5:59 PM (in response to esgargs)I changed the file you specified, changing line 13 to read (new text in red):
<td><font class="portlet-form-label">Hello ${n:i18n("USERNAME")}: </font></td>
The preview shows thress lines, this should be all one line.
That's all I did. On the register page I see "Hello Username:" -
5. Re: Trying to modify register.jsp in the portal
esgargs Aug 17, 2006 6:07 PM (in response to esgargs)did you modify the org/register.jsp or the user/register.jsp?
Also, did you redeploy everything? If so, just a "build deploy" from core, right?
I wonder why it isn't working for me. -
6. Re: Trying to modify register.jsp in the portal
peterj Aug 17, 2006 6:14 PM (in response to esgargs)I actually modified the deployed file directly at ./server/default/deploy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/user/register.jsp and then started the server. I was too lazy to try it starting from the source and building/deploying it. You should double check that the deployed file contains your changes (at times I have sent an hour or more trying to figure out why my changes are not showing up just to realize that I placed by changes in the 'target' directory and every time I ran a maven build it wiped out those changes.)
-
7. Re: Trying to modify register.jsp in the portal
esgargs Aug 17, 2006 6:16 PM (in response to esgargs)That could be it.
is this a bug in jboss? I guess I could directly modify the jsps and redeploy only in case I modify the java classfiles. -
8. Re: Trying to modify register.jsp in the portal
peterj Aug 17, 2006 6:25 PM (in response to esgargs)This is not a bug in JBoss. Every time I have not gotten the expected text displayed was because of my own deployment issues. Once I have verified that the correct file is in the deploy directory, and started JBoss, I always get the expected results.
-
9. Re: Trying to modify register.jsp in the portal
roy.russo Aug 17, 2006 6:34 PM (in response to esgargs)BTW, you can try deploying your war expanded. Touch the web.xml to force a hot-deploy and then CTRL+Refresh your browser. Should save you some time.
-
10. Re: Trying to modify register.jsp in the portal
esgargs Aug 18, 2006 10:58 PM (in response to esgargs)So I found this to work:
undeploy
build clean
build deploy
Now, I am not familiar with doing an "exploded war" install. How can I modify the build.xml file to work for me? Or is this a problem with how the packaging is carried out?