struts2 : submit Collection Set as parameter

2010-02-13 Thread Jipu Jiang
Hi all, I have a problem with Struts2 type conversion. Here is the classes: public class Square { private int id; private Set points = new HashSet(); public Square() { } public Square(int id, Set points) {

Doubleselect tag doubleEmptyOption

2009-11-03 Thread Jipu Jiang
Dear all, Did anyone used the doubleEmptyOption parameter of the doubleselect tag in struts2? I have used it to create an empty option for the second select box. However no empty option is added. In addition, the doubleHeaderKey and doubleHeaderValue parameters are also seems has no effect at

RE: form validation gets indefinite loops in web browsers

2009-09-17 Thread Jipu Jiang
. It would be better if what user input can also stay on the submission page. -Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: 16 September 2009 17:55 To: Struts Users Mailing List Subject: Re: form validation gets indefinite loops in web browsers Jipu Jiang wrote

Struts2 form validation gets indefinite loops in web browsers

2009-09-17 Thread Jipu Jiang
, is it possible to achieve what I desired? Or is there any better design than what I did. Thank you very much for any help I can get. Cheers, Jipu -Original Message- From: Jipu Jiang [mailto:j.ji...@nesc.gla.ac.uk] Sent: 17 September 2009 11:17 To: Struts Users Mailing List Subject: RE

form validation gets indefinite loops in web browsers

2009-09-16 Thread Jipu Jiang
Hello everyone, Could anyone help me on an issue here? Here is the problem. I have a form in JSP to submit. But the parameters in this form is not static, they are from a database. So I have an action to be called first before enter the JSP page. It goes like this in the struts.xml: action

Second box of DoubleSeclect tag wont show the default value even though it's right here.

2008-11-12 Thread Jipu Jiang
struggling with this problem for many days. Could anyone point me a path to solve this problem? It will be greatly appreciated. Many thanks in advance, Jipu On 11/11/2008 01:34, Jipu Jiang [EMAIL PROTECTED] wrote: Hi Felippe, Thank you for your fast reply. I have double checked with what you

HELP!!! DoubleSeclect tag with default values

2008-11-10 Thread Jipu Jiang
Dear all, I was trying to display a JSP page with some parameters from the database. Everything shows up perfectly except the second dropdown list of the doubleselect tag, which should display the value from java action but it always shows the first value of the second list. For example, the

RE: HELP!!! DoubleSeclect tag with default values

2008-11-10 Thread Jipu Jiang
-Original Message- From: Felippe Scheidt [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 12:22 PM To: Struts Users Mailing List Subject: Re: HELP!!! DoubleSeclect tag with default values Can you paste your code please? Scheidt. On Mon, Nov 10, 2008 at 9:04 AM, Jipu Jiang

RE: HELP!!! Struts2 bugs? DoubleSeclect tag with default values

2008-11-10 Thread Jipu Jiang
a list of tertiaryoptions, something like this: public class Menuoption{ ... ListTertiaryOption tertiaryoptions; ... } This is a way to doubleselect binds this two collections. Felippe. On Mon, Nov 10, 2008 at 2:33 PM, Jipu Jiang [EMAIL PROTECTED] wrote: Hi Felippe, Thank you so much

Doubleselect tag quesitons

2008-09-09 Thread Jipu Jiang
Hello Everyone, Here I got a question regarding to the s:doubleselect tag. Here is the scenario. I would like to display a complex hierarchy of objects by using struts2 tags. Basically, I got 5 tables in the DB. All linked with each other by Foreign Keys. So the models generated from the tables