Re: [OS-webwork] WebWork 2.0 Released

2004-02-08 Thread Anoop Ranganath
Congratulations on the release! I appreciate all the work you guys have put into WebWork/XWork, and I look forward to what's coming next. Anoop On Feb 8, 2004, at 10:52 PM, Patrick Lightbody wrote: I'm pleased to announce the release of WebWork 2.0. You can download it at: https://webwork.dev.

Re: [OS-webwork] WebWork/2 Tool Support...

2003-12-17 Thread Anoop Ranganath
I'm currently tossing around the idea of a XWork sanity checker. I'm guessing something that runs as an ant task and checks a lot of the things that have bit us in the ass during development. Here are some examples of questions I want it to answer: Do all the actions exist? Do all the intercep

Re: [OS-webwork] OT: what do I need to use to never have to restart the app server to test changes?

2003-12-08 Thread Anoop Ranganath
Yeah. It's not a big task, after all. (Maybe it is and I just don't notice, since it's so trivial to do with ant.) The latter is the case. It is a very big task, and you could easily increase your development efficiency by 100% if you worked with an exploded ear rather than earing and deploying

Re: [OS-webwork] releasing a component

2003-12-07 Thread Anoop Ranganath
a new one, even in the same session. Anoop On Dec 8, 2003, at 12:35 AM, Patrick Lightbody wrote: Have your component implement Disposable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anoop Ranganath Sent: Thursday, December 04, 2003 2:27 PM To: [EMAIL

[OS-webwork] releasing a component

2003-12-04 Thread Anoop Ranganath
How do I go about telling the IoC container to release a component? For example, I have a List I am maintaining on the session. In a particular action, I process the list and then I am done with it. Right now, it seems the only option is to take the List and remove each item. If I set the i

Re: AW: [OS-webwork] action chaining fun

2003-12-04 Thread Anoop Ranganath
liche Nachricht----- Von: Anoop Ranganath [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 3. Dezember 2003 21:08 An: [EMAIL PROTECTED] Betreff: [OS-webwork] action chaining fun I'm looking to somehow implement chain-like behaviour. I'd like to perform one action completely, with all it

[OS-webwork] action chaining fun

2003-12-03 Thread Anoop Ranganath
I'm looking to somehow implement chain-like behaviour. I'd like to perform one action completely, with all it's interceptors, and then perform another action completely with all it's interceptors. The catch is that I want some parameters passed between them. Any ideas? Anoop -

Re: [OS-webwork] default-interceptor-ref doesn't appear to be working

2003-12-03 Thread Anoop Ranganath
Problem solved. Classic case of PEBKAC. I was looking for a particular behavior, and my code was the problem. As far as the debugger goes, it was working properly. I was just looking for a copout. Anoop On Dec 3, 2003, at 9:59 AM, Jason Carreira wrote: Did you validate your XML against the

[OS-webwork] default-interceptor-ref doesn't appear to be working

2003-12-03 Thread Anoop Ranganath
I have a default-interceptor-ref specified in my xwork.xml. here's the snippet: As you can see, it's sitting between the interceptors and global-results. For some reason it's not getting picked up by the application. I set a breakpoint in XMLConfigurationProvider.loadDefaultInterceptorRe

Re: [OS-webwork] Tomcat forward

2003-12-02 Thread Anoop Ranganath
Or just make the page at your domain one big frame, and have the frame point to your home page. On Dec 2, 2003, at 11:55 AM, John Patterson wrote: Hi,  I know this is off topic but I was wondering how others handle this issue.   I want my domainwww.domain.co.ukto forward directly to my home pag

[OS-webwork] checkbox woe.

2003-11-24 Thread Anoop Ranganath
I finally realized that I needed to set "fieldvalue=true" to get my checkbox to propertly set the boolean on my object (using ModelDriven). Now I'm having an even more annoying problem. Once I set it to true and it gets saved to the database, I can't uncheck it anymore! In ParametersIntercep

Re: [OS-webwork] escaping text in text fields

2003-11-19 Thread Anoop Ranganath
version are you using, the new beta2? -Original Message----- From: Anoop Ranganath [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 3:16 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] escaping text in text fields We're having an issue with our WW2 application and we're not sur

Re: [OS-webwork] escaping text in text fields

2003-11-19 Thread Anoop Ranganath
e escaping them... Which version are you using, the new beta2? -Original Message----- From: Anoop Ranganath [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 3:16 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] escaping text in text fields We're having an issue with our WW2 applicatio

[OS-webwork] escaping text in text fields

2003-11-19 Thread Anoop Ranganath
We're having an issue with our WW2 application and we're not sure whether it's a bug or a feature. In a text field, enter ® and click Save once. It returns us to the form, but now instead of the text ® we see the Registered symbol. Viewing the source of the web page, shows that it is still sh

Re: [OS-webwork] Latest xwork cvs snapshot

2003-11-18 Thread Anoop Ranganath
I'm wondering if this fix is in also. I am still breaking like this in CVS. Thanks, Anoop On Nov 18, 2003, at 9:23 AM, Fred Lamuette wrote: Is your fix committed ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Patrick Lightbody Envoye : mardi 18 novem

[OS-webwork] editing lists of text fields

2003-10-17 Thread Anoop Ranganath
At first I thought this would be a pain in the ass, but after reading about OGNL, I think this may actually be a lot easier. Our domain objects have some properties that are lists. Right now, we can easily display them on screen by iterating through the lists in our velocity template. Howeve

Re: [OS-webwork] Type Converetrs and formatting

2003-10-16 Thread Anoop Ranganath
I'm having this same issue, so I'd like to know what I'm doing wrong also. Anoop On Wednesday, October 15, 2003, at 05:43 PM, [EMAIL PROTECTED] wrote: Hi y'all! :) Does it make sense that the type converters are not being called to convert fields back into their String (presentation) format? I'

[OS-webwork] wiki?

2003-10-07 Thread Anoop Ranganath
where'd it go? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lis

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

2003-10-07 Thread Anoop Ranganath
pt() method, and add them as action errors. The second caveat is every call to an action results in a database hit. I'm sure there are ways around this, but for our purposes Any comments? Anoop On Tuesday, September 16, 2003, at 11:31 PM, Anoop Ranganath wrote: I just started using

[OS-webwork] interceptors as components?

2003-10-01 Thread Anoop Ranganath
Is it possible for an interceptor to be Aware? I'd like an interceptor to be handed a DAO. Ideally XWork would take care of it, because the DAO has dependencies also. Is this possible? Anoop --- This sf.net email is sponsored by:ThinkGeek

Re: [OS-webwork] session scoped component missing fields

2003-10-01 Thread Anoop Ranganath
On Wednesday, October 1, 2003, at 11:35 AM, Jason Carreira wrote: Is your Set Serializable? Is it marked as transient? Hmm, the Set comes from Hibernate, and according to Hibernate, net.sf.hibernate.collection.PersistentCollection implements java.io.Serializable. There are a lot of transient fi

[OS-webwork] session scoped component missing fields

2003-10-01 Thread Anoop Ranganath
I scoped a component at the session level, and it is being preserved. There is one problem, though. The component has a Set on it, and this Set does _not_ gets saved between requests. Everything else will be ok, but that one field will be null. Do I need to make it a component with an enable

[OS-webwork] XWorkConverter trying to load CompoundRoot-conversion.properties

2003-09-23 Thread Anoop Ranganath
I'm trying to get the type conversion working, and adding a breakpoint in XWorkConverter.convertValue I'm seeing that it's trying to load com.opensymphony.xwork.util.CompountRoot-conversion.properties rather than load the -conversion.properties for my object. Any idea why that's the case? Tha

[OS-webwork] type conversion not working

2003-09-22 Thread Anoop Ranganath
I've tried type conversion two ways, and both ways, my type converter is not being called. The first way, I used the example from the wiki and created a RetrieveProductAction-conversion.properties that contained product.lastChecked=com.mypackage.MyConverter and MyConverter was a subclass of De

[OS-webwork] type conversion

2003-09-22 Thread Anoop Ranganath
can the key in the Action-conversion.properties file be any valid ognl expression. for example, I'd like to specifically format a date that is a property on the product object which is on the action, can I put product.lastChecked = com.ranganath.LongDateConverter in the MyAction-conversion.pro

[OS-webwork] nevermind...

2003-09-22 Thread Anoop Ranganath
of course, two seconds after I post, i remembered xwork's type conversion facility. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Opensymphony-we

[OS-webwork] type formatting

2003-09-22 Thread Anoop Ranganath
I'm using Velocity with WW2, and I'm trying to figure out how to format data presented with the TextField tags. Any ideas? Anoop --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

[OS-webwork] velocity, layouts, and flow

2003-09-18 Thread Anoop Ranganath
I'm beginning work on my velocity templates for my ww2 app, and I'm having a bit of an issue. Ideally, I'd have a template that contains my header and footer, and then a token that inserts the appropriate screen into it. In my xwork.xml, I would have a result that points to screen1.vm, and sc

Re: [OS-webwork] formbean vs. action

2003-09-17 Thread Anoop Ranganath
If you're using domain objects or persisting the data, I would suggest you use Object properties. Say, for instance, that you have an Invoice domain object. You might have an CreateInvoiceAction Action class: Ah. That's actually what I'm doing right now. So what makes this any different than a F

[OS-webwork] formbean vs. action

2003-09-16 Thread Anoop Ranganath
So coming from other frameworks, I'm surprised to see that while allowing FormBeans, WW2 doesn't encourage them anymore than just putting the properties on the action. While I can't see a problem with it, there's a voice in my head telling me to run away screaming. As my last post mentioned, H

[OS-webwork] hibernate/webwork2 best practices

2003-09-16 Thread Anoop Ranganath
I just started using WebWork2 yesterday, and I'm sold. A new techonology hasn't kept me smiling for so long thinking "this is right" since I first started playing with Ruby. I'm writing a vanilla database backed webapp for my client, and I'm trying to decide where I should put the persistence