This has nothing to do with Tapestry For loops - ognl doesn't deal
with anything tapestry specific when compiling statements ....

The interface / common object base isn't as bad as it sounds really...
It will correctly traverse up the class tree and cast the statement to
whatever base class/interface the method being invoked is ultimately
declared in.

For instance - in Kevins case (the Border component calling
page.something on lots of different pages) could have easily been
solved by having either all pages extend one base class or just
declaring a common page interface class on them.

Without having ~something~ to cast to though compilation is impossible.

Of course - if it's just not casting to the right class that's a
completely different problem and probably has an easy fix somewhere.

Much like this mailing list though,  I don't really fix ognl bugs
unless there is a jira issue created at
http://jira.opensymphony.com/browse/OGNL with the specific class types
/ ognl versions / etc involved and the other normal bug reporting
goodies.

I'm genuinely interested in fixing all of these problems either way -
but if people don't put enough effort in to logging the jira tickets
for them with enough information for me to cobble together an ognl
test case then there's nothing I can do but shrug my shoulders when
people mention having problems.....

On 8/15/07, Eric Schneider <[EMAIL PROTECTED]> wrote:
> Jesse,
>
> I'd like to start my post by thanking you managing the 4.1 version of
> tapestry and for all the recent improvements to ognl.
>
> I imagine that this For loop change was one of the major speed
> enhancements in the new ognl version(s).   Though, I'm concerned that
> this enhancement gives up too much in terms of flexibility.  A For
> loop is one of the most fundamental things in programming.  Try to
> imagine if a new version of Java was release and one of the
> requirements would be that you'd need to implement a common interface
> for each object you needed to iterate over.  I think most people would
> be scratching their head.
>
> Ultimately, the the decision on how to handle this will be up to you.
>   I'm looking at this from a 5,000ft view and don't have all the
> details.
>
> Thanks again for your work.
>
> Cheers,
> Eric
>
> <snipped>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to