How to match\serve .swf (shockwave\flash) files in cocoon?

2004-11-29 Thread Thomas Kjeldahl Nilsson
not seeing\doing right here? best regards, Thomas Kjeldahl Nilsson Oslo, Norway - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: howto write flowscript in java? any examples?

2004-09-16 Thread Thomas Kjeldahl Nilsson
Example of your flowscript? Do you have much application logic in your flowscripts? -- Regards, Thomas Kjeldahl Nilsson Oslo, Norway Patrick Verboom wrote: Hi, I have big problems with flowscript in cocoon 2.1.5.1. It throws errors on the javascript code. Is it possible to rewrite

Re: instead of writing XSP in Java

2004-09-15 Thread Thomas Kjeldahl Nilsson
[EMAIL PROTECTED] wrote: If you don't like writing XSP in Java. There is another solution create action with Script Action :) Or put your businesslogic in java classes, instantiate and call these from your flowscripts. -- Regards, Thomas Kjeldahl Nilsson Oslo, Norway

Treating strings passed to templates as markup?

2004-09-08 Thread Thomas Kjeldahl Nilsson
, Thomas Kjeldahl Nilsson Oslo, Norway - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Calling jx macro from another macro?

2004-08-25 Thread Thomas Kjeldahl Nilsson
Hello, I have a short question regarding jx template macros. Is there some problem with calling a macro from within the body of another macro? Example: document jx:macro name=A Output something /jx:macro jx:macro name=B A/ /jx:macro B /document regards, Thomas Kjeldahl Nilsson Oslo, Norway

Returning markup strings from jexl\jxtemplate-called functions?

2004-08-16 Thread Thomas Kjeldahl Nilsson
translating the xml\markup elements)? Regards, Thomas Kjeldahl Nilsson Oslo, Norway - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing a pipeline exception\error to an error handler function?

2004-08-03 Thread Thomas Kjeldahl Nilsson
like this: map:handle-errors map:call function=errorFlow map:parameter name=exceptionObject value=[exceptionObject]/ /map:call /map:handle-errors So the million dollar question is: How do I get and pass the original exception object to the flowscript? Thomas Kjeldahl Nilsson Oslo

Re: Passing a pipeline exception\error to an error handler function?

2004-08-03 Thread Thomas Kjeldahl Nilsson
the flowscripts? If not, do you have any particular suggestions\hints for workarounds? regards, Thomas Kjeldahl Nilsson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to avoid 'generator already set' error in flowscript loop? RE POST

2004-07-26 Thread Thomas Kjeldahl Nilsson
{ [something] } catch(error){ cocoon.sendPage([error message]); return; } cocoon.sendPage([result]); } Thomas Kjeldahl Nilsson wrote: Hello, I have very limited knowledge of cforms, but I've had some problems with the jx generator already set error on my current project

Accessing an objects static variables from templates?

2004-07-26 Thread Thomas Kjeldahl Nilsson
a method- what makes the jx generator go bonk here? -- Thomas Kjeldahl Nilsson Oslo, Norway - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Transforming a JXTemplate BEFORE running it through the jx generator?

2004-07-13 Thread Thomas Kjeldahl Nilsson
Thanks. Using the jxtemplateTransformer was, of course, exactly what I needed. I do find it strange, however, that this is mentioned nowhere in the cocoon documentation - Transformers? regards, ThomasN Upayavira wrote: Ugo Cei wrote: Thomas Kjeldahl Nilsson wrote: !-- The final jx generator

Transforming a JXTemplate BEFORE running it through the jx generator?

2004-07-12 Thread Thomas Kjeldahl Nilsson
pattern=*.xml map:generate src=cocoon:/preTransform* type=jx/ map:serialize type=html/ /map:match What am I missing or misunderstanding? :) regards, Thomas Kjeldahl Nilsson Oslo, norway - To unsubscribe

Some questions about continuations!

2004-06-28 Thread Thomas Kjeldahl Nilsson
(){ // Prepare page cocoon.sendPageAndWait(first.xml); // Process form submitted by user: //IF (any errors) THEN restart doStuff(), show first.xml with errorMsg // ELSE cocoon.sendPageAndWait(second.xml); } regards, Thomas Kjeldahl Nilsson Oslo, Norway

Re: Some questions about continuations!

2004-06-28 Thread Thomas Kjeldahl Nilsson
Thanks for the quick reply, Ugo. Bit of a head-smacking-moment for me looking at your flowscript suggestion! Of course! :) Regards, Thomas N Ugo Cei wrote: Thomas Kjeldahl Nilsson wrote: 1: Do active continuations time out? In my project we have quite a few pages where we in the flow do

Re: Tricky question (?) re. JXTemplate accessing object functions, not values

2004-06-15 Thread Thomas Kjeldahl Nilsson
Kjeldahl Nilsson Nicolas Bielza wrote: I don't know about the JXTemplate generator, but you may want to try the Velocity generator which does access object methods (if they are public). Regards, Nicolas. -Original Message- From: Thomas Kjeldahl Nilsson [mailto:[EMAIL PROTECTED] Sent: 14 juin

Re: Tricky question (?) re. JXTemplate accessing object functions, not values

2004-06-15 Thread Thomas Kjeldahl Nilsson
://jakarta.apache.org/commons/jxpath/ Regards, Andreas Schilling Thomas Kjeldahl

Re: Calling the flow object model objects from java classes?

2004-06-14 Thread Thomas Kjeldahl Nilsson
Kjeldahl Nilsson wrote: Hello, I have some flowscripts with a lot of businesslogic in them. I really want to limit flowscript code to controller code; so I'm encapsulating the businesslogic in java objects which are called from the flowscripts. At a few points in the java code I need to access

Tricky question (?) re. JXTemplate accessing object functions, not values

2004-06-14 Thread Thomas Kjeldahl Nilsson
(and growing) database of elements!! Any immediate thoughts\suggestions on the problem? Regards, Thomas Kjeldahl Nilsson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Calling the flow object model objects from java classes?

2004-06-11 Thread Thomas Kjeldahl Nilsson
Hello, I have some flowscripts with a lot of businesslogic in them. I really want to limit flowscript code to controller code; so I'm encapsulating the businesslogic in java objects which are called from the flowscripts. At a few points in the java code I need to access some attributes in the

Determining the current coccon\http request using current session id?

2004-06-02 Thread Thomas Kjeldahl Nilsson
as with i18n. So yes, my question still stands.. :) -thomas Joerg Heinicke wrote: On 01.06.2004 11:00, Thomas Kjeldahl Nilsson wrote: My project is working on a multi-language website using cocoon. The multilingual aspect is implemented with a language-cache where we look up and get all the text strings

Showing complete current cocoon URI in browser?

2004-06-02 Thread Thomas Kjeldahl Nilsson
? :-) Regards, Thomas Kjeldahl Nilsson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Multilingual website, text element lookup partially based on current session\function.

2004-06-01 Thread Thomas Kjeldahl Nilsson
Hello, My project is working on a multi-language website using cocoon. The multilingual aspect is implemented with a language-cache where we look up and get all the text strings used visibly in our web pages (in other words, we populate JXTemplate pages with data fetched from this

Re: Using JXTemplates\JXForms at the same time?

2004-04-30 Thread Thomas Kjeldahl Nilsson
The rationale below is exactly why I mentioned we're reluctant to use XSP; the danger of little or no separation between code and markup. Exactly what we don't want to do in our new project. Thank you for confirming my nasty suspicion. :-) Thomas Ugo Cei wrote: Derek Hohls wrote: PS can