I am using jsf of the following implementation, which I have found under META-INF of jsf-ibm.jar. From this how can I make out version of jsf whether 1.1 or 2 ?
Specification-Title: Java Server Faces
Implementation-Title: JSF Widget Library (JWL) - Base
Implementation-Version: JWL v3_1_5
Build-Date: February 1 2010
I have a datatable and data rows inside the table. I am trying to edit a particular row using a h:commandLink with an ajax call.
I see that the entire page is still refreshing inspite of adding ajax behaviour, where only the particular datatable which has been embedded inside panelgroup alone has to be refreshed. Gone through some forums, which say that onclick is not supported for some versions of jsf. If it is the same case with me, is there any alternative to achieve this onclick which triggers ajax call.
The best way to work with a row in a datatable is not to pass it as a parameter like the view is calling a function (Views should not contain logic), but to use a plain old JSF action method and let the action locate the row using the table's datamodel wrapper object.
JSF 1.x did not support AJAX. The only way to get AJAX support in JSF1 was to either do it manually or to use one of the extension tagsets that came with AJAX functionality as part of the tagset. I'm not familiar enough with the "hx" extension set to advise on that part, however.
"immediate="true"" does not mean "AJAX", it means "when this form is submitted, don't submit the data in the form, just fire the action".
Also, we have a useful button labelled "Code" in our message editor. You can use it to generate tags that will format Java code, XML, and other pre-formatted text. It makes them easier to read.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.
pie. tiny ad:
global solutions you can do at home or in your backyard