• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Binding, dynamic UIComponent treegeneration and display problem

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

This is my probleme :

My page is composed by a selectManyShuttle ( trinidad ) and a PanelGrid and a commandbutton.

The selectManyShuttle allow to choose a list of language.
The PanelGrid is "empty", because it is binding to my backingBean.
It will be created at sending the form, depending on the languages chosen.


The button have an actionListener that populates a list of selected Language ( LangueProcedure class )




The problem are :

1. The getPanelLanguesEtPersonnes() is called at the first display of the form but not when the form is posted, so the "panelGrid" is not reconstructed. How can I ask 'JSF' to reconstruct the component tree?

2. How to bind a "selectOneMenu" to a element of a list ?
How can I remplace this "menu.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{selectionLanguesProcedureMB.listeLangueProcedure???}"));
"


Thanks a lot for you help
reply
    Bookmark Topic Watch Topic
  • New Topic