The Artima Developer Community
Sponsored Link

Java Buzz Forum
JSP stealing peoples syntax? :)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
JSP stealing peoples syntax? :) Posted: Dec 8, 2004 12:23 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: JSP stealing peoples syntax? :)
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
Poor Pat asked Mark Roth of Sun to not jump in a take peoples syntax. The problem is that once JSP (via JSTL) says "${foo} will resolve to X". Other frameworks don't get a look in. Pat was worried that #{..} would be eaten up yet and OGNL uses that for maps and such! Matt Raible was on the chat session with Mark Roth and asked these questions: I asked the following question as part of the chat: Is there any chance that web frameworks (like WebWork) could override the default settings for the EL? So ${myForm} can look in areas other than page/request/session/application scope - i.e. WebWorks's ValueStack? It looks like this *is* going to be a part of JSP 2.1 - from Mark Roth: JSP 2.1 is not only concerned about supporting Faces. We also want to support other frameworks. the new unified EL 2.1 API supports the concept of a pluggable VariableResolver (similar to the one that Faces has) which allows you to plug in your own logic for how variables like ${myForm} are resolved. So yes, this will be supported. Imagine that? Pluggable Resolvers? Now we can live nicely together. Note to Self: Write a nasty revolver which does weird things with ${} and get it somewhere to confuse people on projects: Why does ${foo} print out SO YOU WANTED SOME FOO DID YAH! instead of the value?

Read: JSP stealing peoples syntax? :)

Topic: Wiki: A disaster waiting to happen? Previous Topic   Next Topic Topic: John Gruber: Ronco Spray-On Usability

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use