[JBoss JIRA] Created: (RF-4064) Problem with a4j:commandLink
by Bob Corcoran (JIRA)
Problem with a4j:commandLink
-----------------------------
Key: RF-4064
URL: https://jira.jboss.org/jira/browse/RF-4064
Project: RichFaces
Issue Type: Bug
Environment: Windows
Reporter: Bob Corcoran
Priority: Minor
We have a page with a few a4j:commandLinks as well as an h:inputText and h:inputTextarea, among other markup. It works fine until we add the attribute required="true" to either the inputText or InputTextarea. When we add the required="true" to either the inputText or InputTextarea, one of the a4j:commandLinks's (further up on the page) breaks. It still renders fine, but the method on the backing bean (in this case a SEAM stateful bean) is not called, because the link does not fire. What's even more odd is that the remaining a4j:commandLinks on the page continue to work according to specs. These links are contained in separate rich:column tags.
--
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
16 years, 1 month
[JBoss JIRA] Created: (RF-4024) rich:tooltip missing ajaxchild encode code.
by Victor (JIRA)
rich:tooltip missing ajaxchild encode code.
-------------------------------------------
Key: RF-4024
URL: https://jira.jboss.org/jira/browse/RF-4024
Project: RichFaces
Issue Type: Bug
Reporter: Victor
Priority: Critical
on the page:
<rich:tooltip>
<h:panelGroup id="tooltipGroup">
some value outputs
</h:panelGroup>
<rich:tooltip>
<a4j:commandButton reRender="tooltipGroup" ..../>
as result tooltipGroup will not rerender and tooltipGroup missed in the Ajax-Update-Ids
Cause of this issue is following method in the UIToolTip class (notice else clause)
public void encodeAjaxChild(FacesContext context, String path, Set ids,
Set renderedAreas) throws IOException {
if(ids.contains(this.getClientId(context) + "content")){
AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
ToolTipRenderer r = (ToolTipRenderer)getRenderer(context);
r.encodeTooltipText(context, this);
ajaxContext.getAjaxRenderedAreas().add(this.getClientId(context) + "content");
} else {
// todo
// AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
// ajaxContext.e
}
}
--
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
16 years, 1 month