Home Tutorialhelp Allcomments Struts Struts Struts Uitags Doubleselect Tag

 
 

Comments

 
User Comments for the tutorial:

Doubleselect Tag (Form Tag) Example



Advertisement
Comments

s:doubleselect
Thanks Sathish, That was really helpful!! 

What to do if my lists come from database
execute ur query. then fetch the result into hash and keep it in list. for ex., Execute Query : SELECT COL1, COL2 FROM TBL; create hash: HashMap<String, String> resultMap =new HashMap(); store the query result into hash (resultMap) then 

try preloaded
get the data and store it into array.... and then initialize it... reply in case of doubt... 

try preloaded
and also, try this url.... hope it helps you... 

Possible more than 2elements in first select
sir If it possible morethan two elemnts in fisrt combo and change depending on second combo value 

What if lists are dynamic?
What to do if my lists come from database? Kindly help.. 

Please give us example list comes from database
Hi, If you provide example like , list of country and their city. will help us to understand better. 

DoubleSelect tag in Struts2
I want to use Struts2 DoubleSelect Tag for populating List of countries and on selecting a country, its available cities should be populated. Can anybody give sugesstions and any practicle code for such scenario. Thanks Naresh Sahu 

how to use this tag
how to use this tag with a sample with databse and struts2 actions. 

prob with double tag while using it wit ajax theme
hi , i want to use double select tagin ajax theme. i havsucessfully used it in Simple theme jst by passing 2 lists say countryList and stateList. so im sure there is no problem in logical side. but when i change my theme to ajax its creating proble 

Related Tutorial and Articles
Struts Questions

Struts2 - Struts
Struts2  Hi, I am using doubleselect tag in struts2.roseindia is giving example of it with hardcoded values,i want to use it with dynamic values. Please give a example of it. Thanks 

Struts 2 Tutorials

Struts2.2.1 doubleselect tag example.
Struts2.2.1 doubleselect tag example. In this tutorial, you will see the use of doubleselect tag of struts2.2.1. the <s:doubleselect> tag is used... on the selected ?Degree? or "Diploma". Directory structure of doubleselect tag 

Struts 2 Tutorials

Doubleselect Tag (Form Tag) Example
Doubleselect Tag (Form Tag) Example       In this section, we are going to describe the doubleselect tag. The doubleselect tag is a UI tag that renders two HTML select elements with second one 

Struts Questions

tree tag in struts2 - Struts
tree tag in struts2  I have an arraylist of values retrieved from the database and i want all the values in the arraylist to be viewed in a subtree node. like:::: COUNTRYLIST has values INDIA,UK,USA. INDIA,UK,USA 

Struts Questions

Achor tag. Struts2 code - Struts
Achor tag. Struts2 code  Hi All, How to send the values form one jsp page to another using anchor tag (or any which is similar to achor) in Struts? Please help me. I am waiting for the answer. Regards, Sandeep 

Struts Questions

Achor tag. Struts2 code - Struts
Achor tag. Struts2 code  Hi All, How to send the values form one jsp page to another using anchor tag (or any which is similar to achor) in Struts? Please help me. I am waiting for the answer. Regards, Sandeep   

Struts Questions

Struts2 - Struts
Struts2  S:select tag is being used in my jsp, to create a drop down list. The drop down works very well in Mozilla, but in IE7 it behaves very weird, meaning that the drop down wen clicked it just jumps out from the first row 

Struts Questions

select tag in Struts2 to handle Enums - Struts
select tag in Struts2 to handle Enums  I have an java enum in my object. I am trying to set its values from struts2 select tag. I tried with "#list... to handle enums in struts2 select tag ?   Hi friend, Code to solve 

Struts Questions

query on struts2 - Struts
query on struts2  I am using struts2 for my application.i have a form that contains 'select' tag, for this i am getting values form DB. The problem is after i am submitting the form it is giving the following error 

Struts Questions

How to add another option to the select tag using struts2 tag - Struts
How to add another option to the select tag using struts2 tag  Hi, How to add another option to select tag using tag. My scenario is : If the logged in user is admin then drop down should contain the normal list 

Advertisements Advertisements
 

 

 

DMCA.com