[JBoss JIRA] (RF-12361) Tree cannot be expanded inside collection tags
by Michael Heinen (JIRA)
Michael Heinen created RF-12361:
-----------------------------------
Summary: Tree cannot be expanded inside collection tags
Key: RF-12361
URL: https://issues.jboss.org/browse/RF-12361
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.2.Final
Environment: myFaces 2.1.8
Tomcat 6.0.35
Reporter: Michael Heinen
The rich:tree cannot be expanded completely via ajax if it is used inside a rich:list. The first level can be expanded but no deeper levels.
Inside tomahawk datalist it does also not work.
The tree worked well with tomahawk's datalist in richfaces 3.3.3. Therefore it is a showstopper for an update to version 4.
{code:xml}
<rich:list id="treeList"
value="#{treeListBean.treeBeans}"
var="currentItem"
iterationStatusVar="counter"
type="unordered"
rowKeyVar="rowKey">
<h:panelGroup id="t_group">
<h:panelGrid id="t_grid" columns="2" columnClasses="top,top" width="60%">
<rich:tree id="tree"
nodeType="#{node.type}"
var="node"
value="#{currentItem.rootNodes}"
toggleType="ajax">
<rich:treeNode id="n_country"
type="country">
#{node.name}
</rich:treeNode>
<rich:treeNode id="n_company"
type="company"
icon="/images/tree/disc.gif">
#{node.name}
</rich:treeNode>
<rich:treeNode id="n_song"
type="cd"
icon="/images/tree/song.gif">
#{node.artist} - #{node.name} - #{node.year}
</rich:treeNode>
</rich:tree>
</h:panelGrid>
</h:panelGroup>
</rich:list>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (RF-12409) rich:list does not work with Partial State Saving
by Michael Heinen (JIRA)
Michael Heinen created RF-12409:
-----------------------------------
Summary: rich:list does not work with Partial State Saving
Key: RF-12409
URL: https://issues.jboss.org/browse/RF-12409
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 4.2.2.Final
Environment: myfaces 2.1.8
Tomcat 6.0.35
Reporter: Michael Heinen
The rich:list does not work with PSS enabled (javax.faces.PARTIAL_STATE_SAVIN=true).
Inner lists (or some(!) other components) are evaluated although they are not rendered.
This sample works correctly if <ui:repeat> or tomahawk's datalist is used instead of the rich:lists.
{code:xml}
<rich:list var="currentItem"
value="#{viewItemListBean.viewItems}">
<h:panelGroup rendered="#{currentItem.type == 'TextBean'}">
<h:outputText value="#{currentItem.text}"/>
</h:panelGroup>
<h:panelGroup rendered="#{currentItem.type == 'CheckboxBean'}">
<rich:list var="checkbox"
value="#{currentItem.checkboxes}">
<h:outputText value="#{checkbox.label}"/>
</rich:list>
</h:panelGroup>
</rich:list>
{code}
Result:
javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
viewId=/index.xhtml
location=E:\workspace\jsf21test\zPSS\WebRoot\index.xhtml
phaseId=RENDER_RESPONSE(6)
Caused by:
javax.el.PropertyNotFoundException - Property 'checkboxes' not found on type com.TextBean
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
/index.xhtml at line 28 and column 51 value="#{currentItem.checkboxes}"
+- Stack Trace
org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:100)
at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)
at org.richfaces.component.UISequence.getValue(UISequence.java:175)
at org.richfaces.component.UISequence.createExtendedDataModel(UISequence.java:109)
at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:459)
at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:272)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1299)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at org.richfaces.component.UIDataAdaptor$DataVisitorForVisitTree.process(UIDataAdaptor.java:199)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:796)
at org.richfaces.component.UIDataAdaptor.visitDataChildren(UIDataAdaptor.java:1269)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1347)
at javax.faces.component.UIForm.visitTree(UIForm.java:354)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveStateOnMapVisitTree(DefaultFaceletsStateManagementStrategy.java:787)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:564)
at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:189)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:2043)
at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
at javax.el.BeanELResolver.property(BeanELResolver.java:300)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96)
... 41 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (RF-12362) fileupload Parameter "color" for convert from HTML to java can not be decoded
by s m (JIRA)
s m created RF-12362:
------------------------
Summary: fileupload Parameter "color" for convert from HTML to java can not be decoded
Key: RF-12362
URL: https://issues.jboss.org/browse/RF-12362
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input, core, skinning
Environment: RF 4.3
Reporter: s m
Hi,
Whith the component {{rich:fileUpload}}
In my file skin.properties, when I set the property
{{tableFooterBackgroundColor=transparent}}
I catch the excetpion
{code}
Caused by: java.lang.IllegalArgumentException: Parameter "color" for convert from HTML to java can not be decoded: [transparent], reason: For input string: "transparent"
at org.ajax4jsf.util.HtmlColor.decode(HtmlColor.java:78) [richfaces-core-impl-4.3.0-20120704.041156-53.jar:4.3.0-SNAPSHOT]
at org.richfaces.skin.AbstractSkin.decodeColor(AbstractSkin.java:44) [richfaces-core-impl-4.3.0-20120704.041156-53.jar:4.3.0-SNAPSHOT]
{code}
With a color like #123456, it works fine.
Maybe in org.ajax4jsf.util.HTMLColor you can add something like
{{colorNames.put("transparent", new Color(0xFF,0xFF,0xFF,0x00);}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (RF-12390) Create M2E plugin connector for maven-cdk-plugin
by Lukáš Fryč (JIRA)
Lukáš Fryč created RF-12390:
-------------------------------
Summary: Create M2E plugin connector for maven-cdk-plugin
Key: RF-12390
URL: https://issues.jboss.org/browse/RF-12390
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.3.0.Milestone1
Reporter: Lukáš Fryč
After project import, maven-cdk-plugin will be detected by Eclipse.
User would need to install Eclipse plugin for this M2E connector.
Connector will satisfy, that maven-cdk-plugin's mojo {{generate}} will be triggered and then it will refresh generated sources and resources.
----
It can also help include relevant sources (both input ones and generated ones) in the project setup (otherwise it can be achieved using build-helper plugin).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months