RE: [OS-webwork] docs are important

2004-02-27 Thread Drew McAuliffe
I kind of agree with this. I think a wiki is fine for collaborative documentation but now that everything is in final release, it's probably time for a new form of docs. An example of how poor the docs are on the wiki: there are 2 or 3 separate links for the tag references and only one of them

RE: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Drew McAuliffe
I think that's dependent on the servlet container. I know that Orion/oc4j is much faster than Tomcat with JSPs. If I were forced to use Tomcat, then velocity would be more compelling. Personally, I find velocity easier to use because it just seems more focused to the task at hand with MVC view

RE: [OS-webwork] data from different actions

2004-02-06 Thread Drew McAuliffe
I have something similar to what Jason suggested with Sitemesh working in a few apps. There's a search box in a sitemesh decorator on the left side of the screen, with its own little form calling an action. The action forwards to a result page, that is still decorated by the same sitemesh

RE: AW: AW: [OS-webwork] Velocity Template caching

2004-02-02 Thread Drew McAuliffe
Again, I've had success without putting any properties in WEB-INF. I put everything in the classpath (under WEB-INF/classes) and everything works for me. The key was referencing my velocity.properties file from my webwork.properties file. This is on Oracle oc4j and orion 2.0, so if you're

RE: [OS-webwork] Velocity Template caching

2004-02-01 Thread Drew McAuliffe
I definitely know that it works, b/c the improvement is pretty noticeable. Here's what I have: -webworks.properties in classpath -velocity.properties in classpath -webworks.properties includes the following line: webwork.velocity.configfile=velocity.properties That last bit might be the key.

RE: [OS-webwork] Velocity Template caching

2004-02-01 Thread Drew McAuliffe
or recommended velocity.properties file (and where it needs to be, either classpath or WEB-INF dont know) on the wiki and whatever else needs to be done to enable caching of the templates Drew McAuliffe wrote: I definitely know that it works, b/c the improvement is pretty noticeable. Here's what I have

RE: AW: [OS-webwork] Xwork/WebWork2 under extreme load

2004-01-31 Thread Drew McAuliffe
My velocity.properties works in the classpath. This is with oracle oc4j (similar to orion). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dag Liodden Sent: Friday, January 30, 2004 6:00 PM To: [EMAIL PROTECTED] Subject: Re: AW: [OS-webwork]

RE: [OS-webwork] Velocity Template caching

2004-01-31 Thread Drew McAuliffe
What type of value is the check interval specified in? Seconds? Milliseconds? Also, does this require the latest ww2 from CVS or is this just something that can be turned on in the latest beta release? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [OS-webwork] Action messages between redirect

2004-01-31 Thread Drew McAuliffe
t) then it will just re-render the same page again without executing the action. This includes if you chain to another Action. -Original Message-From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 5:50 PMTo: [EMAIL PROTECTED]Subject: [OS-webwork] Act

RE: [OS-webwork] Velocity Template caching

2004-01-31 Thread Drew McAuliffe
In answer to my previous question, it looks like the modification check interval is specified in seconds. That's what I understood from looking over the velocity docs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Martins Sent: Saturday,

[OS-webwork] Action messages between redirect

