Re: Form fields populated from Action class

2007-03-31 Thread manoj sinha
Action Class: public HashMap getUserDetails(String loginid)throws Exception{ UserInfo userInfo=null; .. userInfo = userInfoHome.findByPrimaryKey(loginid); HashMap userDetails=new HashMap(); use

Re: Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Really easy with your help!!! Thanks a lot Laurie! From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: Show info from collection by levels and check data type Date: Sat, 31 Mar 2007 16:22:29 -0400 Francisco Exposito Aguilera wr

Re: [S2]Struts 2 Comboboxes

2007-03-31 Thread Dave Newton
--- appfused <[EMAIL PROTECTED]> wrote: > Cool that's what im using but i thought that someone > would say something different e.g I'm not sure why someone would suggest the combobox when you asked for the S2 equivalent of an , but okay. > Have you used [] before? > i couldn't get it to work Ho

Re: [S2]Struts 2 Comboboxes

2007-03-31 Thread appfused
Cool that's what im using but i thought that someone would say something different e.g http://struts.apache.org/2.0.6/struts2-core/apidocs/index.html?org/apache/struts2/components/ComboBox.html ComboBox Have you used this tag before? i couldn't get it to work Dave Newton-4 wrote: > > --- appfu

Re: [S2]Struts 2 Comboboxes

2007-03-31 Thread Dave Newton
--- appfused <[EMAIL PROTECTED]> wrote: > in struts 2? > > <%@ taglib uri="/tags/struts-html" prefix="html" %> > > > Reviews > Interviews > Gig Dates > Small Talks > http://struts.apache.org/2.0.6/docs/select.html The documentation is your friend (usually). More or less, copied direct

[S2]Struts 2 Comboboxes

2007-03-31 Thread appfused
How do i do the equivalent of the code segment below in struts 2? <%@ taglib uri="/tags/struts-html" prefix="html" %> Reviews Interviews Gig Dates Small Talks -- View this message in context: http://www.nabble.com/-S2-Struts-2-Comboboxes-tf3499362.html#a9772999 Sent from the Struts -

Re: Form fields populated from Action class

2007-03-31 Thread Laurie Harper
manoj sinha wrote: Hi All, My Configuration is Struts2.0.6 , Postgres 8.1 I have jsp page and it contains drop down list of Log Id and list gets populated from database.Onselect specific user It should populate other form fields. User Details is getting from Action class.This class works fine.

Re: Struts 2 with Maven2

2007-03-31 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Good day to you all I'm using Maven2 to create and build my java projects and now I was looking for a way to get the latest Struts release in a Maven repository. I've looked it up on google, but I can't find anything about it. Does anyone know how to get this stuff

Re: Show info from collection by levels and check data type

2007-03-31 Thread Laurie Harper
Francisco Exposito Aguilera wrote: Sorry, I forgot to translate some info Hi all, In the jsp page I sent a collection which contains integer and string values: [1, "A", 2, "B", 2, "C", 1, "D", 2 , "E", 3, "F", 3, "G"] In the page I want to obtain the data (strings of the collection) in th

Re: Weird s:iterator behavior

2007-03-31 Thread Dave Newton
--- new2you <[EMAIL PROTECTED]> wrote: > Is there ANYTHING I could be doing wrong that causes > this behavior? Always hearing "S2 is thread-safe"... (1) Once you're accessing non-local data, like something from the application or session contexts, it's no longer "autmagically" thread-safe, becaus

Re: IDE for struts-enabled web application

2007-03-31 Thread Piero Sartini
> Please suggest me a free IDE (mostly Eclipse plugin), for developing > struts-enabled web application. (if possible supporting my run-time too) Since you asked about an Eclipse plugin, I am not suggesting NetBeans - otherwise I would do that for sure ;) Anyway, I am not aware of any Struts spe

Weird s:iterator behavior

2007-03-31 Thread new2you
Hi! I've got quite the strange problem, in particular with the "iterator"-tag Outline: I'm having a arraylist of objects in the session; accessing this list via the iterator-tag; within the iterator, accessing some attributes of the objects; the following happens: Sometimes, the list is not itera

Form fields populated from Action class

2007-03-31 Thread manoj sinha
Hi All, My Configuration is Struts2.0.6 , Postgres 8.1 I have jsp page and it contains drop down list of Log Id and list gets populated from database.Onselect specific user It should populate other form fields. User Details is getting from Action class.This class works fine. Now problem:as i sele

Re: unable to deploy the WAR file provided in struts-2.0.6-all.zip

2007-03-31 Thread dermaus
:^) I think it was something very similar--I have two Tomcats installed, one of them bundled with NetBeans. The problem was that the NetBeans Tomcat has xalan.jar, serializer.jar, etc., in the common/endorsed directory, while the other Tomcat does not. Should the tutorial ("Simple Setup") menti

RE: Struts 2 - Action writing to response output stream

2007-03-31 Thread new2you
Exactly what I was looking for... returning null was a good practice in Struts 1 when there were no resulttypes, dunno if there's not a better way to do it in S2... One thing one could do is write a null-return method for each kind of byte-result which can be placed in the ActionSupport class so t

RE: Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Sorry, I forgot to translate some info Hi all, In the jsp page I sent a collection which contains integer and string values: [1, "A", 2, "B", 2, "C", 1, "D", 2 , "E", 3, "F", 3, "G"] In the page I want to obtain the data (strings of the collection) in the correct level (integers of the col

Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Hi all, In the jsp page I sent a collection which contains integer and string values: [1, "A", 2, "B", 2, "C", 1, "D", 2 , "E", 3, "F", 3, "G"] In the page I want to obtain the data (strings of the collection) in the correct level (integers of the collection) A B C D E F G

Struts 2 with Maven2

2007-03-31 Thread bjorn.de.bakker
Good day to you all I'm using Maven2 to create and build my java projects and now I was looking for a way to get the latest Struts release in a Maven repository. I've looked it up on google, but I can't find anything about it. Does anyone know how to get this stuff from a repository? I belie