RE: [OS-webwork] Problems with tags?

2003-11-19 Thread Mathias Berg
Hi we still have a problem with URLTag. I did a update this morning. i get this error: /test/demo/DemoFormStep1.jsp(1): Error in using tag library uri='webwork' prefix='ww': The Tag class 'com.opensymphony.webwork.views.jsp.URLTag' has no setter method corresponding to TLD declared attribute

[OS-webwork] Taglib.tld doesn't match structure of actual Tag classes

2003-11-19 Thread Daniel Pfeifer
URLTag has no page property whereas the taglib.tld definas a page parameter for the ww:url tag. /Daniel taglib.zip Description: Binary data

RE: [OS-webwork] Taglib.tld doesn't match structure of actual Tag classes

2003-11-19 Thread Daniel Pfeifer
Forgot to mention that a fixed TLD is attached to my previous mail. -Original Message- From: Daniel Pfeifer [mailto:[EMAIL PROTECTED] Sent: den 19 november 2003 09:58 To: '[EMAIL PROTECTED]' Subject: [OS-webwork] Taglib.tld doesn't match structure of actual Tag classes URLTag has no

RE: [OS-webwork] Param directive

2003-11-19 Thread Konstantin Priblouda
--- Drew McAuliffe [EMAIL PROTECTED] wrote: My biggest problem with this is that it basically eliminates any advantage to using velocity as far as ease of use is concerned. One of the main reasons I prefer velocity over JSP is that the syntax is more natural, especially for things like

Re: [OS-webwork] Page attribute gone

2003-11-19 Thread Dick Zetterberg
- Original Message - From: Patrick Lightbody [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 5:35 PM Subject: RE: [OS-webwork] Page attribute gone I made the URLTag exactly like the 1.3/1.4 release. In fact, in 1.4 the page attribute does exist, but it is

[OS-webwork] Small patch for WW2 build

2003-11-19 Thread Joseph Ottinger
This patch removes the warning from the war task from the inclusion of a web.xml in the .war. If we end up putting a sample web.xml that's actually meant for inclusion as content, we'll need to change the exclude slightly. --- Joseph

[OS-webwork] Empty parameter to Integer field - Should it perhaps be converted to null?

2003-11-19 Thread Dag Liodden
Hi all, How can I create a select-control with an Integer list-key and have the action property the key set to null when no item has been selected (iemptyOption-parameter is set)? This causes a conversion-error in XWorkConverter since it treats a -value as illegal for an Integer field. I

[OS-webwork] style parameter to ww's UI tag

2003-11-19 Thread Mathias Berg
Hi, about setting stylesheet on UI tags. See below input tag that i would like to have by using the ww:textfield tag for ex. input type=text name=test class=input style=width:160px; vertical-align:top is there a way to add this functionality in the ww:textfield tag? or should you do it throgh

[OS-webwork] DTD not on opensymphony?

2003-11-19 Thread Joseph Ottinger
Shouldn't the DTD for xwork be on the opensymphony site? --- Joseph B. Ottinger http://enigmastation.com IT Consultant[EMAIL PROTECTED] J2EE Editor - Java Developer's Journal

Re: [OS-webwork] Empty parameter to Integer field - Should it perhaps be converted to null?

2003-11-19 Thread Francisco Hernandez
what about using headerKey=0 headerValue=Select Country assuming you can use 0 as a key.. Dag Liodden wrote: Hi all, How can I create a select-control with an Integer list-key and have the action property the key set to null when no item has been selected (iemptyOption-parameter is set)? This

Re: [OS-webwork] Empty parameter to Integer field - Should it perhaps be converted to null?

2003-11-19 Thread Dag Liodden
Or -1, but it's semantically wrong since nothing is selected and we're dealing with primitive wrappers where null actually has a meaning. :) When nothing is selected, the value *should* be null... No biggie, though. :) D Francisco Hernandez wrote: what about using headerKey=0

[OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Patrick Lightbody
I'm pleased to announce that the long-delayed WebWork 2.0 beta 2 is finally out. This release can be considered a release candidate for a final release that we hope will take place in the next week. I'm currently uploading the zip file and I realize that the distro doesn't include the source for

Re: [OS-webwork] Taglib.tld doesn't match structure of actual Tag classes

2003-11-19 Thread Hani Suleiman
Yes, looks like weblogic doesn't like the shipped tld, so please use the one that Daniel sent. I'll be updating the one in cvs shortly. On Nov 19, 2003, at 3:57 AM, Daniel Pfeifer wrote: URLTag has no page property whereas the taglib.tld definas a page parameter for the ww:url tag. /Daniel

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Francisco Hernandez
whatever happened to your plan for writing some documentation every day for one month? :) Patrick Lightbody wrote: I'm pleased to announce that the long-delayed WebWork 2.0 beta 2 is finally out. This release can be considered a release candidate for a final release that we hope will take

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Lars Fischer
I'm not pleased to announce that this version does not work with WebLogic (taglib.tld). Maybe the final release deserves a test with this unimportant server (unimportant for OpenSymphony developers). I'm pleased to announce that the long-delayed WebWork 2.0 beta 2 is finally out. This release

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Joseph Ottinger
Lars, WHAT about the taglib.tld doesn't work? I filed one JIRA issue myself today about it, but I have no idea if your issue was the same as mine. On Wed, 19 Nov 2003, Lars Fischer wrote: I'm not pleased to announce that this version does not work with WebLogic (taglib.tld). Maybe the final

RE: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Daniel Pfeifer
I mailed a fixed taglib.tld to the mailing list earlier. Use it and it'll work. /Daniel -Original Message- From: Joseph Ottinger [mailto:[EMAIL PROTECTED] Sent: den 19 november 2003 15:22 To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] WebWork 2.0 beta2/RC Released Lars, WHAT about the

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Lars Fischer
Joseph, it's the problem where somone already provided a patch: weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='webwork' prefix='ww': The Tag class 'com.opensymphony.webwork.views.jsp.URLTag' has no setter method corresponding to TLD declared attribute 'page', (JSP

[OS-webwork] remove

2003-11-19 Thread imbriglio
remove -Original Message- From: Hani Suleiman [EMAIL PROTECTED] Sent: Nov 18, 2003 8:58 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Newbie - CDList.jsp have a look at the webwork.examples.i18n.CDList class. That is the action class, so when the page makes a call to CDList, that

RE: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Lars Fischer
Daniel, thanks, I've used it before beta 2. Regards, Lars I mailed a fixed taglib.tld to the mailing list earlier. Use it and it'll work. /Daniel -Original Message- From: Joseph Ottinger [mailto:[EMAIL PROTECTED] Sent: den 19 november 2003 15:22 To: [EMAIL PROTECTED]

RE: [OS-webwork] Problems with tags?

2003-11-19 Thread Patrick Lightbody
What are the exceptions? The URLTag recently was modified to act just like 1.3. -Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Pfeifer Sent: Tuesday, November 18, 2003 5:38 AM To: '[EMAIL PROTECTED]' Subject: [OS-webwork] Problems with

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Hani Suleiman
Can you file issues for these? They all work on Orion. Lars Fischer wrote: Joseph, it's the problem where somone already provided a patch: weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='webwork' prefix='ww': The Tag class

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Hani Suleiman
Oh hang on, this looks like it's a 2.0 issue, that jasperreports isn't working. It should work fine in 1.4! Lars Fischer wrote: Joseph, it's the problem where somone already provided a patch: weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='webwork' prefix='ww':

RE: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread BOGAERT Mathias
We all know that Orion is way too forgiving about errors against specs. Weblogic tends to moan more. Jboss is descriptor compliance nirvana. Mathias -Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED] Sent: woensdag 19 november 2003 15:56 To: [EMAIL PROTECTED] Subject: Re:

RE: [OS-webwork] Problems with tags?