2004-01-30 Thread Drew McAuliffe
Is there any standard way for dealing with messages that are passed between an action and a redirect result? As I understand it, once a redirect is done, a new request is created and any messages you may have stored in an action (via actionErrors or something hanging off of the action

RE: [OS-webwork] xwork 1.0 release

2004-01-22 Thread Drew McAuliffe
Title: Re: [OS-webwork] Webwork 1.4.1 you mean imminent? I thought it was already released. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Skip WalkerSent: Thursday, January 22, 2004 10:12 AMTo: [EMAIL PROTECTED]Subject: [OS-webwork] xwork 1.0 release Is this still

RE: [OS-webwork] How to redirect to a page with parameters?

2004-01-17 Thread Drew McAuliffe
k WoonSent: Friday, January 16, 2004 12:53 PMTo: [EMAIL PROTECTED]Subject: Re: [OS-webwork] How to redirect to a page with parameters? Drew McAuliffe wrote: I do this sort of thing a lot. I'm not sure if the approach you're taking in your xwork file is the right way but it could be. I

RE: [OS-webwork] How to redirect to a page with parameters?

2004-01-17 Thread Drew McAuliffe
PROTECTED] Subject: Re: [OS-webwork] How to redirect to a page with parameters? this is the first time ive ever seen this parse param being used (and i'd been using redirect result without it just fine so far), whats the difference between parse being either true or false? Drew McAuliffe wrote: I

RE: [OS-webwork] How to redirect to a page with parameters?

2004-01-16 Thread Drew McAuliffe
I do this sort of thing a lot. I'm not sure if the approach you're taking in your xwork file is the right way but it could be. I do know that I've had success with the following: action name="foo" class="test.FooAction" !-- results -- result name="input" type="redirect" param

RE: [OS-webwork] How to redirect to a page with parameters?

2004-01-16 Thread Drew McAuliffe
Again, it sounds like you still have a parameter configured as a direct child of the "result" element rather than as a child of the "action" element. Xwork is attempting to set "objClass" on the result, and the result doesn't have any such property. Your action does. From: [EMAIL

RE: [OS-webwork] WebWorks without velocity how to

2003-12-14 Thread Drew McAuliffe
12, 2003, at 8:47 AM, Drew McAuliffe wrote: Unfortunately, that's like saying if I don't like commons-logging, I shouldn't be forced to use it. Or if I don't like ognl, I shouldn't be forced to use it. You can't make every dependency in the library pluggable. The only reason I could see

RE: [OS-webwork] WebWorks without velocity how to

2003-12-12 Thread Drew McAuliffe
Unfortunately, that's like saying if I don't like commons-logging, I shouldn't be forced to use it. Or if I don't like ognl, I shouldn't be forced to use it. You can't make every dependency in the library pluggable. The only reason I could see velocity becoming a barrier to your work with webwork

RE: [OS-webwork] WebWorks without velocity how to

2003-12-12 Thread Drew McAuliffe
are: 'if I don't want to use ognl-expressions, I should not need ognl' 'if I don't want to use jasper reports, I should not need jasper reports' 'if I don't want to use oracle, I should not need to install it' On Dec 12, 2003, at 8:47 AM, Drew McAuliffe wrote: Unfortunately, that's like saying if I

RE: [OS-webwork] WebWorks without velocity how to

2003-12-12 Thread Drew McAuliffe
complain have to be accepted. Maybe it's right position. - Original Message - From: Drew McAuliffe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 12, 2003 3:47 PM Subject: RE: [OS-webwork] WebWorks without velocity how to Unfortunately, that's like saying if I don't like

RE: [OS-webwork] pointing action calling pages

2003-12-11 Thread Drew McAuliffe
Do you know examples of when the "referer" header doesn't exist? Is it a servlet engine thing? I'm extremely curious because I depend on the "RefererResult" quite a bit. I'm very interested in knowing ahead of time in what situations that header value won't exist. FYI, on Tomcat and Oracle

RE: [OS-webwork] pointing action calling pages

2003-12-10 Thread Drew McAuliffe
I've had success with that using a Referrer result, adopted from ww1.x. It looks something like this. The key is to get the previous location from the referer attribute of the request (REFERER_KEY = referer), which contains the previous result. My version does a little extra, making sure that any

RE: [OS-webwork] velocity, variable in the tag parameter

2003-11-25 Thread Drew McAuliffe
I think if you're putting it in single quotes, it is evaluated literally, not against the stack. What about #tag( Form name='myform' action=$tag.params.actionName method='GET' ) As I understand it, parameters supplied within the tag directive body are always evaluated against the stack (which is

RE: [OS-webwork] Unable to put a object to stack in a velocity template

2003-11-24 Thread Drew McAuliffe
If you call $stack.push($value), then whatever is set to $value will be at the top of the stack. WOuld that work? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Pfeifer Sent: Monday, November 24, 2003 7:52 AM To: '[EMAIL PROTECTED]' Subject:

RE: [OS-webwork] OGNL madness - evaluated tag attributes

2003-11-23 Thread Drew McAuliffe
I suppose retarded is in the eye of the beholder...:) I don't know about it from a JSTL point of view, but velocity uses this syntax, as does the evaluation that goes on in the xwork config file, as does Ant, etc. I find it to be very clear. In brackets led by a $, this is a variable that should

