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]
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
[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
,
Thomas Kjeldahl Nilsson
Oslo, Norway
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
translating the xml\markup
elements)?
Regards,
Thomas Kjeldahl Nilsson
Oslo, Norway
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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]
{
[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
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]
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
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
(){
// 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
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
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
://jakarta.apache.org/commons/jxpath/
Regards,
Andreas Schilling
Thomas Kjeldahl
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
(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]
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
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
? :-)
Regards,
Thomas Kjeldahl Nilsson
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
23 matches
Mail list logo