Re: [OS-webwork] Compatibility for Tag Attributes

2003-10-09 Thread Francisco Hernandez
I think that change makes sense to change it to the way ww1.3 tags work and that way we can also use localized messages for the labels too Patrick Lightbody wrote: I just noticed (actually, I’ve known it for a while, but now I need to do something about it) that the UI tags all take plain strin

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

2003-10-09 Thread Francisco Hernandez
excellent, I have not even bothered looking at ognl docs, im sure theres lots of other things ognl can do that I dont know about. Patrick Lightbody wrote: My bad, it should be: http://www.ognl.org/2.6.3/Documentation/html/collectionConstruction.html #mapConstruction -Pat -Original Messag

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

2003-10-09 Thread Dick Zetterberg
As I was trying to say, the reason to use the ConcurrentHashMap would be to avoid unnecessary synchronization. Since the method is static many threads might call it simultaneously, blocking eachother more than necessary. Looking at the original code I guess the author (Pat?) was concerned about per

[OS-webwork] Action url

2003-10-09 Thread Fred Lamuette
After an action result forwarded to a jsp page, how can I get easily the action url in the jsp page ? Thank you for your help. R. --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Proj

RE: [OS-webwork] pico support

2003-10-09 Thread Jason Carreira
Please create a Jira issue -Original Message- From: christoph sturm [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:44 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] pico support Hello people! I am in the process of submitting webwork2 support to pico/nanocontainer, and i w

RE: [OS-webwork] pico support

2003-10-09 Thread Jason Carreira
Because Pico needs to build the objects... it can't just populate them afterwards (a limitation with constructors)... -Original Message- From: Tim Dwelle [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 3:00 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] pico support I'm cu

Re: [OS-webwork] pico support

2003-10-09 Thread Tim Dwelle
I'm curious... why are you writing your own ActionIvocation? I would have expected that Pico integration would be through an interceptor, much like XWork's own IoC support. -Tim. Quoting christoph sturm <[EMAIL PROTECTED]>: > Hello people! > > I am in the process of submitting webwork2 supp

[OS-webwork] pico support

2003-10-09 Thread christoph sturm
Hello people! I am in the process of submitting webwork2 support to pico/nanocontainer, and i would need a little change to a xwork class. I created a picoActionInvocation, and there I need access to the request, and i get it through req = (HttpServletRequest) extraContext.get(WebWorkStatics.H

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

2003-10-09 Thread CVillela
Title: Message I wiki'd this in http://wiki.opensymphony.com/space/WebWork+2+Internationalization   peace, -cv   -Mensagem original-De: Drew McAuliffe [mailto:[EMAIL PROTECTED]Enviada em: quinta-feira, 9 de outubro de 2003 14:58Para: [EMAIL PROTECTED]Assunto: RE: [OS-webwork] single

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   Or does that work? Will "name.middle" in the getText() call get picked up as a string?   If this do

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

2003-10-09 Thread Drew McAuliffe
Title: Message Agreed. This is a huge help for me on a project that migrated from Struts. I've got one big properties file, and now I can easily shift it over to webwork. Thanks, webwork! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick LightbodySent: Wednesday, Octo

RE: [OS-webwork] Call for help

2003-10-09 Thread Robert Douglass
Not to mention xpetstore. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hani Suleiman Sent: Thursday, October 09, 2003 5:18 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Call for help We all do! Having said that, I think before testing our large app

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

2003-10-09 Thread Jason Carreira
Yeah, I think it's still up in the air... When we get 2.0 out and they get their code done, we can certainly use it as a starting point... -Original Message- From: Patrick Lightbody [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:48 AM To: [EMAIL PROTECTED] Subject: RE: [OS-

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

2003-10-09 Thread Jason Carreira
Title: Message I don’t know about this… I think something on the WebWork side can associate JS with the validations, but the validator framework is in XWork.   I think the ExpressionValidators will have to be ones where you catch that on the submit to the server… unless you feel like rew

Re: [OS-webwork] Call for help

2003-10-09 Thread Hani Suleiman
We all do! Having said that, I think before testing our large applications with the various arm-twisting they do unto webwork to get things just right, a good starting point would be all the examples and tests that ww1 ships with Mike Cannon-Brookes said: >> Also, if anyone has some 1.3-based app

Re: [OS-webwork] Call for help

2003-10-09 Thread Bruce Ritchie
Mike Cannon-Brookes wrote: Also, if anyone has some 1.3-based applications that they can help me test backwards compatibility in the near future (after this weekend when I check in code and an upgrade doc), that would be greatly appreciated. I have a very large 1.3-based application that I'd lov

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

2003-10-09 Thread Patrick Lightbody
My bad, it should be: http://www.ognl.org/2.6.3/Documentation/html/collectionConstruction.html #mapConstruction -Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco Hernandez Sent: Thursday, October 09, 2003 12:44 AM To: [EMAIL PROTECTED] Sub

Re: [OS-webwork] Call for help

2003-10-09 Thread Mike Cannon-Brookes
> Also, if anyone has some 1.3-based applications that they can help me > test backwards compatibility in the near future (after this weekend when > I check in code and an upgrade doc), that would be greatly appreciated. I have a very large 1.3-based application that I'd love you to test backwards

[OS-webwork] Compatibility for Tag Attributes

2003-10-09 Thread Patrick Lightbody
I just noticed (actually, I’ve known it for a while, but now I need to do something about it) that the UI tags all take plain strings for their labels and a few other attributes. In WebWork 1.3 all attributes were parsed through the ValueStack and so I’m going to switch this back to the ori

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

2003-10-09 Thread Patrick Lightbody
I have no idea :) I'll be happy to donate our stuff as soon as we get it finished. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron Braid Sent: Wednesday, October 08, 2003 10:44 PM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] UPDATED: hibernate/w

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