RE: [OS-webwork] OGNL madness - evaluated tag attributes

2003-11-23 Thread Drew McAuliffe
I agree, and I think that it should be the ${} syntax. The reason I like the optional syntax is solely for backwards compatibility. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rickard Öberg Sent: Sunday, November 23, 2003 11:34 AM To: [EMAIL

RE: [OS-webwork] OGNL madness - evaluated tag attributes

2003-11-23 Thread Drew McAuliffe
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of boxed Sent: Sunday, November 23, 2003 2:02 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] OGNL madness - evaluated tag attributes Drew McAuliffe wrote: I agree, and I think that it should be the ${} syntax

RE: [OS-webwork] how do i change the error message for badly inputted fields?

2003-11-22 Thread Drew McAuliffe
This raises an issue I've had with the ognl conversion. Is there a way to make it so that conversion errors don't throw an ugly servlet error, but rather add an action error to the action? Maybe through an interceptor? I'm still having problems with unsupplied dates b/c I haven't heard of the OGNL

RE: [OS-webwork] Spring WW2 -- Status Update

2003-11-21 Thread Drew McAuliffe
Title: RE: [OS-webwork] Spring & WW2 -- Status Update Spring is primarily an IOC framework that happens to have its own web framework. Webwork is primarily a web framework that happens to have its own IOC framework. The IOC in webwork is a bit simpler than the one in Spring, though it works

RE: [OS-webwork] OGNL madness - evaluated tag attributes

2003-11-21 Thread Drew McAuliffe
I kind of agree. I think triple-quoting simple parameters like "name" is kind of silly. In fact, I've never really liked the triple-quoting much at all (it seems unwieldy to me), though I understand the need for it. To me, it might be easier to just ditch the whole triple-quote thing and do

RE: [OS-webwork] Anybody checkout with Eclipse?

2003-11-19 Thread Drew McAuliffe
I'd also like to see the IDE-specific files removed. Mainly because the eclipse ones don't work for me, and I have to recreate project settings anyway. Also, there's the question of different IDE versions (at least in Eclipse, though I'm not sure how variant the project files are b/w 2.x and 3).

RE: [OS-webwork] Param directive

2003-11-18 Thread Drew McAuliffe
for everyone? Got an suggestions for the names of the directives? -Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew McAuliffe Sent: Monday, November 17, 2003 3:15 PM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Param directive As I

RE: [OS-webwork] Param directive

2003-11-18 Thread Drew McAuliffe
. Richard HALLIER Chef de projet [EMAIL PROTECTED] 01.40.12.41.52 www.uniclick.org UNICLICK -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Drew McAuliffe Envoye : mardi 18 novembre 2003 00:15 A : [EMAIL PROTECTED] Objet : RE: [OS-webwork] Param directive As I

RE: [OS-webwork] Param directive

2003-11-18 Thread Drew McAuliffe
for instance). I hope I convince you to keep as a standard the data access via the stack. Richard HALLIER Chef de projet [EMAIL PROTECTED] 01.40.12.41.52 www.uniclick.org UNICLICK -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Drew McAuliffe

RE: [OS-webwork] Param directive

2003-11-18 Thread Drew McAuliffe
The pushes and pops were necessary before recent changes made it possible to pass in objects directly to the velocity directive. Also, there is now talk about having two separate tags, one that does a stack.findValue automatically and one that doesn't. Your second example shows that parameters

