Re: Map backed Struts Action Form and multiple select values issue

2011-08-16 Thread manishkashyap09
-Struts-Action-Form-and-multiple-select-values-issue-tp3476210p4703806.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail

Re: Multiple select

2009-10-08 Thread Dale Newfield
wkbutler wrote: Thanks Eric for posting your solution, this helped me remember that unusual OGNL syntax on the value attribute. Once again I'll post my suggestion that the %{} notation be used EVERYWHERE you expect the framework to evaluate your expression with OGNL so that these are less con

RE: Multiple select

2009-10-08 Thread wkbutler
listValue="name" /> > > -Good luck > > -- View this message in context: http://www.nabble.com/Multiple-select-tp22564208p25803112.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: Multiple select

2009-03-17 Thread Martin Gainty
binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > Subject: RE: Multiple select > Date: Tue, 17 Mar 2009 14:38:57 -0600 > From: eric.r.stan...@qwest.com > To: user@struts.apache.org > > Figu

RE: Multiple select

2009-03-17 Thread Stanley, Eric
lto:eric.r.stan...@qwest.com] Sent: Tuesday, March 17, 2009 11:32 AM To: Struts Users Mailing List Subject: Multiple select All, I cannot get my select to preselect items from groupList using user.groups. This is my select: This is the actual contents of groupList, and user.groups. Both colle

Multiple select

2009-03-17 Thread Stanley, Eric
All, I cannot get my select to preselect items from groupList using user.groups. This is my select: This is the actual contents of groupList, and user.groups. Both collections are List. groupList: bmg 1 groupList: wholesale 2 groupList: repair 3 groupList: ebiz 4 groupList: actuate 5

Re: Problem with creating default selection values in multiple select

2008-08-29 Thread Scott Lewis
http://struts.apache.org/2.x/docs/select.html --- On Fri, 8/29/08, Scott Lewis <[EMAIL PROTECTED]> wrote: From: Scott Lewis <[EMAIL PROTECTED]> Subject: Problem with creating default selection values in multiple select To: user@struts.apache.org Date: Friday, August 29, 2008, 1:54 PM

Re: Problem with creating default selection values in multiple select

2008-08-29 Thread Dave Newton
ough I haven't looked at it to see how easy/hard the change would be. Dave [1] Select tag: http://struts.apache.org/2.x/docs/select.html --- On Fri, 8/29/08, Scott Lewis <[EMAIL PROTECTED]> wrote: > From: Scott Lewis <[EMAIL PROTECTED]> > Subject: Problem with creating d

Problem with creating default selection values in multiple select

2008-08-29 Thread Scott Lewis
Hi, I'm relatively new with Struts2, but I'm starting to get a handle on how things work. However, I'm having a problem with creating a "default" list of pre-selected values for an tag when using the "multiple=true" option. It works fine when I use single selection, and when the "pre-selec

Pre-checking items in checkboxlist (or multiple select box)

2008-04-21 Thread tristan_colson
I cannot for the life of me figure out how to pre-check/select items in a checkbox list or a multiple select box. As long as the input field is linked to exactly one value, like in a radio list or a single select box, it works fine, but I can't figure out how to pass a list of items to chec

Re: Multiple Select

2008-03-25 Thread Antonio Petrelli
2008/3/22, Thangalin <[EMAIL PROTECTED]>: > > styleClass="filter"> Does "select_name" have the value "fiscal_year"? Antonio

Multiple Select

2008-03-22 Thread Thangalin
ression was that if I used a DynaActionForm, I wouldn't have to create a class that contains variables ...?) Aside from that, any other ideas? -- View this message in context: http://www.nabble.com/Multiple-Select-tp16227737p16227737.html Sent from t

Re: Map backed Struts Action Form and multiple select values issue

2008-02-22 Thread MoorthyHome.com
, for multiple select box, the object value being set to the map was always a String than a String[]. The same case applies to checkbox. Am I using map backed struts action form properly. Is there any other approach to build a dynamic form and actions!! Your help is much appreciated. I am pasting a

Re: Struts2 select tag multiple select

2007-04-17 Thread Stephanie
Thank you, that was it. I updated to 2.0.7 and it works now. I can't believe I didn't think to look through the Jira issues. Thanks a bunch. On Tue, 17 Apr 2007 14:41:11 + (UTC), Nate Drake <[EMAIL PROTECTED]> wrote: > What version of Struts2 are you using? There is a bug in versions befor

Re: Struts2 select tag multiple select

2007-04-17 Thread Nate Drake
What version of Struts2 are you using? There is a bug in versions before 2.0.7, where the select tag won't pre-select your values unless it is comparing Strings. See this Jira issue for details: https://issues.apache.org/struts/browse/WW-1711

Struts2 select tag multiple select

