hungsama / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Problems with complex Double-Select #1025

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

See attached Example-Project. It's a simple Page with three Selects. 
All Selects have pre-defined Values. The second and third Select are 
also dependent on the first one. You can change the first Select and 
the other Selects get a new List per Ajax-Call but still select 
the pre-defined Value.

What is the expected output? What do you see instead?

The dependent Selects should select the pre-defined Values.
The Select with "autocomplete=true" and "selectBoxIcon=true"
(select3) doesnt select the pre-defined Value.

Which struts2 version?

2.3.1.2

Which struts2-jquery plugin version?

3.2.1

Please provide any additional information below.

Newer Versions of Struts or the Plugin cause more Errors. For Example:
With Plugin-Version 3.6.1 the FirstAction is not called and the 
second Select displays the Values of the third one.
With newer Struts-Versions there are Problems with the unused 
Parameters in the Ajax-Actions.

Original issue reported on code.google.com by oldmangl...@googlemail.com on 13 Aug 2013 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
 think this could work if you are using the latest version.

Change your pom.xml like this:
    <properties>
        <struts2.version>2.3.15.2</struts2.version>
        <struts2-jquery.version>3.6.1</struts2-jquery.version>
    </properties>

Thanks for providing an example app.

Original comment by johgep on 24 Sep 2013 at 6:05

GoogleCodeExporter commented 9 years ago
The latest Version doesn't help. It's even worse:
The second Select displays the Value of the third
Select.

Original comment by oldmangl...@googlemail.com on 26 Sep 2013 at 5:33

GoogleCodeExporter commented 9 years ago
Hi,

I simplified the example app: There is now a simple Select like the
Example "Receive Entrys from a Map" with a predefined Value. When adding
"autocomplete=true" the predefined Value is not displayed.

Just run the App with "mvn jetty:run" and "http://localhost:8080/myWebApp/".

Original comment by oldmangl...@googlemail.com on 10 Oct 2013 at 7:40

Attachments: