on seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>
> > Date: Fri, 28
tion, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Fri, 28 May 2010 09:13:04 -0400
> Subject: Re: ognl: calling action method inside iterator tag
> From: ukchuckt...@gmail.com
> To: user@struts.apache.org
>
> Odd, I tried it a number of times
Odd, I tried it a number of times without success. I even dumped the value
stack and the object in question was on the stack but the method was never
called in the iterator tag. Maybe it was the method name getErrorCount that
was causing the problem, not sure. The code I got working is below. It's
Hi,
yes it is possible,
struts will look for such a method up the way on stack,
so simply < s:property value="getMyMethod" /> should work.
Best greetings,
Paweł Wielgus.
2010/5/22 Grant Lewis :
> Wondering if it's possible (struts 2.1.8.1)? From my testing it
> doesn't appear possible to to call
Wondering if it's possible (struts 2.1.8.1)? From my testing it
doesn't appear possible to to call an action method from inside an
iterator tag. I can't find any documentation on it so hoping an
experienced user can shed some light on this mystery. I can call the
method fine outside the iterator bu
kvdw5d6 and
http://markmail.org/message/jjkic23knjk5tnpx.
Best,
Chris
On 11/10/2009 11:20 AM, Haroon Rafique wrote:
Hi Chris,
See reply embedded below...
On Today at 10:32am, CM=>Christopher Maloof
wrote:
CM>I guess no one recognizes the problem. Next question: Has anyone
11:20 AM, Haroon Rafique wrote:
>>
>> Hi Chris,
>>
>> See reply embedded below...
>>
>> On Today at 10:32am, CM=>Christopher Maloof
>> wrote:
>>
>> CM> I guess no one recognizes the problem. Next question: Has anyone
>> CM> gotten thi
tp://markmail.org/message/jjkic23knjk5tnpx.
Best,
Chris
On 11/10/2009 11:20 AM, Haroon Rafique wrote:
Hi Chris,
See reply embedded below...
On Today at 10:32am, CM=>Christopher Maloof wrote:
CM> I guess no one recognizes the problem. Next question: Has anyone
CM> gotten th
Hi Chris,
See reply embedded below...
On Today at 10:32am, CM=>Christopher Maloof wrote:
CM> I guess no one recognizes the problem. Next question: Has anyone
CM> gotten this (calling action methods from FreeMarker tags) to work
CM> successfully? Just trying to figure out whether
I guess no one recognizes the problem. Next question: Has anyone gotten
this (calling action methods from FreeMarker tags) to work
successfully? Just trying to figure out whether the correct approach is
to hammer on my configuration somehow, or to file a bug.
Thanks,
Chris
On 11/9/2009 10
I'm just starting to use FreeMarker (2.3.15) with Struts 2.1.8. It
mostly works fine: my templates are retrieving bean information with no
problem. However, I can't figure out how to call methods defined in my
action classes.
If my action class looks like this:
public class MyAction extends
porte
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> To: user@struts.apache.org
> Subject: Re: Calling Action on page load
> From: fefer...@d
Thank you all for the hints. I will try again as soon as I'll get fit.
Denis Fefermann wrote:
> I am using Struts 1 and no JavaScript Frameworks. I do not need data
from
> calling the action.
> The point is, everytime I refresh my JSP Page , I need to increment a
> sort of a counter in m
Denis Fefermann wrote:
I am using Struts 1 and no JavaScript Frameworks. I do not need data from
calling the action.
The point is, everytime I refresh my JSP Page , I need to increment a
sort of a counter in my Action Class.
So increment a counter in your action class, put it in session/req
I am using Struts 1 and no JavaScript Frameworks. I do not need data from
calling the action.
The point is, everytime I refresh my JSP Page , I need to increment a
sort of a counter in my Action Class.
On Friday 17 April 2009 13:35:33 Denis Fefermann wrote:
> Hi all,
>
> I am new to STRUTS
+1
Having a clear line between view and service promotes this sort of reuse.
On 4/17/09, Dave Newton wrote:
> Denis Fefermann wrote:
>> Hi all,
>>
>> I am new to STRUTS and to this mailinglist, so please be patient with me.
>>
>> What I am trying, is to call an action on jsp load.
>> I guess I
Denis Fefermann wrote:
Hi all,
I am new to STRUTS and to this mailinglist, so please be patient with me.
What I am trying, is to call an action on jsp load.
I guess I need a javasript function which calls an action and 'onload' in
my body.
function callAction{
... calling myActio
On Friday 17 April 2009 13:35:33 Denis Fefermann wrote:
> Hi all,
>
> I am new to STRUTS and to this mailinglist, so please be patient with me.
>
> What I am trying, is to call an action on jsp load.
> I guess I need a javasript function which calls an action and 'onload' in
> my body.
>
> function
Hi all,
I am new to STRUTS and to this mailinglist, so please be patient with me.
What I am trying, is to call an action on jsp load.
I guess I need a javasript function which calls an action and 'onload' in
my body.
function callAction{
... calling myAction.do
}
Can somebody he
within this transmission. > Date: Fri, 26 Dec 2008 06:39:23 -0800> From:
milanmilanov...@yahoo.com> To: user@struts.apache.org> Subject: [S2] Calling
action class method from jsp> > > Hi,> > I have iterator in my jsp which
iterate through list of objects. I want to> cal
x27;s id to that method, e.g.:
>
>
> ...
>
> ...
>
>
> How can I define this ?
>
> --
> Thx, Milan
> --
> View this message in context:
> http://www.nabble.com/-S2--Calling-action-class-method-from-jsp-tp21174848p21174848
http://www.nabble.com/-S2--Calling-action-class-method-from-jsp-tp21174848p21174848.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comman
2008/12/8 Dave Newton <[EMAIL PROTECTED]>
> --- On Mon, 12/8/08, Raquel Pau Fernández wrote:
> > Excuse me for insisting, but the problem of using is that
> > you need to offer always it as url...
>
> Using Codebehind you don't need to configure it via XML; I don't see any
> practical difference
--- On Mon, 12/8/08, Raquel Pau Fernández wrote:
> Excuse me for insisting, but the problem of using is that
> you need to offer always it as url...
Using Codebehind you don't need to configure it via XML; I don't see any
practical difference between using URLs or classnames to access an actio
the action must know(implicitly)
> > what is the following content page.
>
> IMO the action should always be responsible for what's available in the
> view, but that may just be me.
>
> I'm still not sure I like the idea of calling *action* code to get the data
> t
but that may just be me.
I'm still not sure I like the idea of calling *action* code to get the data
that you want, though--I think it would be much cleaner to provide a mechanism
for accessing service instances in the JSP and skip the intermediate layer.
> I need to call an actio
Yes,
I want to call services, but if I put the service in the action, at code
level, the action must know(implicitly) what is the following content page.
In addition, if an action code has two URL and for each URL has to send
different JSP content, your code must change or yo have to produce redun
--- On Sun, 12/7/08, Raquel Pau Fernández wrote:
> I'm thinking about calling actions code (that perhaps they are not
> an URL and then they don't appear in the struts.xml) from JSP
> [...]
> For instance, in more than one page I could need the list
> of users in different formats (combobox, lists
Hello,
I'm thinking about calling actions code (that perhaps they are not an URL
and then they don't appear in the struts.xml) from JSP pages.
Is it possible? I'd want to separate the workflow (success, error, input,
etc..) from the necessary business logic for rendering a JSP page.
For instance,
st in session for s:selection.
> >
> >> list="%{#session.mySelectionList}" listKey="value"
> > listValue="label" />
> >
> > Hope this helps,
> >
> > Jane
> >
> > -Original Me
ession for s:selection.
>
> list="%{#session.mySelectionList}" listKey="value"
> listValue="label" />
>
> Hope this helps,
>
> Jane
>
> -Original Message-
> From: aum strut [mailto:[EMAIL PROTECTED]
&g
day, March 27, 2008 1:08 PM
To: Struts Users Mailing List
Subject: Re: Calling Action on form load
Jane,
can you just give me a brief aidea about (or even if u can a demo code )
how
u put ur list in to the action.
that will be of gr8 help
--aum
On 3/27/08, Randy Burgess <[EMAIL PROTECTED]>
t;
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
> > From: aum strut <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> > Date: Thu, 27 Mar 2008 22:04:04 +0530
> > To: Struts Users Mailing List
Users Mailing List
> Subject: Calling Action on form load
>
> Hi all,
>
> is it possible to call an action in struts2 everytime when the page get
> loaded if yes how it is possible.
> my problem is i am using tag and using a list to pupulate this
> drop down this list is coming fr
ginal Message-
From: aum strut [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 12:34 PM
To: Struts Users Mailing List
Subject: Calling Action on form load
Hi all,
is it possible to call an action in struts2 everytime when the page get
loaded if yes how it is possible.
my problem is
Hi all,
is it possible to call an action in struts2 everytime when the page get
loaded if yes how it is possible.
my problem is i am using tag and using a list to pupulate this
drop down this list is coming from the action which i m calling before the
page is being displayed.
the folw is like t
Wed, 2 Jan 2008 19:30:23 -0800
> From: [EMAIL PROTECTED]
> Subject: RE: action call not calling action
> To: user@struts.apache.org
>
> --- Henry Park <[EMAIL PROTECTED]> wrote:
> > Regarding Log4J... wouldn't that only be useful if an error is
thrown?
>
> If
--- Henry Park <[EMAIL PROTECTED]> wrote:
> Regarding Log4J... wouldn't that only be useful if an error is thrown?
If logging is turned up to DEBUG level then quite a bit of configuration and
execution tracing is shown; there's more in the logs besides ERROR level
stuff.
If the only difference be
Regarding Log4J... wouldn't that only be useful if an error is thrown?
I don't get any error messages. It just does not get into my doList()
method.
> Date: Wed, 2 Jan 2008 19:02:07 -0800
> From: [EMAIL PROTECTED]
> Subject: RE: action call not calling action
> To:
> Date: Wed, 2 Jan 2008 19:02:07 -0800
> From: [EMAIL PROTECTED]
> Subject: RE: action call not calling action
> To: user@struts.apache.org
>
> --- Henry Park <[EMAIL PROTECTED]> wrote:
> > Sorry, I made some changes since I posted that message. I should
have
>
--- Henry Park <[EMAIL PROTECTED]> wrote:
> Sorry, I made some changes since I posted that message. I should have
> updated. It actually calls Menu!list.action now.
Oh, okay.
And you're saying if you call it directly from the URL address bar on the
browser it works locally but when you access it
Thank you for the help. My responses are below:
> Date: Wed, 2 Jan 2008 18:20:12 -0800
> From: [EMAIL PROTECTED]
> Subject: RE: action call not calling action
> To: user@struts.apache.org
>
> --- Henry Park <[EMAIL PROTECTED]> wrote:
> > What do you mean by
--- Henry Park <[EMAIL PROTECTED]> wrote:
> What do you mean by 'where do I define MenuAction?' It is just
> my action class.
Your JavaScript calls "MenuAction!list".
There is no "MenuAction" defined in the chunk of struts.xml you posted; you
define an action named "Menu". I'm asking if you defin
or a '"do${methodName}" thing'
http://struts.apache.org/2.0.9/docs/prepare-interceptor.html
> Date: Wed, 2 Jan 2008 17:00:12 -0800
> From: [EMAIL PROTECTED]
> Subject: Re: action call not calling action
> To: user@struts.apache.org
>
> --- Henry Park
--- Henry Park <[EMAIL PROTECTED]> wrote:
> getUrl("MenuAction!list.action")
What's "getUrl", a JavaScript function?
>
Where do you define "MenuAction"?
> It enters my 'prepare()' method but does not enter my doList() method.
Is your logging turned up to eleven? Is it a default S2 thing
Hello everyone, I am reposting this question as I am still having issues
with it.
I am having a really strange issue. In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separately using an Ajax call to their respective
action metho
Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2007 1:37 PM
To: Struts Users Mailing List
Subject: Re: Action call not calling action method
Henry
difficult to say without seeing the interceptor stack from
struts-default.xml
Please post to group
M--
LA
o: "Struts Users Mailing List"
Sent: Tuesday, December 04, 2007 11:48 AM
Subject: Action call not calling action method
Hello everyone, I am having a really strange issue. In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separa
Hello everyone, I am having a really strange issue. In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separately using an Ajax call to their respective
action methods. They are automatically called/populated when I log into
my application
--- Henry Park <[EMAIL PROTECTED]> wrote:
> How can I forward to a url from within my action
> class? For example, instead of 'return SUCCESS' I
> just want to call another action... something like
> 'return SomeAction!doit.action. Any ideas? Thanks
> in advance.
Define a result that either chai
How about ->
YourSecondAction
http://struts.apache.org/2.0.9/docs/redirect-action-result.html
The downside is that it is a redirect, so you any data from
YourFirstAction that you want in YourSecondAction will have to be put
into the session.
-W
On 10/4/07, Henry Park <[E
How can I forward to a url from within my action class? For example, instead
of 'return SUCCESS' I just want to call another action... something like
'return SomeAction!doit.action. Any ideas? Thanks in advance.
_
Windows Live Hot
Craig McClanahan wrote:
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
> According to the HTML specification, disabled input controls
> are *not* included in the request attr
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
How do you know that dialog is completed? :-)
By virtue of explicit transition to an end state, just like Spring WebFlow.
This causes the per-dialog state information to be popped off the
session-scoped statck where it is maintained, t
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > > Also, is it possible to lock the server-side bean on a fr
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > Also, is it possible to lock the server-side bean on a framework
> > level, so it would be guaranteed that the bean won'
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Also, is it possible to lock the server-side bean on a framework
> level, so it would be guaranteed that the bean won't get second
> request until the first one is serviced and respo
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
> According to the HTML specification, disabled input controls
> are *not* included in the request attributes submitted to the s
On 5/11/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
According to the HTML specification, disabled input controls
are *not* included in the request attributes submitted to the server.
Therefore, disabling the submit button will mean that the
Oh, I totally missed the point. Best of luck.
-Original Message-
From: Jason Vincent [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 1:21 PM
To: Struts Users Mailing List
Subject: Re: Shale: onclick="disabled='true';" not calling Action
Method. (stopping
[mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 11, 2006 10:42 AM
> To: user@struts.apache.org
> Subject: Shale: onclick="disabled='true';" not calling Action Method.
> (stopping double click)
>
> Hi all,
>
> My project spec is asking me to disable form bu
tion method, you could set the boolean to true,
thereby disabling the button when the page reloads.
-Original Message-
From: Jason Vincent [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 10:42 AM
To: user@struts.apache.org
Subject: Shale: onclick="disabled='true';&quo
On 5/11/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
Hi all,
My project spec is asking me to disable form buttons once they are
clicked. It seemed easy to me, just add onclick="disabled='true'" to
the commandButton. But as anything I've found with JSF, it isn't that
easy.
When I do this, the
Original Message-
From: Jason Vincent [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 10:42 AM
To: user@struts.apache.org
Subject: Shale: onclick="disabled='true';" not calling Action Method.
(stopping double click)
Hi all,
My project spec is asking me to disable
Hi all,
My project spec is asking me to disable form buttons once they are
clicked. It seemed easy to me, just add onclick="disabled='true'" to
the commandButton. But as anything I've found with JSF, it isn't that
easy.
When I do this, the action method isn't being called after it passes
valid
65 matches
Mail list logo