Re: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Rickard Öberg
Patrick Lightbody wrote:

If Ognl is just totally unacceptable, then let's discuss two options:
1) Redevelop the WW EL with speed as well as type conversion both as a top
priority
2) Develop XWork to support pluggable ValueStack implementations


Just a point on 2. This will introduce muchos confusion, especially in a 
situation where you want to compose an application from two individually 
developed parts which may use different implementations. It's also a 
documentation problem (it's like this, unless you use this stack, 
because then it looks like this, which has this and this semantics).

Sometimes flexibility is good, sometimes it's a recipe for disaster. In 
this particular case I'd say it's the latter.

Either make OGNL work ok, or go with 1). I'd personally prefer 1).

/Rickard

--
Rickard Öberg
[EMAIL PROTECTED]
Senselogic

Got blog? I do. http://dreambean.com



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


Re: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread boxed
 If Ognl is just totally unacceptable, then let's discuss two options:

When we discussed this in #java it sounded to me like one could plug in a
custom syntax parser into OGNL, thus solving this issue nicely. Did I
misunderstand?

Anders Hovmöller
[EMAIL PROTECTED] http://boxed.killingar.net



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Jason Carreira
 -Original Message-
 From: boxed [mailto:[EMAIL PROTECTED]] 

  If Ognl is just totally unacceptable, then let's discuss 
 two options:
 
 When we discussed this in #java it sounded to me like one 
 could plug in a custom syntax parser into OGNL, thus solving 
 this issue nicely. Did I misunderstand?
 

If this is possible, this would be a great solution. If not, then maybe
revamping the EL is the way to go.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Patrick Lightbody
It is possible, but it involves basicacally writing at least _part_ of our
own EL using JavaCC. I'll ask the Ognl guys more about it today.

-Pat

- Original Message -
From: Jason Carreira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 23, 2003 6:19 AM
Subject: RE: [OS-webwork] Ognl: peek(), up(), and down()


  -Original Message-
  From: boxed [mailto:[EMAIL PROTECTED]]
 
   If Ognl is just totally unacceptable, then let's discuss
  two options:
 
  When we discussed this in #java it sounded to me like one
  could plug in a custom syntax parser into OGNL, thus solving
  this issue nicely. Did I misunderstand?
 

 If this is possible, this would be a great solution. If not, then maybe
 revamping the EL is the way to go.


 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld
http://www.vasoftware.com
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Jason Carreira


 -Original Message-
 From: Patrick Lightbody [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, January 23, 2003 11:03 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Ognl: peek(), up(), and down()
 
 
 It is possible, but it involves basicacally writing at least 
 _part_ of our own EL using JavaCC. I'll ask the Ognl guys 
 more about it today.
 

Don't we already have our own EL written using JavaCC? :-)


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Erik Beeson
 Converting .. to [1] is easy enough, but what about /? Our converter would
 need to be smart about foo/bar vs 10/5... or would we just not care about
 mathematic operations?

When did mathematic operations come into the picture? The current EL
doesn't support mathematic operations, does it?

If this is really all there is to it, the following does the conversion in
1.5ms

pattern.matcher(s).replaceAll([1]).replace('/', '.');

Where pattern is:
java.util.regex.Pattern pattern = Pattern.compile(\\.\\.);

Am I missing something?

--Erik



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Hani Suleiman
-1

This seems like an ugly hack, I think it's especially important at this stage of
dev to make things as hack-free as possible. Wouldn't it be possible to talk to
the ognl guys and get info from them on how to best support our syntax?

Quoting Erik Beeson [EMAIL PROTECTED]:

  Converting .. to [1] is easy enough, but what about /? Our converter
 would
  need to be smart about foo/bar vs 10/5... or would we just not care about
  mathematic operations?
 
 When did mathematic operations come into the picture? The current EL
 doesn't support mathematic operations, does it?
 
 If this is really all there is to it, the following does the conversion in
 1.5ms
 
 pattern.matcher(s).replaceAll([1]).replace('/', '.');
 
 Where pattern is:
 java.util.regex.Pattern pattern = Pattern.compile(\\.\\.);
 
 Am I missing something?
 
 --Erik
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 
 






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Ognl: peek(), up(), and down()

2003-01-23 Thread Patrick Lightbody
Working on that right now :)

- Original Message -
From: Hani Suleiman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Erik Beeson
[EMAIL PROTECTED]
Sent: Thursday, January 23, 2003 12:40 PM
Subject: Re: [OS-webwork] Ognl: peek(), up(), and down()


 -1

 This seems like an ugly hack, I think it's especially important at this
stage of
 dev to make things as hack-free as possible. Wouldn't it be possible to
talk to
 the ognl guys and get info from them on how to best support our syntax?

 Quoting Erik Beeson [EMAIL PROTECTED]:

   Converting .. to [1] is easy enough, but what about /? Our converter
  would
   need to be smart about foo/bar vs 10/5... or would we just not care
about
   mathematic operations?
 
  When did mathematic operations come into the picture? The current EL
  doesn't support mathematic operations, does it?
 
  If this is really all there is to it, the following does the conversion
in
  1.5ms
 
  pattern.matcher(s).replaceAll([1]).replace('/', '.');
 
  Where pattern is:
  java.util.regex.Pattern pattern = Pattern.compile(\\.\\.);
 
  Am I missing something?
 
  --Erik
 
 
 
  ---
  This SF.NET email is sponsored by:
  SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
  http://www.vasoftware.com
  ___
  Opensymphony-webwork mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 
 






 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork