Hi all,
I got a little feature request, which would make life a bit easier. I use
<framework:entity-query /> in components.xml for my drop down lists
(<h:selectOneMenu />). What lacks is a restrict attribute or child element.
Sure there's always the possibility to write a real java class. But it's often
just overkill for simple usecases like "select e from Entity e"
Example:
| <framework:entity-query
| name="selectableEntities"
| ejbql="select e from Entity e"
| restrict="#{s:hasRole('anyRole')}" />
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107720#4107720
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107720
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user