You can file struts bugs here:
https://issues.apache.org/jira/browse/WW/
Regards,
Christoph
> From: Vishal Jhagadiawala
> To: Struts Users Mailing List ,
> Date: 25.11.2016 20:04
> Subject: Re: action tag with tile result causing StackOverflowError-
>
> Thanks Christ
="title", value="titel"),
@TilesPutAttribute(name="content",value="content.jsp")
}
)
Hope that helps!
Regards,
Christoph
> From: Vishal Jhagadiawala
> To: Struts Users Mailing List ,
> Date: 21.11.2016 16:14
>
> To: Struts Users Mailing List ,
> Date: 21.11.2016 16:14
> Subject: Re: action tag with tile result causing StackOverflowError-
>
> Hi Christoph,
> Please find my response below.
>
> Here is my actionTileResult.jsp (it is for test)
> actionResult.jsp
> This
hould showcase.index.actionResult and showcase.index belong to each
other?
- shouldn't showcase.index.actionResult set the body attribute?
- why is there an tag in layout.jsp?
Regards,
Christoph
> From: Vishal Jhagadiawala
> To: Struts Users Mailing List ,
> Date: 19.11.2016 20:55
> Subject: Re
gt; From: Vishal Jhagadiawala
> To: Struts Users Mailing List ,
> Date: 19.11.2016 20:55
> Subject: Re: action tag with tile result causing StackOverflowError-
>
> Hi ,
> I also verified the exactly same error happens in struts 2.5.5 with
> tiles 3.0.7.
> if we try to us
Hi ,
I also verified the exactly same error happens in struts 2.5.5 with tiles 3.0.7.
if we try to use action tag as below with tiles result it's goes in infinite
loop and throws it throws java.lang.StackOverflowError,
Layout.jsp
Notice that this is a layout made i
Hi ,
I have upgraded my struts application to version 2.3.30 and apache-tiles 2.2.2
and I am facing issue with s:action tag and tiles result. it goes in recursive
loop and throws StackOverflowError as below.
also I am able to reproduce this issue in showcase application, I have outlined
the til
ok, for now I got it working by doing it in this way:
the thing is that I use the OpenSessionInView pattern with hibernate, so
I get lazy exceptions here since the action already executed (now I
prepared my specific properties in non lazy mode).
I'm doing so, beacause I need the computation o
I think, you need to reconsider your design let us what you want to do? why
are you doing so?
On Tue, Mar 20, 2012 at 6:19 PM, Markus Demetz wrote:
> hi all,
>
> when I use the tag inside a jsp with executeResult="true",
> so I can access the properties of that action with the tag
> inside the
hi all,
when I use the tag inside a jsp with
executeResult="true", so I can access the properties of that action with
the tag inside the result.
but is there a way to to access the same property without forwarding to
a result, say doing it inline like this:
// jsp code
I assume that
such
as the action tag can't support a nested iteration of parameters? This
just seems very logical to me if one stores the URL callback in a
database and is needing the page rendering to be dynamic in nature. The
only other solution would be to rely on ajax/javascript which I'd rather
Hi,
I'm trying to include another action in a jsp wit the action tag (struts
2.0.8).
All my action extend a main action with a lot of possible parameters. If I
include an action, all the setters for the included action are called
(although they are not set by the param tag). This is
uts Users Mailing List
> Subject: Re: Freemarker sitemesh decorator does not render struts 2.2.1
> action tag
>
> You're right I didn't see the executeResult attribute in your action
> directive.
> It's look like you find a new bug out.
> You should add a new
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Monday, October 04, 2010 2:54 PM
To: Struts Users Mailing List
Subject: Re: Freemarker sitemesh decorator does not render struts 2.2.1 action
tag
You're right I didn't see the exec
ferently? I.e. no reference to the
> property is necessary to get the action tag result output. This difference
> isn't clear anywhere in documentation AFAIK.
>
> Also, I want the output of the entire action result. My result may be
> considerably more complex than a sim
Why does the JSP version behave differently? I.e. no reference to the property
is necessary to get the action tag result output. This difference isn't clear
anywhere in documentation AFAIK.
Also, I want the output of the entire action result. My result may be
considerably more complex
see your date you need to add this row
<@s.property value="#dateAction.date" />
Did it work in that way before?
Maurizio Cucchiara
2010/10/3 Derrick Koes
> I am upgrading to struts 2.2.1, but realized there is an issue with
> freemarker sitemesh decorators which use the strut
in case anyone else encounters similar issue.
i forced the locale to en_GB (using datetimepicker with dd/mm/ format) by
adding it into struts.xml and now it works.
what was happening was that the dates on the url were not being converted into
java.util.Date fields because they were de
BACKGROUND:
I have the following line in a jsp page that is shown after login
findMyActivityYes
This action simply gathers data and stores it in a session object.
Later on in the same jsp page i then have lines like
The GenerateChart action uses the session object (from TeamActivity
I had that already, without that tag the system wont understand any tag
which starts with 's:'
do you have any other suggestion?
thank you very much
Vào 14:00 Ngày 17 tháng 12 năm 2009, Thắng Hoàng đã
viết:
> maybe you forgot to include the taglib header
>
> <%...@taglib uri="/struts-tags" prefi
maybe you forgot to include the taglib header
<%...@taglib uri="/struts-tags" prefix="s" %>
2009/12/17 Nguyen Xuan Son
> dear all
> In the JSP page I have
>
>
>
> class="newsimg">
>
>
>
> class="gray_d" title="詳しく" >read more
>
> src="g/images/spacer.gif">
>
>
>
> though the data is
dear all
In the JSP page I have
read more
though the data is available but nothing is displayed on the JSP page
do you have any suggestion
thank you very much
--
===
Ritsumeikan University, Asia JinZai Project
Master
Hi Oscar,
Thanks for your advise, I also tried this approach, I make a new
interceptors stack and apply on tag to avoid validation and
workflow
interceptors. But it seems that in sitemesh jsp, can't access
the same http session if target action has action error. Did you get the
same problems bef
Hi Matt, You could add to your action declaration in the struts.xml a
parameter called excluded methods, where you can add the name of the methods
of your action that you don't want to be validated, for example:
methodName1,methodName2
Even if your interceptor is a default interceptor like wo
Hi All,
I use Sitemesh as template engine with Struts2.
In my decorator jsp file, I use for division content source.
Now I encounter a problem that if an action has an action error, there will
be a "input" result used. It will cause all in decorator JSP file
also execute input result directly. T
:
MyFilter
/*
REQUEST
While processing an request, if I include an action using struts action tag
("s:action"), this filter is invoked again during the same request. So, if I
have 2 "s:action" tags in my JSP, the filter is being called 3 times - once
What REQUEST FILTER is this you are talking about?
On Sat, Oct 10, 2009 at 10:15 PM, Pancham wrote:
> request filter
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
-
To unsubscribe, e-mail: user-unsubscr...@s
quest. Unfortunately, whenever another action is included within
>> the
>> same request using "action" tag, my request filter is invoked.
>> How can I prevent invocation of request filter when an action is included
>> using action tag? Or, is there any way to fin
; of a request. Unfortunately, whenever another action is included within the
> same request using "action" tag, my request filter is invoked.
> How can I prevent invocation of request filter when an action is included
> using action tag? Or, is there any way to find out in the filter
I have a request filter that needs to be executed only once during processing
of a request. Unfortunately, whenever another action is included within the
same request using "action" tag, my request filter is invoked.
How can I prevent invocation of request filter when an action is incl
ering.
Chris
-Original Message-
From: briannic...@aspca.org
To: Struts Users Mailing List
Sent: Wed, Sep 2, 2009 3:36 pm
Subject: Re: Action Tag java.lang.StackOverflowError
Of course if you couldn't tell, I'm very new to Struts. Can you explain
why that
ssage-
From: briannic...@aspca.org
To: Struts Users Mailing List
Sent: Wed, Sep 2, 2009 3:36 pm
Subject: Re: Action Tag java.lang.StackOverflowError
Of course if you couldn't tell, I'm very new to Struts. Can you explain
why that all shows up on one page and doesn't ta
Of course if you couldn't tell, I'm very new to Struts. Can you explain
why that all shows up on one page and doesn't take me to a different page?
My best assumption on how Struts works is that when I'm at index.jsp I
call the action ActionTag which on a success displays the snippet.jsp page
on
Great. The trick is not to have an action's result contain a call to the
action --
you set up an infinite recursion that way.
Chris
-Original Message-
From: briannic...@aspca.org
To: Struts Users Mailing List
Sent: Wed, Sep 2, 2009 3:21 pm
Subject: Re: Actio
Chris,
Thanks, that works exactly the way I wanted.
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road, Suite 36
Urbana, IL 61802
briannic...@aspca.org
P: 217-337-9700, 9799
F: 217-337-0599
www.aspca.org
The information contained in this e-mail, and a
ActionSupport {}
--
4) index.jsp stays the same:
Action Tag
Action Tag
This line is before the ActionTag invokes the secondary action
Thank you Martin and Dave.
That makes sense to me Dave, thanks for clearing that up. What I would
like to do though is stay on the same page without going to a different
page but still contain that action. From what you're describing and from
what I got from Martin, it appears it might not be p
briannic...@aspca.org wrote:
Is there an example you could point me to (that actually works) or help me
get my example working?
We seem to be talking past each other here.
Load a page you're not already on. Do you understand *why* you're
getting a stack overflow? You're calling an action. Tha
Is there an example you could point me to (that actually works) or help me
get my example working?
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road, Suite 36
Urbana, IL 61802
briannic...@aspca.org
P: 217-337-9700, 9799
F: 217-337-0599
www.aspca.org
briannic...@aspca.org wrote:
What I want to do is load a page without the user having to click on it
(like a submit button) and have the data show up on the page. I also don't
want to forward to another page. Is that even possible?
You can use the action tag for that (depending on
What I want to do is load a page without the user having to click on it
(like a submit button) and have the data show up on the page. I also don't
want to forward to another page. Is that even possible?
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road,
briannic...@aspca.org wrote:
I've been banging my head against the wall for the past 6+ hours or so and
need help with this problem.
I am trying to call an action to display results on a page when the page
is closed, but I keep getting a loop that keeps printing the data over and
over until a
ntType="text/html; charset=UTF-8" %>
> <%@ taglib prefix="s" uri="/struts-tags" %>
>
>
>
> Action Tag
>
>
>
> Action Tag
>
> This line is before the
ccurs.
My code looks like this:
index.jsp
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
Action Tag
Action Tag
This line is bef
HariniKaushik wrote:
getUserList would just return the List(java.util.List)
And its just the method that 'll get called when the action
Register_getUserList action is triggered.
I have combined two actions together through Register_* action names.
And no validation is done for getUserList method.
t; Hi All,
> I feel this is the correct Forum where in my doubts 'll be cleared.
> I've created Login,UserRegistration page and UserView page(where in admin
> only can view the users)
> And this is my action tag for Register_createUser and Register_getUserList
> method="
HariniKaushik wrote:
Hi All,
I feel this is the correct Forum where in my doubts 'll be cleared.
I've created Login,UserRegistration page and UserView page(where in admin
only can view the users)
And this is my action tag for Register_createUser and Register_getUserList
comm
Hi All,
I feel this is the correct Forum where in my doubts 'll be cleared.
I've created Login,UserRegistration page and UserView page(where in admin
only can view the users)
And this is my action tag for Register_createUser and Register_getUserList
common/{1}.jsp
Hi,
on the result-page of one of my actions (action "x") i'm using the
action-tag to invoce an action and show its result.
Now i wanted to call action "x" like this, just with different
parameters (for a different result-page) on its own result pa
;s not an issue of popularity, this is an issue with
Velocity--if the action tag was a block tag then it would always require
an #end directive.
You could certainly request that change in a JIRA, and it's arguable
this is one of the tags that should be a block tag for this very reason.
Tha
;> That makes sense. It was multi-line in older versions of WebWork with
>> Velocity.
>>
>> So I'm still stuck trying to make this work
>>
>> Is there any documentation that I'm missing? How would one do this with a
>> plain s
carlo latasa wrote:
That makes sense. It was multi-line in older versions of WebWork with
Velocity.
So I'm still stuck trying to make this work
Is there any documentation that I'm missing? How would one do this with a
plain struts action tag?
In JSP? The way you're
That makes sense. It was multi-line in older versions of WebWork with
Velocity.
So I'm still stuck trying to make this work
Is there any documentation that I'm missing? How would one do this with a
plain struts action tag?
On Mon, Jan 26, 2009 at 5:28 PM, Dave Newton wrot
quot;)
#sparam("name=when" "value=now")
#end
I'd guess that due to Velocity issues the action tag is an inline tag
(i.e., won't work with an #end). AFAIK only a few tags are multiline,
like form.
The source seems to confirm my suspicion. The issue is that the
Hello,
I'm trying to use the #saction tag where I pass a parameter into the action
being called. (Struts 2, Velocity 1.5)
Like this:
#saction( "id=vehicleAction" "namespace=/admin/fleet/vehicle" "name=search"
"executeResult=true")
#sparam("name=when" "value=now")
#end
however the #end give
not remain on the stack after it
is executed. It and it's properties are gone. You have two options to
achieve what you're attempting.
1. pass body content to the action tag that will be rendered as the result
2. have the action place the properties of interest into request scope
Tech
ttp://www.nabble.com/action-tag-tp16920759p16920759.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Frost wrote:
Am I writing this correctly?
maxlength="20" />
My FillSelectBoxes action only does work in the preparable method. And
there is a private String myString and private LocationDTO location in this
action. I only implemen
Thanks,
Justin
--
View this message in context:
http://www.nabble.com/-S2--Action-tag-along-with-param-tag-tp14530331p14530331.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [E
Hi all,
I am quite new to s2 but like the framework but can not find the right way
how ActionTag may cooperate with surrounding Action. Well more exactly I
want Interceptors mapped to ActionTag use some objects prepared by
Interceptors of the Action. May be example would be best.
I have Interceptor
couple of parameters.
Can I do something similar when calling an action from the
tag ? that is, Can I call an action using the action tag with a couple
of parameters?
If possible, can it also be done using the POST method?
Thanks in adv
Quoting http://struts.apache.org/2.x/docs/action.html
Parameters can be passed to the action using nested param tags.
(links to http://struts.apache.org/2.x/docs/param.html)
I'm not sure about the HTTP method...
What exactly are you trying to accomplish?
---
sing the action tag with a couple
of parameters?
If possible, can it also be done using the POST method?
Thanks in advance,
Asaf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__
> Now that's room service! Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel to find your fit.
> http://farechase.yahoo.com/promo-generic-14795097
>
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-m
--- Felipe Rodrigues <[EMAIL PROTECTED]>
wrote:
> I'm not so sure about OGNL purpose and syntax.
http://struts.apache.org/2.x/docs/ognl.html
http://struts.apache.org/2.x/docs/ognl-basics.html
In theory EL expressions *should* go to the OGNL stack
if they're not found in scope.
> Any other idea?
___Boardwalk
> for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for
> today's economy) at Yahoo! Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
>
> -------
--- Felipe Rodrigues <[EMAIL PROTECTED]>
wrote:
> Nobody have any idea?
Is there any particular reason you're not using OGNL
EL in the value attributes? I don't know that that's
the problem, but it makes me nervous.
d.
> >
> >
> >
> > value="${foraMedia}" />
> > />
> >
>
>
> Thanks,
>
> Felipe
>
--
View this message in context:
http://www.nabble.com/Action-tag-with-lots-of-paramstf3728936.html#a10610679
Sent from the Struts - User mailing list archive at Nabble.com.
--
Hi Guys,
Is it possible?
When I try that, my action only set the varId and don't even call the
others set methods. How do something like that?
Thanks,
Felipe
--
View this message in context:
http://www.nabble.com/Action-tag-with-lots-of-paramstf3728936.html#a104
Hello,
I use the action tag in a JSP: .
When I submit from this JSP to another action, say target.action, and
I meet addFieldError(...) in the execute() method of the target
action, if I return to the JSP to display the field error message, all
my code in the JSP doesn't have access anymo
I am using the action tag
--
View this message in context:
http://www.nabble.com/Problem-with-action-tag---Bug-in-result-handling-for-actions-rendered-with-tf3268979.html#a9088100
Sent from the Struts - User mailing list archive at Nabble.com
Hi,
I have the following on a JSP page:
">
Sidebar
Namespace "foo" is defined in a file included by
struts.xml.
The link takes me to the page I was seeing if I could
use as a component; s:action throws, saying "There is
no Action mapped for namespace foo and action name
sidebar."
Before I
Greetings All.
I'm migrating an existing webapp to Struts. An Action tag in my menu is
getting blown away. The application is in the middle of migration, so
there are some struts-enabled jsps and some vanilla jsps.
On first navigation to the menu, the code works fine. After navigating
lt;[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, November 21, 2005 2:33 PM
Subject: Re: what is the use of parameter attribute in action tag
> "nanda" is method name in your Action class or you want to access "abc"
> parameter in your met
ive first.
-- Swami Vivekananda
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, November 21, 2005 2:33 PM
Subject: Re: what is the use of parameter attribute in action tag
> "nanda" is metho
sers Mailing List"
cc
Subject
Re: what is the use of parameter attribute in action tag
Hi Tahnks for ur response.
I want to send some request parametrs as query string in my first request
to the action.
This is just like this.
localhost:8080/form.do?abc=nanda
Here i can hard co
Vivekananda
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, November 21, 2005 2:18 PM
Subject: Re: what is the use of parameter attribute in action tag
> Nandan,
>
> parameter attribute in action-mapping is used for metho
eter("type");
Hope it helps.
Sunil
"Nandakishore Nekkanti" <[EMAIL PROTECTED]>
11/21/2005 01:44 PM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List" ,
<[EMAIL PROTECTED]>
cc
Subject
what is the use of parameter at
Hi
Is there any option in struts-config.xml to send request parameters to the
action.
i guess parameter attribute in action can do this .Is this for that
purpose.
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.5 - Release Dat
At 11:57 AM + 3/16/05, Bing Qiao wrote:
Hello,
I build a custom Validator class for a DynaActionForm.
The action tag looks like:
When the validation fails the request will be directed to paymentForm.jsp.
I wonder if it's possible to direct the request to different pages in
my custom vali
Hello,
I build a custom Validator class for a DynaActionForm.
The action tag looks like:
When the validation fails the request will be directed to paymentForm.jsp.
I wonder if it's possible to direct the request to different pages in
my custom validator class. This might be done by settin
81 matches
Mail list logo