RE: [OS-webwork] Param directive

2003-11-17 Thread Drew McAuliffe
I had noticed the behavior before, which was automatically calling stack.findValue(), and expressed my opinion that this was problematic when using velocity, especially when trying to use the component tag. The biggest problem that the former behavior had, that the latest update fixes, is that I

RE: [OS-webwork] Param directive

2003-11-17 Thread Drew McAuliffe
As I said in another reply, the biggest problem is that you can't use an object variable in velocity, since it always gets converted to a string first. If I have a collection of model objects, and want to call a component tag with them in an iteration through the collection, I can't, because a

RE: [OS-webwork] Re: use getText to resolve errors in controlheader.vm

2003-11-17 Thread Drew McAuliffe
Using earlier advice from Jason, I've been able to set this in a servletcontextlistener, as follows: Java class: public class WebworkGlobalMessagesListener implements ServletContextListener { private static Logger log = Logger.getLogger(WebworkGlobalMessagesListener.class);

RE: [OS-webwork] Further weirdness with the valuestack and modeldriven

2003-11-13 Thread Drew McAuliffe
(the ones defined in param elements in your xwork.xml inside the action element) are set before getModel() and the request parameters are set afterwards. Jason -Original Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 5:14 PM To: [EMAIL

RE: [OS-webwork] More about velocity directives

2003-11-13 Thread Drew McAuliffe
] On Behalf Of Drew McAuliffe Sent: Tuesday, November 11, 2003 10:25 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] More about velocity directives I couldn't find my previous email on the SF list yet to keep this reply there, but I believe I understand now why the velocity directives act the way they do

RE: [OS-webwork] EL Performance Between 1.3 and 2.0

2003-11-13 Thread Drew McAuliffe
That's consistent with numbers I've found in migrating one app from 1.3 to 2.0. I've always held out hope that this was just something that optimization could take care of. In the meantime, my performance isn't terrible, but it doesn't fly like it did in 1.3, either. Here's hoping the optimization

RE: [OS-webwork] Problems with code after actionInvocation.invoke()

2003-11-13 Thread Drew McAuliffe
This would explain why I wasn't able to reset the object at the top of the stack in an after call and see the results. +1 from me for this functionality. Though perhaps the AroundInterceptor should be modified or extended so that there's something as simple to use as it is now, with specific

RE: [OS-webwork] Problems with code after actionInvocation.invoke()

2003-11-13 Thread Drew McAuliffe
Scratch my last comment; your example is exactly what I had in mind as a new superclass to use for this kind of functionality. I think such a superclass would be a great addition to the framework, though it would have to be documented very well so that the difference between before, beforeResult,

[OS-webwork] ModelDriven question

2003-11-12 Thread Drew McAuliffe
I'm using the modeldriveninterceptor to populate the model objects in my actions. For save and add operations, this works fine. For loading operations, I'm having some problems. My load code looks something like this: this.model = saveCustomer(customer, session); In this case, the model instance

RE: [OS-webwork] More about velocity directives

2003-11-12 Thread Drew McAuliffe
have to say I agree that this makes things much neater - good idea! It would break existing Velocity uses though. Are you using the latest WW2 CVS with Velocity? (We're having problems upgrading to it) Cheers, Mike On 12/11/03 5:24 PM, Drew McAuliffe ([EMAIL PROTECTED]) penned the words: I

[OS-webwork] Further weirdness with the valuestack and modeldriven

2003-11-12 Thread Drew McAuliffe
In a recent message, I described a problem I had with the model object of a ModelDriven action. The model object is pushed onto the top of the stack by the ModelDrivenInterceptor but after updates to the model in the action, the value at the top of the stack isn't the same as the updated model.

RE: [OS-webwork] Further weirdness with the valuestack and modeldriven

2003-11-12 Thread Drew McAuliffe
and modeldriven Please post your Action code... I'm suspecting it's 4) -Original Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Further weirdness with the valuestack and modeldriven

[OS-webwork] Problem with chaining interceptor and action errors

