[jboss-user] [JBoss Portal] - Re: Using PortletSession, sharing objects between portlets

2006-11-01 Thread mholzner
The J2EE spec requires different sessions for different WAR files , even if the sesison id is the same. That's why you see what you see. However: JBossPortal has a configuration option where all portlet WARs can be configured to use the Portal's session (I don't remember where it is though ;)

[jboss-user] [JBoss Portal] - Re: header content injection

2006-10-24 Thread mholzner
You could simply make it a 'hardcoded' reference in the layout's jsp Otherwise you'll need to add it the each theme that you are using (it's one line in the theme descriptor for each theme that you'd have to add) View the original post :

[jboss-user] [JBoss Portal] - Re: How to make JBoss Portal use my own css selectors?

2006-10-23 Thread mholzner
I assume you mean you added the selectors to the css, and now you want the portal to render markup that contains the classes/ids to activate the selectors, right? If that's the case. look at the layout's jsp(s) (depending on what layout you are using), and the renderSet classes (most likely

[jboss-user] [JBoss Portal] - Re: custom layout deployment issues

2006-10-23 Thread mholzner
There is no check during deployment if the URL you provided in the descriptor actually points to a valid JSP/Servlet. Check that the jsp is actually available via a request dispatcher under the provided URL... there should also be information in the log about how far the invocation gets (i.e.

[jboss-user] [JBoss Portal] - Re: UserModule transaction problem

2006-10-23 Thread mholzner
By default the transaction is suspended before the call to the portlet container. You need to flag your portlet to require a transaction in the portal object descriptor. There are examples for that in the standard descriptor examples. After flagging your portlet there, you should be able to

[jboss-user] [JBoss Portal] - Re: start portlet maximised

2006-10-20 Thread mholzner
Perhaps you could get what you wnat by using several strategies? The strategy has no access to config info, that is correct. But you could configure different strategies for different layouts, or pages. Not perfect, but perhaps enough? View the original post :

[jboss-user] [JBoss Portal] - Re: start portlet maximised

2006-10-20 Thread mholzner
Where is your configuration, and what does it look like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3979729#3979729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979729 ___

[jboss-user] [JBoss Portal] - Re: Portlet calling a webservice

2006-10-19 Thread mholzner
generate the client stubs, and use them in the portlet. There is no difference in calling the WS from a portlet to any other client. Look at the examples that come with your SOAP engine (AXIS, JBoss-WS, ) WSRP is something completely different. It used WS as a transport protocol, but

[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?

2006-10-18 Thread mholzner
a) are you authenticated at the time? b) is this code in the processAction() or doView(), doEdit(), ... You need to be authenticated, and changing prefs can only be done in processAction() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3979108#3979108

[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?

2006-10-18 Thread mholzner
preferences are stored in the database. I haven't looked at that part of the code, but knowing Julien, the preference store is probably pluggable ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3979165#3979165 Reply to the post :

[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade

2006-10-18 Thread mholzner
Currently it is not possible to get what you want via the descriptor. Look at | org.jboss.portal.theme.deployment.jboss.PortalThemeMetaDataFactory | That's where the descriptor gets unmarshalled. As you can see there, everything but script and link tags will be ignored. Not sure if you

[jboss-user] [JBoss Portal] - Re: What determines window order within a region?

2006-10-18 Thread mholzner
It's more or less random. What happens behind the scenes is that WindowContext implements Comparable, and the compare method only considers the order to calculate the return value | package org.jboss.portal.theme.page; | public final class WindowContext implements Comparable, Serializable

[jboss-user] [JBoss Portal] - Re: Setting Window Default State

2006-10-16 Thread mholzner
lok at the LayoutStrategy. You can write your own strategy to get what you are describing here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978548#3978548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978548

[jboss-user] [JBoss Portal] - Re: Portlet for Google Map, problem with Refresh

2006-10-13 Thread mholzner
set the caching time to infinit (-1). That way the content should be cached after the first render until the portlet receives a render or action request that is directly targeted at the instance (in theory at least ;) View the original post :

[jboss-user] [JBoss Portal] - Re: start portlet maximised

2006-10-12 Thread mholzner
you don't have to modify portal src! The correct way to appoach this is the layout strategy. Take a look at the MaximizingStrategy as an example. In the strategy you get all the portal objects and their navigational state and you have the ability to change their state or position on the page,

[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository

2006-10-12 Thread mholzner
nope, it's not there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977894#3977894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977894 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: Accessing Window

2006-10-12 Thread mholzner
Look at portlet properties and preferences. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978002#3978002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978002 ___ jboss-user

[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade

2006-10-10 Thread mholzner
In your case the code is ignored because the xml descriptor is parsed in a standard way (i.e. ignoring comments). BUT: You can do it via code. In the portlet's doView() etc. you can inject any HTML you want. Look for the ContentRewritePortlet in the portlet examples (in core). |

[jboss-user] [JBoss Portal] - Re: Layout page as JSF page

2006-10-09 Thread mholzner
are you pointing at the JSF itself, or at the JSF via the JSF controller? You might have a chance if you point to it via the controller, but I'm not sure View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976967#3976967 Reply to the post :

[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository

2006-10-09 Thread mholzner
sorry to be such a pain, but it still doesn't work, even after removing the thirdparty directory and starting from scratch. Any other ideas: JDK, env vars, ...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976989#3976989 Reply to the post :

[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository

2006-10-09 Thread mholzner
forgot the error message: | == | == | == Executing 'most' in module 'test'... | == | == | | configure: | Overriding previous definition of reference to apache.ant.classpath | | _default:compile-classes: |

[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository

2006-10-06 Thread mholzner
thanks Thomas! I guess that's what I get for blindly following the instructions under http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossPortalFromScratch it works now ;) ... almost. Now I get | configure: | Overriding previous definition of reference to apache.ant.classpath | |

[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository

2006-10-05 Thread mholzner
+1 checcking out trunc from : http://anonsvn.jboss.org/repos/portal | C:\work\jboss\jboss-portal-2.6\buildls | build-thirdparty.xml build.bat build.sh build.xml distrib.xml etc ide licences misc | | C:\work\jboss\jboss-portal-2.6\buildant | Buildfile: build.xml | |

[jboss-user] [JBoss Portal] - Re: How to control maximized portlet layout?

2006-09-29 Thread mholzner
this is described in the doc, but perhaps not easy to find ;) You can do what you are looking for. It is controlled via the layout strategy for one, and then via the layout itself. The layout can describe individual layout JSPs (or Servlets) for each 'state'. The state is set by the layout

[jboss-user] [JBoss Portal] - Re: Page Title

2006-09-05 Thread mholzner
It should be possible to write a jsp expression using the request attribute PAGE (LayoutConstants.ATTR_PAGE), which is of type org.jboss.portal.theme.page.PageResult . Use the getPageName() method on the PageResult. That should give you the name of the page as is was specified in the