2003-11-19 Thread Daniel Pfeifer
Well, there is no page setter in the URLTag class but in the taglib.tld there is an attribute called page. Weblogic doesn't like that. But that i mentoined earlier today and posted a fixed taglib.tld to the mailing list. As for the IncludeTag it throws an exception saying following: Since tag

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Lars Fischer
Oh hang on, this looks like it's a 2.0 issue, that jasperreports isn't working. It should work fine in 1.4! It should ... The first report was about WW 2.0 but I just tested 1.4 with WebLogic 8.1 (see below). This is based on deploying the provided 'webwork.war'.

Re: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread Hani Suleiman
Ok, thanks. I'll test and make sure it works. Lars Fischer wrote: Oh hang on, this looks like it's a 2.0 issue, that jasperreports isn't working. It should work fine in 1.4! It should ... The first report was about WW 2.0 but I just tested 1.4 with WebLogic 8.1 (see below). This is based on

RE: [OS-webwork] WebWork 2.0 beta2/RC Released

2003-11-19 Thread BOGAERT Mathias
Are you referencing the Jasper reports servlet in your web.xml? If so, remove that. Mathias -Original Message- From: Lars Fischer [mailto:[EMAIL PROTECTED] Sent: woensdag 19 november 2003 16:10 To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] WebWork 2.0 beta2/RC Released Oh hang on,

[OS-webwork] TR: WW2beta2 htmlEncode problem