2003-11-11 Thread Drew McAuliffe
I've been having a problem with using the addActionError method of ActionSupport in my actions. For some reason that I couldn't figure out, every time I tried to call this method, I was receiving an UnsupportedOperationException. The action errors always seemed to be stored as an unmodifiable

[OS-webwork] Confusion with velocity, components, and the value stack

2003-11-11 Thread Drew McAuliffe
I am using velocity for my output and have found the component tags to be useful. I have found, however, that I'm not quite sure about how the velocity context and the value stack interact. Specifically, how can I get a component directive to work cleanly with a variable that exists in the

[OS-webwork] More about velocity directives

2003-11-11 Thread Drew McAuliffe
I couldn't find my previous email on the SF list yet to keep this reply there, but I believe I understand now why the velocity directives act the way they do. In my post, I indicated that it would be easier to pass objects from the velocity context into bodytag params if you could do so without

[OS-webwork] Problems with ui tags in velocity

2003-10-30 Thread Drew McAuliffe
I'm having some trouble getting the ui tags to work with velocity. I have a reference to the tag location in webwork.properties, but I still get the following exception: 2003-10-29 23:31:53,251 [ERROR] ui.AbstractUITag - Could not generate UI template java.lang.NullPointerException at

RE: [OS-webwork] webwork2 cvs access

2003-10-27 Thread Drew McAuliffe
I had to register as an observer to get access, but it's a relatively painless process. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Carreira Sent: Monday, October 27, 2003 1:42 PM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] webwork2 cvs

RE: [OS-webwork] Request For Help with Beta 2

2003-10-25 Thread Drew McAuliffe
Same, let me know if I can help. I'm not a committer or anything, but I'm interested in helping speed the process up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cuong Tran Sent: Friday, October 24, 2003 5:07 PM To: [EMAIL PROTECTED] Subject: Re:

RE: [OS-webwork] Converters not used on property get?

2003-10-22 Thread Drew McAuliffe
Ignore my last comment; this looks like it should take care of it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Carreira Sent: Saturday, October 18, 2003 5:17 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Converters not used on property

[OS-webwork] CVS in Eclipse

2003-10-21 Thread Drew McAuliffe
I realize that this may be more of an issue for the java.net people, but has anyone had any success in getting the new CVS repositories to work with Eclipse's CVS integration? I haven't but the last I tried was a couple of weeks ago. Also, maybe the M4 build of Eclipse 3.0 works?

RE: [OS-webwork] Interceptors Question

2003-10-21 Thread Drew McAuliffe
I've used an interceptor to perform similar functionality without any problems, except I don't return LOGIN, I return ERROR. This is for authorization rather than authentication, since authorization involves checking rights; authentication is just checking that you are who you say you are. If you

RE: [OS-webwork] Converters not used on property get?

2003-10-21 Thread Drew McAuliffe
It's been a while, but I think my JDBC driver was returning an instance of Timestamp, not java.sql.Date. Not sure if that means your suggestion wouldn't work. The driver was Oracle's thin driver. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frederick

RE: [OS-webwork] Newbie: internationalization for Russian

2003-10-15 Thread Drew McAuliffe
Think...in Russian! [vague movie reference] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Pan Sent: Wednesday, October 15, 2003 11:58 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] Newbie: internationalization for Russian Hi, I'm trying to

RE: [OS-webwork] Newbie: internationalization for Russian

2003-10-15 Thread Drew McAuliffe
times growing up. :) -Tim. Quoting Drew McAuliffe [EMAIL PROTECTED]: Think...in Russian! [vague movie reference] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Pan Sent: Wednesday, October 15, 2003 11:58 AM To: [EMAIL PROTECTED

RE: [OS-webwork] Adding Velocity Tools support

2003-10-14 Thread Drew McAuliffe
This goes back to a JIRA issue I filed about the VelocityManager and the velocity servlet. Before, in ww1, you could subclass the velocity servlet and add things you wanted to the velocity context. Now, you can't, because of the way the VelocityManager is set up. It would be (still!) great if it

RE: [OS-webwork] single i18n catalog for multiple actions?

2003-10-09 Thread Drew McAuliffe
PROTECTED] On Behalf Of Jason CarreiraSent: Tuesday, October 07, 2003 6:06 PMTo: [EMAIL PROTECTED]Subject: RE: [OS-webwork] single i18n catalog for multiple actions? I would probably do it in a servlet init or a ServletContextListener -Original Message-From: Drew McAuliffe

