Re: [Tapestry-developer] Why JSP Sucks So Hard

[email protected] Fri, 20 Dec 2002 17:21:48 +0000
Newsgroups gmane.comp.java.tapestry.contrib
Message-ID <[email protected]>
Haven't had a chance to look it over.

I've joked that, eventually, it will be Tapestry: Java-LESS Web Components.

In parallel with your ideas, I've been thinking of adding support like:

<listener-binding name="listener" language="jython">

cycle.setPage("Foo");

</listener-binding>

Basically, leverage BSF so that you can write listeners in various scripting 
languages.

Tapestry could set certain well-defined global variable names:  page, engine, 
cycle, component, parameters.

The script could then do the whatever. 

I think we could shoehorn OGNL into this mold pretty easily.

--
[email protected]

http://tapestry.sf.net
> [email protected] wrote:
> 
> >That's pretty much what I've seen.  In fact, the HTML guys seemed to pick up 
> >Tapestry faster than the Java/JSP guys ... less to unlearn.  They were used to 
> >bringing the designs (which started as mockup in photoshop) forward to HTML and 
> >were used to the idea that "magic would then occur", and that the Tapestry 
> >magic (even back then, in the era of the <jwc> tag) was not so bad.
> >  
> >
> I just had an associate show WebOGNL to a local company who currently 
> does JSP/Struts work.  There were two designers and two developers 
> present.  The designers "got" the component model and the way components 
> are linked much faster than the developers.
> 
> Might be unlearning less or just that they are used to dealing with "it 
> just works that way" and developers want to know the mechanism.  I think 
> that the developers in this case were not used to the idea that you 
> weren't including a "page" in the result but linking to another 
> component at runtime.  Oh, well.
> 
> BTW what did you think of my previous message about OGNL lambda 
> expressions as actions?
> 
> - Drew
> 
> -- 
> +---------------------------------+
> < Drew Davidson | OGNL Technology >
> +---------------------------------+
> |  Email: [email protected]          /
> |    Web: http://www.ognl.org   /
> |    Vox: (520) 531-1966       <
> |    Fax: (520) 531-1965        \
> | Mobile: (520) 405-2967         \
> +---------------------------------+
> 
> 
> 


-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/