2003-11-19 Thread Fred Lamuette
It's not XWorkBasicConverter but XWorkConverter. -Message d'origine- De : Fred Lamuette [mailto:[EMAIL PROTECTED] Envoye : mercredi 19 novembre 2003 16:45 A : [EMAIL PROTECTED] Objet : WW2beta2 htmlEncode problem Adding $webwork.htmlEncode to rewrite some values brings a serious problem

[OS-webwork] IRC channel?

2003-11-19 Thread Joseph Ottinger
Is there an IRC channel dedicated to webwork anywhere, where one could bring up issues and questions without annoying the struts/GUI/etc people? --- Joseph B. Ottinger http://enigmastation.com IT Consultant

RE: [OS-webwork] IRC channel?

2003-11-19 Thread Wayland Chan
Your best bet is #java on EFNet and hope one of the developers are online. Hani, Pat and a couple of others are on there quite often. Is there an IRC channel dedicated to webwork anywhere, where one could bring up issues and questions without annoying the struts/GUI/etc people?

RE: [OS-webwork] IRC channel?

2003-11-19 Thread Joseph Ottinger
Yeah, but that'll annoy everyone else. :) On Wed, 19 Nov 2003, Wayland Chan wrote: Your best bet is #java on EFNet and hope one of the developers are online. Hani, Pat and a couple of others are on there quite often. Is there an IRC channel dedicated to webwork anywhere, where one could

[OS-webwork] WW2beta2 htmlEncode problem

2003-11-19 Thread Fred Lamuette
Adding $webwork.htmlEncode to rewrite some values brings a serious problem for me. For instance, when you call $!webwork.htmlEncode($itemKey) in the select.vm template, you seem to think $itemKey is inevitably a string when you have written the htmlEncode method. That's not the case, what about an

Re: [OS-webwork] IRC channel?

2003-11-19 Thread Francisco Hernandez
theres about 8 people or so who usually are on the freenode.net servers. Jonas Eriksson wrote: I have no idea if there are any people in these, but they have been mentioned on the list for not so long ago: irc.freenode.net #webwork irc.werken.com #webwork Joseph Ottinger wrote: Is there an IRC

[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 reg; and click Save once. It returns us to the form, but now instead of the text reg; we see the Registered symbol. Viewing the source of the web page, shows that it is

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

2003-11-19 Thread Jason Carreira
It's supposed to be 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

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

2003-11-19 Thread Anoop Ranganath
I downloaded from CVS this morning and built it, and the resulting jar was labeled beta 2, so I'm assuming yes. Where would the escaping code be so I can look into whether it's actually happening? Anoop On Nov 19, 2003, at 3:54 PM, Jason Carreira wrote: It's supposed to be escaping them...

Re: [OS-webwork] IRC channel?

2003-11-19 Thread Aadi Deshpande
over at the freenode channel, we'er a small but growing number of ww2 users. i for one could definitely use more heads to ask questions and bounce ideas off of. hope to see you there, -a On Wed, 2003-11-19 at 12:52, Francisco Hernandez wrote: theres about 8 people or so who usually are on the

[OS-webwork] request params in an interceptor

2003-11-19 Thread Paul Knepper
How do I get request params in my interceptor? Say I have a url of, http://blah/myAction.action?myParam=foo In my interceptor I tried: ActionContext ctx = ActionContext.getContext(); String myParam = (String)ctx.get(myParam); myParam was null. Thanks, Paul

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

2003-11-19 Thread Anoop Ranganath
I'm looking in the code, and it appears that PropertyTag is the only UI tag that supports escaping. The TextFieldTag doesn't make any attempt to escape as far as I can see. Anoop On Nov 19, 2003, at 3:54 PM, Jason Carreira wrote: It's supposed to be escaping them... Which version are you

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

2003-11-19 Thread Robert Nicholson
Somebody mentioned that my problem is because there's already a .project in the repository. My question is assuming Ant is used to build webwork 1.4 can the .cvsignore include that .project file so that Eclipse doesn't see it? Is the .project file that's in the repository meant to be public?

RE: [OS-webwork] request params in an interceptor

2003-11-19 Thread Paul Knepper
Ok, I can get the param with ActionContext.getContext().getParameters(). But when I try to cast the object returned from the param Map to a String I get a class cast exception. Check this out. Map params = ctx.getParameters(); Object objMyParam = params.get(myParam); log.finer(objMyParam class

Re: [OS-webwork] request params in an interceptor

2003-11-19 Thread Hani Suleiman
It's a string array, so casting to String[] will work, which makes sense since you can have multiple params with the same name. Paul Knepper wrote: Ok, I can get the param with ActionContext.getContext().getParameters(). But when I try to cast the object returned from the param Map to a String

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

2003-11-19 Thread Hani Suleiman
I agree with this, but I think removing this file would cause people a lot of heartache when cvs updating, they might need to recreate their project and so on. Checking in IDE files is a pretty bad idea IMHO, it's utterly trivial to set up a project in your IDE of choice. I'd love to remove

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] [OS-xwork] Spring IoC integration

2003-11-19 Thread Cameron Braid
Ross Mason wrote: Cameron Braid wrote: Ross Mason wrote: Cameron Braid wrote: I have downloaded and integrated this code though and the tests run perfectly (after creating my my own ServletContextAware interface and removing refrences to the confluence packages) I really like the work

[OS-webwork] specifying what validation method to use for actions

2003-11-19 Thread Francisco Hernandez
what do you guys think of adding somekind of way to specify what the validation method to use in the validation interceptor? right now it just uses validate() and is called on every action, but sometimes not all actions use that same validate method, so what i'd like to do is convert a action

[OS-webwork] Just upgraded to WW2beta2 and now my validation is broken...

2003-11-19 Thread Peter White
Title: Just upgraded to WW2beta2 and now my validation is broken... Hi gang, I've updated all my UI tags to wrap literal values that I don't want evaluated in single quotes but my previously working validation is flat out broken. Not only is every submit rejected as invalid, but the field

Re: [OS-webwork] Just upgraded to WW2beta2 and now my validation is broken...

2003-11-19 Thread Francisco Hernandez
put quotes in the name attributes of your ui tags. Peter White wrote: Hi gang, I've updated all my UI tags to wrap literal values that I don't want evaluated in single quotes but my previously working validation is flat out broken. Not only is every submit rejected as invalid, but the field

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

2003-11-19 Thread Francisco Hernandez
i have a field of type Date, if i put in junk as the input ill get this message: Invalid field value for field user.dob. how can i change this message to something more friendly like Please input a value for Date of Birth, example: 03/18/1980)