RE: [OS-webwork] javascript actions on form components?

2003-10-08 Thread Cameron Braid
Title: Message I have a client side library that I have built for some projects, that I have integrated into the vm templates (webwork ui components) and my own freemarker macros.   It requires _javascript_1.3 and works on IE4+ and Netscape 6+   There are two modules   1) form model      a

RE: [OS-webwork] how should i display a radio button Yes/No combo?

2003-10-08 Thread Patrick Lightbody
Why not just do this: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew McAuliffe Sent: Tuesday, October 07, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] how should i display a radio button Yes/No combo? Would some sort of custom type

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

2003-10-08 Thread Cameron Braid
Is this the code that will be used in the Conductor project ? Cam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lightbody Sent: Thursday, 9 October 2003 3:35 PM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] UPDATED: hibernate/webwork2 best pra

RE: [OS-webwork] javascript actions on form components?

2003-10-08 Thread Patrick Lightbody
Title: javascript actions on form components? Sounds like this should get fixed – also, I’d like to see WW support client side validation sometime soon (post 2.0 at this rate).   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] S

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

2003-10-08 Thread Patrick Lightbody
Title: Message This is a great tip – I was planning on overriding getText() and having my own ActionSupport. I like this better! J   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Carreira Sent: Tuesday, October 07, 2003 6:06 PM To: [EMAIL

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

2003-10-08 Thread Patrick Lightbody
The code to PetSoar will be released very soon and will demonstrate one of the many ways to integrate WebWork and Hibernate. I know Mike has done some different things since we finished the book -- if he can find two ways I'm sure there are a million more waiting to be discovered. -Original Me

RE: [OS-webwork] using Date propertys

2003-10-08 Thread Patrick Lightbody
These are due to a bug in Ognl that is currently being fixed by Drew and has been reported by Mathias and a few others. Shouldn't be too long now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco Hernandez Sent: Wednesday, October 08, 2003 3:34 AM

RE: [OS-webwork] what are the type converters available?

2003-10-08 Thread Patrick Lightbody
Title: what are the type converters available? The ones provided are very basic – nothing is provided that does any sort of locale-based stuff except for the date conversion which does SimpleDateFormat.format(ActionContext.getContext().getLocale())   -Original Message- From: [EMA

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

2003-10-08 Thread Patrick Lightbody
Just to clear up any confusion -- Avalon nor Pico nor Spring will be included in WebWork. All of these may or may not be added to the very new (nothing in CVS, or very little) webwork-extensions project. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric

RE: [OS-webwork] Bug catching contest...

2003-10-08 Thread Patrick Lightbody
Yeah, I wrote that and recently found out the reasons why it's faulty -- stupid memory model :) Can you file a bug on this? -Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Micha³ Mosiewicz Sent: Tuesday, October 07, 2003 4:01 AM To: opensymphony-we

RE: [OS-webwork] ComponentConfiguration not serializable

2003-10-08 Thread Patrick Lightbody
Mathias, Can you open a bug report in XWork and we'll take care of this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BOGAERT Mathias Sent: Wednesday, October 08, 2003 1:52 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] ComponentConfiguration not serial

RE: [OS-webwork] Fwd: Wizard with a Twist

2003-10-08 Thread Patrick Lightbody
Bob, This isn't something currently supported directly, but Jason is planning to write a wizard interceptor to do all the magic for you (reuse the action over a session). Hopefully it'll get in for 2.0. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob L

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

2003-10-08 Thread Patrick Lightbody
I agree -- direct support for Timestamp is not necessary, but using the inheritance would be very useful. Probably a post 2.0 feature though. File a ubg. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Lamuette Sent: Monday, October 06, 2003 11:27 PM

Re: [OS-webwork] square brackets in field errors?

2003-10-08 Thread Francisco Hernandez
see: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-261 [EMAIL PROTECTED] wrote: Is there any reason for ww2 try to lookup for field error messages surrounded by square brackets? I'm calling addFieldError("password", "password.invalid"), and somehow WW2 looks for "[password.invalid]"

RE: [OS-webwork] TypeConverter - exception for Long values when g iven empty string

2003-10-08 Thread Patrick Lightbody
We're aware of the bug and I have been working with Drew Davidson (Ognl guy) on getting this fixed. I expect it to happen very soon. Thanks for hanging in there! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco Hernandez Sent: Wednesday, October 0

[OS-webwork] BeanUtil in WW 1.3

2003-10-08 Thread Rob Rudin
Got a quick question regarding WW 1.3. I know that the BeanUtil class expects nested property references to use "/" as the delimiting character. I'm pretty sure OGNL uses ".", as does JSTL, and I'd like to use "." as well. Parameters are set on an Action in ParameterActionFactoryProxy, which asks

[OS-webwork] what are the type converters available?

2003-10-08 Thread CVillela
Title: what are the type converters available? I was wondering if WW2 provides any default type converters... maybe EuropeanDateConverter, AmericanDateConverter, MoneyConverter could be good candidates?

[OS-webwork] square brackets in field errors?

2003-10-08 Thread CVillela
Title: square brackets in field errors? Is there any reason for ww2 try to lookup for field error messages surrounded by square brackets? I'm calling addFieldError("password", "password.invalid"), and somehow WW2 looks for "[password.invalid]" in the property files. Not really sure if this i

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

2003-10-08 Thread CVillela
Title: Message Yeah, a ServletContextListener works fine :)   -Mensagem original-De: Jason Carreira [mailto:[EMAIL PROTECTED]Enviada em: terça-feira, 7 de outubro de 2003 22:06Para: [EMAIL PROTECTED]Assunto: RE: [OS-webwork] single i18n catalog for multiple actions? I would probabl

Re: [OS-webwork] URLBean performance issues

2003-10-08 Thread boxed
Dick Zetterberg wrote: Not creating a new HashMap all the time sounds like a good idea. I'd prefer to have it created lazily though so that it is not created when it is not needed (when you do not have any parameters for example). Concerning the StringBuffer re-use: Did you measure the performance

Re: [OS-webwork] How do i build a wait page in webwork? Please help

2003-10-08 Thread John Patterson
Yes. Obviously not well tested. But the concept should still be valid. Just be certain to test your app better than they did! - Original Message - From: "Leonidas Papadakis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 08, 2003 8:23 AM Subject: Re: [OS-webwork] Ho

RE: [OS-webwork] URLBean performance issues

2003-10-08 Thread Eliot Sykes
Title: RE: [OS-webwork] URLBean performance issues Hi, this may be related but I don't know the code you're talking about and any profiling you may have done but I'm gonna throw this into the mix anyway. Guessing URLEncoder is used to generate URLs in your app.  If you want a potentially

RE: [OS-webwork] URLBean performance issues

2003-10-08 Thread Eliot Sykes
Title: RE: [OS-webwork] URLBean performance issues Hi, this may be related but I don't know the code you're talking about and any profiling you may have done but I'm gonna throw this into the mix anyway. Guessing URLEncoder is used to generate URLs in your app.  If you want a potentially

Re: [OS-webwork] URLBean performance issues

2003-10-08 Thread Dick Zetterberg
Not creating a new HashMap all the time sounds like a good idea. I'd prefer to have it created lazily though so that it is not created when it is not needed (when you do not have any parameters for example). Concerning the StringBuffer re-use: Did you measure the performance gain that you got fr

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

2003-10-08 Thread Eric Pugh
So Avalon components are supported? Where can I get a look at the source for xwork-avalon? I looked in CVS at xwork.dev.java.net and didn't see anything.. Eric > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Mike Cannon-Brookes > Sent: Wednesday, O

Re: [OS-webwork] using Date propertys

2003-10-08 Thread Francisco Hernandez
hmm on a related note, if I expose the Date property I still get these exceptions but the funny thing is that my Car bean has a Date property too and it doesnt suffer from the same problem so: http://127.0.0.1:8080/cart/car.action?car.date=&myDate=invalidDate gives me the exception but: http:

Re: [OS-webwork] TypeConverter - exception for Long values when g iven empty string

2003-10-08 Thread Francisco Hernandez
excellent! thanks! BOGAERT Mathias wrote: Replace your ParametersInterceptor by this one. Cheers, Mathias -Original Message- From: Francisco Hernandez [mailto:[EMAIL PROTECTED] Sent: woensdag 8 oktober 2003 11:28 To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] TypeConverter - exception

RE: [OS-webwork] TypeConverter - exception for Long values when g iven empty string

2003-10-08 Thread BOGAERT Mathias
Replace your ParametersInterceptor by this one. Cheers, Mathias -Original Message- From: Francisco Hernandez [mailto:[EMAIL PROTECTED] Sent: woensdag 8 oktober 2003 11:28 To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] TypeConverter - exception for Long values when given empty string a

Re: [OS-webwork] TypeConverter - exception for Long values when given empty string

2003-10-08 Thread Francisco Hernandez
anyone happen to know of a workaround or patch for this problem? Cameron Braid wrote: I am getting an exception from the params interceptor. I have an action with a setId(Long), and a hidden form field called id that initially has an empty string value. This used to work, until the exception

[OS-webwork] ComponentConfiguration not serializable

2003-10-08 Thread BOGAERT Mathias
Guys, WLS requires all object to be Serializable in order to replicate a request to a cluster. <8-okt-2003 10.49 u. CEST> <[ServletContext(id=22437984,name=intrasoft-sysaudit-2. 0,context-path=/intrasoft-sysaudit-2.0)] could not deserialize the context attribute "ComponentConfiguration" java.i

Re: [OS-webwork] How do i build a wait page in webwork? Please help

2003-10-08 Thread Leonidas Papadakis
Unfortunatelly the below site runs only in microsoft's internet explorer while i would like mozilla compatibility. Is there a way to build the wait page without session? Thanks John Patterson wrote: Check out how the flight booking engines like www.opodo.com do it. When the form is submitt