Done: https://issues.apache.org/jira/browse/WW-5475
Best regards
Wolfgang
> Gesendet: Sonntag, 20. Oktober 2024 um 11:17
> Von: "Lukasz Lenart"
> An: "Struts Users Mailing List"
> Betreff: Re: Struts 7: error when "s:action" is used on jsp pa
niedz., 20 paź 2024 o 11:14 Wolfgang Knauf
napisał(a):
>
> OK, I see. Thanks for the clarification.
>
> Is there any chance to improve the error message or detect this
> situation? You wrote that this is a recommendation, and it worked with
> the old version. But the exception does not point to an
20.10.24 um 11:02 schrieb Lukasz Lenart:
sob., 19 paź 2024 o 15:18 Wolfgang Knauf
napisał(a):
I have a "index.jsp" and invoke an action using "s:action" tag, then render data from this action.
In the browser I navigate to this jsp direcly ("http://localhost/index.jsp
sob., 19 paź 2024 o 15:18 Wolfgang Knauf
napisał(a):
> I have a "index.jsp" and invoke an action using "s:action" tag, then render
> data from this action. In the browser I navigate to this jsp direcly
> ("http://localhost/index.jsp"; instead of browsing t
I have a "index.jsp" and invoke an action using "s:action" tag, then render
data from this action. In the browser I navigate to this jsp direcly
("http://localhost/index.jsp"; instead of browsing to ".../i
2014-12-16 18:01 GMT+01:00 Roger Varley :
> No - that marks it for auto-scanning. In the meantime I've gone back to
> 2.3.16.1 and everything is working again :(
That won't help ;-) Can you share more details about your application
configuration? Or prepare a small demo app that behaves the same w
No - that marks it for auto-scanning. In the meantime I've gone back to
2.3.16.1 and everything is working again :(
Regards
On 16 December 2014 at 18:00, Lukasz Lenart wrote:
>
> 2014-12-16 15:23 GMT+01:00 Roger Varley :
> > import org.springframework.stereotype.Service;
> >
> > @Service
>
> Doe
2014-12-16 15:23 GMT+01:00 Roger Varley :
> import org.springframework.stereotype.Service;
>
> @Service
Doesn't this annotation define Singleton?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e
2014-12-16 16:37 GMT+01:00 Sreekanth S. Nair :
> Hi Lukasz,
> Could it be the same problem what i was facing about rest
> plugin ?
Nope, your problem was missing configuration for coexisting normal web
app with rest endpoints
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart
rt
> > wrote:
> >>
> >> 2014-12-16 15:03 GMT+01:00 Roger Varley :
> >> > Referring to the log file, the dump was preceded by the following few
> >> lines;
> >> >
> >> > 16 Dec 2014 15:44:09 ERROR
> >> ActionComponent,"h
uot;-exec-5:42 -
>> > Could not execute action: /admin/list-platforms
>> > There is no Action mapped for namespace [/admin] and action name
>> > [list-platforms] associated with context path
>> [/FaultmateGenesis-Server]. -
>> > [unknown location]
>> &g
st-platforms] associated with context path
> [/FaultmateGenesis-Server]. -
> > [unknown location]
> >
> > So it looks as if the change is with the s:action tag processing, or has
> > something else changed between 2.3.16.1 and 2.3.20 that I've missed?
>
tion mapped for namespace [/admin] and action name
> [list-platforms] associated with context path [/FaultmateGenesis-Server]. -
> [unknown location]
>
> So it looks as if the change is with the s:action tag processing, or has
> something else changed between 2.3.16.1 and 2.3.20 that I'
iated with context path [/FaultmateGenesis-Server]. -
[unknown location]
So it looks as if the change is with the s:action tag processing, or has
something else changed between 2.3.16.1 and 2.3.20 that I've missed?
Regards
On 16 December 2014 at 15:55, Lukasz Lenart wrote:
>
> Can y
Can you post the whole log? Maybe there are some warnings
2014-12-16 14:48 GMT+01:00 Roger Varley :
> Hi
>
> After upgrading to 2.3.20 from 2.3.16.1 the following .jsp snippet fails to
> compile. Reverting back to 2.3.16.1 and it starts to work again.
>
>
> listValue=
Hi
After upgrading to 2.3.20 from 2.3.16.1 the following .jsp snippet fails to
compile. Reverting back to 2.3.16.1 and it starts to work again.
org.apache.jasper.JasperException: tag 'select', field 'list', name
'platformId': The requested list key '#list.platforms' could not be
re
Issue created!
Felipe Lorenz
Em 27/06/2013, às 16:46, Lukasz Lenart escreveu:
> 2013/6/27 Felipe Lorenz :
>> felipe.lorenz
>
> You should have "Create Issue" on the top right?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> --
2013/6/27 Felipe Lorenz :
> felipe.lorenz
You should have "Create Issue" on the top right?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additiona
-framework-reference.html#beans-c-namespace
>
> Obrigado,
> Martin
> __
> Por favor, não altere ou perturbar essa transmissão
>
>
>> From: lukaszlen...@apache.org
>> Date: Thu, 27 Jun 2013 14:17:18 +0200
>>
felipe.lorenz
Felipe Lorenz
Gerente de Projetos
Idealogic Software
Fone: (51) 3715 5523 - (51) 3715 5548
www.idealogic.com.br
Em 27/06/2013, às 09:17, Lukasz Lenart escreveu:
> Username?
>
> 2013/6/27 Felipe Lorenz :
>> Sure!
>>
>> I have created an user at jira, but I think I dont have permis
Obrigado,
Martin
__
Por favor, não altere ou perturbar essa transmissão
> From: lukaszlen...@apache.org
> Date: Thu, 27 Jun 2013 14:17:18 +0200
> Subject: Re: s:action tag showing result
> To: user@struts.apache.org
>
> Username?
Username?
2013/6/27 Felipe Lorenz :
> Sure!
>
> I have created an user at jira, but I think I dont have permissions to open a
> new issue. Or am I in the wrong place? :)
>
>
> Felipe Lorenz
>
> Em 27/06/2013, às 03:11, Lukasz Lenart escreveu:
>
>> Thanks Felipe!
>>
>> I think we must extend RestA
Sure!
I have created an user at jira, but I think I dont have permissions to open a
new issue. Or am I in the wrong place? :)
Felipe Lorenz
Em 27/06/2013, às 03:11, Lukasz Lenart escreveu:
> Thanks Felipe!
>
> I think we must extend RestActionProxyFactory to also add exclude list
> of namesp
Thanks Felipe!
I think we must extend RestActionProxyFactory to also add exclude list
of namespaces, eg. "/ajax,/login", thus will allow to work in your
configuration.
Could you register an issue?
Thanks in advance
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/6/26 Felipe Lorenz :
Hi Lukasz,
I could identify one plugin wich could be creating this behaviour, the rest
plugin.
Since I have this configuration:
>> > value="org.apache.struts2.dispatcher.mapper.PrefixBasedActionMapper"/>
>> > value=":rest,/ajax:struts,/login:struts"/>
I expect that, when I request the followi
As I understand you use ? Which
means result named "json" shouldn't be executed, you can even remove
it.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/6/22 Felipe Lorenz :
> Hello Lukasz,
>
> I still facing this behaviour. Even with 2.3.16-SNAPSHOT.
>
> One thing that make
Hello Lukasz,
I still facing this behaviour. Even with 2.3.16-SNAPSHOT.
One thing that make me thing, was the flush attribute. When it is true, the
json result (the string) appear in the position where the action tag is in the
jsp. But, when I change it to false, the result appears in the top o
2013/6/22 Litman, Bruno :
> We are also experiencing issues with tags and theme files, we are upgrading
> many applications from 2.3.4.1 to 2.3.14.3
> I am not sure if this is related - if not and if I need to start a new
> discussion please let me know and accept my apology.
>
> 1/
>
> We previo
Snapshots
https://repository.apache.org/content/groups/snapshots/
2.3.15 is under way to Maven Central
2013/6/21 Felipe Lorenz :
> There is a maven repository for the snapshots?
>
> Felipe Lorenz
> Gerente de Projetos
> Idealogic Software
> Fone: (51) 3715 5523 - (51) 3715 5548
> www.idealogic.co
ars [mailto:daniel.cleme...@boluda.com.es]
Sent: Friday, June 21, 2013 7:43 AM
To: Struts Users Mailing List
Subject: Re: s:action tag showing result
I agree with Felipe. In version 2.3.8 all was fine, but from 2.3.12 all the
problems with tags begun (action tags and field tags).
Thanks
Daniel C
There is a maven repository for the snapshots?
Felipe Lorenz
Gerente de Projetos
Idealogic Software
Fone: (51) 3715 5523 - (51) 3715 5548
www.idealogic.com.br
Em 21/06/2013, às 10:47, Lukasz Lenart escreveu:
> I have tested with struts2-blank and it works - I mean, executeResult
> is respected (
I have tested with struts2-blank and it works - I mean, executeResult
is respected (as in 2.3.15). You can test that by simple removing all
result definitions from struts.xml for that action.
2013/6/21 Felipe Lorenz :
> Thanks for all your help Lukasz,
>
> Looking with more attention (I know, sorr
Thanks for all your help Lukasz,
Looking with more attention (I know, sorry) my struts.xml and comparing with
the json plugin wiki, my result was different.
Before, I had:
And to fix the issue, I remove the name attribute.
But, my question is, why does it affect the action tag? I understand
Could you try with the latest (almost released) version 2.3.15?
I was checking locally with struts2-blank app and everything works,
but maybe my setup is a bit different. If so I will need an example
app (maven based the best).
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
I agree with Felipe. In version 2.3.8 all was fine, but from 2.3.12 all
the problems with tags begun (action tags and field tags).
Thanks
Daniel Clemente Ivars
De: Felipe Lorenz
Para: "Struts Users Mailing List" ,
Fecha: 21/06/2013 14:30
Asunto: Re: s:action tag show
ipe Lorenz :
>> Hi all,
>>
>> I have been using struts quite a long time, but in the last days I have
>> faced a strange behaviour of s:action tag.
>>
>> In my JSP I am using the tag action to load list to be used to mount my
>> s:select. But i
Hi!
I'm facing not the same, but a strange behavior too with "s:action tag"
since Struts version 2.3.12.
I'm using them in similar way than Felipe, so it load some Lists to be
used later for Select Fields filling. It worked well until change struts
version form 2.3.8 to 2.
Have you tried to use the previous versions?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/6/20 Felipe Lorenz :
> Hi all,
>
> I have been using struts quite a long time, but in the last days I have faced
> a strange behaviour of s:action tag.
>
> In my
Hi all,
I have been using struts quite a long time, but in the last days I have faced a
strange behaviour of s:action tag.
In my JSP I am using the tag action to load list to be used to mount my
s:select. But in the redered HTML, the result of the action is showing, even
when the
I think you can specify the inteceptor list at action level in struts.xml.
Cheers,
Josep
El 23 de abril de 2012 10:05, JOSE L MARTINEZ-AVIAL escribió:
> Hi,
> We are developing an web application that uses Struts2 + Tiles + JSP,
> plus Dojo for the UI. The application uses the JSON plugin, sinc
Hi,
We are developing an web application that uses Struts2 + Tiles + JSP,
plus Dojo for the UI. The application uses the JSON plugin, since we do a
lot of interactions through AJAX calls using JSON. We are also building a
thick client that will only uses JSON to communicate with the server. It
wi
Wed, 2011-04-27 at 08:59 -0400, Dave Newton wrote:
>
> > It's not making a separate *browser* request, it's all internal to S2.
> >
>
> Does this mean that struts' FAQ in
>
> https://cwiki.apache.org/WW/how-do-we-repopulate-controls-when-vali
ache.org/WW/how-do-we-repopulate-controls-when-validation-fails.html
is incorrect in suggesting s:action for this?
> Personally, I think things like this are better handled through
> Preparable or similar mechanism.
>
I haven't used the Preparable approach much, mainly because my ac
On Wed, Apr 27, 2011 at 7:13 AM, Miguel wrote:
> 1) Why doesn't the method mapped to get called
> when the form fails, ie, why is its interceptor stack picking up an
> error when it shouldn't?
It's not making a separate *browser* request, it's all internal to S2.
Another reason I really don't li
Dear all,
I am having problems implementing the suggestion of struts' suggestion
of "how to populate a page when validation fails". My idea was to have a
s:action in the jsp that will be the input result of the failing
validation action.
However, it seems that the interceptor s
I am using the lastest version 2.2.1
-Mensaje original-
De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Enviado el: Thursday, October 28, 2010 5:25 PM
Para: Struts Users Mailing List
Asunto: Re: Struts 2 s:action tag doesn't render action errors if any
are present
Which
> 2. What I liked about having an action for rendering the controls it's that I
> can reuse them across different JSP pages. What other alternatives do you
> suggest me that can achieve the same level of modularity?
Try or .
You can create a common jsp, and include it in different pages.
Ac
--
> De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Enviado el: Thursday, October 28, 2010 5:25 PM
> Para: Struts Users Mailing List
> Asunto: Re: Struts 2 s:action tag doesn't render action errors if any
> are present
>
>> Which interceptor do you me
I am using the lastest version 2.2.1
-Mensaje original-
De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Enviado el: Thursday, October 28, 2010 5:25 PM
Para: Struts Users Mailing List
Asunto: Re: Struts 2 s:action tag doesn't render action errors if any
are present
> Whic
I don't know what struts version you are running, in 2.2.1 version,
chain interceptor should copy actionError through actions.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comm
> Which interceptor do you mean? ChainingInterceptor?
I meant implementing a new Interceptor from scratch. Although this
issue are related to the chainInterceptor.
What interceptor stack are you using? Does your request fire chainInterceptor?
2010/10/29 Alfredo Manuel Osorio Martinez :
--
Mauriz
Which interceptor do you mean? ChainingInterceptor?
Alfredo Osorio
-Mensaje original-
De: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Enviado el: Thursday, October 28, 2010 4:25 PM
Para: Struts Users Mailing List
Asunto: Re: Struts 2 s:action tag doesn't render a
I totally agree with Dave: ParameterInterceptor is the better choice.
BTW, I'm not sure it fits your needs but you should take a look at
this issue https://issues.apache.org/jira/browse/WW-2869 and
https://issues.apache.org/jira/browse/WW-3488 (especially where Lukasz
talked about copyErrors and co
Thursday, October 28, 2010 1:10 PM
Para: Struts Users Mailing List
Asunto: Re: Struts 2 s:action tag doesn't render action errors if any are
present
You could try keeping them in the session, but that might involve
tricky configuration sometimes--not sure. You're rendering a single
c
>
>
> Alfredo Osorio
>
> -Mensaje original-
> De: Dave Newton [mailto:davelnew...@gmail.com]
> Enviado el: Thursday, October 28, 2010 12:51 PM
> Para: Struts Users Mailing List
> Asunto: Re: Struts 2 s:action tag doesn't render action errors if any are
> p
: Struts 2 s:action tag doesn't render action errors if any are
present
Rendering a control (and repopulating its values) is a different thing
than displaying validation error messages.
IMO the way you're doing it isn't a particularly good idea; it would
be better to rende
Rendering a control (and repopulating its values) is a different thing
than displaying validation error messages.
IMO the way you're doing it isn't a particularly good idea; it would
be better to render the control on the page, *possibly* using s:action
to create the list of possi
For example I have the following:
struts.xml:
/jsp/personForm.jsp
/jsp/successSave.jsp
/jsp/personForm.jsp
/jsp/countries.jsp
personForm.jsp:
<%@ taglib prefix="s" uri="/struts-tags" %>
CountriesAction.java:
public cla
Can someone illustrate some good uses of the s:action tag?
It's one tag that I haven't used in Struts2 but I suspect I could get a
lot of utility out of it, particularly by modularizing my actions.
-
To unsubscri
Yup, I had to change a couple of my helper classes because of that change.
(*Chris*)
On Wed, Jul 15, 2009 at 9:14 AM, Musachy Barroso wrote:
> yeah, something did change and I think ti was some signature from
> Map to Map or the other way around.
>
> On Wed, Jul 15, 2009 at 9:08 AM, Wes Wannem
yeah, something did change and I think ti was some signature from
Map to Map or the other way around.
On Wed, Jul 15, 2009 at 9:08 AM, Wes Wannemacher wrote:
> That's weird, now you have me more curious, I don't remember making
> changes to get it working in 2.1, other than updating unit tests...
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: Wed, 15 Jul 2009 12:08:50 -0400
> Subject: Re: JSON Plugin and S:Actio
That's weird, now you have me more curious, I don't remember making
changes to get it working in 2.1, other than updating unit tests...
Musachy, do you remember that going from 2.1.2 to 2.1.3? I was using
it with 2.1.3-SNAPSHOT quite a bit, so it must have been something
that changed shortly after
It was in one of my earlier posts, but I was getting this:
java.lang.NoSuchMethodError:
com.opensymphony.xwork2.ActionContext.get(Ljava/lang/String;)Ljava/lang/Object;
at com.googlecode.jsonplugin.JSONResult.execute(JSONResult.java:157)
at
com.opensymphony.xwork2.DefaultActionInvoc
On Wed, Jul 15, 2009 at 11:56 AM, Chris Pratt wrote:
> Yup, the latest jar file works with 2.1.6 (but not 2.1.2 for the record).
> (*Chris*)
What went wrong in 2.1.2? This intrigues me :)
-Wes
>
> On Wed, Jul 15, 2009 at 8:11 AM, Musachy Barroso wrote:
>
>> I think the last release worked with
Yup, the latest jar file works with 2.1.6 (but not 2.1.2 for the record).
(*Chris*)
On Wed, Jul 15, 2009 at 8:11 AM, Musachy Barroso wrote:
> I think the last release worked with 2.1 right?
>
> musachy
>
> On Wed, Jul 15, 2009 at 5:59 AM, Wes Wannemacher wrote:
> > On Wed, Jul 15, 2009 at 3:35
I think the last release worked with 2.1 right?
musachy
On Wed, Jul 15, 2009 at 5:59 AM, Wes Wannemacher wrote:
> On Wed, Jul 15, 2009 at 3:35 AM, Chris Pratt wrote:
>> Ok, now I'm totally confused. The documentation at
>> http://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plug-in
On Wed, Jul 15, 2009 at 3:35 AM, Chris Pratt wrote:
> Ok, now I'm totally confused. The documentation at
> http://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plug-in
> required 2.0.6 or greater. It clearly did not support 2.1.2, but it seems
> to support 2.1.6. Is the documentation
Ok, now I'm totally confused. The documentation at
http://cwiki.apache.org/S2PLUGINS/json-plugin.html says that the plug-in
required 2.0.6 or greater. It clearly did not support 2.1.2, but it seems
to support 2.1.6. Is the documentation wrong, should that say 2.1.6 instead
of 2.0.6?
(*Chris*)
Ok, calling it from AJAX, instead of , seems to work, but
unfortunately it appears the JSON Plugin isn't compatible with Struts 2.1.
I'm currently using 2.1.2, but the documentation says that it works with
2.0.6. Is there any plan to update it to work with 2.1? What I'm seeing
is:
java.lang.NoSu
Don't know, I was trying to initialize the variable using the same action
that would be used to update it. And, because of this problem, I haven't
been able to initialize it. Maybe I'll give it a try later.
(*Chris*)
On Tue, Jul 14, 2009 at 7:49 AM, Musachy Barroso wrote:
> Never thought of
Never thought of this use case before. Does it work if you use the
action directly, instead of calling from a jsp?
musachy
On Mon, Jul 13, 2009 at 11:17 PM, Chris Pratt wrote:
> I'm having a problem using with an action
> whose result type is json. It doesn't insert the results. My Action is
>
I'm having a problem using with an action
whose result type is json. It doesn't insert the results. My Action is
something like:
public class InitCalendarAction {
private List> json;
/**
* Get the JSON Object to be Serialized
*
* @return JSON Object
*/
public Object getJson (
I didn't see your post before I posted again - thanks for the answer.
Musachy Barroso wrote:
>
> "By name" means by the id in the "action" tag, like:
>
>
>
>
>
>
> musachy
>
> On Fri, Mar 13, 2009 at 11:49 AM, doahh wrote:
>
Looking again at the post from:
http://www.nabble.com/-S2--s:action-in-value-stack--td21551483.html
I see that the answer is
<s:action namespace="/mynamespace" name="actionTwo" id="myActionTwo"
/>
<s:property value="#myActionTwo.myActionTwoProper
"By name" means by the id in the "action" tag, like:
musachy
On Fri, Mar 13, 2009 at 11:49 AM, doahh wrote:
>
> I have been playing with the s:action tag and have found it impossible to
> reference any property of the action in a struts2 like way. If I call an
I have been playing with the s:action tag and have found it impossible to
reference any property of the action in a struts2 like way. If I call an
action, ActionOne.java and return success then I am redirected to a page
called one-success.jsp which has the following:
<s:action namesp
Hi Musachy,
what you say makes sense, but then I think one thing is missing in the
doc for s:action (http://struts.apache.org/2.1.6/docs/action.html):
I suggest something like this:
"The action is never placed on the value stack like an action called by
URL, so that accessing fields
g
>
> Wolfgang Knauf wrote:
>>
>> Musachy Barroso wrote:
>>>
>>> what does prints in the action result?
>>>
>>
>> I updated my sample
>> (http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Action.war)
>> so that
ion result?
I updated my sample
(http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Action.war)
so that the JSP outputs this:
Inside s:action: Property "id":
Inside s:action: Property #someActionVariable.id: value="#someActionVariable.id"/>
Inside s:ac
name" in the
stack, only outside the "action" tag.
I cannot confirm the first half of this (see my sample). A action called by
"s:action" seems to be accessible only be its "var" name, but not by
standard value stack access.
Shall I file a JIRA for this? I don
Darn, "Ctrl+Enter" is no good
So, one more try:
Musachy Barroso wrote:
what does prints in the action result?
I updated my sample
(http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Action.war)
so that the JSP outputs this:
Inside s:action: Property &quo
;>> stack, only outside the "action" tag.
>>>
>>
>> I cannot confirm the first half of this (see my sample). A action called by
>> "s:action" seems to be accessible only be its "var" name, but not by
>> standard
; in the
>> stack, only outside the "action" tag.
>>
>
> I cannot confirm the first half of this (see my sample). A action called by
> "s:action" seems to be accessible only be its "var" name, but not by
> standard value stack access.
>
>
Musachy Barroso wrote:
Yes, during the result of the invoked action, the invoked action will
be on the top of the stack, but it is available "by name" in the
stack, only outside the "action" tag.
I cannot confirm the first half of this (see my sample). A action called
by
Yes, during the result of the invoked action, the invoked action will
be on the top of the stack, but it is available "by name" in the
stack, only outside the "action" tag.
musachy
On Wed, Jan 28, 2009 at 5:40 AM, Alexander Baetz
wrote:
> Hi,
>
> are you sure about the tag-action beeing on top o
Hi,
are you sure about the tag-action beeing on top of the stack during the
execution of its result?
i use an action-tag to generate a view component (a little info box on
my page) and on one of my pages there is the situation that the
tag-action is of the same class as the original action.
Hi Musachy,
Musachy Barroso wrote:
I think top doesn't need "#"(yeah I know I said "#top" ;) ). Either
"top.id" or just "id" should get you the id.
I uploaded a new sample to, with your change ("top" instead of "#top").
http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Acti
e, you can find it here (jsp page and simple action with a
> property "id"):
> http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Action.war
>
> To run it, call: http://localhost:8080/Struts2Action/index.jsp
> ==
> This is the rel
here (jsp page and simple action
with a property "id"):
http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Action.war
To run it, call: http://localhost:8080/Struts2Action/index.jsp
==
This is the relevant part of my index.jsp:
Inside s:action: Property
Inside the action tag, the action will be on top of the stack, so you
can reference it using #top. The action is added to the context under
the "id" (2.0), or "var" (2.1) name, on the end of the tag, so you
cannot reference it by name inside the action tag. Wow, that was some
very confusing explana
Hi,
Maybe the var is used if you did something like:
or
Unfortunately not, I gave this a try already (using "id" attribute, as
Struts 2.0.14 does not know "var"). I might give it a try with 2.1.6.
Wolfgang
Hi,
I would be careful about placing action execution logic in your view. This
is really not the place to be making navigation decisions.
I know ;-). I use it only on my index page, where I force creation of an
action which provides me with a list of items to display on the start
page. So
I would be careful about placing action execution logic in your view. This
is really not the place to be making navigation decisions.
On Mon, Jan 19, 2009 at 9:05 PM, dusty wrote:
>
> I have not researched this butthe way I understand it the action is
> executed and its result evaluated a
I have not researched this butthe way I understand it the action is
executed and its result evaluated and that result sent in place. You can
choose not to execute the result but then it just "does something" and the
view moves on. When you are doing you are at the view stage
right? Your or
Hi all,
there is one thing about calling an action through the tag: I
can provide an "id", and I can call the properties of the action with
"#actionid.field" annotations later on the page.
But I would expect this action to be placed on the value stack, so that
e.g. would access "getField()"
other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: Cannot use multiple s:action tags?
> Date: Wed, 4 Jun 2008 09:31:37 -0400
>
> When I attempt to use mo
When I attempt to use more than 1 s:action tag on a page, I just get back a
blank page - no error, no console output, just nothing.
My page just looks like:
If I just use one action
Hi!
On Wed, Apr 30, 2008 at 2:21 AM, crappycrumpet <[EMAIL PROTECTED]> wrote:
> Ralf Fischer-2 wrote:
> >
> > Please tell us exactly what you want to do, as there might be a
> > simpler solution to your problem.
> >
>
> Okay I don't have hibernate and this is what I'm sort of doing. Let's sa
Hi Ralf,
Ralf Fischer-2 wrote:
>
> Please tell us exactly what you want to do, as there might be a
> simpler solution to your problem.
>
Okay I don't have hibernate and this is what I'm sort of doing. Let's say
that I have a table of staffs, offices and things_assignment (which links
staffs a
1 - 100 of 109 matches
Mail list logo