requiemnumu
  struts2 select map listkey
 

struts2 select map listkey

populate items using struts2 <s:select> - Toolbox for IT Groups.


ListUIBean (Struts 2 Core 2.3.4.1 API).
I am having a weird problem where my <s:select> tag render the value on HTML, but. I use struts2 action to populate employeeType. the <select> tag, then it would have used the key of the map when you specify listKey.

populate items using struts2 <s:select> (Struts forum at JavaRanch).


Note that the listkey and listvalue attribute will default to "key" and "value" respectively only when the list attribute is evaluated to a Map or its decendant.

ListUIBean (Struts 2 Core 2.0.6 API).
ListUIBean (Struts 2 Core 2.1.8.1 API).
Solution - Could Not Be Resolved As A Collection, Struts Struts2.
Note that the listkey and listvalue attribute will default to "key" and "value" respectively only when the list attribute is evaluated to a Map or its decendant.
Now i need to fill a select combo <. Map so that the listKey points to the keys in the map and listValue points to the values in the map.

Something wrong with my <s:select> (Struts forum at JavaRanch).


struts2 select map listkey

 
  Hoy habia 7 visitantes (8 clics a subpáginas) ¡Aqui en esta página!  
 
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis