Re: Passing parameters

2025-03-06 Thread Lukasz Lenart
czw., 6 mar 2025 o 10:55 Ed napisał(a): > I tested an example with struts 7.x > (https://github.com/apache/struts-examples/tree/main/control-tags) and > when edit `personBean` can't send to the form. If I have a string or a > map can send to the form, but object not. Thanks for pointing that out,

Passing parameters

2025-03-06 Thread Ed
Hi, I tested an example with struts 7.x (https://github.com/apache/struts-examples/tree/main/control-tags) and when edit `personBean` can't send to the form. If I have a string or a map can send to the form, but object not. Thanks, Ed ---

Re: Passing parameters from struts.xml to jsp securely/encripted..Struts2

2011-06-15 Thread Maurizio Cucchiara
rue > > > > Problem is the ${somepage} value is appear in the address bar of the > browser. I want this value to be encrypted or hidden like in html post > method. I googled this but couldn't find an answer. Any help? > > -- > View this message in context: http:/

Passing parameters from struts.xml to jsp securely/encripted..Struts2

2011-06-15 Thread scoobyy
n the address bar of the browser. I want this value to be encrypted or hidden like in html post method. I googled this but couldn't find an answer. Any help? -- View this message in context: http://struts.1045723.n5.nabble.com/Passing-parameters-from-struts-xml-to-jsp-securely-encript

Passing parameters from struts.xml to jsp securely/encripted..Struts2

2011-06-15 Thread scoobyy
n the address bar of the browser. I want this value to be encrypted or hidden like in html post method. I googled this but couldn't find an answer. Any help? -- View this message in context: http://struts.1045723.n5.nabble.com/Passing-parameters-from-struts-xml-to-jsp-securely-encript

Re: Passing parameters to getter methods?

2010-06-25 Thread Chris Miles
ent: Friday, June 25, 2010 1:58 PM Subject: Re: Passing parameters to getter methods? Well technically it's not a "getter" since it takes a parameter but that doesn't matter you can call any method on your action just using the full name and calling it like in java. Now I'

Re: Passing parameters to getter methods?

2010-06-25 Thread Greg Lindholm
Well technically it's not a "getter" since it takes a parameter but that doesn't matter you can call any method on your action just using the full name and calling it like in java. Now I'm not sure what you are trying to do with the #index syntax since getProducts() will be called once and shoul

Re: Passing parameters to getter methods?

2010-06-25 Thread Alex Rodriguez Lopez
You can do this without parameters. Write a setter for this index property (to save it), and then in the getter you grab the saved value. Hi, I want to call s:iterator and fetch a list by passing it an index. This list will be dynamically generated. where I want getProducts(Integer index)

Passing parameters to getter methods?

2010-06-24 Thread Chris Miles
Hi, I want to call s:iterator and fetch a list by passing it an index. This list will be dynamically generated. where I want getProducts(Integer index) to be called. Is this possible? Thanks Chris

Convention plugin - passing parameters

2010-05-03 Thread RogerV
notation is in, and a setSerialNumber() method in action Connect. Debugging shows that Connect.setSerialNumber() is called when using redirectAction, but it;s not when using chain. Regards -- View this message in context: http://old.nabble.com/Convention-

Re: Passing parameters to

2010-03-05 Thread Ricardo Jorge
e in the parameter > > > > > > > > and let the getName class handle the actual locale. > > > > adam > > > Date: Thu, 4 Mar 2010 18:20:19 +0100 > > Subject: Re: Passing parameters to > > From: lukasz.len...@googlemail.com > > To: us

RE: Passing parameters to

2010-03-04 Thread adam pinder
just pass an alias to the locale in the parameter and let the getName class handle the actual locale. adam > Date: Thu, 4 Mar 2010 18:20:19 +0100 > Subject: Re: Passing parameters to > From: lukasz.len...@googlemail.com > To: user@struts.apache.org > > 2010

RE: Passing parameters to

2010-03-04 Thread adam pinder
k you should be looking at this differently and using the i18n interceptor and resource bundles to handle different languages. adam > Date: Thu, 4 Mar 2010 17:13:43 +0000 > Subject: Re: Passing parameters to > From: rvjs...@gmail.com > To: user@struts.apache.org > > Thank

Re: Passing parameters to

2010-03-04 Thread Lukasz Lenart
2010/3/4 Ricardo Jorge : > PS: I've just tried the following but it did not work > Take a look on some examples here [1] and try [1] http://struts.apache.org/2.x/docs/ognl-basics.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl -

Re: Passing parameters to

2010-03-04 Thread Ricardo Jorge
Thank you for your reply. I don't have a getName in my action class if that's what you mean. I'm using an iterator so the getName is a method from the class's object defined in the iterator's value option. That class also makes available a getName(Locale locale). Locale is a class (java.util.Loc

Re: Passing parameters to

2010-03-04 Thread Lukasz Lenart
2010/3/4 Ricardo Jorge : >             Did you define method name(Locale locale) in your class? Or just getName(Locale locale)? For second case use or Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl ---

Passing parameters to

2010-03-04 Thread Ricardo Jorge
Hello. I need to access a property the includes a parameter but I cannot find a way to do it. I want to list all page names in selectedPages but I also need to specify the locale (language) the should appear because a page may have many names in different languages: This works fine. It's a norma

Re: Passing parameters between Actions

2009-02-13 Thread Musachy Barroso
oIntercept(AnnotationValidationInterceptor.java:68) > > > -Original Message- > From: Dave Newton [mailto:newton.d...@yahoo.com] > Sent: Thursday, February 12, 2009 3:24 PM > To: Struts Users Mailing List > Subject: Re: Passing parameters between Actions > >

RE: Passing parameters between Actions

2009-02-13 Thread Phan, Hienthuc T
t org.apache.struts2.interceptor.validation.AnnotationValidationIntercepto r.doIntercept(AnnotationValidationInterceptor.java:68) -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Thursday, February 12, 2009 3:24 PM To: Struts Users Mailing List Subject: Re: Passing parame

Re: Passing parameters between Actions

2009-02-12 Thread Dave Newton
ryangr wrote: Is it possible to pass a parameter from one Action to another Action? For example, I have FooAction and BarAction. From BarAction's "reload" action result I want to return to FooAction but pass it a relevant id for FooAction to set upon loading. http://struts.apache.org/2.x/docs

Passing parameters between Actions

2009-02-12 Thread ryangr
context: http://www.nabble.com/Passing-parameters-between-Actions-tp21986336p21986336.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional command

Re: Passing parameters through a form

2008-11-04 Thread Alexander Baetz
Solved with the help of the hidden-tag. Greetings, Alexander Alexander Baetz schrieb: Hi, i'm using a formular (struts form) to edit attributs of my model objects. The intention is that prepare gets the correct model-object, model driven puts it on the stack and params sets all attributes. S

Passing parameters through a form

2008-11-03 Thread Alexander Baetz
Hi, i'm using a formular (struts form) to edit attributs of my model objects. The intention is that prepare gets the correct model-object, model driven puts it on the stack and params sets all attributes. Sounds simple, but prepare needs some informations to work. these have to be set before p

Re: Remotely passing parameters to struts

2008-08-12 Thread Randy Burgess
rds, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: jaki <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 11 Aug 2008 22:57:47 -0700 (PDT) > To: > Subject: Re: Remotely passing parameters to struts > > > What's the way to do i

Re: Remotely passing parameters to struts

2008-08-11 Thread jaki
his message in context: http://www.nabble.com/Remotely-passing-parameters-to-struts-tp18928369p18938494.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Remotely passing parameters to struts

2008-08-11 Thread Randy Burgess
gt; Reply-To: Struts Users Mailing List > Date: Mon, 11 Aug 2008 08:45:37 -0700 (PDT) > To: > Subject: Remotely passing parameters to struts > > > Hi all, > > I have a web application which needs to pass parameters to a struts app > which resides on another machine.

Re: Remotely passing parameters to struts

2008-08-11 Thread Felipe Lorenz
rom a normal java method. So, is there a way to pass > arguements without using a request/response object? > -- > View this message in context: > http://www.nabble.com/Remotely-passing-parameters-to-struts-tp18928369p18928369.html > Sent from the Struts -

Remotely passing parameters to struts

2008-08-11 Thread jaki
message in context: http://www.nabble.com/Remotely-passing-parameters-to-struts-tp18928369p18928369.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

passing parameters by url

2008-06-05 Thread piltrafeta
print the debug attribute i can see that the idUser attribute is null. Does anyone have any idea ? Thanks -- View this message in context: http://www.nabble.com/passing-parameters-by-url-tp17668302p17668302.html Sent from the Struts - User mailing list archiv

Re: Passing parameters to ftl template with s:param

2008-04-28 Thread Peter Wages
If you want to use the value parameter, you must enclose the value with single quotation marks in addition to double quotation marks. , if your value is a string " ' value ' " The value parameter is assuming you are passing an object. This is associated with OGNL What worked for you A

Re: Passing parameters to ftl template with s:param

2008-04-28 Thread Alan Nisbet
Hi, In case anyone is interested s:param tag only works(for me) when value is defined in body of tag and not in value attribute doesn't work fromDate does work Alan Nisbet wrote: Hi, First time poster and relative struts newbie, I'm trying to create an ftl template that positions two s:

Passing parameters to ftl template with s:param

2008-04-25 Thread Alan Nisbet
Hi, First time poster and relative struts newbie, I'm trying to create an ftl template that positions two s:datetimepicker(s) side by side to capture date and time. I use the s:component tag and define my template shown below. It is working relatively well however I'm unable to retrieve any

Re: Problem passing parameters do action...parameters remain displayed

2007-12-12 Thread Dave Newton
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > How can i set includeParams="none" as default in all the pages? http://struts.apache.org/2.x/docs/strutsproperties.html struts.url.includeParams > Which side effects can it have?if any.. Parameters won't be included automagically. d. --

Problem passing parameters do action...parameters remain displayed

2007-12-12 Thread Paranoid_Fabio
Dave Newton yahoo.com> writes: > > See if helps. > > You can also set that as a default. > > I do agree with the other response that using the tag makes > things a little cleaner. > > d. Thank you. The problem of the "growing" parametes is gone, but the parameter ?amount=... remains on a

Re: Problem passing parameters do action...parameters remain displayed

2007-12-11 Thread Dave Newton
See if helps. You can also set that as a default. I do agree with the other response that using the tag makes things a little cleaner. d. --- Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > Hi everyone. I'm new to Struts and i'm developing a web application. > I've a page with 3 links. Every lin

Re: Problem passing parameters do action...parameters remain displayed

2007-12-11 Thread Mike Jennings
Try to make your url action as follows and see if this works better. Paranoid_Fabio wrote: Hi everyone. I'm new to Struts and i'm developing a web application. I've a page with 3 links. Every link call the doPurchase action, but each passes a different amount.Here's the snippet of

Problem passing parameters do action...parameters remain displayed

2007-12-11 Thread Paranoid_Fabio
Hi everyone. I'm new to Struts and i'm developing a web application. I've a page with 3 links. Every link call the doPurchase action, but each passes a different amount.Here's the snippet of the jsp that calls doPurchase action "> "> "> In the Purchase action class i've

Re: forwarding to another action passing parameters

2007-05-17 Thread Dale Newfield
Gena Batsyan wrote: Why not, we have two actions with absolutely distinct purposes, one for entry creation and another for entity listing, but the listing has a little feature to display messages. If you have two actions you want to expose to your users, then by all means they should both be

Re: forwarding to another action passing parameters

2007-05-17 Thread Gena Batsyan
Dale Newfield wrote: Gena Batsyan wrote: As I said, if using chain, the whole load of parameters is applied to the second action, which I want to avoid, I want it to get nothing except of what I'm explicitly define. It sounds like you're trying to use the wrong tools. You're looking for a w

Re: forwarding to another action passing parameters

2007-05-16 Thread Dave Newton
--- Christopher Schultz wrote: > Dave Newton wrote: >> Someone else may have a better idea, but I think >> this is just the nature of the way HTTP works: you >> can forward or redirect; forward means you get the >> same request, redirect means you get a new one. > > I'm not entirely sure this is

Re: forwarding to another action passing parameters

2007-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > Someone else may have a better idea, but I think this is just the > nature of the way HTTP works: you can forward or redirect; forward > means you get the same request, redirect means you get a new one. I'm not entirely sur

Re: forwarding to another action passing parameters

2007-05-16 Thread Dale Newfield
Gena Batsyan wrote: As I said, if using chain, the whole load of parameters is applied to the second action, which I want to avoid, I want it to get nothing except of what I'm explicitly define. It sounds like you're trying to use the wrong tools. You're looking for a way to trigger the crea

Re: forwarding to another action passing parameters

2007-05-16 Thread Dave Newton
--- Gena Batsyan <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: > > --- Gena Batsyan <[EMAIL PROTECTED]> wrote: > > Messages for that are generally stored in a > > "flash"-like context (session but with automagic > > removal after the next request completes). > that' Interesting. Where can I read

Re: forwarding to another action passing parameters

2007-05-16 Thread Gena Batsyan
Dave Newton wrote: --- Gena Batsyan <[EMAIL PROTECTED]> wrote: This is a simple requirement, that is needed in almost any webapp I can imagine, and I absolutely believe something like this must be a core feature. I'm not entirely sure I complete understand what you're asking for. Th

Re: forwarding to another action passing parameters

2007-05-16 Thread Dave Newton
--- Gena Batsyan <[EMAIL PROTECTED]> wrote: > This is a simple requirement, that is needed in > almost any webapp I can imagine, and I absolutely > believe something like this must be a core > feature. I'm not entirely sure I complete understand what you're asking for. The *most* common solutio

forwarding to another action passing parameters

2007-05-16 Thread Gena Batsyan
This is a Struts 2 question. I'm looking for a common solution to the problem stated in the subject. The easiest way to explain what exactly I want is with an example. I have two actions: 1) ListAction, that displays a list of database entries. 2) CreateAction, that receives input from a form, c

Re: [s2] Passing parameters to an action

2007-03-09 Thread Petr Blahos
> Hi all, > I was wondering how I could possibly solve this: I have an action in which > I construct quite a complex data structure. From that data structure I > display > some tables and create some charts. Now, I have got this one big-ass java > class - extending ActionSupport, in which I d

[s2] Passing parameters to an action

2007-02-22 Thread Petr Blahos
Hi all, I was wondering how I could possibly solve this: I have an action in which I construct quite a complex data structure. From that data structure I display some tables and create some charts. Now, I have got this one big-ass java class - extending ActionSupport, in which I do all the stuff -

Re: Passing parameters to a struts action in URL

2007-01-19 Thread Nick Tucker
t; > Thanks, > > Nuwan. > > > - Original Message - > From: "Joe Yuen" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" ; "Struts Users > Mailing List" > Sent: Thursday, January 18, 2007 9:28 PM > Subject: RE: Passing

Re: Passing parameters to a struts action in URL

2007-01-18 Thread Nuwan Chandrasoma
t;Joe Yuen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; "Struts Users Mailing List" Sent: Thursday, January 18, 2007 9:28 PM Subject: RE: Passing parameters to a struts action in URL In my action class: public ActionForward execute(ActionMapping mapping,

Re: Passing parameters to a struts action in URL

2007-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe Yuen wrote: > Does anyone have an idea as to why this URL > > http://localhost:8080/Chisq/Insurance.do?action=edit&personid=1001 > > works in Firefox but not in IE6? In my action class, I can see a personid in > Firefox but in IE personi

RE: Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
k for one browser and not the other?? -Original Message- From: Ross, Scott [mailto:[EMAIL PROTECTED] Sent: Thu 1/18/2007 1:26 PM To: Struts Users Mailing List Subject: RE: Passing parameters to a struts action in URL I don't think this is a URL issue. What is your code to

RE: Passing parameters to a struts action in URL

2007-01-18 Thread Ross, Scott
I don't think this is a URL issue. What is your code to retreive the variables from the URL? -Original Message- From: Joe Yuen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 4:12 PM To: Struts Users Mailing List Subject: Passing parameters to a struts action in URL

Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
Does anyone have an idea as to why this URL http://localhost:8080/Chisq/Insurance.do?action=edit&personid=1001 works in Firefox but not in IE6? In my action class, I can see a personid in Firefox but in IE personid is null. I am using struts 1.2.8. Thanks, Joe Yuen --

Re: passing parameters to tiles include files

2006-06-17 Thread Scott Van Wart
Don Vawter wrote: I am setting the attribute in the Action class Check to make sure you don't have redirect="true" set for the action mapping. Otherwise, everything request-related is lost. - Scott - To unsubscribe, e-mail:

Re: passing parameters to tiles include files

2006-06-17 Thread Paul Benedict
Don, see my last sentence: request attributes disappear after one request. You will have to set it on every request if you need it. Or, set it in the session. - New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Re: passing parameters to tiles include files

2006-06-17 Thread Don Vawter
I am setting the attribute in the Action class On Jun 17, 2006, at 6:10 PM, Paul Benedict wrote: Don, Request parameters and request attributes are not the same thing. Parameters come from the user's HTTP request, attributes come from the server's internal context handling. Think of the la

Re: passing parameters to tiles include files

2006-06-17 Thread Paul Benedict
Don, Request parameters and request attributes are not the same thing. Parameters come from the user's HTTP request, attributes come from the server's internal context handling. Think of the latter as extra information that pertains to processing the request. Also, request-scope values disappe

passing parameters to tiles include files

2006-06-17 Thread Don Vawter
I have been trying to use a request parameter in an included tiles file (navigation.jsp) String foo = (String) request.getAttribute("menu_item"); this sets the value correctly the first time the page is hit but subsequent calls do not use the new value of the variable. What am I doing wrong

Re: Passing parameters between chained actions.

2006-06-07 Thread Scott Van Wart
Michael Jouravlev wrote: The best way to avoid these problems is not to chain actions ;-) That was a great response, thank you. Just the kind of info I need (best practices type hints as opposed to "here's what the docs say...") :). I still like the idea of chaining actions together, as it ma

Re: Passing parameters between chained actions.

2006-06-07 Thread Michael Jouravlev
after I prepopulate someOtherForm and loses the value I set! So I suspect the typical response to this might be "well, duh," but this is how I've taken to passing parameters across actions. Looks like I've been fooling myself with my other Action classes because most of the p

Passing parameters between chained actions.

2006-06-07 Thread Scott Van Wart
rd always gets hit because someOtherProp is always null. The form gets reset() after I prepopulate someOtherForm and loses the value I set! So I suspect the typical response to this might be "well, duh," but this is how I've taken to passing parameters across actions. Lo

Re: SHALE-CLAY: Clay passing parameters?

2006-05-17 Thread Gary VanMatre
From: Kevin <[EMAIL PROTECTED]> > Using Clay HTML Views can you pass ? > > Link: > Create an account > > Component: > > extends="commandLink" > id="link" >allowBody="false"> > > > > >

SHALE-CLAY: Clay passing parameters?

2006-05-17 Thread Kevin
Using Clay HTML Views can you pass ? Link: Create an account Component: Is there anyway to declare a parameter to be passed to the next page. Something like: › value

RE: Passing Parameters to ActionForward from Action

2006-02-14 Thread siva
session. So, This can be done only by passing parameters to the page. But, I couldn't understand (came across) how to pass parameters to a jsp from Action. If you came across anything about how to pass parameters to a jsp page let me know. Thanks you very much, Siva -Original Me

RE: Passing Parameters to ActionForward from Action

2006-02-13 Thread Gunduz Can Topal
n password; } public void setPassword(String password) { this.password = password; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } } ---

