When calling another pipeline, you can't pass parameters (As far as I know).
I had the same problem a while ago. I then just passed the parameters as
request parameters by calling
src=cocoon:/Pipeline/mypage.jsp?firstparam={1}. Another option is to set
your parameters in a session by invoking an
I'm using flow and I have the same configuration except for your
map:flow-interpreters tag. Try omitting that tag, maybe that helps.
Kind Regards,
Jan
- Original Message -
From: Vlad Ali [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 9:07 PM
Subject: sitemap
Jeroen Reijn a écrit :
maybe i'm thinking in the wrong direction, but the error messege says that it's getting a String.
Is your form type correct(multipart) ?
That was this i forgot to add to my form ...
Thanks for the 2 cents :)
As found on http://cocoon.apache.org/2.1/userdocs/flow/api.html
To send:
cocoon.sendPage("mypipeline", {} );
I think the function expects a biz data (bean)
to be delivered (thus two parameters, not one), so just give
{}.
To redirect:
cocoon.redirectTo("mypipeline");
Kind Regards,
Jan
Hi Flavio,
A few months ago, I had this error because the component wasn't
declared. To do this, I add the following file. I think you can declare
these components directly in cocoon.xconf, but it works this way for me.
roles.xconf
--
role-list
role
Hi,
You can just use the
{coplet:attributes/name_of_attribute_defined_for_your_coplet} in a
parameter in your sitemap like usual :
map:parameter name=category value={coplet:attributes/category}/
This way, you can get it in your stylesheet or xsp (I think because I
don't use xsp)
Sorry to drop into this discussion this late, but I completely failed to
notice it and started to implement a CalendarGenerator by myself. You
can find it in CVS head [1].
I took the opposite road form the one advocated by Geoff. My
CalendarGenerator is designed to output a blank calendar for
Christopher Oliver wrote:
What error do you get? AFAIK it should work. Why exactly does
hibernate need to see all your persistent classes in the classpath?
I guess that Hibernate comes with its own classloader. Maybe it is
possible to set the compiling classloader dynamically.
Mark
Title: Portal in cocoon 2.1.5
Is portal sample still included in Cocoon 2.1.5 (I built a CVS version this morning and had an unknown ressource error
Trying to reach url http://localhost:8080/samples/portal) ?
François
zze-MORON François FTRD/DMI/REN wrote:
Is portal sample still included in Cocoon 2.1.5 (I built a CVS version
this morning and had an unknown ressource error
Trying to reach url _http://loca__lhost:8080/samples/portal_
http://localhost:8080/samples/portal) ?
François
Yesterday it worked for
beyaNet Consultancy wrote:
Hi,
1. is it possible to apply a stylesheet to a *.jx file like you can to
xsp?
map:match pattern=*.jx
map:generate type=jx src=jx/{1}.jx/
map:transform type=xslt src=style/main.xsl/
map:serialize type=xhtml/
/map:match
If not, why? Surely not being able to apply a
Hi,
Just use cocoon-view !
Define a view like this.
ex:
map:view
from-label=aftergenerator
name=aftergenerator
map:serialize
type=xml
/
/map:view
map:view
from-label=afterwoody
name=afterwoody
map:serialize
type=xml
/
/map:view
map:view
from-label=aftertemplate
Title: Nachricht
Hi,
which
version of cocoon? - for 2.0.3 you could try http://outerthought.net/captor.htmlwhich
proves rather practical if you have a couple of subsequential transformations
and you want to view the intermediate results.
Regards
Kurt
-Ursprüngliche
Reinhard Poetz wrote:
zze-MORON François FTRD/DMI/REN wrote:
Is portal sample still included in Cocoon 2.1.5 (I built a CVS
version this morning and had an unknown ressource error
Trying to reach url _http://loca__lhost:8080/samples/portal_
http://localhost:8080/samples/portal) ?
François
The samples have been refactored. Go th
http://localhost:/ (or whatever port you use)
and then find your way to the samples - block samples -
unstable blocks/portal.
Carsten
-Original Message-
From: Reinhard Poetz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 12:08
Thanks Jean-Christophe,
Actually my problem was resolved using URI coplets instead of CachingURI
coplets. Don't know why, except that CachingURI uses
portal-html-eventlink transformer.
Regards,
Phil
On Wed, 2004-04-21 at 17:06, Jean-Christophe Kermagoret wrote:
Hi,
You can just use the
Hi all,
Question1:
I'm using Sendmail logicsheet, works good exept serverpage generator
takes 5/10 seconds for it. I don't have hosting and mail is sent from
[EMAIL PROTECTED] like the samples from my Linux. I'd like to
hear from people who have this in real environment with configured mail
Hi,
in the following sitemap snippet:
map:match pattern=registerd_user_area>
!--map:act type=auth-protect>
map:parameter name=handler value=beyarecords/>-->
map:aggregate element=home>
map:part src=cocoon:/support/menu/>
map:part src=cocoon:/support/contract-summary/>
map:part
Maybe you should consider another way (non XSP). I have some long-duration
tasks which include email a result to different addresses. I do this by
calling flowscript, setting everything up (configs/parameters) and then
launching a thread. At the end of this thread, I use java mail to send
emails.
Hi,
Does anybody know how to
pass sitemap parameters to an XSP page?
Can I
do?
map:generate type='xsp'
map:parameter name='my-param'
value='something'/
/map:generate
How do I retrieve this
parameter from the XSP code?
Thanks for any
answer.
Folks,
I'm a bit confused about pseudoprotocols, sources and factories. I'm
trying to figure out how this works in Cocoon 2.1.3 and beyond. I'll
need this in the near future for some work on a custom source.
(I know Cocoon 2.1.4 is out but I'm still setting up my system to cope
with upgrades
Thanks.
I think there
is other way
xsp:exprparameters.getParameter("my-param")/xsp:expr
-Mensaje original-De: beyaNet Consultancy
[mailto:[EMAIL PROTECTED]Enviado el: miércoles, 21 de abril de
2004 15:30Para: [EMAIL PROTECTED]Asunto: Re: XSP
and sitemap parameters
try,
Carmona Perez, David a écrit :
Thanks.
I think there is other way
xsp:exprparameters.getParameter(my-param)/xsp:expr
parameters requiers 2 parms if i'm not wrong :
parameters.getParameter(your-parm,defaultvalue);
-
To
Hi,
I have created sendmail transformer (although, not yet released) to
send emails. Transformer is still little buggy and requires little bit
rewriting. We are releasing it as GPL when it's ready.
Maybe doing something like this helps?
- Joose
21.4.2004 kello 14:50, Philippe Guillard
olivier demah wrote:
[...]
So i thought ; i had to do something to pass parameters from xsp to xsp
because i call news.xsp with cinclude.
This does not work. Your compiled XSP is executed _before_ the
CInclude transformation, so including another XSP is not possible
this way.
-- Andreas
Andreas Hartmann a e'crit :
olivier demah wrote:
[...]
So i thought ; i had to do something to pass parameters from xsp to
xsp because i call news.xsp with cinclude.
This does not work. Your compiled XSP is executed _before_ the
CInclude transformation, so including another XSP is not
There are 2 versions: one that throws a ParameterException if not provided the default
value, and the other you have commented.
I have tried out and it works!.
-Mensaje original-
De: olivier demah [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 21 de abril de 2004 16:01
Para: [EMAIL
Well, I solve the problem by manually copy jar files
from $DOWNLOAD_DIR/cocoon-2.1.4/build/cocoon-2.1.4/blocks/ (jxforms-block.jar,
woody-block.jar, ...) to $CATALINA_HOME/work/Catalina/localhost/cocoon/loader
and unpack them.
That's all.
I don't see why it wasn't extracted automatically
Really many thanks for your answer Christopher
In fact, we are using the use-store=true option, and we will try using
the false.
Thank you very much, this problem is also annoying us for long time...
I'll write back results !
--
Olivier
Christopher Painter-Wakefield wrote:
Olivier,
we are
olivier demah [EMAIL PROTECTED] writes:
Carmona Perez, David a écrit :
Thanks.
I think there is other way
xsp:exprparameters.getParameter(my-param)/xsp:expr
parameters requiers 2 parms if i'm not wrong :
parameters.getParameter(your-parm,defaultvalue);
There are two versions
Since this error is on the aggregate-widget and that one is not actually
on the template, there is no position where the (!) should be next to.
Therefor you need to explitely position it with a separate
ft:validation-error /
see also here:
Lars Huttar wrote:
Hi all,
We're a team developing a Cocoon application, and we're sharing
our code (cocoon/mount/**) via CVS.
We have a test server, which we'll call salem, on which resides
a copy of Tomcat and Cocoon and our code.
The goal is to have a process for updating certain folders on
I've posted this a few days ago -- let's give it
another try :)
--- Alex Romayev [EMAIL PROTECTED] wrote:
I have implemeneted registration form as a CForm
inside a CachingURICoplet. At the end of
registration
(on confirm) I need to do the following in my
flowscript:
1. Write results to
Hi,
I have a very peculiar problem with my application. Can someone please shed
some light on this.
I have a webapplication(app1) whose logon page loads 2 frames. Frame1 has
index.jsp from app1 and frame2 has my app from cocoon(app2).This app in
cocoon uses cocoon's portal framework.
When
Have you tried replacing the map:aggregate with map:generate? Does it
return a result?
And what happens if you request registerd_user_area?
--
Reinhard
beyaNet Consultancy wrote:
Hi,
in the following sitemap snippet:
map:match pattern=registerd_user_area
!--map:act
Hi just an update on the post below.
I guess this is more to do with cocoon's handling of sessions. My
application(app1) firsts logs onto cocoon's portal and then logons to itself.
The session of cocoon is somehow getting invalidated when my app1 is getting
logged in. I tried the same with an
On 21.04.2004 07:45, Steve Steinitz wrote:
I had the same problem yesterday too:
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108238973125352w=4
and fixed it by changing the order of the form widgets in the definition.
Furthermore my form.submitId was also null at the end, while
On 20.04.2004 15:24, Nina Juliadotter wrote:
Hi everyone,
I've finally managed to get Cocoon and Xindice to talk to eachother :) but I get
this evil error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click
the Refresh button, or
On 21.04.2004 09:09, Jan Hoskens wrote:
As found on http://cocoon.apache.org/2.1/userdocs/flow/api.html
To send: cocoon.sendPage(mypipeline, {} );
I think the function expects a biz data (bean) to be delivered (thus two parameters, not one), so just give {}.
AFAIK JavaScript can live with
Never create continuations in an event handler. If you do the
continuation stack is only that of the event handler and the original
script will _not_ resume when the event handler completes. In other
words the call stack looks like this
Java (FlowInterpreter.callFunction(myFunction)) = JS
40 matches
Mail list logo