Added for review
https://reviews.apache.org/r/1003/
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.
Done!
https://issues.apache.org/jira/browse/WW-3659
2011/7/3 Maurizio Cucchiara :
> Hi Lukasz,
> could you share your patch through JIRA (there was an open ticket IIRC)?
>
> 2011/7/3 Łukasz Lenart
>>
>> I don't know why it happens that way. I've changed a bit templates by
>> moving some code fro
Hi Lukasz,
could you share your patch through JIRA (there was an open ticket IIRC)?
2011/7/3 Łukasz Lenart
> I don't know why it happens that way. I've changed a bit templates by
> moving some code from a-close.ftl to a.ftl and now it works as you've
> been expecting. But that change broken few
I don't know why it happens that way. I've changed a bit templates by
moving some code from a-close.ftl to a.ftl and now it works as you've
been expecting. But that change broken few tests and can be backward
incompatible.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG
Do you mean
?
Tried. Empty body of a tag.
2 июля 2011 г. 0:56 пользователь Dave Newton написал:
> 2011/7/1 Александр Высоков :
> > Dave, if I expressed roughly, I am very sorry (my bad english is not good
> enough).
>
> Nope, you're doing great :)
>
> Try using a link to an action in the tag
2011/7/1 Александр Высоков :
> Dave, if I expressed roughly, I am very sorry (my bad english is not good
> enough).
Nope, you're doing great :)
Try using a link to an action in the tag instead of a plain JSP.
For now you could just create a class-less action mapping that
forwards to the JSP yo
Dave, if I expressed roughly, I am very sorry (my bad english is not good
enough).
But if I misunderstand you, please explain more details. Thank you.
2 июля 2011 г. 0:41 пользователь Dave Newton написал:
> 2011/7/1 Александр Высоков :
> > So you try to tell me that in include's value must be onl
2011/7/1 Александр Высоков :
> So you try to tell me that in include's value must be only *.action?
No, I don't.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts
So you try to tell me that in include's value must be only *.action? I think
it is not.
Documentation says that in include's value attribute may be JSP (
http://struts.apache.org/2.2.3/docs/include.html)
And in examples almost everywhere is jsp-page in include... Strange...
But I've tried your ver
But the include tag is still directly referencing a JSP, no?
Dave
On Friday, July 1, 2011, Александр Высоков wrote:
> In attached in jira test-project (StrutsBugTest.war) index.html contains
> link:
> click
>
> Action mapping file contains:
> Configuration 2.0//EN" "http://struts.apache.org/dtd
In attached in jira test-project (StrutsBugTest.war) index.html contains
link:
click
Action mapping file contains:
http://struts.apache.org/dtds/struts-2.0.dtd";>
/test.jsp
Result is the same - strange.
May be we talking about different things. I think I do not understand you
completely.
Hello all.
I have two files.
test.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
test2.jsp
-
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ tag
As I said before, don't call jsp directly via browser: rather you need to
invoke a struts action that, after looked at your action mapping
configuration, forward the request to your final jsp
Maurizio Cucchiara
Il giorno 01/lug/2011 16.30, "Александр Высоков" ha
scritto:
> I've created test proj
ails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
> Date: Fri, 1 Jul 2011 18:30:22 +0400
> Subject: Re: strange behavior of s:a tag with s:include tag inside
> From: nod...@gmail.com
> To: user@struts.apache.org
>
> I've created test project (attached StrutsBugTest
I've created test project (attached StrutsBugTest.war) in jira. In that
project you can click to the link in index.html and see the same strange
behavior.
1 июля 2011 г. 17:28 пользователь Dave Newton написал:
> Unless the JSP is processed through an action, the original comment in the
> jira tic
Unless the JSP is processed through an action, the original comment in the
jira ticket is correct.
Recall that a filter can stop processing a request, which is what happens if
it's not a request that hits an action.
Dave
On Jul 1, 2011 8:59 AM, "Александр Высоков" wrote:
> Hello all.
>
> I have
Hello all.
I have two files.
test.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
test2.jsp
-
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ tag
You're right. I should have read the documentation more closely. It
clearly states that no stack is created and you have to access the
parameters through the regular servlet objects. If you believe this is
a shortcoming, you could register a JIRA issue for it, unless there is
one already.
Nils-H
> I was not able to do it, despite trying a million different forms as well as
> suggestions by some folks in strust mailing list.
> I do not think you will be able to access the param value passed to s:include
> within struts tag [clearly an obvious shortcoming]. Your best bet is using
> jsp ex
suggestions by some folks in strust mailing list.
--- On Fri, 2/27/09, Nils-Helge Garli Hegvik wrote:
> From: Nils-Helge Garli Hegvik
> Subject: Re: [s2] accesing params from s:include tag
> To: "Struts Users Mailing List"
> Received: Friday, February 27, 2009, 2:14 PM
Haven't really tried, but I assume the parameter would be a String, so
have you tried using 'eq' instead of '=='.
Nils-H
On Fri, Feb 27, 2009 at 3:06 PM, hernan gonzalez wrote:
> I'm struggling with s:include + s:param in struts 2.0.14
>
> The docs for the include tag
> http://struts.apache.or
I'm struggling with s:include + s:param in struts 2.0.14
The docs for the include tag http://struts.apache.org/2.0.14/docs/include.html
states:
"How To access parameters Parameters are passed as request
parameters, so use the ${param.ParamName} notation to access them. Do
not use the property
So I tried the "param." access path last night. That wasn't working, the
documentation referenced a "parameters." instead. I managed to get that working
with s:component, but no luck with s:include.
I don't really care if I use component versus include; however I liked the
include slightly bette
--- On Mon, 7/28/08, Becky.L.O'[EMAIL PROTECTED] wrote:
> If you want to access those params via OGNL use JSTL to set
> them into the page scope, then use #attr to get them.
Or in request scope, then you don't need to specify scope or #attr, IIRC.
Dave
--
AM cc
Subject
Please respond to Re: S2: s:include tag
--- On Mon, 7/28/08, Eric Nielsen <[EMAIL PROTECTED]> wrote:
> Dave Newton yahoo.com> writes:
> > It already does; not sure what I was thinking there.
> (I do know; I was looking
> at the wrong code.)
> >
> > I'm able to access parameters set via a nested
> using both value="${param.foo}"/>
> >
Dave Newton yahoo.com> writes:
> It already does; not sure what I was thinking there. (I do know; I was looking
at the wrong code.)
>
> I'm able to access parameters set via a nested using both
> and ${param.foo}.
>
> If the value is coming from the action then you shouldn't even need to set
--- On Sun, 7/27/08, Dave Newton <[EMAIL PROTECTED]> wrote:
> (That being said, as this question seems to come up rather
> frequently, maybe the include tag should add its params to
> the request used for the include, if that's possible?)
It already does; not sure what I was thinking there. (I do
IIRC the tag is for parameterizing components; AFAIK it doesn't
add anything to a scope.
(That being said, as this question seems to come up rather frequently, maybe
the include tag should add its params to the request used for the include, if
that's possible?)
Dave
--- On Sun, 7/27/08, Eric
I've been having trouble getting s:include and s:param to work.
I have a snippet I want to include in multiple pages. This snippet will want to
make use of Struts 2 tags and OGNL, though at present I just need a simple
c:out.
The snippet looks like:
<%@ taglib prefix="c" uri="http://java.sun.com
Am Dienstag, 18. September 2007 20:22:41 schrieb Sairam01:
> I'm unable to include a jsp dynamically. The include tag doesn't evaluate
> VALUE of the expression.
>
>
>
> someName is a attribute on my action code. Should this work..?
is this a typo in the email? it should read
if there is a pr
I'm unable to include a jsp dynamically. The include tag doesn't evaluate
VALUE of the expression.
someName is a attribute on my action code. Should this work..?
--
View this message in context:
http://www.nabble.com/s%3Ainclude-tag-tf4476115.html#a12763052
Sent from the Struts - User mailin
32 matches
Mail list logo