Help : what/where is the Request class ?

2005-08-31 Thread galpix
Hi folks, I'm trying to get the request url from within an XSP page. The error message I get seems to indicate that the request object is of type Request : code : StringBuffer URI = HttpUtils.getRequestURL(request); error message: The method getRequestURL(HttpServletRequest) in the type

HttpUtils.getRequestURL

2005-08-28 Thread galpix
Hi, I'm trying to call this from an XSP logicsheet : StringBuffer URL = HttpUtils.getRequestURL(request); ... but I get this error : / start error (lines 195-195) The method getRequestURL(HttpServletRequest) in the type HttpUtils is not applicable for the arguments (Request)

XSP : pass arguments between pages

2005-08-21 Thread galpix
Hi folks, What's the best way to pass arguments from one page to another in XSP ? I'm using JSF, and ideally I'd use java beans to get to the various arguments set in the previous page ... but it seems that there is no equivalent to jsp:useBean in XSP. Why is that ? Many thanks, galpi

XSP and JSF custom components

2005-08-12 Thread galpix
Hi, I have problems getting a JSF custom component executed from an XSP page. The tag just gets written in the output HTML. The other JSF tags from the JSF tag libraries work fine ... I wrote a JSF custom component that I was able to run fine from a JSP page (but not within cocoon). I then

Re: XSP and JSF custom components

2005-08-12 Thread galpix
Hi Markus, Thanks for your help. I've tried a few things, but no luck yet. Is there any good documentation out there explaining how it works ? I've been googling but haven't found anything on how to configure in cocoon.xconf. I tried to follow the example of a tag part of the standard JSF

Re: coocon with jsp : SAXParseException: Premature end of file

2005-08-04 Thread galpix
Hi, I also just noticed that the jsp examples that come with cocoon don't work for me : http://localhost:8080/cocoon/samples/blocks/jsp/welcome.htm This returns a blank page. Is it working for anyone ? thanks, galpi Hi Everyone, I'm running cocoon-2.1.7 with Tomcat-5.5.9 on MacOSX

[BUG 33762] coocon with jsp : SAXParseException: Premature end of file

2005-08-04 Thread galpix
Arghhh ... there's a bug filed against this : http://issues.apache.org/bugzilla/show_bug.cgi?id=33762 That explains it. I've been converting my pages to XSP, but I don't get it : it seems that it doesn't support nearly as much functionality as jsp. In particular, using beans and other custom

coocon with jsp : SAXParseException: Premature end of file

2005-08-03 Thread galpix
Hi Everyone, I'm running cocoon-2.1.7 with Tomcat-5.5.9 on MacOSX 10.4.2. No matter what I do, I can't have JSP files as source docs. I always get : Message: Premature end of file. Description: org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine output: