[JBoss JIRA] Created: (RF-2239) listShuttle: doesn't works after ajax update
by Ilya Shaikovsky (JIRA)
listShuttle: doesn't works after ajax update
--------------------------------------------
Key: RF-2239
URL: http://jira.jboss.com/jira/browse/RF-2239
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Fix For: 3.2.0
<h:form>
<h:selectBooleanCheckbox value="#{bean.enabled}" >
<a4j:support reRender="list" event="onchange" ajaxSingle="true"/>
</h:selectBooleanCheckbox>
<a4j:outputPanel layout="none">
<rich:orderingList value="#{capitalsBean.capitals}" var="cap" converter="converter" rendered="#{bean.enabled}" id="list">
<rich:column>
<f:facet name="header">
<h:outputText value="test"/>
</f:facet>
<h:outputText value="#{cap.name}"/>
<f:facet name="footer">
<h:outputText value="test"/>
</f:facet>
</rich:column>
</rich:orderingList>
</a4j:outputPanel>
</h:form>
Initial value of enabled = false.
after checkbox activation - listShuttle rendered but doesn't works and layout broken.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (RF-2173) suggestionbox generates class attribute 2 times on return of results
by Jonathan Richard (JIRA)
suggestionbox generates class attribute 2 times on return of results
--------------------------------------------------------------------
Key: RF-2173
URL: http://jira.jboss.com/jira/browse/RF-2173
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3, 3.2.0, Future Versions
Environment: any
Reporter: Jonathan Richard
Priority: Critical
The suggestion box generates 2 class="" attributes on the <table> tag it returns.
The table.jspx template file uses the following code to generate it's default CSS classe and styleClass attribute:
<table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table" width="100%" >
...
<f:attribute name="class" property="styleClass"/>
...
</table>
the result of this will be:
<table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table" width="100%" class="">
but it should be using the same technique as all other rich faces tags to avoid this:
<table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table #{component.attributes['styleClass']}" width="100%">
and add the property definition in the suggestionbox.xml config file:
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
<description>Corresponds to the HTML class attribute</description>
</property>
---
This does not cause any problems since the second generated class attribute is detected by the tidy parser and the latter merge the both class tag content. If you disable the FastHtmlParser, a4j won't render the suggestionbox returned content since it is not well formed html....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months