RE: [OS-webwork] Compatibility for Tag Attributes

2003-10-09 Thread Drew McAuliffe
Is there support for providing a resource key instead of a text label, so that the label comes from a getText() call? If I'm understanding your proposed change correctly, you could just say ww:textfield label="getText(name.middle)" name="name.middle"/ Or does that work? Will "name.middle"

RE: [OS-webwork] CVS problems

2003-10-07 Thread Drew McAuliffe
] Subject: Re: [OS-webwork] CVS problems Alright alright, don't let Hani bait you. I pretty much agree with you, I suggest you complain to java.net. While you're at it, can you ask them WTF happened to our clickstream and sitemesh projects? :) -Pat - Original Message - From: Drew McAuliffe

RE: [OS-webwork] UPDATED: hibernate/webwork2 best practices

2003-10-07 Thread Drew McAuliffe
What happens if you're using another interceptor in a chain, and it throws an error that halts processing? Will your hibernate interceptor be able to close off any resources it opened? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anoop Ranganath Sent:

RE: Re[2]: [OS-webwork] Avalon Components w/ WebWork2

2003-10-07 Thread Drew McAuliffe
I'm against Pico support, only because I don't like the idea of forcing my components to have constructors. I'd rather implement an interface than kind of implement an implicit interface by using strict constructor rules. If support is added back in for Pico, I'd rather it be optional, like the

RE: [OS-webwork] single i18n catalog for multiple actions?

2003-10-07 Thread Drew McAuliffe
Title: Message Where would one add a call to "addDefaultResourceBundle"? In the servlet init? Or is there a more "webwork-friendly" place to do it, like in some sort of filter init or an application scoped component? -Original Message-From: [EMAIL PROTECTED]

[OS-webwork] CVS problems

2003-10-06 Thread Drew McAuliffe
I'm having problems getting the latest from the new CVS repository. Neither the anoncvs or the guest/guest logins work. Does anyone have the valid guest account name, and can the java.net site be updated with it? Thanks, Drew --- This sf.net

[OS-webwork] Converters not used on property get?

2003-10-06 Thread Drew McAuliffe
I'm having trouble with OGNL outputting date values from a database read. Date fields in my object get populated with Timestamp objects (a sql specific subclass of Date). If I try to output field dateLogged on object myObject using the following call, $!{ognl.findValue(dateLogged, $myObject)} I

RE: [OS-webwork] CVS problems

2003-10-06 Thread Drew McAuliffe
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hani Suleiman Sent: Monday, October 06, 2003 5:21 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] CVS problems Just apply for an observer role in the webwork project. On Monday, October 6, 2003, at 08:20 PM, Drew McAuliffe wrote: I'm

[OS-webwork] Question about model-driven actions

2003-10-06 Thread Drew McAuliffe
If I have a model driven action (the action uses the md interceptor and implements the interface), are my other action properties still available for setting using the parameters interceptor? For example, I have an action like this: public class MyAction extends MyBaseAction implements

RE: [OS-webwork] Converters not used on property get?

2003-10-06 Thread Drew McAuliffe
Of Drew McAuliffe Sent: Monday, October 06, 2003 5:41 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Converters not used on property get? I'm having trouble with OGNL outputting date values from a database read. Date fields in my object get populated with Timestamp objects (a sql specific subclass

RE: [OS-webwork] Converters not used on property get?

2003-10-06 Thread Drew McAuliffe
converters. We could add this to the XworkBasicConverter and have it treat it the same as a date? Jason -Original Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 8:41 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Converters not used on property get

