webwork-user Mailing List for WebWork (Page 8)
Brought to you by:
baldree,
rickardoberg
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(24) |
Dec
(194) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(70) |
Feb
(133) |
Mar
(193) |
Apr
(114) |
May
(141) |
Jun
(176) |
Jul
(334) |
Aug
(418) |
Sep
(329) |
Oct
(209) |
Nov
(296) |
Dec
(122) |
2002 |
Jan
(123) |
Feb
(61) |
Mar
(115) |
Apr
(149) |
May
(124) |
Jun
(69) |
Jul
(80) |
Aug
(22) |
Sep
(1) |
Oct
(4) |
Nov
(3) |
Dec
|
2003 |
Jan
|
Feb
(1) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(5) |
Jul
(4) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Jason C. <jas...@no...> - 2002-06-06 12:47:36
|
Here's an example of where action chaining would be useful > -----Original Message----- > From: Aapo Laakkonen [mailto:aap...@pr...] > Sent: Wednesday, June 05, 2002 8:14 PM > To: web...@li... > Subject: [Webwork-user] Executing multiple actions with only=20 > one request >=20 >=20 > Is there some way to execute multiple actions with only one request? > Here is my views.properties file as an example (to show you what I'm > trying to do): >=20 > guestbook.action=3Dguestbook.Guestbook > guestbook.success=3Dguestbook/default.vm > guestbook.sign.action=3Dguestbook.Guestbook!sign > guestbook.sign.success=3Dguestbook.action >=20 > So the flow goes something like this: >=20 > User signs guestbook: >=20 > <form action=3D"guestbook.sign.action"> > ... > </form> >=20 > CommandDriven Guestbook action's doSign() method gets called. When it > has done the work... let's execute guestbook.action, that is mapped to > guestbook.Guestbook (the same) class, but now the default doExecute() > method get's called (that retrieves guestbook entries). After this the > guestbook/default.vm file is displayed to the user. >=20 > The problem is that it doesn't seem to work as WebWork tries to find a > view when doSign()-method returns. It looks for /guestbook.action view > that does not exists. >=20 > I can propably use one of these: >=20 > 1. use WebWork standard redirect action > - needs client side redirection > + URL gets updated and refreshing browser > does not do anything weird (or re-post) >=20 > 2. use #action and #execute velocity macros > - ties velocity template to an action > - I don't like the idea that client needs > to know where to get the information, it > should only know what information exists > and use that > + solves the problem >=20 > 3. call doExecute() method from doSign() method > - For me it is not elegant to call some method from > totally unrelated method only to get valuestack > populated > - Makes refactoring harder as it ties different parts > of software together > + 1 line of code >=20 > So I'm requesting somekind of forwarding mechanism. Maybe=20 > something that > is just like the standard redirect action, but does the work on server > side. >=20 > Or have I missed or misunderstood something in WebWork... does it > already have this mechanism implemented? >=20 > Kind Regards > Aapo Laakkonen >=20 >=20 >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >=20 > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user >=20 |
From: Aapo L. <aap...@pr...> - 2002-06-06 00:14:07
|
Is there some way to execute multiple actions with only one request? Here is my views.properties file as an example (to show you what I'm trying to do): guestbook.action=guestbook.Guestbook guestbook.success=guestbook/default.vm guestbook.sign.action=guestbook.Guestbook!sign guestbook.sign.success=guestbook.action So the flow goes something like this: User signs guestbook: <form action="guestbook.sign.action"> ... </form> CommandDriven Guestbook action's doSign() method gets called. When it has done the work... let's execute guestbook.action, that is mapped to guestbook.Guestbook (the same) class, but now the default doExecute() method get's called (that retrieves guestbook entries). After this the guestbook/default.vm file is displayed to the user. The problem is that it doesn't seem to work as WebWork tries to find a view when doSign()-method returns. It looks for /guestbook.action view that does not exists. I can propably use one of these: 1. use WebWork standard redirect action - needs client side redirection + URL gets updated and refreshing browser does not do anything weird (or re-post) 2. use #action and #execute velocity macros - ties velocity template to an action - I don't like the idea that client needs to know where to get the information, it should only know what information exists and use that + solves the problem 3. call doExecute() method from doSign() method - For me it is not elegant to call some method from totally unrelated method only to get valuestack populated - Makes refactoring harder as it ties different parts of software together + 1 line of code So I'm requesting somekind of forwarding mechanism. Maybe something that is just like the standard redirect action, but does the work on server side. Or have I missed or misunderstood something in WebWork... does it already have this mechanism implemented? Kind Regards Aapo Laakkonen |
From: <ma...@sm...> - 2002-06-05 12:26:23
|
Now is the time to comment on WW. Take this opportunity to provide feedback and voice your opinion on what features you want/don't want by commenting and voting in JIRA. Also, this is a great opportunity to jump on board. If you believe you could add value to the project by delivering a new feature/upgrade then lets hear it. Thanks go out to the people who are already taking time to let their voice be heard. -Matt http://opensource.atlassian.com/projects/webwork/ |
From: <ma...@sm...> - 2002-06-03 20:42:36
|
Take a look at this http://www.mail-archive.com/web...@li.../msg00152.html Boris Tamarkin wrote > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> > <TITLE>Code examples using Webork in J2EE</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2>Are exist any code examples including simple ejbs and how they called from webwork layer?</FONT> > <BR><FONT SIZE=2>Thanks</FONT> > </P> > > </BODY> > </HTML> |
From: Boris T. <BTa...@re...> - 2002-06-03 20:05:22
|
Are exist any code examples including simple ejbs and how they called from webwork layer? Thanks |
From: <ma...@sm...> - 2002-06-03 15:15:20
|
I populated JIRA with our TODO list. Please take a moment to visit the project page and grab a user account. You should be able to browse the project without an account, but if you want to add issues, you will need an account. It will take a few turns with this before we are up and going, but I think it will be well worth the effort. -Matt http://opensource.atlassian.com/projects/webwork |
From: <ma...@sm...> - 2002-06-03 14:21:59
|
WebWork 1.1 was relesed. This minor release includes new features: - HTML escape support - Native multipart content support - VoiceXML tags In addition, it includes bug fixes that stabalizes WW on most major servlet containers. If it doesn't work on yours, let us know. -Matt |
From: Matt B. <ma...@sm...> - 2002-05-31 00:43:36
|
Go here and you can search the forum for past conversations concerning "redirect" http://www.mail-archive.com/web...@li.../ -Matt ----- Original Message ----- From: <wa...@mw...> To: <web...@li...> Sent: Wednesday, May 29, 2002 4:04 PM Subject: [Webwork-user] what is the proper way to redirect within an action? > I am try to forward to another action. If I set the views.properties > to the appropriate action, it does work, however the url in the > browser is the original url, so if the user refreshes they will re- > execute the previous command, and not just refresh this action. > > I tried calling redirect from doExecute like the following : > > Redirect redirect = (Redirect)ActionFactory.getAction("Redirect"); > redirect.setUrl("CompanyNotesAction.action?companySeqNo="+getCompanySe > qNo()); > return redirect.execute(); > > but then I get the following exception : > java.lang.IllegalStateException: Cannot forward after response has > been committed > > this is in 3 different versions of tomcat...so I guess it could be a > tomcat issue, or I am just doing something totally wrong. > > Any help would be appreciated. > > Thanks, > > Walt > > ***************************************************** > Walter Szewelanczyk > IS Director > M.W. Sewall & CO. email : wa...@mw... > 259 Front St. Phone : (207) 442-7994 x 128 > Bath, ME 04530 Fax : (207) 443-6284 > ***************************************************** > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user > > |
From: <ma...@sm...> - 2002-05-30 13:14:59
|
The last thing I remember was that you were going to submit some scenarios where it makes sense. On Thu, 30 May 2002, "Patrick Lightbody" wrote > > So what's the status with action chaining? Last I heard, it looked like it > was being questioned and wasn't going to be implemented. If this is the > case, let me know and I'll come up with some good real world examples where > I could have used it. > > -Pat > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user |
From: Patrick L. <pli...@ho...> - 2002-05-30 08:23:36
|
So what's the status with action chaining? Last I heard, it looked like it was being questioned and wasn't going to be implemented. If this is the case, let me know and I'll come up with some good real world examples where I could have used it. -Pat |
From: <wa...@mw...> - 2002-05-29 21:04:34
|
I am try to forward to another action. If I set the views.properties to the appropriate action, it does work, however the url in the browser is the original url, so if the user refreshes they will re- execute the previous command, and not just refresh this action. I tried calling redirect from doExecute like the following : Redirect redirect = (Redirect)ActionFactory.getAction("Redirect"); redirect.setUrl("CompanyNotesAction.action?companySeqNo="+getCompanySe qNo()); return redirect.execute(); but then I get the following exception : java.lang.IllegalStateException: Cannot forward after response has been committed this is in 3 different versions of tomcat...so I guess it could be a tomcat issue, or I am just doing something totally wrong. Any help would be appreciated. Thanks, Walt ***************************************************** Walter Szewelanczyk IS Director M.W. Sewall & CO. email : wa...@mw... 259 Front St. Phone : (207) 442-7994 x 128 Bath, ME 04530 Fax : (207) 443-6284 ***************************************************** |
From: Scott F. <sc...@at...> - 2002-05-29 00:14:41
|
Just return values from your action as a String array. eg: <ui:select label="'Projects'" name="'projectIds'" list="/browseableProjects" listKey="'long('id')'" listValue="'string('name')'"> <ui:param name="'size'" value="'4'" /> <ui:param name="'headerrow'" value="'Any'" /> <ui:param name="'headervalue'" value="''" /> <ui:param name="'style'">width: 90%;</ui:param> </ui:select> in your action: public String[] getProjectIds() { return new String[] {"10410"}; } The array matches the listKey property in the ui:select dropdown. Cheers, Scott Vipul Manglik wrote: > Hi, > I am using ui:select tag to display a list of items. (Its actually a > list of dates). I want to be able to display a particular value as the > initailly selected value. (Which will be todays date). How can I specify > the initilly selected value using the ui:select tag? > > If ui:select tag does not have the required functionlaity, is there > some other way to achieve the same result? > > Thanks > Vipul Manglik > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user > -- Scott Farquhar :: sc...@at... Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World |
From: Owen T. <ow...@cu...> - 2002-05-28 20:19:18
|
IMO: In order to "be" a property (rather than an attribute) it Must have a related get method. Cheers, Owen. -----Original Message----- From: web...@li... [mailto:web...@li...]On Behalf Of Harvey Kandola Sent: Thursday, May 23, 2002 5:54 AM To: web...@li... Subject: [Webwork-user] Re: Getting value from Session object Sorry, ignore my previous post - I was missing a get method for my property, doh! Having said that, it would be nice to access public properties that do not have related get methods... "Harvey Kandola" <ha...@ka...> wrote in message news:acids0$d06$1...@ma...... > > I have an object in session scope (xyz) and would like to retrieve a value > (blah) from this object: > > <webwork:property value="@xyz/blah"/> > > Can't get it to work...documentation suggests it is possible... > > > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Webwork-user mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/webwork-user |
From: Vipul M. <vi...@mo...> - 2002-05-28 06:58:40
|
Hi, I am using ui:select tag to display a list of items. (Its actually a list of dates). I want to be able to display a particular value as the initailly selected value. (Which will be todays date). How can I specify the initilly selected value using the ui:select tag? If ui:select tag does not have the required functionlaity, is there some other way to achieve the same result? Thanks Vipul Manglik |
From: Matt B. <ma...@sm...> - 2002-05-27 16:18:51
|
legacy method. I removed it. ----- Original Message ----- From: "Harvey Kandola" <ha...@ka...> Newsgroups: gmane.comp.java.webwork.user To: <web...@li...> Sent: Monday, May 27, 2002 10:46 AM Subject: [Webwork-user] handlesCommands() ? > protected boolean handlesCommands() { return true; } > > Saw the above line of code in one of the samples in an Action class. Can't > seem to find any docs on this. > > Does it tell WW that the Action class supports commands (CommandDriven)? > > Thanks. > > > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user > > |
From: Harvey K. <ha...@ka...> - 2002-05-27 15:45:28
|
protected boolean handlesCommands() { return true; } Saw the above line of code in one of the samples in an Action class. Can't seem to find any docs on this. Does it tell WW that the Action class supports commands (CommandDriven)? Thanks. |
From: Aapo L. <aap...@pr...> - 2002-05-27 13:24:20
|
> Remember you can tier your views meaning you > can indicate a base action that will just return > SUCCESS and define more specific successes as you > see fit. Hehee.. now I feel a little bit stupid. > So a call to my.xxx.action will map to xxx.vm and > my.yyy.action will map to yyy.vm or calls to > my.action will map to x.vm. Will this not give > you the flexibility you need? This is exacly what I was looking for. Wow... you guys rock, :-)! |
From: Matt B. <ma...@sm...> - 2002-05-27 13:07:18
|
Remember you can tier your views meaning you can indicate a base action that will just return SUCCESS and define more specific successes as you see fit. my.action=ActionSupport my.success=x.vm my.xxx.success=xxx.vm my.yyy.success=yyy.vm So a call to my.xxx.action will map to xxx.vm and my.yyy.action will map to yyy.vm or calls to my.action will map to x.vm. Will this not give you the flexibility you need? ----- Original Message ----- From: "Aapo Laakkonen" <aap...@pr...> To: "'Matt Baldree'" <ma...@sm...>; <web...@li...> Sent: Monday, May 27, 2002 7:28 AM Subject: RE: [Webwork-user] Using views as an action > > I'm not quite sure what you are after. > > Can you give a more concrete example? > > Ok here we go: > > If have these HTML-file: > > file1.vm: > <html> > <body> > <a href="my.action">My Action</a> > </body> > </html> > > file2.vm: > <html> > <body> > <a href="my.action">My Action</a> > </body> > </html> > > file3.vm: > <html> > <body> > <a href="my.action">My Action</a> > </body> > </html> > > Ok in real life they are much different, but the point is... > > Let's say that my.action is not really an action, it's just a mapping to > a view, so my views.properties is something like this: > > my.action=foo.vm > > So when I click those links I end up in foo.vm file that is an Velocity > file (server side forward). And the process did not go throught any > action class. > > I can the easily refactor my application by just modifying > views.properties, for example (my refactored views.propertirs): > > my.action=deep/in/directory/structure/foo.vm > > And the point is that I do not have to change all those > JSP/Velocity/etc. files to get to the new mapping. > > And more importantly... what if I want to do some processing, then I > just refactor my views.properties logic, for example like this: > > my.action=ValidateUser > my.action.success=validated.vm > my.action.failed=go_home_lame_hacker.vm > > This is possible with Struts framework and I think that it is not very > difficult to implement with WebWork. Or do you suggest some other ways > to do this? > > Kind Regards > Aapo Laakkonen > > > |
From: Aapo L. <aap...@pr...> - 2002-05-27 12:28:29
|
> I'm not quite sure what you are after. > Can you give a more concrete example? Ok here we go: If have these HTML-file: file1.vm: <html> <body> <a href="my.action">My Action</a> </body> </html> file2.vm: <html> <body> <a href="my.action">My Action</a> </body> </html> file3.vm: <html> <body> <a href="my.action">My Action</a> </body> </html> Ok in real life they are much different, but the point is... Let's say that my.action is not really an action, it's just a mapping to a view, so my views.properties is something like this: my.action=foo.vm So when I click those links I end up in foo.vm file that is an Velocity file (server side forward). And the process did not go throught any action class. I can the easily refactor my application by just modifying views.properties, for example (my refactored views.propertirs): my.action=deep/in/directory/structure/foo.vm And the point is that I do not have to change all those JSP/Velocity/etc. files to get to the new mapping. And more importantly... what if I want to do some processing, then I just refactor my views.properties logic, for example like this: my.action=ValidateUser my.action.success=validated.vm my.action.failed=go_home_lame_hacker.vm This is possible with Struts framework and I think that it is not very difficult to implement with WebWork. Or do you suggest some other ways to do this? Kind Regards Aapo Laakkonen |
From: Matt B. <ma...@sm...> - 2002-05-27 11:46:49
|
I'm not quite sure what you are after. Can you give a more concrete example? ----- Original Message ----- From: "Aapo Laakkonen" <aap...@pr...> To: <web...@li...> Sent: Monday, May 27, 2002 5:37 AM Subject: RE: [Webwork-user] Using views as an action > >> What is the proper way to map an action directly to a view? > >> > >> WebWork examples has one example of this, but it doesn't seem to work > >> on webwork 1.0.3: > >> > >> jspaction.action=jspaction.jsp jspaction.success=jspactionsuccess.jsp > >> jspaction.error=jspactionerror.jsp > > > > Why do you need a mapping? Why not just call jspaction.jsp? > > Let's say I propably want to do something processing in the future with > that action, but do not currently need to do anything. So simply > forwarding to a view. If I have 100 links everywhere in my application > to point that action.jsp... I have to change all of them when I want to > have some processing made prior forwarding to view... so I change all > the 100 refs to action.action. But If I can do this mapping straight via > views.properties or action.xml file then I just need to modify that file > (and of cource propably write an proper action class to do the work). > > I do not want to call action from the view, because I think that it's > not the views work to do manual execution of actions. Instead I want to > them happen transparently to a view. And I that processing gives me some > output, then I update a view to show that information. > > I also do not want to write any dummy classes that justs forwards to a > view, but does not do anything else. > > Cheers > Aapo > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user > > |
From: Aapo L. <aap...@pr...> - 2002-05-27 10:37:40
|
>> What is the proper way to map an action directly to a view? >> >> WebWork examples has one example of this, but it doesn't seem to work >> on webwork 1.0.3: >> >> jspaction.action=jspaction.jsp jspaction.success=jspactionsuccess.jsp >> jspaction.error=jspactionerror.jsp > > Why do you need a mapping? Why not just call jspaction.jsp? Let's say I propably want to do something processing in the future with that action, but do not currently need to do anything. So simply forwarding to a view. If I have 100 links everywhere in my application to point that action.jsp... I have to change all of them when I want to have some processing made prior forwarding to view... so I change all the 100 refs to action.action. But If I can do this mapping straight via views.properties or action.xml file then I just need to modify that file (and of cource propably write an proper action class to do the work). I do not want to call action from the view, because I think that it's not the views work to do manual execution of actions. Instead I want to them happen transparently to a view. And I that processing gives me some output, then I update a view to show that information. I also do not want to write any dummy classes that justs forwards to a view, but does not do anything else. Cheers Aapo |
From: Aapo L. <aap...@pr...> - 2002-05-26 00:49:31
|
What is the proper way to map an action directly to a view? WebWork examples has one example of this, but it doesn't seem to work on webwork 1.0.3: jspaction.action=jspaction.jsp jspaction.success=jspactionsuccess.jsp jspaction.error=jspactionerror.jsp This is the error message: java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at com.evermind[Orion/1.5.4 (build 10585)]._cp._vnc(.:1569) at com.evermind[Orion/1.5.4 (build 10585)]._cp._wxc(.:3891) at com.evermind[Orion/1.5.4 (build 10585)]._cp._wkb(.:2068) at com.evermind[Orion/1.5.4 (build 10585)]._co._wbb(.:449) at com.evermind[Orion/1.5.4 (build 10585)]._co._fs(.:189) at com.evermind[Orion/1.5.4 (build 10585)]._bt.run(.:62) So it seems like webwork is trying to load a class that doesn't exists. -- I will checkout new version from CVS and hope that the problem is fixed there. And I'm using Velocity... can I use the method above with Velocity also. Why would I like to use actions instead of directly mapping to jsp or vm file? The main reason is that I can change the logic behind the scenes and is I want to do something more, then I just wrote an action class and the links are still valid, so I do not have to modify other files. |
From: Matt B. <ma...@sm...> - 2002-05-24 02:21:47
|
done. thx. ----- Original Message ----- From: "Tom Quellenberg" <qu...@su...> To: <web...@li...> Sent: Wednesday, May 22, 2002 1:59 AM Subject: [Webwork-user] Two small problems > Hallo, > > we found two small bugs in webwork (and more important, two fixes): > - in class NodeWalker all attributes of the XML are delete: > contentHandler.startElement("", attributeName, "", EMPTY_ATTRS); > In my opinion the right way to do this is: > contentHandler.startElement("", attributeName, "", saxAttributes); > - In class ValueStack the program rely on a final null-value in the > segments array: > > // always have the next segment ready to go > segment = segments[segmentIdx++]; > > // if we don't need to search through the stack then return the > value > // this is very unlikely to happen, but we have account for it > anyway > if (segment == null) > return value; > > But the final null-value is not allways there. In Query the array is only > extended when there is no more space for a new value: > > private void add(QuerySegment qs) { > if (segmentsIdx == segments.length) { > QuerySegment[] resize = new QuerySegment[segments.length + 5]; > System.arraycopy(segments, 0, resize, 0, segments.length); > segments = resize; > } > > segments[segmentsIdx++] = qs; > } > > The easiest solution is to extend the array in advance: > if (segmentsIdx == segments.length - 1) { ... > > It would be very helpful if someone could commit those changes to the CVS. > > Regards, > Tom > > |
From: Francisco H. <fhe...@fh...> - 2002-05-23 18:16:11
|
I've been wondering, where should validation happen? both domain type checking (ie: valid integer, valid phone number, valid date) and other business type checking (ie: this user does infect belong to this group, this item can be added to the cart) I've seen doValidation() but that doesnt seem to work with CommandDriven interface (although I was thinking for some kind of method to to call doCreateValidation() when doCreate() command is run or maybe in actions.xml having a validator attribute that specifies the method to be called when the command is run) right now ive just validating data in my action methods (ie: doCreate() contains all of the validation code), another thing i was thinking about was doing the domain type checking inside the parameter setters (ie: setUser() checks that the User is valid) I'd like to hear what methods of validation you guys are using.. |
From: Mike Cannon-B. <mi...@at...> - 2002-05-23 14:43:29
|
Great - I'll check that one out in the morning. Thanks Matt! -mike On 23/5/02 11:15 PM, "ma...@sm..." (ma...@sm...) penned the words: > This should be fixed with the latest CVS. > > -Matt > > On Thu, 23 May 2002, ma...@sm... wrote > >> >> I've downloaded Resin and am seeing the error. I'll > get >> this fixed. Thanks Mike. >> >> On Thu, 23 May 2002, Mike Cannon-Brookes wrote >> >>> >>> I get a lot of NullPointerExceptions at the moment - >> like 68 of >>> PropertyTag.java. >>> >>> Investigating (and trying to patch) now - but just >> thought I'd ask. Surely >>> someone is using WW on Resin out there? ;) >>> >>> Cheers, >>> Mike >>> >>> Mike Cannon-Brookes >>> mi...@at... >>> >>> ATLASSIAN - Your J2EE Expert Partner >>> >> > -------------------------------------------------------- >>>> Brilliant Software - >> http://www.atlassian.com/software >>>> Legendary Services - >> http://www.atlassian.com/support >>> >>> >>> >> > _______________________________________________________________ >>> >>> Don't miss the 2002 Sprint PCS Application >> Developer's Conference >>> August 25-28 in Las Vegas -- >> http://devcon.sprintpcs.com/adp/index.cfm >>> >>> _______________________________________________ >>> Webwork-user mailing list >>> Web...@li... >>> >> > https://lists.sourceforge.net/lists/listinfo/webwork-user >> >> >> >> > _______________________________________________________________ >> >> Don't miss the 2002 Sprint PCS Application > Developer's Conference >> August 25-28 in Las Vegas -- > http://devcon.sprintpcs.com/adp/index.cfm >> >> _______________________________________________ >> Webwork-user mailing list >> Web...@li... >> > https://lists.sourceforge.net/lists/listinfo/webwork-user > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user |