This content has been marked as final.
Show 5 replies
-
1. Re: RichFaces 3.3.1 rich:inplaceInput a4j:support not workin
nbelaevski Jun 3, 2009 1:18 PM (in response to dnorris)Hi,
Thanks, we'll check. -
2. Re: RichFaces 3.3.1 rich:inplaceInput a4j:support not workin
kostik Jun 4, 2009 6:11 AM (in response to dnorris)Hi, dnorris
Could you describe your problem more clearly?!
Could you attach simple project showing your problem? -
3. Re: RichFaces 3.3.1 rich:inplaceInput a4j:support not workin
dnorris Jun 5, 2009 10:15 AM (in response to dnorris)To better explain the problem here is a simple example I made.
Using RichFaces 3.3.0...
On a jsp page put:<body> <f:view> <a4j:form> <rich:inplaceInput id="input1" value="#{index.hello}"> <a4j:support event="onchange" action="#{index.ValueChanged}" reRender="output1"/> </rich:inplaceInput> <br /> <h:outputText id="output1" value="#{index.hello}" /> </a4j:form> </f:view> </body>
The JSF Managed, request scope backing bean has:public class IndexBean { private String hello = ""; public IndexBean() { } public void ValueChanged(){ this.hello = "Hello from " + this.hello; System.out.println(this.hello); } public void setHello(String hello) { this.hello = hello; } public String getHello() { return hello; } }
Run it and see the text is updated.
Now use Using RichFaces 3.3.1 in place of 3.3.0
The text will not update. -
4. Re: RichFaces 3.3.1 rich:inplaceInput a4j:support not workin
ilya_shaikovsky Jun 8, 2009 5:28 AM (in response to dnorris)use onviewactivated in order to store the value on changing.
-
5. Re: RichFaces 3.3.1 rich:inplaceInput a4j:support not workin
kostik Jun 8, 2009 9:50 AM (in response to dnorris)dnorris,
thank you, such problem already exists:
https://jira.jboss.org/jira/browse/RF-7079