Just have a look at the IceFaces demo site (http://component-showcase.icefaces.org/component-showcase/showcase.iface). IceFaces includes support for Ajax. Have a look at the "Buttons & Links" example. You should be able to reproduce what they do.

Cheers,

Christopher

Nuno Sousa schrieb:
I'm using icefaces that i think it is imcompatible with richfaces right?


On Fri, Jun 6, 2008 at 9:33 PM, Christopher Cudennec <[EMAIL PROTECTED]> wrote:
Ajax seems to be your solution. Try to integrate Richfaces. It's pretty easy
to use and gives you what you need.

- C

Nuno Sousa schrieb:
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



 ------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG. Version: 8.0.100 / Virus Database: 270.0.0/1485 - Release
Date: 05.06.2008 10:07




------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG. Version: 8.0.100 / Virus Database: 270.0.0/1488 - Release Date: 06.06.2008 17:48

Reply via email to