Quoting Tobias Luikard <[EMAIL PROTECTED]>:
> Hi,
>
> this isn't the problem.
>
> In the Action I try to set XMLString as seen. But when I try to read it
> in the XSP with the following statement it's empty (I get
> "EGAL" as result):
>
You are reading the Parameter XMLString not the Attri
I just copied the example from the docu...
See http://xml.apache.org/cocoon2/actions.html
there is also a attribute set and a parameter requested. Sorry. But now it works
Thanks a lot
Tobias
Christian Schmitt wrote:
> Hi Tobias,
> OK, I see. But I believe you're mixing up request attributes
On 17.Sep.2001 -- 04:29 PM, Tobias Luikard wrote:
> Hi,
>
> this isn't the problem.
>
> In the Action I try to set XMLString as seen. But when I try to read it in the XSP
>with the following statement it's empty (I get
> "EGAL" as result):
>
> > request.setAtt
Hi Tobias,
OK, I see. But I believe you're mixing up request attributes and
request parameters.
If you do something like: request.setAttribute("MyAttribute", whatever);
you can't do: request.getParameter("MyAttribute");
Hth,
Christian
On Mon, Sep 17, 2001 at 04:29:44PM +0200, Tobias Luikard wro
That's it, isn't it:
request.getAttribute is not equal to request.getParameter
-Ursprungliche Nachricht-
Von: Tobias Luikard [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 17. September 2001 16:30
An: [EMAIL PROTECTED]
Betreff: Re: Action vs. Request
Hi,
this isn't t
Hi,
this isn't the problem.
In the Action I try to set XMLString as seen. But when I try to read it in the XSP
with the following statement it's empty (I get
"EGAL" as result):
When I call the pipeline in my Browser like:
http://localhost:8080/cocoon/XMLDB_EVAL/XMLTest.html?TestString=ABC
Hi,
in your Action source code you are doing:
request.setAttribute("XMLString", XMLString);
^
but then
System.out.println(request.getAttribute("TestString"));
^^
May be that's the problem?!
Hth,
Christian
On Mon, Sep
Hi all,
its me again.
I tried to write a Action which adds a Attibute to the request. But
somehow a different request is used. When I try to access a request
attibute its "null". When I add a attibute, its null in the XSP Site...
Has anyone a hint?
Thanks
By
Tobi
P.S. I added my sitemap.xma