[JBoss-dev] [Design of JBoss Portal] - Re: javax.servlet.ServletException: no main

2005-02-07 Thread mholzner
the context name doesn't seem to make the difference. I checked it over several times, tried to deploy as an EAR and as a WAR with no success. Looks like something's missing in the doc. Perhaps a web.xml entry (Servlet, listener)? I started to debug the issue, but haven't figured it out yet

[JBoss-dev] [Design of JBoss Portal] - Re: The latest source code - WHERE ?

2005-02-08 Thread mholzner
I use: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r HEAD jboss-portal , and cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -d jboss-portal\thirdparty -r HEAD jboss-portal-thirdparty to get the 3rd party jars Note: I just went through this and am not finished (can't

[JBoss-dev] [Design of JBoss Portal] - Re: The latest source code - WHERE ?

2005-02-08 Thread mholzner
thx for the clarification. I think I found that browsing the cvs repository. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3865787#3865787 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3865787

[JBoss-dev] [Design of JBoss Portal] - Re: javax.servlet.ServletException: no main

2005-02-09 Thread mholzner
user error: my war didn't contain a portlet.xml ; my ant template didn't add it in; once the correct context name is used it works (thanks Thomas!). I run into other problems now, but I assume for the moment that those are user errors as well. boy, do I feel stupid :( View the original

[JBoss-dev] [Design of JBoss Portal] - Re: Theme development

2005-02-11 Thread mholzner
mholzner wrote : here are some more ideas (way out there, I know ;): | | | * an incoming request contains the page name (or it defaults to a name) | * the request/session contains the user information | * the request contains information about the client device and the supported mime

[JBoss-dev] [Design of JBoss Portal] - Re: Theme development

2005-02-11 Thread mholzner
here are some more ideas (way out there, I know ;): * an incoming request contains the page name (or it defaults to a name) * the request/session contains the user information * the request contains information about the client device and the supported mime types * based on the page name, user

[JBoss-dev] [Design of JBoss Portal] - build now requires Java 5!

2005-02-17 Thread mholzner
I just found out that there is usage of a Tiger String method (contains()) which requires Java 5 to be able to build the portal! If you do make minor modifications like that, could you please update the doc, or post it on the forum ? or did I miss it ? sorry, just angry about the

[JBoss-dev] [Design of JBoss Portal] - Re: build now requires Java 5!

2005-02-18 Thread mholzner
thank you ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867083#3867083 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867083 --- SF email is sponsored by - The IT

[JBoss-dev] [Design of JBoss Portal] - Re: build now requires Java 5!

2005-02-18 Thread mholzner
hmm, did you also check the fix in ? I just got: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss up jboss-portal-2.0 (I also tried -r HEAD) and still see the same: * when calling build without any changes, I get : _default:compile-classes: [depend] Deleted 0 out of date files in 0

[JBoss-dev] [Design of JBoss Portal] - setContentType() with encoding not supported

2005-02-18 Thread mholzner
it is perfectly legal in a portlet to set the content type like text/html; charset=UTF-8 the current implementation of RenderResponse (org.jboss.portal.portlet.impl.RenderResponseImpl) does a String comparison of the set content type with the content types from the portlet.xml descriptor,

[JBoss-dev] [Design of JBoss Portal] - Re: setContentType() with encoding not supported

2005-02-18 Thread mholzner
sorry, forgot the error: java.lang.IllegalArgumentException: Content type not accepted at org.jboss.portal.portlet.impl.RenderResponseImpl.setContentType(RenderResponseImpl.java:68) at at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:51) at

[JBoss-dev] [Design of JBoss Portal] - Re: setContentType() with encoding not supported

2005-02-19 Thread mholzner
here it is : http://jira.jboss.com/jira/browse/JBPORTAL-209 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867171#3867171 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867171

[JBoss-dev] [Design of JBoss Portal] - Re: Exception at first access

2005-02-22 Thread mholzner
try deploying your portal to the 'standard' configuration as recommended (not 'all'). I updated my view today and build clean/build and all is well for me View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867493#3867493 Reply to the post :

[JBoss-dev] [Design of JBoss Portal] - Re: Problem with cvs

2005-02-22 Thread mholzner
I use these two successfully: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-portal-2.0 cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss update jboss-portal-2.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867494#3867494 Reply to the

[JBoss-dev] [Design of JBoss Portal] - Portlets and ResourceBundle

2005-02-22 Thread mholzner
has anyone figured out how to use resource bundles in a portlet ? I configured my portlet.xml to use a rb: portlet-nameBlah/portlet-name resource-bundlecom.blah.Blahresource-bundle portlet-info Title short-titleShort

[JBoss-dev] [Design of JBoss Portal] - Re: Portlets and ResourceBundle

2005-02-22 Thread mholzner
sorry, the xml in the prev. post got mingled up a bit. The portlet.xml entries are ok in the real thing. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867521#3867521 Reply to the post :

[JBoss-dev] [Design of JBoss Portal] - Re: CMS portlet : 404 error

2005-02-23 Thread mholzner
you should use the 'standard' configuration (start the server with -c standard) and unzip into $JBOSS_HOME/server/standard/data View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867621#3867621 Reply to the post :

[JBoss-dev] [Design of JBoss Portal] - Re: Portlets and ResourceBundle

2005-02-23 Thread mholzner
hmm, sorry I forgot to mention those: they are already there ... supported-localeen/supported-locale supported-localefr/supported-locale resource-bundlecom.blah.Blah/resource-bundle ... View the original post :

[JBoss-dev] [Design of JBoss Portal] - shared state between HttpSession and PortletSession

2005-02-23 Thread mholzner
I'm trying to share some information between a portlet and a servlet. Both are deployed in the same portlet app (WAR). I want a portlet to produce binary content. since that is not possible in a direct way, I use the portlet to create an image tag that points to a servlet that actually

[JBoss-dev] [Design of JBoss Portal] - Re: shared state between HttpSession and PortletSession

2005-02-23 Thread mholzner
ok, there is only one more question for me then: if all portlet apps share the same JSESSIONID , do they also share the same HttpSession ? I beliefe they shouldn't . If I remember correctly then the J2EE spec requires every context (WAR) to have it's own session for the same JSESSIONID, with

[JBoss-dev] [Design of JBoss Portal] - Re: How to turn off caching

2005-03-01 Thread mholzner
portlets don't control this behaviour. The portal is the one that 'owns' this space (the HttpRequest and Response). What you probably need to do is write an interceptor and configure the portal to use it. In the interceptor get the http response and set the headers. Remember that they need to

[JBoss-dev] [Design of JBoss Portal] - Re: Portal 2.0 build failure

2005-03-02 Thread mholzner
are you sure you got the right stuff from cvs ? use: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-portal-2.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868387#3868387 Reply to the post :

[JBoss-dev] [Design of JBoss Portal] - Re: Own servlet mapping

2005-03-28 Thread mholzner
the same way as you would do it in any other war. add a servlet-mapping element in the web.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3871808#3871808 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3871808

[JBoss-dev] [Design of JBoss Portal] - JBPTL-17: Theme API food for thought

2005-04-06 Thread mholzner
I commited a first draft of the new feature today. don't go crazy, it's still very early on, but here is the general idea, and my motivations: themes, layouts, skins , branding . they all have a lot in common, in fact : I don't know where one ends and the other one begins. So I tried to

[JBoss-dev] [Design of JBoss Portal] - JBPTL-17: Theme API food for thought II

2005-04-06 Thread mholzner
As I mentioned in the first post, the separation of content and the rest via css is a good thing. The portlet spec defines a set of css classes and ids , taken from the wsrp 1.0 spec, that fit nicely with this approach. WSRP 2.0 is completing this set of classes and ids. So I'd like to propose

[JBoss-dev] [Design of JBoss Portal] - Re: JBPTL-17: Theme API food for thought

2005-04-07 Thread mholzner
[EMAIL PROTECTED] wrote : Martin, will the new examples have the theme display portlets within it? | | The zengarden app, only shows the zengarden page. It does not display within IE, but you knew that already. ;-) depends on what you consider theme display portlets. the zengarden app

