This content has been marked as final.
Show 6 replies
-
1. Re: inplaceSelect value not has selected in view whit f:sele
nbelaevski Mar 2, 2009 7:25 AM (in response to andresvargasr)Hello,
Can you please post source for #{ValidPrincipalOrdenBean.defaultItemsBarrio}? Thank you in advance! -
2. Re: inplaceSelect value not has selected in view whit f:sele
andresvargasr Mar 2, 2009 8:37 AM (in response to andresvargasr)Sure...... this is de ValidPrincipalOrdenBean code for defaultItemsBarrio :
private DefaultSelectItemsArray defaultItemsBarrio = new DefaultSelectItemsArray(); public DefaultSelectItemsArray getDefaultItemsBarrio() { return defaultItemsBarrio; } public void setDefaultItemsBarrio(DefaultSelectItemsArray defaultItemsBarrio) { this.defaultItemsBarrio = defaultItemsBarrio; }
And it is initialized in de BKBean methot init :List<Barrio> barrios = barrioFacade.findAll(); getValidPrincipalOrdenBean().getDefaultItemsBarrio().clear(); for (Barrio b : barrios) { SelectItem si = new SelectItem(b.getIdBarrio(), b.getNombreBarrio()); getValidPrincipalOrdenBean().getDefaultItemsBarrio().add(si); }
it show all "barrios" this is de query on database table result:
1;"Castilla"
2;"Suba-Villamaria"
3;"Suba-Compartir"
4;"Fontibon-HB"
5;"CAN"
6;"Villas de Granada"
7;"La gaitana"
i´m sure this works fine beacause when the page is charged, this show it XD......
thx.... -
3. Re: inplaceSelect value not has selected in view whit f:sele
nbelaevski Mar 2, 2009 9:51 AM (in response to andresvargasr)We've fixed the alike issue in 3.3.1-snapshot. Can you please give it a try?
-
4. Re: inplaceSelect value not has selected in view whit f:sele
andresvargasr Mar 2, 2009 9:58 AM (in response to andresvargasr)Sure.... thx for your help... How i can do it?...
-
5. Re: inplaceSelect value not has selected in view whit f:sele
nbelaevski Mar 2, 2009 10:49 AM (in response to andresvargasr)http://www.jboss.org/community/docs/DOC-11846 - see links for 3.3.1-snapshot.
-
6. Re: inplaceSelect value not has selected in view whit f:sele
andresvargasr Mar 3, 2009 10:50 AM (in response to andresvargasr)great.... whit this works fine, thx very much for your help ;)