RE: Passing Parameters to ActionForward from Action

2006-02-13 Thread Gunduz Can Topal
n password; } public void setPassword(String password) { this.password = password; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } } ---

Passing Parameters to ActionForward from Action

2006-02-13 Thread siva
Hi, I want to know how to pass parameters from an Action to corresponding ActionForward. Basically, I am having only the jsp name in forward in struts-config.xml. But, when action is processed, I want to send some parameters to the corresponding actionforward. Can some be help me in expla

Re: AW: passing parameters

2006-02-01 Thread Gareth Evans
markus -Ursprüngliche Nachricht- Von: Gareth Evans [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Februar 2006 12:14 An: Struts Users Mailing List Betreff: Re: passing parameters Your Text Should do the trick. Note: You do not need the .do Gareth Markus wrote: Hi all, just a

RE: passing parameters

2006-02-01 Thread Michael TALLET
Hi, u could do something like this : <%= MyCons.EDIT %> michael -Message d'origine- De : Markus Demetz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 1 février 2006 12:40 À : Struts Users Mailing List Objet : AW: passing parameters ok thanks, but I forgot that i

AW: passing parameters

2006-02-01 Thread Markus Demetz
ing List > Betreff: Re: passing parameters > > > Your Text > > Should do the trick. > > Note: You do not need the .do > > Gareth > > Markus wrote: > > > Hi all, > > > > just a simple question. > > > > I would like to pass a sin

Re: passing parameters

2006-02-01 Thread Gareth Evans
Your Text Should do the trick. Note: You do not need the .do Gareth Markus wrote: Hi all, just a simple question. I would like to pass a single parameter with a tag. I've searched the net, but there I understand that it is only possible to pass parameters via beans. Is the a simpler wa

passing parameters

2006-02-01 Thread Markus
Hi all, just a simple question. I would like to pass a single parameter with a tag. I've searched the net, but there I understand that it is only possible to pass parameters via beans. Is the a simpler way to redender the following with : /myAction.do?action=edit I'm just a little confused n

RE: Passing Parameters to Tiles Layout

2005-01-12 Thread David G. Friedman
Message- From: Tait, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 8:47 AM To: 'user@struts.apache.org' Subject: Passing Parameters to Tiles Layout Assume a standard Tiles layout with Header, Navigation, Body, and Footer, each implemented as a JSP. In this s

Passing Parameters to Tiles Layout

2005-01-12 Thread Tait, Allen
Assume a standard Tiles layout with Header, Navigation, Body, and Footer, each implemented as a JSP. In this setup, the navigation.jsp is responsible for dynamically generating the left hand navigation from an XML configuration file. For each page request, this component needs to build the navig