2007-04-16 Thread stephanie
I have a form where I populate a select tag with a list of possible roles. What I now want to do is pre-select all of the roles that the user I am editing already belongs to. I have searched every possible place I can and have tried all possible ways people have suggested but I just can't get i

Re: Multiple select not rendered in browser with tiles

2007-02-12 Thread Simone Piva
only a > thin box, so thin that no text can be displayed. If I get the HTML source > code (right-clicking on the page), saving the open window to an html file > and reopening the just saved file I can see my multiple select displayed > correctly! Sounds like a CSS issue, but ther

Re: Multiple select not rendered in browser with tiles

2007-02-12 Thread Laurie Harper
g the just saved file I can see my multiple select displayed correctly! Sounds like a CSS issue, but there's no way to diagnose it without seeing the relevant code and the resulting HTML. L. - To unsubscribe, e-ma

Multiple select not rendered in browser with tiles

2007-02-12 Thread Simone Piva
ile I can see my multiple select displayed correctly!

Re: Submitting multiple select

2006-06-13 Thread Paul Benedict
Make sure your property is a collection or an array. Rahul Krishnarao Patil <[EMAIL PROTECTED]> wrote: Hi all , I want to submit multiple values in multiple select box . But when I invoke get on a bean , I only get single value can any body know the solution Thanks Rahul

Submitting multiple select

2006-06-13 Thread Rahul Krishnarao Patil
Hi all , I want to submit multiple values in multiple select box . But when I invoke get on a bean , I only get single value can any body know the solution Thanks Rahul Patil.

RE: Default values for Multiple Select

2005-10-19 Thread Rassmann, Natalie D
Paul, I am dealing with a multiple select tag... Ie Natalie -Original Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 7:11 PM To: Struts Users Mailing List Subject: Re: Default values for Multiple Select Natalie, Your question isn&#

Re: Default values for Multiple Select

2005-10-18 Thread Paul Benedict
Natalie, Your question isn't clear If you're dealing with multiple checkboxes, the property backing them should be a String[] so you can capture all the values selected. If you're dealing with multiple options of a radio group, only one option will ever be selected. Paul

RE: Default values for Multiple Select

2005-10-18 Thread Dharmendra . Sharan
values for Multiple Select Hi - I am trying to get the default values for a multiple select to work when more than one option is selected. It seems as though I only can get one of the options marked as selected when several are actually selected.Has anyone run into this before? Can anyone

Default values for Multiple Select

2005-10-18 Thread Rassmann, Natalie D
Hi - I am trying to get the default values for a multiple select to work when more than one option is selected. It seems as though I only can get one of the options marked as selected when several are actually selected.Has anyone run into this before? Can anyone help me? Natalie

Dynamically sized Form problem: getting String[] from multiple select

2005-10-14 Thread Oleg
tring[] if its a multiple select box value. struts-config.xml - here is how I get the values from the form: TreeMap values = (TreeMap)df.get("values"); Iterator it = values.keySet().iterator();

Re: multi page form, html:select multiple select and editing!

2005-07-24 Thread GnomeKing
On 24/07/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > You need to follow the same guidelines for selects as for checkboxes: > ensure you reset the underlying form bean property each time. > >http://struts.apache.org/userGuide/struts-html.html#select I knew about the reset method; but the pr

Re: multi page form, html:select multiple select and editing!

2005-07-23 Thread Laurie Harper
You need to follow the same guidelines for selects as for checkboxes: ensure you reset the underlying form bean property each time. http://struts.apache.org/userGuide/struts-html.html#select L. GnomeKing wrote: Hi guys, I've got a problem I've been trying to get around for a while and I'm

multi page form, html:select multiple select and editing!

2005-07-23 Thread GnomeKing
Hi guys, I've got a problem I've been trying to get around for a while and I'm hoping someone here can give me some pointers! I have to use a multi page form for a particular bean, and one of the latter pages has an html:select control which allows multiple selections. It also has a checkbox. T

Re: Multiple select/update from the Listing page

2005-01-18 Thread Daniel Watrous
I think that this article will tell you what you want to know. http://javaboutique.internet.com/tutorials/strutsform/ Daniel - Original Message - From: "Yen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, January 18, 2005 7:38 PM Subject: M

Re: Multiple select/update from the Listing page

2005-01-18 Thread Jim Barrows
On Wed, 19 Jan 2005 10:38:10 +0800, Yen <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder how struts handle the Multiple select/update from the Listing page. > Let say, there is a listing of 10 records and the page need to allow the > user to update the status for the records

Multiple select/update from the Listing page

2005-01-18 Thread Yen
Hi, I wonder how struts handle the Multiple select/update from the Listing page. Let say, there is a listing of 10 records and the page need to allow the user to update the status for the records. Upon submitting the button, it will update all the status in the listing page. How does the form