[JBoss JIRA] (RF-11469) autocomplete method does not resolve bean if ui:included and only one parameter provided
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11469?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-11469:
---------------------------------
Okay, fixed in master, available as 4.3.4-SNAPSHOT for now.
> autocomplete method does not resolve bean if ui:included and only one parameter provided
> ----------------------------------------------------------------------------------------
>
> Key: RF-11469
> URL: https://issues.jboss.org/browse/RF-11469
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.0.0.Final
> Reporter: u j
> Assignee: Lukáš Fryč
> Priority: Minor
> Fix For: 4.3.5
>
> Attachments: RF-11469.zip
>
> Original Estimate: 45 minutes
> Remaining Estimate: 45 minutes
>
> A bean parameter in the autocomplete method is not resolved if the rich:autocomplete is part of a ui:include.
> {code}
> <ui:include src="/searchlocation.xhtml">
> <ui:param name="bean" value="#{searchBean}" />
> </ui:include>
> {code}
> searchlocation.xhtml contains:
> {code}
> <rich:autocomplete id="cityName" mode="ajax" value="#{bean.cityName}" autocompleteMethod="#{bean.suggestCities}" />
> {code}
> The value binding works, but the binding in the autocompleteMethod gives:
> {code}
> 15:26:15,809 SEVERE [org.richfaces.log.Renderkit] (ajp-127.0.0.1-127.0.0.1-8009-1) Target Unreachable, identifier 'bean' resolved to null: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'bean' resolved to null
> at org.apache.el.parser.AstValue.getTarget(AstValue.java:75) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
> at org.apache.el.parser.AstValue.invoke(AstValue.java:183) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
> at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
> at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
> at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
> at org.richfaces.renderkit.AutocompleteRendererBase.getItems(AutocompleteRendererBase.java:105) [richfaces-components-ui-4.0.0-20110322.220419-243.jar:]
> at org.richfaces.renderkit.AutocompleteRendererBase.encodeItems(AutocompleteRendererBase.java:160) [richfaces-components-ui-4.0.0-20110322.220419-243.jar:]
> at org.richfaces.renderkit.AutocompleteRendererBase.encodeMetaComponent(AutocompleteRendererBase.java:271) [richfaces-components-ui-4.0.0-20110322.220419-243.jar:]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-11469) autocomplete method does not resolve bean if ui:included and only one parameter provided
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11469?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-11469:
----------------------------
Fix Version/s: 4.3.5
> autocomplete method does not resolve bean if ui:included and only one parameter provided
> ----------------------------------------------------------------------------------------
>
> Key: RF-11469
> URL: https://issues.jboss.org/browse/RF-11469
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.0.0.Final
> Reporter: u j
> Assignee: Lukáš Fryč
> Priority: Minor
> Fix For: 4.3.5
>
> Attachments: RF-11469.zip
>
> Original Estimate: 45 minutes
> Remaining Estimate: 45 minutes
>
> A bean parameter in the autocomplete method is not resolved if the rich:autocomplete is part of a ui:include.
> {code}
> <ui:include src="/searchlocation.xhtml">
> <ui:param name="bean" value="#{searchBean}" />
> </ui:include>
> {code}
> searchlocation.xhtml contains:
> {code}
> <rich:autocomplete id="cityName" mode="ajax" value="#{bean.cityName}" autocompleteMethod="#{bean.suggestCities}" />
> {code}
> The value binding works, but the binding in the autocompleteMethod gives:
> {code}
> 15:26:15,809 SEVERE [org.richfaces.log.Renderkit] (ajp-127.0.0.1-127.0.0.1-8009-1) Target Unreachable, identifier 'bean' resolved to null: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'bean' resolved to null
> at org.apache.el.parser.AstValue.getTarget(AstValue.java:75) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
> at org.apache.el.parser.AstValue.invoke(AstValue.java:183) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
> at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
> at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
> at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56) [weld-core-1.1.2.Final.jar:2011-07-26 15:02]
> at org.richfaces.renderkit.AutocompleteRendererBase.getItems(AutocompleteRendererBase.java:105) [richfaces-components-ui-4.0.0-20110322.220419-243.jar:]
> at org.richfaces.renderkit.AutocompleteRendererBase.encodeItems(AutocompleteRendererBase.java:160) [richfaces-components-ui-4.0.0-20110322.220419-243.jar:]
> at org.richfaces.renderkit.AutocompleteRendererBase.encodeMetaComponent(AutocompleteRendererBase.java:271) [richfaces-components-ui-4.0.0-20110322.220419-243.jar:]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13186) Showcase 4.5.x fails
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13186?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-13186:
----------------------------
Description:
[https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
[https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
Builds and deploys fine.
Examples that do not work:
* -several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"-
* validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
* trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
* menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
* inputs/rich:inplaceInput - ditto
* selects/rich:inplaceSelect - ditto
* output/rich:tooltip - ditto
When resource optimization some components (dataTables) are missing background image causing a badly generated CSS. {{background-image: url()}}
h5. resource optimization turned off
h6. Issue with Validator
- org.richfaces.validator.FacesObjectDescriptor.getMessage()
- collision between RF4.5 and RF5
the interface is the same in both versions but the Message class is in different packages in the two
h6. Issue with menus
- org.richfaces.renderkit.html.MenuItemRendererBase.getUtils()
- probably the same problem
was:
[https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
[https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
Builds and deploys fine.
Examples that do not work:
* several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
* validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
* trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
* menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
* inputs/rich:inplaceInput - ditto
* selects/rich:inplaceSelect - ditto
* output/rich:tooltip - ditto
When resource optimization some components (dataTables) are missing background image causing a badly generated CSS. {{background-image: url()}}
h5. resource optimization turned off
h6. Issue with Validator
- org.richfaces.validator.FacesObjectDescriptor.getMessage()
- collision between RF4.5 and RF5
the interface is the same in both versions but the Message class is in different packages in the two
h6. Issue with menus
- org.richfaces.renderkit.html.MenuItemRendererBase.getUtils()
- probably the same problem
> Showcase 4.5.x fails
> --------------------
>
> Key: RF-13186
> URL: https://issues.jboss.org/browse/RF-13186
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 5.0.0.Alpha2
>
>
> [https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
> [https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
> Builds and deploys fine.
> Examples that do not work:
> * -several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"-
> * validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
> * trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
> * menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
> * inputs/rich:inplaceInput - ditto
> * selects/rich:inplaceSelect - ditto
> * output/rich:tooltip - ditto
> When resource optimization some components (dataTables) are missing background image causing a badly generated CSS. {{background-image: url()}}
> h5. resource optimization turned off
> h6. Issue with Validator
> - org.richfaces.validator.FacesObjectDescriptor.getMessage()
> - collision between RF4.5 and RF5
> the interface is the same in both versions but the Message class is in different packages in the two
> h6. Issue with menus
> - org.richfaces.renderkit.html.MenuItemRendererBase.getUtils()
> - probably the same problem
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13186) Showcase 4.5.x fails
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13186?page=com.atlassian.jira.plugin.s... ]
Michal Petrov updated RF-13186:
-------------------------------
Description:
[https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
[https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
Builds and deploys fine.
Examples that do not work:
* several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
* validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
* trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
* menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
* inputs/rich:inplaceInput - ditto
* selects/rich:inplaceSelect - ditto
* output/rich:tooltip - ditto
When resource optimization some components (dataTables) are missing background image causing a badly generated CSS. {{background-image: url()}}
h5. resource optimization turned off
h6. Issue with Validator
- org.richfaces.validator.FacesObjectDescriptor.getMessage()
- collision between RF4.5 and RF5
the interface is the same in both versions but the Message class is in different packages in the two
h6. Issue with menus
- org.richfaces.renderkit.html.MenuItemRendererBase.getUtils()
- probably the same problem
was:
[https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
[https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
Builds and deploys fine.
Examples that do not work:
* several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
* validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
* trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
* menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
* inputs/rich:inplaceInput - ditto
* selects/rich:inplaceSelect - ditto
* output/rich:tooltip - ditto
When resource optimization is turned off the faulty components are missing background image causing a badly generated CSS. {{background-image: url()}} is not handled right by a browser.
> Showcase 4.5.x fails
> --------------------
>
> Key: RF-13186
> URL: https://issues.jboss.org/browse/RF-13186
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 5.0.0.Alpha2
>
>
> [https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
> [https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
> Builds and deploys fine.
> Examples that do not work:
> * several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
> * validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
> * trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
> * menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
> * inputs/rich:inplaceInput - ditto
> * selects/rich:inplaceSelect - ditto
> * output/rich:tooltip - ditto
> When resource optimization some components (dataTables) are missing background image causing a badly generated CSS. {{background-image: url()}}
> h5. resource optimization turned off
> h6. Issue with Validator
> - org.richfaces.validator.FacesObjectDescriptor.getMessage()
> - collision between RF4.5 and RF5
> the interface is the same in both versions but the Message class is in different packages in the two
> h6. Issue with menus
> - org.richfaces.renderkit.html.MenuItemRendererBase.getUtils()
> - probably the same problem
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13186) Showcase 4.5.x fails
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13186?page=com.atlassian.jira.plugin.s... ]
Michal Petrov updated RF-13186:
-------------------------------
Description:
[https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
[https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
Builds and deploys fine.
Examples that do not work:
* several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
* validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
* trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
* menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
* inputs/rich:inplaceInput - ditto
* selects/rich:inplaceSelect - ditto
* output/rich:tooltip - ditto
When resource optimization is turned off the faulty components are missing background image causing a badly generated CSS. {{background-image: url()}} is not handled right by a browser.
was:
[https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase
[https://github.com/michpetrov/components/tree/rf4-js] - RF4.5 with updated JS
Builds and deploys fine.
Examples that do not work:
* several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
* validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
* trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
* menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
* inputs/rich:inplaceInput - ditto
* selects/rich:inplaceSelect - ditto
* output/rich:tooltip - ditto
When resource optimization is turned off the faulty components are missing background image causing a badly generated CSS. {{background-image: url()}} is not handled right by a browser.
> Showcase 4.5.x fails
> --------------------
>
> Key: RF-13186
> URL: https://issues.jboss.org/browse/RF-13186
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 5.0.0.Alpha2
>
>
> [https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase 4.5
> [https://github.com/richfaces4/components/tree/4.5.x] - 4.5.x components
> Builds and deploys fine.
> Examples that do not work:
> * several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
> * validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
> * trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
> * menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
> * inputs/rich:inplaceInput - ditto
> * selects/rich:inplaceSelect - ditto
> * output/rich:tooltip - ditto
> When resource optimization is turned off the faulty components are missing background image causing a badly generated CSS. {{background-image: url()}} is not handled right by a browser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13114) PoC: port RichFaces 4.5 UI Components to work with RichFaces 5
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13114?page=com.atlassian.jira.plugin.s... ]
Michal Petrov commented on RF-13114:
------------------------------------
I've pushed the JS changes to 4.5.x and renamed some resources that were causing conflict. The build now passes even with tests.
There is still an issue with validator which affects showcase.
> PoC: port RichFaces 4.5 UI Components to work with RichFaces 5
> --------------------------------------------------------------
>
> Key: RF-13114
> URL: https://issues.jboss.org/browse/RF-13114
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Lukáš Fryč
> Assignee: Michal Petrov
> Fix For: 5.0.0.Alpha2
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> * open branches in own fork of
> ** richfaces5 (master)
> ** richfaces-components (4.5.x)
> ** richfaces-showcase (master)
> * modifications required
> ** change RF5 namespace -> http://richfaces.org/core
> ** change parents/bom in components 4.5 to depend on RF5 framework / build-bom
> *** remove all dependencies on 4.3.x (4.3.3-SNAPSHOT)
> ** change Java API of Components 4.5 to depend on RF5 Core API
> ** use the RF5 and RF4.5 UI Components in Showcase branch (4.5.0-SNAPSHOT)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13186) Showcase 4.5.x fails
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13186?page=com.atlassian.jira.plugin.s... ]
Michal Petrov reassigned RF-13186:
----------------------------------
Assignee: Michal Petrov
> Showcase 4.5.x fails
> --------------------
>
> Key: RF-13186
> URL: https://issues.jboss.org/browse/RF-13186
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 5.0.0.Alpha2
>
>
> [https://github.com/michpetrov/richfaces/tree/showcase-4.5.x/examples/show...] - showcase
> [https://github.com/michpetrov/components/tree/rf4-js] - RF4.5 with updated JS
> Builds and deploys fine.
> Examples that do not work:
> * several examples (e.g. actionListener) produce "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
> * validation - fails because rf.rf4.ui.Message is not defined, the resource is not being included due to resource optimization
> * trees/rich:tree - missing …/javax.faces.resource/node_icon.gif.jsf?ln=org.richfaces
> * menus/rich:contextMenu and rich:dropDownMenu - not working, probably for the same reason as validators (missing proper javascript resource)
> * inputs/rich:inplaceInput - ditto
> * selects/rich:inplaceSelect - ditto
> * output/rich:tooltip - ditto
> When resource optimization is turned off the faulty components are missing background image causing a badly generated CSS. {{background-image: url()}} is not handled right by a browser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months