myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuno Sousa" <>
Subject Accessing to back bean updated values
Date Thu, 05 Jun 2008 19:03:42 GMT

For now, I'm just trying to alert a bean value in an onClick event
associated with an inputText.

[b]On my backbean i have defined my HtmlInputText with the event:[/b]

[b]On my xhtml page i have defined my javascript function accessing

  <script language="JavaScript" type="text/javascript">

  function jsFunction() {



If i click on the inputText it alerts me the correct bean value, but
if i change my bean value and click again, it shows me the same value.
Only when i refresh the page, my alert gets a new value. How can i
force my alert to ask allways the bean value without page refreshing?


Ping is just a number timming is everything

View raw message