Re: Process multiple uploaded files individually

2024-09-02 Thread Florian Schlittgen
Thank you for the quick reply, I will register a bug in JIRA then. In my opinion, since the class "UploadedFile" represents exactly what it is named (an uploaded file) and the input name is part of the multipart request, "inputName" should be included as a class member. This keeps the "UploadedF

Re: Process multiple uploaded files individually

2024-09-02 Thread Lukasz Lenart
pon., 2 wrz 2024 o 09:59 Florian Schlittgen napisał(a): > The ActionFileUploadInterceptor was introduced with WW-5371 and the API > has been greatly simplified as a result. However, there is a problem if > you upload several files and want to process them individually later. > This is no longer po

Process multiple uploaded files individually

2024-09-02 Thread Florian Schlittgen
Hi, The ActionFileUploadInterceptor was introduced with WW-5371 and the API has been greatly simplified as a result. However, there is a problem if you upload several files and want to process them individually later. This is no longer possible because the name of the input element (type="file

Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Affan Osman
Double single quotes did the trick. Thanks! On Apr 2, 2019, 10:59 AM -0400, Lukasz Lenart , wrote: > wt., 2 kwi 2019 o 16:54 Dave Newton napisał(a): > > > > Single-quotes must be escaped using double single-quotes; single quotes are > > used to allow non-resource strings. IIRC this is just how `Me

Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Lukasz Lenart
wt., 2 kwi 2019 o 16:54 Dave Newton napisał(a): > > Single-quotes must be escaped using double single-quotes; single quotes are > used to allow non-resource strings. IIRC this is just how `MessageFormat` > works. Yeah... getText() is using MessageFormat so you must properly escape your messages

Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Dave Newton
Single-quotes must be escaped using double single-quotes; single quotes are used to allow non-resource strings. IIRC this is just how `MessageFormat` works. On Tue, Apr 2, 2019 at 10:40 AM Affan Osman wrote: > I think found the issue. It fails because of '. > > test.key={0}is{1}and{2}. > test.ke

Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Affan Osman
I think found the issue. It fails because of '. test.key={0}is{1}and{2}. test.key2={0}'sis{1}and{2}. String key1= getText("test.key", newString[] {"aa11", "bb22", "cc33"}); String key2= getText("test.key2", newString[] {"aa11", "bb22", "cc33"}); Key 1: aa11 is bb22 and cc33. Key 2: aa11s is {1}

Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Lukasz Lenart
wt., 2 kwi 2019 o 04:46 Affan Osman napisał(a): > > I am using version 2.5.17. I am not using any custom text provider. > > I tried the same example as in the unit test but still only first parameter > gets populated. The second and third show as [1] and [2]. Could you share your struts.xml? Thi

Re: getText with multiple parameters not populating correctly

2019-04-01 Thread Affan Osman
I am using version 2.5.17. I am not using any custom text provider. I tried the same example as in the unit test but still only first parameter gets populated. The second and third show as [1] and [2]. Thanks. On Mar 31, 2019, 5:21 AM -0400, Lukasz Lenart , wrote: > sob., 30 mar 2019 o 20:03 Aff

Re: getText with multiple parameters not populating correctly

2019-03-31 Thread Lukasz Lenart
sob., 30 mar 2019 o 20:03 Affan Osman napisał(a): > > I am passing in three parameters to getText but only the first one gets > populated. > > getText("error.invalidcode", new String[] {"name", "num", "1az"}); > > And in my ApplicationResources.properties > > error.invalidcode={0} and {1} property

getText with multiple parameters not populating correctly

2019-03-30 Thread Affan Osman
I am passing in three parameters to getText but only the first one gets populated. getText("error.invalidcode", new String[] {"name", "num", "1az"}); And in my ApplicationResources.properties error.invalidcode={0} and {1} property has error with code {2}. I am getting the following result: name

Re: [ask] How to pass multiple radio button in struts2

2018-12-24 Thread M Huzaifah
2018 11:44 AM >> To: Struts Users Mailing List >> Subject: [ask] How to pass multiple radio button in struts2 >> >> Hi Members, >> >> i would like to ask something about radio button in strtus2. >> >> i have radio button in jsp like this: >>

RE: [ask] How to pass multiple radio button in struts2

2018-12-22 Thread Yasser Zamani
t: [ask] How to pass multiple radio button in struts2 > >Hi Members, > >i would like to ask something about radio button in strtus2. > >i have radio button in jsp like this: > > > >All >Self >Custom > > > >All >Self >C

[ask] How to pass multiple radio button in struts2

2018-12-21 Thread M Huzaifah
Hi Members, i would like to ask something about radio button in strtus2. i have radio button in jsp like this: All Self Custom All Self Custom and in my JavaAction class i add property " private String viewAccess[]; “ also with setter and getter. the problem is,

RE: Struts 2.5 S:Select tag with Multiple True

2018-07-15 Thread Yasser Zamani
I wonder why HTML needs CTRL key when we enable multiple! Anyway, I think it's out of Struts business as an HTML issue. Unfortunately Struts Select tag doesn't provide an optional fix for this HTML issue and you've to fix it manually via some javascript coding e.g. save current

Re: Struts 2.5 S:Select tag with Multiple True

2018-07-14 Thread Arjuna Bandara
Hi, kiran, Have you tried with "value" property? On Sat, Jul 14, 2018, 4:31 PM Kiran Kongala wrote: > Hi Guys, > > We are using Struts 2.5.13 in our Enterprise Java Application and one of > the jsp page has many Struts Select tags with multiple=true(s:select > mu

Struts 2.5 S:Select tag with Multiple True

2018-07-14 Thread Kiran Kongala
Hi Guys, We are using Struts 2.5.13 in our Enterprise Java Application and one of the jsp page has many Struts Select tags with multiple=true(s:select multiple=true) . I know that for selecting/deselecting multiple items in the list, we have to hold the Ctrl Key. But for the Users who are using

Re: Dynamically generating multiple sets of radio buttons

2018-03-03 Thread Dave Weis
That was it! It's now putting key-value pairs in the map obtained by getVariation and they appear when I get to the execute method. 08:19:35.682 ERROR CartAction - getVariation was called 08:19:35.698 ERROR CartAction - getVariation was called 08:19:36.086 DEBUG CartAction - cart action execute 08

Re: Dynamically generating multiple sets of radio buttons

2018-03-02 Thread Yasser Zamani
On 2/27/2018 4:37 PM, Dave Weis wrote: > value="1500"/>HOTTER > public void setVariation(HashMap variationItem){ > > logger.error("setVariation was called with variations"); > > for (Map.Entry entry : variationItem.entrySet()) { > String key = entry.getKey(); > Str

Re: Dynamically generating multiple sets of radio buttons

2018-02-27 Thread Dave Weis
indow and we’d need more > information. > > Dave > > On Sat, Feb 24, 2018 at 5:00 PM Dave Weis wrote: > > > Hello > > > > I am trying to make multiple sets of radio buttons with independent lists > > of valid options. The options are all generated dynamically

Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Weis
, Feb 24, 2018 at 5:00 PM Dave Weis wrote: > > > Hello > > > > I am trying to make multiple sets of radio buttons with independent lists > > of valid options. The options are all generated dynamically. > > > > I'm having trouble figuring out how to declare

Re: Dynamically generating multiple sets of radio buttons

2018-02-25 Thread Dave Newton
, e.g., something JavaScript-y, then all this is out the window and we’d need more information. Dave On Sat, Feb 24, 2018 at 5:00 PM Dave Weis wrote: > Hello > > I am trying to make multiple sets of radio buttons with independent lists > of valid options. The options are all generated

Dynamically generating multiple sets of radio buttons

2018-02-24 Thread Dave Weis
Hello I am trying to make multiple sets of radio buttons with independent lists of valid options. The options are all generated dynamically. I'm having trouble figuring out how to declare the item list provider in my java code. I have it working fine for a single item. With the sample be

Re: Multiple configuration files and incorrect global-results for different namespaces

2018-01-17 Thread shahzad.ism...@gmail.com
On 2018-01-12 23:26, Yasser Zamani wrote: > > > On 1/11/2018 11:13 AM, sim4...@gmail.com wrote: > > My question is originally posted here: > > https://stackoverflow.com/questions/48166761/struts-2-multiple-configuration-files-and-global-results-for-different-namespa

Re: Multiple configuration files and incorrect global-results for different namespaces

2018-01-12 Thread Yasser Zamani
On 1/11/2018 11:13 AM, sim4...@gmail.com wrote: > My question is originally posted here: > https://stackoverflow.com/questions/48166761/struts-2-multiple-configuration-files-and-global-results-for-different-namespace > > But it is incorrectly marked as duplicate. Due to less format

Multiple configuration files and incorrect global-results for different namespaces

2018-01-11 Thread sim4...@gmail.com
My question is originally posted here: https://stackoverflow.com/questions/48166761/struts-2-multiple-configuration-files-and-global-results-for-different-namespace But it is incorrectly marked as duplicate. Due to less formatting options, I'll be brief. I'm migrating a big struts1 a

Re: Multiple Page Form

2017-12-04 Thread Lukasz Lenart
2017-12-04 23:55 GMT+01:00 Dave Weis : > Hello All- > > I wanted to see what the current best practice was for a multiple web page > form. I was used to Struts 1 and putting the form in the session but that > doesn't seem to be available now. > > I have just been putting

Multiple Page Form

2017-12-04 Thread Dave Weis
Hello All- I wanted to see what the current best practice was for a multiple web page form. I was used to Struts 1 and putting the form in the session but that doesn't seem to be available now. I have just been putting the values as hidden form fields but that doesn't seem quite correc

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-07-12 Thread Ken McWilliams
opensymphony.xwork2.ActionInvocation; > > import com.opensymphony.xwork2.interceptor.Interceptor; > > import java.util.ArrayList; > > import java.util.HashSet; > > import java.util.Iterator; > > import java.util.List; > > import java.util.Optional; > >

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-07-10 Thread Lukasz Lenart
nts = new HashSet(); > public final List beans = new ArrayList(); > > public List findBean(String name, String type){ > List found = new ArrayList(); > for(StrutsBean bean : beans){ > if(bean.getName().equals(name) && bean.getType().

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-23 Thread Ken McWilliams
ke(); } } === The above was just a quick hack for illustration. If struts could extend it's configuration and xml to provide package level scope (struts packages) and object for such purposes, and some functionality to provide configuration lookup from the pe

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-22 Thread Lukasz Lenart
which really just lets you use one convention, at least well). Did I get this right, you want to have multiple configuration in the same app, like having multiple struts.xml files in one app, right? Hmm... maybe it is doable ... per a root package Regards -- Łukasz + 48 606

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Ken McWilliams
erceptor in its stack. Probably creating a new > > conventions plugin as proof of concept. I tried creation a configuration > > provider a while back and got slowed down to the point of giving up. > > > > End Objective: > > To encapsulate conventions such that multipl

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Adam Brin
ical > conventions-config-interceptor in its stack. Probably creating a new > conventions plugin as proof of concept. I tried creation a configuration > provider a while back and got slowed down to the point of giving up. > > End Objective: > To encapsulate conventions such that m

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Ken McWilliams
e: To encapsulate conventions such that multiple types of conventions could operate simultaneously starting at different roots. As an example, the rest plugin depends on the conventions plugin however it changes the global configuration in such a way that normal conventions no longer work. In thi

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-20 Thread Lukasz Lenart
2017-06-20 21:48 GMT+02:00 Ken McWilliams : > I like to use the conventions plugin but find myself fighting with it more > often than not. > > I think conventions should establish a "convention". Now the plugin > certainly does this in the *singular* but say I want restful services > handled by con

Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-20 Thread Ken McWilliams
I like to use the conventions plugin but find myself fighting with it more often than not. I think conventions should establish a "convention". Now the plugin certainly does this in the *singular* but say I want restful services handled by conventions, and then I want perhaps a set of packages to

Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-27 Thread Guilherme Bisconcini
it 2" > indicator="indicator" > button="true" > /> > > > > > Best Regards > > Johannes > > # &

Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-24 Thread Johannes Geppert
2016-06-23 22:11 GMT+02:00 Guilherme Bisconcini < guilherme.bisconc...@sefisa.com.br>: > Hi, > > I have spent about 3 hours trying to do Multiple Submit Buttons in same > form using Jquery/Ajax. I have tried > https://struts.apache.org/docs/multiple-submit-buttons.html witho

Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-23 Thread Guilherme Bisconcini
Hi, I have spent about 3 hours trying to do Multiple Submit Buttons in same form using Jquery/Ajax. I have tried https://struts.apache.org/docs/multiple-submit-buttons.html without success. I'm using Jquery with struts, so I think thats why it doens't work? because my Struts is: 2.

Re: Use RegexFieldValidator with multiple values

2015-10-30 Thread Lukasz Lenart
2015-10-29 22:37 GMT+01:00 JOSE L MARTINEZ-AVIAL : > Hello, >I'm trying to use @RegexFieldValidator to validate a parameter that can > have multiple values. It seems that the class RegexFieldValidator can only > be used for a single String, not an String[]. Can someone confir

Use RegexFieldValidator with multiple values

2015-10-29 Thread JOSE L MARTINEZ-AVIAL
Hello, I'm trying to use @RegexFieldValidator to validate a parameter that can have multiple values. It seems that the class RegexFieldValidator can only be used for a single String, not an String[]. Can someone confirm it, and if so, is there any alternative to validate all the values? t

RE: Select multiple values from a dropdown

2015-02-22 Thread Martin Gainty
> Date: Sun, 22 Feb 2015 09:11:58 -0500 > Subject: RE: Select multiple values from a dropdown > From: lilylove2s...@yahoo.com.INVALID > To: user@struts.apache.org > > Our application has a form on the right pane where user can create a request > and submit it. After the

RE: Select multiple values from a dropdown

2015-02-22 Thread lilylove2shop
has chosen. Regards,  Original message From: Martin Gainty Date:02/21/2015 7:35 PM (GMT-05:00) To: Struts Users Mailing List Cc: Subject: RE: Select multiple values from a dropdown MG>the dropdown list is populated from pets collection located inside the petDao class

RE: Select multiple values from a dropdown

2015-02-21 Thread Martin Gainty
have trouble understanding why you would want to dropdown the selected values upon saving MG>could you explain this strategy? > Date: Sat, 21 Feb 2015 04:50:33 + > From: lilylove2s...@yahoo.com.INVALID > To: user@struts.apache.org > Subject: Re: Select multiple values from a dropdown >

Re: Select multiple values from a dropdown

2015-02-20 Thread Lilylove toshop
below is the select tag where you can choose multiple values *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Feb 21, 2015 at 2:44 AM, lilylove2shop < lilylove2s...@yahoo.com.invalid> wrote: > Hi all, > >

Re: Select multiple values from a dropdown

2015-02-20 Thread Yaragalla Muralidhar
the below is the select tag where you can choose multiple values *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Feb 21, 2015 at 2:44 AM, lilylove2shop < lilylove2s...@yahoo.com.invalid> wrote: > Hi all, >

Select multiple values from a dropdown

2015-02-20 Thread lilylove2shop
Hi all, How do I select and display more than one value from a dropdown and display them in jsp using struts2?  Thanks

Re: Multiple parameter names

2014-06-03 Thread Mael Le Guével
>> public String getMyParam() { >> return myParam; >> } >> >> public void setMyParam(String myParam) { >> this.myParam = myParam; >> } >> } >> >> I am able to pass a "myParam" parameter to this action

Re: Multiple parameter names

2014-05-30 Thread Marc Michele
ter to this action. > For instance: > http://url-to-my-app/myAction.action?myParam=aValue > (Yes I know, everyone knows that :)) > > What I would like to do is having multiple parameter names that would > map to "myParam". For instance the following URL would also set th

Re: Multiple parameter names

2014-05-30 Thread Chris Pratt
;myParam" parameter to this action. > > For instance: > > http://url-to-my-app/myAction.action?myParam=aValue > > (Yes I know, everyone knows that :)) > > > > What I would like to do is having multiple parameter names that would > > map to "myParam

Re: Multiple parameter names

2014-05-30 Thread Yaragalla Muralidhar
s action. > For instance: > http://url-to-my-app/myAction.action?myParam=aValue > (Yes I know, everyone knows that :)) > > What I would like to do is having multiple parameter names that would > map to "myParam". For instance the following URL would also set the > valu

Multiple parameter names

2014-05-30 Thread Mael Le Guével
parameter to this action. For instance: http://url-to-my-app/myAction.action?myParam=aValue (Yes I know, everyone knows that :)) What I would like to do is having multiple parameter names that would map to "myParam". For instance the following URL would also set the value of "myParam

Re: Struts2 multiple submit buttons in One action class

2014-03-25 Thread struts2problems
- > If you reply to this email, your message will be added to the discussion > below: > > http://struts.1045723.n5.nabble.com/Struts2-multiple-submit-buttons-in-One-action-class-tp5715568p5715574.html > To unsubscribe from Struts2

Re: Struts2 multiple submit buttons in One action class

2014-03-24 Thread Dave Newton
On Sat, Mar 22, 2014 at 6:31 AM, struts2problems < charitha.nagell...@gmail.com> wrote: > private static PInfoDTO bean; > Whoa; that can't be a good idea, regardless of anything else. Dave -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton

Struts2 multiple submit buttons in One action class

2014-03-24 Thread struts2problems
I wrote code for multiple submit buttons of one form in one Action class by using java bean. But when I was running the application first time its working fine After that I am getting NullPointerException . Please Help me. Here is My code. *Exception:* *!st time running.* calling bean

Re: Using multiple @Inject in constructor giving run time error

2013-10-16 Thread Lukasz Lenart
> Thanks!! > I am wondering why it is working fine for other case? > I was expecting that Struts2 will convert it for me ;) Rather Guice ;-) But maybe with Guice3 there be no problem ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --

Re: Using multiple @Inject in constructor giving run time error

2013-10-16 Thread Umesh Awasthi
eXMLConfiguration ) > > { > > this.ignoreXMLConfiguration = ignoreXMLConfiguration; > > } > > > > everything is working fine and dependencies are being injected correctly. > > I am not sure if where i am doi

Re: Using multiple @Inject in constructor giving run time error

2013-10-16 Thread Lukasz Lenart
> } > > everything is working fine and dependencies are being injected correctly. > I am not sure if where i am doing wrong ? > can't i have multiple @inject inside constructor? defines String not boolean, try something like this: @Inject

Using multiple @Inject in constructor giving run time error

2013-10-16 Thread Umesh Awasthi
figuration ) { this.ignoreXMLConfiguration = ignoreXMLConfiguration; } everything is working fine and dependencies are being injected correctly. I am not sure if where i am doing wrong ? can't i have multiple @inject inside constructor? -- With Regards Ume

Re: conflict between message.properties for multiple Struts war files

2013-08-28 Thread Lukasz Lenart
2013/8/26 Omar Ngarigari : > Yes, I am using the shared Stutrus2 libs jar files. Still strange as classloaders should be different ... Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user

Re: conflict between message.properties for multiple Struts war files

2013-08-26 Thread Omar Ngarigari
Yes, I am using the shared Stutrus2 libs jar files. From: Lukasz Lenart To: Struts Users Mailing List Sent: Monday, August 26, 2013 9:11 AM Subject: Re: conflict between message.properties for multiple Struts war files 2013/8/16 Omar Ngarigari : >

Re: conflict between message.properties for multiple Struts war files

2013-08-26 Thread Lukasz Lenart
2013/8/16 Omar Ngarigari : > No, All these WAR files are separate. I renamed the message.properties for > App1 as you suggested "app1-message.properties", but did not rename the other > properties files. but the problem is still there when I run the App1. Strange, does it mean you have configure

Re: conflict between message.properties for multiple Struts war files

2013-08-16 Thread Omar Ngarigari
les as you suggested. But what the reason behind? Thanks, From: Lukasz Lenart To: Struts Users Mailing List Sent: Friday, August 16, 2013 1:32 AM Subject: Re: conflict between message.properties for multiple Struts war files All these WARs are part o

Re: conflict between message.properties for multiple Struts war files

2013-08-15 Thread Lukasz Lenart
All these WARs are part of the same EAR? Or they just separated WARs? You can define a constant struts.custom.i18n.resources in struts.xml for each WAR: and then put your app.title in app1-message.properties and so on for the rest. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

conflict between message.properties for multiple Struts war files

2013-08-15 Thread Omar Ngarigari
I have three different applications that were developed using Struts2 framework. I deployed three different war files on the JBoss AS6. But, now I am having problem with global message.properties files. Each war file has its own message.properties file. message.properties file for the App1.war

Re: multiple form s:fielderror mesg cross over, how to solve?

2013-06-19 Thread john lee
Thanks Chester,     the  fieldName attribute is good remind,  that is what i am looking for. From: Chester Twomey To: Struts Users Mailing List ; john lee Sent: Wednesday, June 19, 2013 9:02 AM Subject: Re: multiple form s:fielderror mesg cross over, how to

Re: multiple form s:fielderror mesg cross over, how to solve?

2013-06-19 Thread Chester Twomey
#Validation-ShortCircuitingValidator http://struts.apache.org/release/2.3.x/docs/fielderror.html Please provide some code samples i can look at to help you more. On Tue, Jun 18, 2013 at 8:56 PM, john lee wrote: > i need to have multiple on single web page, > > (at top panel, our site always prov

multiple form s:fielderror mesg cross over, how to solve?

2013-06-18 Thread john lee
i need to have multiple on single web page, (at top panel, our site always provide parts search box/) (at middle panel,  could have other form such as checkout section, login section, etc) when  any single form's validation triggered, then and displayed at all form's textfie

multiple s:form cause validation not working, pls help

2013-06-14 Thread john lee
 i need to have multiple on single web page, when  any single form's validation triggered, then and displayed at multiple form's textfields  place,  how to solve it? or that is struts 2 bug? please help thanks in advance john

1 page multiple form's fields validation problem

2013-06-14 Thread john lee
for struts 2,      1 html page have 2 forms at different panel, each form have its own textfield for input and submit button as well. the problem:     when 1 form's textfield validation trigger, but error message display at both form's texfield place.    in other words,                 can n

Re: How to set the name parameter on a multiple s:select

2013-05-30 Thread Dale Newfield
ntity3 objects on the them and then it just changes the ids! If you model he ui on the browser page differently you can get the parameters above, but the nature of a multi select is that you're getting back multiple (unordered) values each with the same request parameter name. Soun

Re: How to set the name parameter on a multiple s:select

2013-05-30 Thread Miguel Almeida
> -Dale > > On May 29, 2013, at 6:27 AM, Miguel Almeida wrote: > > > Dear all, > > > > Imagine you have the following scenario: > > - a property in your action: private Entity entity; > > > > - Entity has a List entity2List > >

Re: How to set the name parameter on a multiple s:select

2013-05-29 Thread Dale Newfield
ntity has a List entity2List > - Entity2 has a Entity3 entity3 > > Now, you need an s:select with multiple="true" to populate entity3. This > corresponds to having a request in the form > entity.entity2List[n].entity3.id (n=0,1,2...depending on how many items > are selected). >

Re: How to set the name parameter on a multiple s:select

2013-05-29 Thread Miguel Almeida
I've also posted this on http://stackoverflow.com/questions/16812357/how-to-set-the-name-parameter-on-a-multiple-sselect so the knowledge can be shared once the answer is known. I also plan to add this to struts' documentation! Miguel On Wed, 2013-05-29 at 11:27 +0100, Miguel Alm

How to set the name parameter on a multiple s:select

2013-05-29 Thread Miguel Almeida
Dear all, Imagine you have the following scenario: - a property in your action: private Entity entity; - Entity has a List entity2List - Entity2 has a Entity3 entity3 Now, you need an s:select with multiple="true" to populate entity3. This corresponds to having a request i

Re: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Steven Yang
'information 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, 26 Ap

RE: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Martin Gainty
message sert à l'information 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, 26 Apr 2013 1

Re: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Steven Yang
indeed just include multiple img tags that points to actions that generate images using JFreeChart see http://struts.apache.org/development/2.x/docs/jfreechart-plugin.html On Fri, Apr 26, 2013 at 3:01 PM, Lukasz Lenart wrote: > 2013/4/17 Norah Jones : > > I am planning to use JFree C

Re: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Lukasz Lenart
2013/4/17 Norah Jones : > I am planning to use JFree Charts for my web application. I have a > requirement to place multiple Charts (say multiple pie charts) on a single > JSP page. How can I achieve using JFree Charts? I have limited knowledge about JFree CHarts but it shouldn'

How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-17 Thread Norah Jones
Hi, I am planning to use JFree Charts for my web application. I have a requirement to place multiple Charts (say multiple pie charts) on a single JSP page. How can I achieve using JFree Charts? I am using Struts2 for building this web application. Thanks, Norah Jones

Re: How to validate multiple fields with the same name

2013-03-25 Thread Muralidhar Yaragalla
Hi thanks for this. It is really helpful. On Tue, Mar 26, 2013 at 12:13 AM, Lukasz Lenart wrote: > 2013/3/25 Muralidhar Yaragalla : > > Hi Thanks for this.But i am aware of this info I mean the normal > validation > > methods. I repeat and the important point is that all the 4 fields i have > >

Re: How to validate multiple fields with the same name

2013-03-25 Thread Lukasz Lenart
2013/3/25 Muralidhar Yaragalla : > Hi Thanks for this.But i am aware of this info I mean the normal validation > methods. I repeat and the important point is that all the 4 fields i have > contains the same name so how do i do that in an xml. I know that it can be > done inside valiadtion() method.

Re: How to validate multiple fields with the same name

2013-03-25 Thread Muralidhar Yaragalla
Hi Thanks for this.But i am aware of this info I mean the normal validation methods. I repeat and the important point is that all the 4 fields i have contains the same name so how do i do that in an xml. I know that it can be done inside valiadtion() method. I thought so much but it looks impossibl

Re: How to validate multiple fields with the same name

2013-03-25 Thread Pranava Swaroop
Murali , Apologies its not exactly interceptors, Two ways we can validate the input fields , one is using the configuration set for each of the fields and the other is programatic way. For example say we need to create a validation xml for user login, we create User-validation.xml (Format is Actio

Re: How to validate multiple fields with the same name

2013-03-24 Thread Muralidhar Yaragalla
Hi can you explain in brief how to do with interceptor(built in)? On Mon, Mar 25, 2013 at 2:13 AM, Pranava Swaroop wrote: > It could be done with buit in interceptors using configuration files or > using the programming > > On Monday, 25 March 2013, Muralidhar Yaragalla wrote: > > > Hi In my for

Re: How to validate multiple fields with the same name

2013-03-24 Thread Pranava Swaroop
It could be done with buit in interceptors using configuration files or using the programming On Monday, 25 March 2013, Muralidhar Yaragalla wrote: > Hi In my form i have 4 textfields with the same name so how do i validate > this using validation frame work. The validation for this 4 fields is,

How to validate multiple fields with the same name

2013-03-24 Thread Muralidhar Yaragalla
Hi In my form i have 4 textfields with the same name so how do i validate this using validation frame work. The validation for this 4 fields is, out of 4 fields 2 fields are mandatory and no field should contain special characters. So can this be done using validation frame work or do i have to do

Re: Multiple Window and Struts2 token issue.

2013-03-07 Thread Sreekanth S. Nair
I found it myself that itself is the problem. token should always accompany with a unique name, struts2 always uses the default name for token field ie *struts.token*. As a conclusion to avoid the below mentioned problem, we have to add token tag like . So now my first form having and second one

Multiple Window and Struts2 token issue.

2013-03-06 Thread Sreekanth S. Nair
Hi, I have a web app where its having a couple of operations say for example Create User and Create Role. Both these forms are having struts2 token for handling duplicate submit. Its working as expected. Now the problem is when try to open both of it and try to save both of it. The window ope

RE: In Struts 1.3 how to display multiple images in jsp from database

2012-04-24 Thread Givler, Eric
Message- From: raaja.g [mailto:raaj...@gmail.com] Sent: Wednesday, March 21, 2012 2:14 AM To: user@struts.apache.org Subject: In Struts 1.3 how to display multiple images in jsp from database Hi, I am facing problem in displaying multiple images at a time in jsp. I am able to retrieve the

Re: Uploading multiple files using single tag.

2012-04-06 Thread sharath karnati
ject: Re: Uploading multiple files using single tag. To: "Struts Users Mailing List" Date: Friday, April 6, 2012, 3:05 PM Sharath, You need to use tools like Uploadify for this to work. I am using Uploadify with struts2 it works perfectly fine to me. Thanks Jay On Fri, Apr 6, 2012 at 11:

Re: Uploading multiple files using single tag.

2012-04-06 Thread jayakumar ala
Sharath, You need to use tools like Uploadify for this to work. I am using Uploadify with struts2 it works perfectly fine to me. Thanks Jay On Fri, Apr 6, 2012 at 11:42 AM, sharath karnati wrote: > It is using multiple tags. I need a single and need to > upload multiple files. >

Re: Uploading multiple files using single tag.

2012-04-06 Thread sharath karnati
It is using multiple tags. I need a single and need to upload multiple files. --- On Fri, 4/6/12, Muneer Malik wrote: From: Muneer Malik Subject: Re: Uploading multiple files using single tag. To: "Struts Users Mailing List" Cc: "sharath karnati" , karna...@yahoo.com D

Re: Uploading multiple files using single tag.

2012-04-06 Thread Muneer Malik
Check out the Struts 2 showcase example for uploading files. Best, Muneer On Fri, Apr 6, 2012 at 12:36 PM, sharath karnati wrote: > Hi All, > >Using Struts2 and need to know how to upload multiple files using > single tag. I need a file upload functionality similar to > gma

Uploading multiple files using single tag.

2012-04-06 Thread sharath karnati
Hi All,    Using Struts2 and need to know how to upload multiple files using single tag. I need a file upload functionality similar to gmail(Google Email).     Please advice how to do this even using other frameworks along with Struts2.    Thanks in advance. Regards, Sharath.

In Struts 1.3 how to display multiple images in jsp from database

2012-03-20 Thread raaja.g
Hi, I am facing problem in displaying multiple images at a time in jsp. I am able to retrieve the images from db and storing them in a list and forwarding that to jsp in request from Action class. But I am not able to display those images in jsp. I am not getting an idea how to render those

Re: Multiple Message Resources Files

2011-12-29 Thread Maithily
Here's a simpler explanation of the scenario - I have the following properties files in classes folder : - file_a.properties - file_b.properties - file_c.properties - file_d.properties and the following struts config files along with the message-resources tags pointing to properties : - a_confi

Re: Multiple Message Resources Files

2011-12-28 Thread Maithily
Thanks for the reply JB. I forgot to mention that I am using Struts version 1.1. Thanks, Maithily. On Wed, Dec 28, 2011 at 8:39 PM, Jeffrey Black wrote: > Forgive me for not fully understanding your question. > > Perhaps this link will help: > http://struts.apache.org/2.x/docs/localization.html

Re: Multiple Message Resources Files

2011-12-28 Thread Jeffrey Black
Forgive me for not fully understanding your question. Perhaps this link will help: http://struts.apache.org/2.x/docs/localization.html jb On Wed, Dec 28, 2011 at 12:49 AM, Maithily wrote: > Hi All, > > I am facing the following problem with the struts message resources files - > > - Our applica

  1   2   3   4   5   6   7   8   9   10   >