[JBoss JIRA] Created: (RF-5709) extendedDataTable: "binding" attribute doesn't work under myfaces.
by Mikhail Vitenkov (JIRA)
extendedDataTable: "binding" attribute doesn't work under myfaces.
------------------------------------------------------------------
Key: RF-5709
URL: https://jira.jboss.org/jira/browse/RF-5709
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Set binding="#{extendedDataTableBean.extDTable}"
#2. Define extDTable in such way:
private HtmlExtendedDataTable extDTable +getter/setter
#3. Add command button for binding checking:
<h:commandButton value="binding"
actionListener="#{extendedDataTableControlBean.checkBinding}" />
#4. Where extendedDataTableControlBean.checkBinding:
public void checkBinding(ActionEvent actionEvent){
FacesContext context = FacesContext.getCurrentInstance();
System.out.println(extDTable.getBaseClientId(context));
}
Use jsp test-application for reproduction.
--
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
15 years, 12 months
[JBoss JIRA] Created: (RF-5592) User is unable update the text in the input, if this filed is inside of <a4j:repeat> and <a4j:support> is used
by Igor Dikhtyaruk (JIRA)
User is unable update the text in the input, if this filed is inside of <a4j:repeat> and <a4j:support> is used
--------------------------------------------------------------------------------------------------------------
Key: RF-5592
URL: https://jira.jboss.org/jira/browse/RF-5592
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Igor Dikhtyaruk
example:
xhtml:
<a4j:repeat value="#{myBean.texts}" rowKeyVar="index">
<h:inputText id="text" value="#{myBean.texts[index]}">
<a4j:support
ajaxSingle="true"
event="onchange"
reRender="text"
bypassUpdates="true"/>
</h:inputText>
</a4j:repeat>
Java bean:
package au.gov.austrac;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
@Name("myBean")
@Scope(ScopeType.SESSION)
public class MyBean {
private List<String> texts = Arrays.asList(new String[]{"First"});
public List<String> getTexts() {
return texts;
}
public void setTexts(List<String> texts) {
this.texts = texts;
}
}
BTW,
the following works well:
<ui:repeat value="#{myBean.texts}">
<h:inputText id="text" value="#{myBean.texts[0]}">
<a4j:support
ajaxSingle="true"
event="onchange"
reRender="text"
bypassUpdates="true"/>
</h:inputText>
</ui:repeat>
--
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
15 years, 12 months