Something like an invisible button over each dataTable inputText could
be a solution?
On click, get the new value and focus the inputText, something like that hehe.
Thanks


On Thu, Jun 5, 2008 at 8:03 PM, Nuno Sousa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 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]
> [code]inputText.setOnclick("jsFunction();");[/code]
>
>
> [b]On my xhtml page i have defined my javascript function accessing
> backbean:[/b]
>
>
>  <script language="JavaScript" type="text/javascript">
>  //<![CDATA[
>
>  function jsFunction() {
>    alert('#{myBackBean.dataTable.value.get(3).get(0).myRealValue}');
>  }
>
>  //]]>
>
>   </script>
>
> 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?
>
> Thanks
>
> --
> Ping is just a number timming is everything
>



-- 
Ping is just a number timming is everything

Reply via email to