2003-10-09 Thread Patrick Lightbody
Title: Message And then to make matters more complex it’d be ideal if we could have the validation framework rules provide the _javascript_ – not too bad for simple ones but it gets much harder for the ExpressionValidator.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

[OS-webwork] Call for help

2003-10-09 Thread Patrick Lightbody
Hey everyone, Matt, Jason, Cameron, and I are very busy trying to close as many bugs as possible these days in effort to get 2.0 out the door. However, there are a few remaining issues that we're struggling with and we'd like to get the community to help out. * Documentation * Backwards compati

[OS-webwork] Page Exceptions from tag

2003-10-09 Thread John Patterson
Hi, I have been tracking a bug through the webwork and OGNL code for a lot longer than I should have. This has pointed out to me some places where Exception handling could be greatly improved. The error message reported was only: "org.apache.jasper.JasperException" with no other indication of

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

2003-10-09 Thread Jason Carreira
Right, but there's no need for an external lib, when you can just do: Collections.synchronizedMap(new HashMap()) Jason -Original Message- From: Dick Zetterberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 7:30 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Bug catching

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

2003-10-09 Thread Jason Carreira
Matt, How do we get to the webwork-extensions module you created? Jason -Original Message- From: Patrick Lightbody [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 12:22 AM To: [EMAIL PROTECTED] Subject: RE: Re[2]: [OS-webwork] Avalon Components w/ WebWork2 Just to clear up a

Re: [OS-webwork] ScopeInterceptor

2003-10-09 Thread Michał Mosiewicz
- Original Message - From: "Francisco Hernandez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 4:11 PM Subject: Re: [OS-webwork] ScopeInterceptor > can you write an example on how to use this interceptor? Yes... I've got action having properties orderBy, l

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

2003-10-09 Thread Cameron Braid
Title: Message Yeah.. I have done that.   There are still a few things to tidy up before sharing the code.   I'll get to it asap.   Cam -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason CarreiraSent: Friday, 10 October 2003 12:53

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

2003-10-09 Thread CVillela
Title: RES: [OS-webwork] square brackets in field errors? For now, I just dropped the controlheader.vm found in the JIRA comment, and everything's working fine :) peace, -cv -Mensagem original- De: Jason Carreira [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 9 de outubro de

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

2003-10-09 Thread Jason Carreira
Title: Message I remember when we talked about this before, you were looking for a way to get a list of the validations applied to a field in the validation framework, and it wasn’t possible at the time… This should be easy now.     -Original Message- From: Cameron Braid [mai

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

2003-10-09 Thread Jason Carreira
I'm working on updating the controlheader.vm to display all of the errors... my Velocity skills are not that good, so I sent what I had to Matt :-) -Original Message- From: Francisco Hernandez [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:36 PM To: [EMAIL PROTECTED] Subje

Re: [OS-webwork] ScopeInterceptor

2003-10-09 Thread Francisco Hernandez
can you write an example on how to use this interceptor? Michał Mosiewicz wrote: Currently the only lifecycled thing is component. However I've found components hard to fit in some cases. Example: at first I created a paging component that would remember current page parameters for a page. I thoug

[OS-webwork] ScopeInterceptor

2003-10-09 Thread Michał Mosiewicz
Currently the only lifecycled thing is component. However I've found components hard to fit in some cases. Example: at first I created a paging component that would remember current page parameters for a page. I thought that was quite nice, cause I could create a generic puzzle to attach to differ

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

2003-10-09 Thread Dick Zetterberg
> > Actually this code wouldn't fix anything. The difference is that this code > is visibly not synchronized, while the previous code was unvisibly not > synchronized. > > The point is that to make it working, both get and put must be in the same > synchronized block. Otherwise you may just leave

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

2003-10-09 Thread Michal Mosiewicz
- Original Message - From: "Dick Zetterberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 10:07 AM Subject: Re: [OS-webwork] Bug catching contest... > > Can't you just fix this by using a ConcurrentHashMap or a ConcurrentReaderHashMap from the EDU.oswego.c

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

2003-10-09 Thread Fred Lamuette
Thank you matt, that is I am using, the evict() method. But Hibernate silently flushes and may commit (if autocommit=true) the changes before a session.find(..), so you have to set the session with a FlushMode=COMMIT to prevent from this. Thus, you can evict() the object if you detects errors from

[OS-webwork] ui:checkbox broken?

2003-10-09 Thread BOGAERT Mathias
Hi, Is it possible that this is broken? Anyone seen this too? The setter on my action class (takes primitive boolean) is always set to false, even if I check the checkbox. Thanks, Mathias --- This SF.net email is sponsored by: SF.net Giveback

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

2003-10-09 Thread Matt Ho
Fred Lamuette wrote: I'm using almost the same pattern as you, I've created an interceptor that loads the model in the action (detection of the id paramter and extension of the ModelDriven interface to add setModel(..) and getModelClass() method, thus I can load and store easily my entity in my Mod

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

2003-10-09 Thread Eric Pugh
Okay.. Things like Avalon etc do seem kinda heavy to have in the core WebWork.. Adding everything under the sun was one of the difficulties in the Turbine framework. Before I dive into writing my own Avalon container, does anyone have some demo code they can share. And assuming it looks could,

Re: [OS-webwork] BeanUtil in WW 1.3

2003-10-09 Thread Dick Zetterberg
- Original Message - From: "Rob Rudin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 08, 2003 11:04 PM Subject: [OS-webwork] BeanUtil in WW 1.3 > Got a quick question regarding WW 1.3. I know that the BeanUtil > class expects nested property references to use "/"

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

2003-10-09 Thread Dick Zetterberg
Can't you just fix this by using a ConcurrentHashMap or a ConcurrentReaderHashMap from the EDU.oswego.cs.dl.util.concurrent package for the expressions? So the code would be something like: public static Object compile(String expression) throws OgnlException { Object o = null;

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

2003-10-09 Thread Francisco Hernandez
that doesnt work, but it would be cool if it did! :) Patrick Lightbody wrote: 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] h

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

2003-10-09 Thread Leonidas Papadakis
My many thanks to all the people that replied. I found a very nice way to do this on the below article http://www.ftponline.com/archives/premier/mgznarch/javapro/2001/01jan01/te0101/te0101.asp It is quite generic and supports all browsers. Thank you very much sygram John Patterson wrote: