[JBoss-user] [JBoss Portal] - Problem with createActionURL (JBossRenderResponse)
Hello. In order to create logout links at desired positions outside the user portlet, I've done the following: PortalNodeURL login; JBossPortalNode child; // ...search for portlet window with user portlet login = resp.createActionURL(child); login.setParameter(op, userLogout); unfortunately this does not work. The setParameter line throws a NullPointerException due to the fact that login is still null when setting a parameter. However, I've found a workaround. I created this link with a RenderURL instead and compared to the real link of the user portlet. Basically the same URL is generated, the only difference is that cmd is set to render instead of action. So I replace the string and the logout works correctly. PortalNodeURL login; JBossPortalNode child; // ...search for portlet window with user portlet login = resp.createRenderURL(child); login.setParameter(op, userLogout); // replace render with action in login string I must confess this is kind of confusing for me (I'm happy that it works at all :D). Can anyone tell me what went wrong here? Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919796#3919796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919796 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Navigating from one page (Login) to another page (Home)
mcaughey wrote : | I haven't figured out why I need to put portal twice. | that is because of the basic structure of the portal, you can find this in the reference guide: http://localhost:port/portal/ points to the default page of the default portal the substring /portal/portalname/ (http://localhost:port/portal/portal/portalname/) points to the default page of the portal portalname Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919526#3919526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919526 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Attempt to use variable theme on login page
Hello, in an attempt to customize the login page to use the currently set theme, which I believe is a pretty useful feature (its kind of annoying that it switches to 'nphalanx' by default), I tried the following: in portal-server.war/login.jsp I added %@ taglib uri=http://java.sun.com/portlet; prefix=portlet % portlet:defineObjects/ to get access to the request object and then get the theme name and put it in the head of the page. However I get the following exception: [FormAuthenticator] Unexpected error forwarding to login page org.apache.jasper.JasperException the absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application. Well, this exception makes the problem obvious, however the solution is not :-) Is there any way I can introduce this taglib to the login.jsp ? Greetings Thorsten P.S.: still using portal 2.2.0, so if this is already dealt with please tell me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919532#3919532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919532 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Attempt to use variable theme on login page
mholzner wrote : | please vote for it ;) done :) Thanks for the heads-up Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919644#3919644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919644 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Clean reinstall of portal
Hello, one quick question: to get a clean reinstall of the portal, does it suffice to delete jbossportal table from my database and recreate it or is there anything stored on applikation server level ? Thanks in advance Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919267#3919267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919267 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Instance/Deployment of portlet in core
Hello everyone, I wanted to ask how you can get a second instance of a core portlet without using the management portlet. Example: in portal-core.war/web-inf/portlet-instances.xml there is an entry instance-nameCatalogPortletInstance/instance-name component-refCatalogPortlet/component-ref what I tried now is adding the following entry: instance-nameCatalogPortletInstance2/instance-name component-refCatalogPortlet/component-ref in theory shouldn't this result in another instance of the CatalogPortlet which shows up in management portlet / instances ? When I use the management portlet to create a new instance it shows up correctly. Is there another thing to change to accomplish the task ? Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918614#3918614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918614 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Convenient way to test self-developed portlets?
Thank you very much, that works perfect. Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917568#3917568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917568 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Convenient way to test self-developed portlets?
Hello, this is what I'm currently doing to test my porlets: -compile -shut down JBoss AS -copy file -startup JBoss AS -refresh browser window an alternative approach I tried was to keep the server up while overwriting the file, create a new instance and assign it to the page. Besides the fact that this isn't much faster at all, it does not work :) Any best practices on portlet testing ? Thanks Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916852#3916852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916852 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Layout in JBossPortal-2.2
Do you get any kind of error , warning, etc. ? not that I am aware of. I realized that the old themes phalanx and no desk are still in the portal-core. However I'm deploying the war file in the server deploy directory (according to the server log both deploy successfully). Design issues are not really my domain...*sigh* I'll get back to this and post a screenshot, right now I am more concerned with functionality I have to implement :) Greetings Thorsten[/img] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916653#3916653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916653 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Persistence of changes done with management tool
Hello, one quick question: I just realized that changes done with the management tool in the default portal (add pages, place porlets on them) are saved when shutting down JBoss AS, while changes done on the HelloPortal from the documentation are not. Is this planned behaviour and is there a way to make changes in the HelloPortal persistant, too ? Thanks in advance Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916654#3916654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916654 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Persistence of changes done with management tool
ok I got it, in case someone had the same problem: the attribute if-exists of the portal in -object.xml must be set to keep. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916688#3916688 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916688 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Layout in JBossPortal-2.2
Hello, I would like to use my old layout (modified myLayout.war from Portal 2.0). Deployment works, choosing it in the menu does not (as expected). When I manually select layout and theme with the management tool, all portlet controls are missing. Is there a way to work around this or do I really have to start my layout on the basis of the generic layout ? Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916328#3916328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916328 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portlet title not working for my own portlet
Hello, actually I was implementing javax.portlet.Portlet. Now I changed that to extend GenericPortlets. Since I'm overriding the render method (which obviously is the reason for not showing up the title in the first place) I now tried to call the super.render method, however this doesnt work either. Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908124#3908124 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3908124 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portlet title not working for my own portlet
Hello everyone, after successfully deploying the HelloWorld portlet I started extending it with some functionality. I basically just copied the HelloWorld.war, edited all neccessary xml files and wrote some portlet code. Now everything works fine except the title of the portlet. I'm refering to the following lines in portlet.xml: | portlet-info | titleMy HelloWorld Portlet/title | /portlet-info | I can change this to any string I like and it shows up correctly. but my own portlet only shows null. Any ideas ? Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908055#3908055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3908055 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portlet title not working for my own portlet
I just realized a possible connection, the maximize/minimize/normal buttons do not have an effect either (contrary to the helloworld portlet). I really don't understand this, the only real difference is some naming changes and more portlet sourcecode... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3908056#3908056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3908056 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write my Own Portal..
Hello everyone, sorry for posting in this thread but I thought its better to post here than create a new, since my question is directly related to ray_lukas initial posting. I have done all the basic steps (Installing AppServer, connecting MySQL as datasource, installing JBoss Portal) and I can access and play around with the default portal (create users, define roles etc). Then I downloaded the HelloWorld.war (got the link from somewhere here in the forum), extracted it and put it in the Jboss-portal.sar dir (filestructure Jboss-portal.sar\helloworld.war\WEB-INF\...). Now there appears an additional page in the menu called helloworld however when clicking on it I get a NullPointerException. I fail to see the difference from what ray_lukas has done, yet its working for him. Did I miss something ? Considering the type of exception I must assume this is some kind of newbie mistake, but I cant figure it out. Thanks in advance Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3907586#3907586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907586 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write my Own Portal..
nevermind I just got it to work...(no clue why I didnt work in the first place). sorry to have messed up this thread Greetings Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3907596#3907596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907596 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user