Re: Browser's Back button problem in Portal Engine

2004-06-21 Thread Simon Hutchinson
Mariusz Wjcik wrote: Hi I'm using portal engine, and I have problem with BACK browser button. When I try to do navigation by using links, which are generated by Portal Engine, everything is OK. When user uses BACK button, Portal Engine reacts in very strange way. I think, that site, which is

Re: Validate an XML document in a flowscript

2004-06-16 Thread Simon Hutchinson
Vilya Harvey wrote: What I'd like to be able to do is insert some code after the form.save(...) line which validates the form, and loops back to the form.load(...) line if validation fails. Any suggestions? Sounds like a simple while loop might do the trick. var isValid = false; function

Cant handle errors from Portal framework

2004-06-10 Thread Simon Hutchinson
Hi, I have written a pipeline with the following error handler map:handle-errors map:select type=exception map:when test=processing map:generate src=root.xml/ map:transform src=xsl/error.xsl

Re: [flowscript] continuation_id

2004-06-10 Thread Simon Hutchinson
Lionel Crine wrote: Hi all, I 'd like to use the continuation id between 2 xsp. Is it possible ? how can I get the continuation from the flowscript to the xsp ? Lionel Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70

Issue with portal-html-eventlink and navigation.

2004-05-06 Thread Simon Hutchinson
Hi, As part of a portal we are working on I have written a coplet, whose initial uri invokes a flow script using the following matcher map:match pattern=coplet map:call function=handleForm map:parameter name=function value=assistance/ map:parameter name=form-definition

Issue with portal-html-eventlink and navigation

2004-05-06 Thread Simon Hutchinson
Hi, As part of a portal we are working on I have written a coplet, whose initial uri invokes a flow script using the following matcher map:match pattern=coplet map:call function=handleForm map:parameter name=function value=assistance/ map:parameter name=form-definition

SOAP Transformer

2004-04-15 Thread Simon Hutchinson
Hi, Our current project needs to make a SOAP call and then make a subsequent SOAP call utilising some of the response from the first call. I can successfully call the web services having copied the Currency.xsp example from the soap samples section. Ideally however I would like to use a SOAP

Problem with the SessionContext InputModule when using portal-fw

2004-03-10 Thread Simon Hutchinson
Hi all, It is a little difficult for me to post a decent test case as it would involve a pretty big chunk of the portal-fw stuff so I am hoping that someone might recognise my simplified view of the problem. Test Pipeline 1. This pipeline reads in a root element. The first transformation

Re: Make an item selected in woody selection-list

2004-02-04 Thread Simon Hutchinson
Tim Larson wrote: On Tue, Feb 03, 2004 at 05:50:03PM +, Simon Hutchinson wrote: I am populating a woody selection-list dynamically but have been unable to find a way of making a particular item in the list the initial selected item . Could someone please point a beginner in the right

Authentication context and modular database action.

2003-12-11 Thread Simon Hutchinson
Hi, I am using a ModularDatabaseAction to insert a row into a database. Everything is working fine as most of the field values are available as request parameters.However I also need to store a value that is stored in the authentication context. I am sure that writing my own InputModule for this

Re: Handling SAX Exceptions in sitemap

2003-11-25 Thread Simon Hutchinson
Joerg Heinicke wrote: On 24.11.2003 12:06, Simon Hutchinson wrote: Hi, Does anyone know if it is possible to handle SAX exceptions thrown by a transformer using a error handler defined in a sitemap. Yes. Here is a brief test to explain what I am trying to achieve. map:pipeline map:match

Handling SAX Exceptions in sitemap

2003-11-24 Thread Simon Hutchinson
Hi, Does anyone know if it is possible to handle SAX exceptions thrown by a transformer using a error handler defined in a sitemap. Here is a brief test to explain what I am trying to achieve. map:pipeline map:match pattern=test map:generate src=fragments/test.xml/ map:transform

Re: Handling SAX Exceptions in sitemap

2003-11-24 Thread Simon Hutchinson
Lionel Crine wrote: hi, If you're using the common xslt transformer, you should look at the source. If the methods don't throw any exception, so you can't catch the exception with the handle-errors. If you're using Cocoon 2.1, you can customize the exception.Search the archive. Lionel At

URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago)

2003-11-19 Thread Simon Hutchinson
Hi, I am very new to coccon so please excuse any glaring errors in my question. I have written a transformer whose job in part is to extrat a uri from a knowledge article returned from our knowledgebase. swsolution cinclude:include select=*|text()

Re: URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago)

2003-11-19 Thread Simon Hutchinson
Tony Collen wrote: Simon Hutchinson wrote: This solution works until I try to generate a uri with an illegal character ie a space. It appears that the request-param is (correctly) decoding the parameter I am passing it but unfortunately this is not the behaviour I require