[jboss-user] [JBoss Portal] - Re: default portlet preferences
Thanks, that does it. Everything else worked just as I wanted, so the problem is solved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963738#3963738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963738 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: default portlet preferences
It's opensource - all stuff you get in portal you can get from CVS. Nothing is hidden ;) For transaction error - you need to set in your jboss-portlet.xml | | PortletName | | Required | | or cover your code with transaction context by your self View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963731#3963731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963731 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: default portlet preferences
I think I could do it by getting the reference to the current instance and then by calling getPreferences() I would have had access to management of these preferences (I'm also not sure whether it would affect only current user or the default preferences). But I am experiencing a problem -- I get the reference to the InstanceContainer, but when I try to call getInstance(..), a Hibernate exception saying 'unable to locate current JTA transaction' is thrown. What could I do (I've got no idea about Hibernate). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963720#3963720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963720 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: default portlet preferences
The Management Portlet isn't written by jboss, so I can't get a look at its code. I've seen the preferences in the database, but I want to change them programmaticaly -- how can I access them from the code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963718#3963718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963718 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: default portlet preferences
look at the Management Portlet and how it does this ? you will find thing that you can reuse for what you want to do in the Edit mode of your portlet... look also at the concept of Dynamicity, in the wiki and forum (and the web, as I quit remember Roy Russo has written things on this). it is what allow the administrator to modify the portal configuration dinamically... The configuration of a portlet is stored in the database of jbp, so the default preference are there to. It is were you must change them for what you want to do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963684#3963684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963684 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: default portlet preferences
I want admin to be able to modify it from the portlet itself, but not to influence only his preferences, but also the default preferences. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963476#3963476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963476 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: default portlet preferences
Why not just hard-code the value in your Java source? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963217#3963217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963217 ___ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
