[
https://jira.jboss.org/jira/browse/RF-4175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tatyana Romanovich closed RF-4175.
----------------------------------
> inplaceInput #setValue() and call action
> ----------------------------------------
>
> Key: RF-4175
> URL: https://jira.jboss.org/jira/browse/RF-4175
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Reporter: Thomas Wabner
> Assignee: Tsikhon Kuprevich
>
> I have follow xhtml snippet (used with facelets):
> <a4j:form>
> <rich:inplaceInput value="#{cstic.additionalValue}"
> id="inplaceInput" >
> <a4j:support event="onviewactivated"
> action="#{cstic.addAdditionalValue}"></a4j:support>
> </rich:inplaceInput>
> </a4j:form>
> My bean looks like:
> ==============================
> public class Cstic {
> private String value;
> public void setAdditionalValue(final String newValue) {
> value = newValue
> }
> public String getAdditionalValue() {
> return this.value;
> }
> public void addAdditionalValue() {
> System.out.println("add value: " + this.value);
> }
> }
> ============================
> My problem is, that the #setAdditionalValue method is always called with a
> empty string (and not the given input from the ui). It seems, that if the
> user types in some values in the input box, the value is never applied to the
> #setValue method of the valued binded bean.
> Is there is another event which has to be used in the a4j:support stuff to
> trigger the addAdditionalValue action? Or why is the set method never invoked?
> Thanks in advance,
> - Thomas Wabner
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues