Hi all, I set a drop-down with <s:select multiple="true"...></select>,when I selected multiple options then submit , it will return to current page, but the drop-down can't be selected the multiple values , I want to know that how can make the drop-down's default multiple values are which I have chosen.Thank you so much.
Hi all, I set a drop-down with <s:select multiple="true"...></select>,when I selected multiple options then submit , it will return to current page, but the drop-down can't be selected the multiple values , I want to know that how can make the drop-down's default multiple values are which I have chosen.Thank you so much.
I am starting in struts 2 and I want to create a Select control where I put the three choices: ouvrier ,frais directe et chef d'equipe
if the user select "frais directe" I want that a textfield appears to writ "the position".
I can not display the textfield when the choice of "frais directe" is made.
code to create the Select control is as follows:
<s: select list ="#{' 1 ':' chefEquipe ', '2', 'worker', '3 ',' FraiDirecte '} "headerKey =" -1 "headerValue =" select status "name =" status "label =" Status "> </ s: select>
please help me I'm stuck
thank you .
salut
je suis debutante en struts 2 et je veux créer un control Select dans lequel je mets les 3 choix suivant: ouvrier ,frais directe et chef d'equipe
si l'utilisateur choisie frais directe alors un textfield apparait pour qu'il saisisse le poste .
j'arrive pas à afficher le textfield une fois le choix de " frais direct" est fait.
le code de création du control Select est le suivant:
<s:select list="#{'1':'chefEquipe','2':'ouvrier','3':'FraiDirecte'}" headerKey="-1" headerValue="choisir statut" name="statut" label="Statut" ></s:select>
aidez moi s'il vous plais je suis bloqué
merci d'avance .
Hi,
Can you tell me why for (below mentioned code of the same as above) case not needed to create ArrayList()like first select button? what # means in list="#{ here? Waiting for reply please do its necessary & urgent for me! Thanks!
<s:select label="Select Month"
name="monthname"
headerKey="1"
headerValue="-- Please Select --"
list="#{'01':'January','02':'February','03':'March','04':'April',
'05':'May','06':'June','07':'July','08':'August','09':'September','10':
'October','11':'November','12':'December'}"
/>
I have a question on how to do a thing.
I have one that I <s:select> returns a list of results, and I wonder how I can remove one of the options I returns the database query. The condition I have completed the list, but I need the result. Not if there are any attributes within <s:select> me the option to remove it, or I have to do with javascript?
Thank you very much for the help, I learned a lot with your tutorials.
Regards, David
I have set value in session in jsp page when i get value from session then it show error
please give me answer
Please give me answer with code
Regards
Bhagwan Singh
<s:select> tag how to set multiple default valuesPhoenix June 14, 2011 at 12:04 AM
Hi all, I set a drop-down with <s:select multiple="true"...></select>,when I selected multiple options then submit , it will return to current page, but the drop-down can't be selected the multiple values , I want to know that how can make the drop-down's default multiple values are which I have chosen.Thank you so much.
how to set multiple default values for select tagPhoenix June 14, 2011 at 12:05 AM
Hi all, I set a drop-down with <s:select multiple="true"...></select>,when I selected multiple options then submit , it will return to current page, but the drop-down can't be selected the multiple values , I want to know that how can make the drop-down's default multiple values are which I have chosen.Thank you so much.
problem select ant textfield struts 2ahlam June 30, 2011 at 2:56 PM
I am starting in struts 2 and I want to create a Select control where I put the three choices: ouvrier ,frais directe et chef d'equipe if the user select "frais directe" I want that a textfield appears to writ "the position". I can not display the textfield when the choice of "frais directe" is made. code to create the Select control is as follows: <s: select list ="#{' 1 ':' chefEquipe ', '2', 'worker', '3 ',' FraiDirecte '} "headerKey =" -1 "headerValue =" select status "name =" status "label =" Status "> </ s: select> please help me I'm stuck thank you . salut je suis debutante en struts 2 et je veux créer un control Select dans lequel je mets les 3 choix suivant: ouvrier ,frais directe et chef d'equipe si l'utilisateur choisie frais directe alors un textfield apparait pour qu'il saisisse le poste . j'arrive pas à afficher le textfield une fois le choix de " frais direct" est fait. le code de création du control Select est le suivant: <s:select list="#{'1':'chefEquipe','2':'ouvrier','3':'FraiDirecte'}" headerKey="-1" headerValue="choisir statut" name="statut" label="Statut" ></s:select> aidez moi s'il vous plais je suis bloqué merci d'avance .
Struts 2 select tag difficultyshri patrudkar November 27, 2011 at 7:17 PM
Hi, Can you tell me why for (below mentioned code of the same as above) case not needed to create ArrayList()like first select button? what # means in list="#{ here? Waiting for reply please do its necessary & urgent for me! Thanks! <s:select label="Select Month" name="monthname" headerKey="1" headerValue="-- Please Select --" list="#{'01':'January','02':'February','03':'March','04':'April', '05':'May','06':'June','07':'July','08':'August','09':'September','10': 'October','11':'November','12':'December'}" />
Delete option in the <s:select>David January 12, 2013 at 4:55 AM
I have a question on how to do a thing. I have one that I <s:select> returns a list of results, and I wonder how I can remove one of the options I returns the database query. The condition I have completed the list, but I need the result. Not if there are any attributes within <s:select> me the option to remove it, or I have to do with javascript? Thank you very much for the help, I learned a lot with your tutorials. Regards, David
problem to get value from session in action classBhagwan Singh April 4, 2012 at 6:35 PM
I have set value in session in jsp page when i get value from session then it show error please give me answer Please give me answer with code Regards Bhagwan Singh
Post your Comment