[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-20 Thread [EMAIL PROTECTED]
FYI
Just had a look at the SeamELResolver and SpringELResolver and couldn't see any 
PropertyNotFound exceptions being thrown.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121593#4121593

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121593
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-19 Thread [EMAIL PROTECTED]
Fair enough.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121567#4121567

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-19 Thread [EMAIL PROTECTED]
anonymous wrote : I wasn't looking for info about how an elresolver works, 

You can't write a custom resolver without understanding the API.

anonymous wrote : Currently i just don't set the property to be resolved, and 
simply return null.
  | In your experience is it better to throw the exception? 

This is spec breaking, which you would know if you bothered to read the link I 
posted for you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121550#4121550

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121550
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-18 Thread [EMAIL PROTECTED]
Had a look.

I wasn't looking for info about how an elresolver works, 
I was more interested in why my Custom one gets invoked for beans which are 
managed by JSF/Seam.

I was hoping that my resolver would be the last one in the chain, but it 
doesn't seem to be.

Quick off-topic question about the PropertyNotFound exception:
Currently i just don't set the property to be resolved, and simply return null.
In your experience is it better to throw the exception?


Cheers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121376#4121376

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121376
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-18 Thread [EMAIL PROTECTED]
Thanks,
I'll have look at it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121368#4121368

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121368
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-17 Thread [EMAIL PROTECTED]
Read the Javadoc for ELResolvers:

http://java.sun.com/javaee/5/docs/api/javax/el/ELResolver.html#getValue(javax.el.ELContext,%20java.lang.Object,%20java.lang.Object)

Specifically, throw a PropertyNotFoundException to make it skip to the next 
resolver in the chain.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120979#4120979

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user