RE: RES: RES: [OS-webwork] Component repository

2003-10-02 Thread Drew McAuliffe
] *Assunto:* RE: [OS-webwork] Component repository If people add them to Jira issues, we'll put them in CVS to go into the distribution... -Original Message- *From:* Drew McAuliffe [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, September 30, 2003 2:01 AM

RE: [OS-webwork] Localized text messages - with parameters?

2003-10-02 Thread Drew McAuliffe
+1 on this. I think there's something like this working for messages coming from the validation framework, but I'd definitely like to see it work with normal error messages. Should be pretty simple, using java.text stuff (though I don't know how it impacts performance). -Original

RE: RES: RES: [OS-webwork] Component repository

2003-10-02 Thread Drew McAuliffe
editor components, and rework them to be WW2 components. Now, I just gotta find me some time to implement that :) []'s -cv -Mensagem original- De: Drew McAuliffe [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 2 de outubro de 2003 13:58 Para: [EMAIL PROTECTED

RE: [OS-webwork] Component repository

2003-09-27 Thread Drew McAuliffe
Title: Message If someone has a datepicker component available, I would love to get access to it right away. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason CarreiraSent: Friday, September 26, 2003 11:46 AMTo: [EMAIL

RE: [OS-webwork] Hyperlink best practices - use of actions

2003-09-25 Thread Drew McAuliffe
Being able to do this was one of the big wins for me moving to ww2. In ww1 I had to use some awful hacks. +1 on agreeing that this is in there and it works. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Douglass Sent: Wednesday, September 24,

RE: [OS-webwork] WebWork2 best practices for creating Action Classes

2003-09-25 Thread Drew McAuliffe
Correct me if I'm wrong, but isn't there only one real way to implement an action, and that's to implement Action? ActionSupport is an implementation of Action, so by extending it, you by default implement Action. So, only by implementing the interface directly or by extending an existing

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Drew McAuliffe
Last I checked (about a month ago), it wasn't there. There are no macros in ww2 like there were in ww1. I think everyone keeps assuming they are, but they're not. Also, the same objects aren't on the velocity stack (like the webwork utility that does a lot of other useful stuff like

RE: [OS-webwork] Velocity support for non-ui tags?

2003-09-02 Thread Drew McAuliffe
this :-) http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-251 Regards Jonas Drew McAuliffe wrote: It's been a while since I tried playing with the ww2 tags in velocity but I was curious. Last I checked, it looked like the only tags that had equivalents in velocity were the ui

[OS-webwork] Velocity support for non-ui tags?

2003-08-30 Thread Drew McAuliffe
It's been a while since I tried playing with the ww2 tags in velocity but I was curious. Last I checked, it looked like the only tags that had equivalents in velocity were the ui tags. Do the other tags have velocity equivalents, or are there plans for velocity macro replacements for them (like in

RE: [OS-webwork] Persisting error messages across a redirect?

2003-08-28 Thread Drew McAuliffe
] Persisting error messages across a redirect? See below... Let me know if this helps. -Original Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 6:44 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Persisting error messages across a redirect

RE: [OS-webwork] Offtopic: need advice

2003-08-27 Thread Drew McAuliffe
I've got a BA in German languages and literature, so there you have it. I think an MA might be more useful in think-tank type positions or at a college but in the business world I've rarely seen someone get hired over someone else because of more CS education. Out in the real world, it's

[OS-webwork] Persisting error messages across a redirect?

2003-08-27 Thread Drew McAuliffe
Is there any kind of functionality in webwork or xwork that will allow error messages to persist across a redirect result? Or is there some other set of functions I can use to achieve what I need? Here's what I'm looking for: I have a user admin page that allows user to change their passwords.

RE: [OS-webwork] Internacionalization logic