[JBoss-dev] [Design of JBoss Portal] - Layout Strategy: more food for thought

2005-04-12 Thread mholzner
I'm currently working on a layout strategy that goes hand in hand with the theme API. My current thinking is that the strategy is configurable for the portal, and optionally on the layout level (each layout can individually overwrite the default strategy of the portal). Side note: a layout is

[JBoss-dev] [Design of JBoss Portal] - new window behaviour since last night

2005-04-15 Thread mholzner
Quote from Roy: Clean co from CVS today. I noticed changes to the window behaviour as many people including Scott have suggested. A few questions: 1. Is this configurable? Can we set the old behaviour or new one in a descriptor? Not important for me. I like the new way better. 2. I have to

[JBoss-dev] [Design of JBoss Portal] - Re: new window behaviour since last night

2005-04-15 Thread mholzner
sorry this is a result of the changes I checked in yesterday. I guess I should have explained those better ahead of everyone running into them ;) I had a hard time to get rid of the old behavior, where the portlet in 'main' was automatically maximized. Since maximized now actually works ;) the

[JBoss-dev] [Design of JBoss Portal] - Re: new window behaviour since last night

2005-04-15 Thread mholzner
[EMAIL PROTECTED] wrote : The important part here is that it remains configurable, either by a deployer or end-user. I'd like to see exactly how configurable it can be. For instance, when I maximize a portlet, can I still have side-bar navigation to its left? Some people may elect to not have

[JBoss-dev] [Design of JBoss Portal] - Re: Java Content Repository (JCR) support?

2005-04-18 Thread mholzner
see http://www.jboss.org/index.html?module=bbop=viewtopict=62557 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874306#3874306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874306