[ 
https://jira.jboss.org/jira/browse/RF-8259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Markhel resolved RF-8259.
--------------------------------

    Resolution: Rejected


Alexander, code snippet provided by you isn't working in JSF-managed bean, but 
according to 
http://markmail.org/message/y3xubdwuktfnc7le#query:+page:1+mid:qnz6ajomwsh4uyne+state:results
  that's right behaviour. If you want to call rich: functionsfrom JSF bean you 
must provide FaceletContext to method. I check that rich functions works well 
in xhtml pages, so I close the bug.
As for richfaces-demo editor page - I double check demo in portlet environment 
and don't found the problem. I haven't idea what code can throw this exception 
as well on editor page, maybe I miss something?

> fich: functions disappeared from UI library
> -------------------------------------------
>
>                 Key: RF-8259
>                 URL: https://jira.jboss.org/jira/browse/RF-8259
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-misc
>    Affects Versions: 3.3.3.BETA1
>         Environment: Jboss AS 4.2, also affects Jboss portal.
>            Reporter: Alexander Smirnov
>            Assignee: Andrey Markhel
>             Fix For: 3.3.3.CR1
>
>
> ValueExpression exp = context.getApplication().getExpressionFactory()
>                               .createValueExpression(context.getELContext(),
>                                               
> "#{rich:component('usableStates')}", String.class);
> javax.el.ELException: Function 'rich:component' not found
>       at org.jboss.el.lang.ExpressionBuilder.visit(ExpressionBuilder.java:187)
>       at org.jboss.el.parser.SimpleNode.accept(SimpleNode.java:129)
>       at 
> org.jboss.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:138)
>       at org.jboss.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:152)
>       at 
> org.jboss.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:206)
>       at 
> org.jboss.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
>       at 
> org.jboss.seam.el.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:98)
> The same exception has been thrown from RichFaces-demo editor page in 
> portletbridge.

-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to