[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-672) Allow Query restrictions without value bindings
Rob H. (JIRA)
jira-events at lists.jboss.org
Mon Jul 2 08:23:57 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-672?page=comments#action_12367454 ]
Rob H. commented on JBSEAM-672:
-------------------------------
I used entityquery too, without JSF Value binding.
i override getEjbl() and create restrictions for non JSF value binding there..
Would be nice if there is some other way, but i couldn't find.. any
> Allow Query restrictions without value bindings
> -----------------------------------------------
>
> Key: JBSEAM-672
> URL: http://jira.jboss.com/jira/browse/JBSEAM-672
> Project: JBoss Seam
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.1.1.GA
> Reporter: Christian Bauer
>
> In framework/Query.java line 164:
> if (valueBinding==null)
> {
> throw new IllegalArgumentException("no value binding in restriction: " + restriction);
> }
> I want to have restrictions without value bindings, e.g. in my extended EntityQuery:
> public List<String> getRestrictions() {
> List<String> restrictions = new ArrayList<String>();
> restrictions.add("parentNode is null");
> return restrictions;
> }
--
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
More information about the seam-issues
mailing list