2003-08-22 Thread Drew McAuliffe
That seems to be a bit awkward, especially since there's no multiple inheritence in Java. I don't mind using base classes to aggregate functionality, but just to have a pointer for xwork to find? That seems a bit much. Also, it would be nice if there were a way to specify the resource bundle so

RE: [OS-webwork] Re: Performance diff bw ww1 and ww2?

2003-08-22 Thread Drew McAuliffe
Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 4:41 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Re: Performance diff bw ww1 and ww2? I've created two sample applications that show the performance difference. The problem is that I have two zip files

RE: [OS-webwork] Simplicity of WW2

2003-08-21 Thread Drew McAuliffe
To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Simplicity of WW2 Hey, just out of interest,what are you using Xwork for standalone? -Original Message- From: Drew McAuliffe [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 1:41 PM To: [EMAIL PROTECTED] Subject: RE: [OS

RE: [OS-webwork] Simplicity of WW2

2003-08-20 Thread Drew McAuliffe
Agreed. I like things being simple but I don't like making things confusing and awkward in the name of simplicity. If some sort of default action thing does get put in, though, I would recommend that it be specific to webwork. Xwork doesn't need it; it's really only appropriate for simplifying

RE: [OS-webwork] Simplicity of WW2

2003-08-17 Thread Drew McAuliffe
I would agree with a previous poster that forcing the use of fully-qualified names is actually less error prone. It may be a longer string but that doesn't mean it's harder to use (ms worth of typing saved). The big advantage is that refactoring tools will be able to find the references correctly,

RE: [OS-webwork] Simplicity of WW2 - Practical ideas

2003-08-17 Thread Drew McAuliffe
I would argue against anything that would increase the possibility of subtle errors. If a solution like the one you suggest could be done while fireproofing against problems when classes change packages, then I wouldn't be so against it. I just hate having to track down subtle bugs in a system

RE: [OS-webwork] Re: Performance diff bw ww1 and ww2?

2003-08-15 Thread Drew McAuliffe
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew McAuliffe Sent: Monday, August 11, 2003 3:20 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Re: Performance diff bw ww1 and ww2? I've moved from Tomcat to oc4j and the numbers have improved considerably. So at this point, it's not a complete hassle

[OS-webwork] Performance diff bw ww1 and ww2?

2003-08-14 Thread Drew McAuliffe
I've been trying to migrate an application recently from ww1 to ww2 and have had some pretty difficult times. Conversion issues aside, though, I'm extremely concerned with what I see with the performance. ww2 seems to perform about 5 to 10 times worse than my equivalent application in ww1. I'm

[OS-webwork] Velocity helper missing from ww2

2003-08-14 Thread Drew McAuliffe
Something I found difficult to figure out is what the recommended replacements are in ww2 for the old ww1 macros. Things like evaluate, action, bean, includeservlet, execute, etc. These macros used to call methods on the $webwork helper, which was placed in the I had to play around some to find,

RE: [OS-webwork] Velocity helper missing from ww2

2003-08-14 Thread Drew McAuliffe
somewhere? (I'm on a bus so no website access right now) Cheers, Mike On 12/8/03 8:23 AM, Drew McAuliffe ([EMAIL PROTECTED]) penned the words: Something I found difficult to figure out is what the recommended replacements are in ww2 for the old ww1 macros. Things like evaluate, action, bean

RE: [OS-webwork] Re: Performance diff bw ww1 and ww2?

2003-08-12 Thread Drew McAuliffe
and not an EL issue? - Original Message - From: Drew McAuliffe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 11, 2003 3:19 PM Subject: [OS-webwork] Re: Performance diff bw ww1 and ww2? I've moved from Tomcat to oc4j and the numbers have improved considerably. So at this point

[OS-webwork] RE: Performance diff bw ww1 and ww2?

2003-08-08 Thread Drew McAuliffe
Sure, I have jprofiler hooked up to my Tomcat install. The thing is, I'm a little ignorant with it. I'll play around and see what kind of data I can produce. Any tips on how to get what you need would be appreciated.:) Also, here are some samples from the macros that do a lot of the work in my