Re: Using xdoclet with ValidatorActionForm

2008-07-10 Thread Dimitris Mouchritsas
ed to extend ValidatorActionForm instead of ValidatorForm. But in the xdoclet path I need to provide a path attribute. (btw I use a patched 1.2.3 xdoclet to support struts 1.3.8) If this is the path for the action then I'm in trouble because I have 3 seperate actions for each step. Do I need

Using xdoclet with ValidatorActionForm

2008-07-10 Thread Dimitris Mouchritsas
stead of ValidatorForm. But in the xdoclet path I need to provide a path attribute. (btw I use a patched 1.2.3 xdoclet to support struts 1.3.8) If this is the path for the action then I'm in trouble because I have 3 seperate actions for each step. Do I need to combine them in one? Could

Provide links from XDoclet validator tags

2008-06-16 Thread Dimitris Mouchritsas
Hi once more, seems like a struts day to me :) Anyway, using struts 1.2.4 and XDoclet 1.2.3 is there a way to define an error message for a form which includes an argument or something? For example: /** * Set name. * * @param name the value to set. * * @struts.validator

Managing xdoclet tags with prepare action in struts 1.2.4

2008-03-04 Thread Dimitris Mouchritsas
n see that the prepare action is entered. Here's my xdoclet tags for the prepare action: /** * @struts.action name="prepareRegisterEOOrg" path="/prepareRegisterEOOrg" *validate="false" * * @struts.action-forward name="goRegisterEOOrg" path

XDoclet + struts-config.xml + modules

2006-06-23 Thread Stasica, Grzegorz
Hi, Is it possible to generate struts-config.xml for modules? I've two modules in my application handled by one DispatchAction. Unfortunately I can't find a way to indicate that specific mapping is related to another module. By the way is it true that XDoclet for struts doesn't

Re: Action 2.0 xdoclet?

2006-05-24 Thread Konstantin Priblouda
--- Emmanouil Batsis <[EMAIL PROTECTED]> wrote: > > Holla, > > Is an xdoclet plugin or hack available for Struts > Action 2? I finished one for webwork / xwork ( which is SAF 2 ;) ) for xdoclet 2 http://xdoclet.codehaus.org/Xwork+plugin Though it is available as snapsh

RE: Action 2.0 xdoclet?

2006-05-24 Thread David Friedman
I haven't tried it but since webwork is Struts 2.0, won't the Xdoclet Webwork tags do most of the job (except for any brand new Action 2.0 specific add-ons to WebWork): http://xdoclet.sourceforge.net/xdoclet/tags/webwork-tags.html Regards, David -Original Message- From: Emmano

Action 2.0 xdoclet?

2006-05-24 Thread Emmanouil Batsis
Holla, Is an xdoclet plugin or hack available for Struts Action 2? Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ValidatorActionForm and xdoclet?

2006-01-16 Thread Marcelo Morales
Hi On Jan 16, 2006, at 11:11 AM, Emmanouil Batsis wrote: Hi all, Is anyone using xdoclet validator tags with ValidatorActionForms to generate different validation rule-sets per action? Is it even possible? As far as i know it is not possible. And in my humble opinion it's

ValidatorActionForm and xdoclet?

2006-01-16 Thread Emmanouil Batsis
Hi all, Is anyone using xdoclet validator tags with ValidatorActionForms to generate different validation rule-sets per action? Is it even possible? Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [OT] Xdoclet and JBOSS

2005-12-09 Thread Marco Mistroni
'XDoclet in action' has plenty of examples You'll need to have the xdoclet-jboss-module btw.. With Rick's Hightower permission, go to this link http://www.arc-mind.com/downloads.htm HTH marco -Original Message- From: Sebastien Degardin [mailto:[EMAIL

Re: [OT] Xdoclet and JBOSS

2005-12-09 Thread Sebastien Degardin
Hello, look at thisq link on Jboss + Eclipse + Lomboz using xDoclet. at : http://www.tusc.com.au/tutorial/html/chap1.html Regards, Sebastien Degardin On 12/9/05, R. Markham <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I am extending my Struts Applicati

[OT] Xdoclet and JBOSS

2005-12-09 Thread R. Markham
Hi all, I am extending my Struts Application using JBOSS 3.XX. I want to generate my EJB using XDOCLET. Somebody know a nice link or a book where there is an example. Regards Richard

ValidatorActionForm and the xdoclet tag

2005-11-14 Thread Vijay Pandey
ing use of xdoclte (1.2.3) to generate the validtion.xml, i am not able to find out any attribute in the xdoclet tags where i can specify which field should be validated on which action mapping path? Or is there something else or i am looking at a wrong way, i think like we have "page" att

Re: validator and xdoclet

2005-06-22 Thread Nitesh
May be you could go to the URL get the required DTD and put the same in your WEB-INF Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 22, 2005 6:14 PM Subject: Re: validator and xdo

Re: validator and xdoclet

2005-06-22 Thread roberto
ll you could get the latest struts jar > from Jakarta struts and use > the vlaidator-rule bundled with that... > > HTH > Nitesh > > - Original Message - > From: "roberto" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, June 22, 2005 4:58 PM >

Re: validator and xdoclet

2005-06-22 Thread Nitesh
-rule bundled with that... HTH Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 22, 2005 4:58 PM Subject: validator and xdoclet Hi people, I'm an italian student and i have a problem with struts validator. I'm wo

validator and xdoclet

2005-06-22 Thread roberto
Hi people, I'm an italian student and i have a problem with struts validator. I'm working in a universitary project based on standard j2ee for a web applicaton. This project works on jboss with struts, ejb, all handled with xdoclet. The deployment is made by Ant. I have a form writte

RE: Xdoclet & Struts modules

2005-04-28 Thread Prasad, Kamakshya
Style is the tag for html (BWhile struts implements the same with the name as styleclass (B (B-Original Message- (BFrom: Harsh Panwar [mailto:[EMAIL PROTECTED] (BSent: Thursday, April 28, 2005 6:20 PM (BTo: Struts Users Mailing List (BSubject: RE: Xdoclet & Struts modules

RE: Xdoclet & Struts modules

2005-04-28 Thread Harsh Panwar
Message- (BFrom: Marco Mistroni [mailto:[EMAIL PROTECTED] (BSent: Thursday, April 28, 2005 2:13 PM (BTo: 'Struts Users Mailing List' (BSubject: Xdoclet & Struts modules (B (BHello all, (BIs anyone aware of XDoclet plugins for dealing with Struts (Bmodules? (B

Xdoclet & Struts modules

2005-04-28 Thread Marco Mistroni
Hello all, Is anyone aware of XDoclet plugins for dealing with Struts modules? Let me clarify better issue.. If I am correct, with Struts modules you can have multiple 'struts configuration files', one for each module in your app. As far as I know, with xdoclet you can buil

RE: [OT] xdoclet actionforms

2005-04-21 Thread Fogleson, Allen
Nils, In your @struts.form you need to give it a name like... @struts.form name="accountForm" Al -Original Message- From: Nils Liebelt [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 2:03 AM To: 'Struts Users Mailing List' Subject: [OT] xdoclet actionfor

Re: [OT] xdoclet actionforms

2005-04-21 Thread Nick Heudecker
The validator tags must be on the setter methods, not the getters. On 4/21/05, Nils Liebelt <[EMAIL PROTECTED]> wrote: > Hi, > > I am using the webdoclet module to generate my struts-config.xml. It works > very nice for my action classes. But for some reason I doesn't parse the > tags in my Form

RE: [OT] xdoclet actionforms

2005-04-21 Thread Aron Gombas
9:03 AM To: 'Struts Users Mailing List' Subject: [OT] xdoclet actionforms Hi, I am using the webdoclet module to generate my struts-config.xml. It works very nice for my action classes. But for some reason I doesn't parse the tags in my Form classes. I can't see the form bean de

[OT] xdoclet actionforms

2005-04-21 Thread Nils Liebelt
Hi, I am using the webdoclet module to generate my struts-config.xml. It works very nice for my action classes. But for some reason I doesn't parse the tags in my Form classes. I can't see the form bean definitions in the struts config after building. I ran Ant in debug and I saw that finds the a

[OT] xdoclet actionforms

2005-04-21 Thread Nils Liebelt
Hi, I am using the webdoclet module to generate my struts-config.xml. It works very nice for my action classes. But for some reason I doesn't parse the tags in my Form classes. I can't see the form bean definitions in the struts config after building. I ran Ant in debug and I saw that finds the a

Re: Use JavaDoc and XDoclet to create site description document

2005-03-24 Thread Hubert Rabago
ECTED]> wrote: > I have a fairly large application (100+ actions) with all of the actions > hard-coded into a struts-config. I would like to move the mappings into > the Action classes using XDoclet as well as adding some custom > parameters such as: >@requires >@failsIf

Use JavaDoc and XDoclet to create site description document

2005-03-24 Thread Matt Hughes
I have a fairly large application (100+ actions) with all of the actions hard-coded into a struts-config. I would like to move the mappings into the Action classes using XDoclet as well as adding some custom parameters such as: @requires @failsIf ...etc Then I would like some tool

Re: Help with validator and xdoclet

2005-03-15 Thread Niall Pemberton
No, can't do that with any of the numeric validators :-( would be a good addition though. Currently the only way to do this is using standard validators shipped with struts is using the "mask" validator. Niall - Original Message - From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTE

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
ho wrote: Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: Sorry all. But I was using the wrong nam

Re: Help with validator and xdoclet

2005-03-15 Thread Niall Pemberton
; > > Hello there! I'm using for the first time, xdoclet to create my > > validation.xml file (that really help) > > But I got stuck in a point. I have a property that must be float and > > also greater than 0. Here's what I've tried: > > > > > &

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Vinicius Caldeira Carvalho wrote: Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePre

Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePreAutorizacao The limitePreAut

Re: XDoclet

2005-02-01 Thread bryan ( [EMAIL PROTECTED] )
my personal opinion XDoclet is on the way out and 1.5 anotations will replace it. I never liked it anyway. It does not work in a pleasant fashion with struts config files. Their is no real advantage in learning it as ejb and hibernate will both use anotations. I don't know why so

RE: XDoclet

2005-01-30 Thread Marco Mistroni
Hello, Personal opinion... go for XDoclet, because you can reuse it also for Other purposes in same webapp (EJB, Hibernate, Spring etc..) Regards marco -Original Message- From: Tim Christopher [mailto:[EMAIL PROTECTED] Sent: 30 January 2005 03:28 To: Struts Users Mailing

RE: XDoclet

2005-01-29 Thread David G. Friedman
Tim, > From: Tim Christopher [mailto:[EMAIL PROTECTED] > What does everyone think of using XDoclet to build > Struts / Tiles / Validator configuration files? I like using XDoclet for creating the struts-config.xml file. For permanent items that are not in your .java files or which n

Re: XDoclet

2005-01-29 Thread Eddie Bush
I think there's been some movement to do this in the past. You might try searching on sourceforge ... or even Google. On Sun, 30 Jan 2005 03:28:27 +, Tim Christopher <[EMAIL PROTECTED]> wrote: > Hi, > > What does everyone think of using XDoclet to build Struts /

XDoclet

2005-01-29 Thread Tim Christopher
Hi, What does everyone think of using XDoclet to build Struts / Tiles / Validator configuration files? Is it likely to make life seem like it's worth living, or is a few hours spent trying to learn it going to drive me mad? :o) Cheers for your feedback! Tim Christ

XDoclet + Struts validator question

2004-09-12 Thread Eric Chow
Hello, How can I define the xdoclet tag for struts validator that the validated field muct depends to another field ?? For example, if the "action" is "new" then all the fields(name, sex) must be required. if the "action" is "edit" then only the "

Re: Struts XDoclet examples

2004-09-08 Thread David Durham
I should probably post this stuff on XDoclet's list ... David Durham wrote: That's good information; I read it with vigor... As you can tell, I'm excited by the prospects of using XDoclet instead of . And, I think I get the gist of Struts related support provided in XDocle

Re: Struts XDoclet examples

2004-09-08 Thread David Durham
That's good information; I read it with vigor... As you can tell, I'm excited by the prospects of using XDoclet instead of . And, I think I get the gist of Struts related support provided in XDoclet, but I have a couple of questions. 1 -- How good is the DynaValidatorForm support?

Re: Struts XDoclet examples

2004-09-07 Thread Bill Siggelkow
es an additional burden on the developer to keep the code and the configuration files consistent with each other. The XDoclet tool, originally developed to address this issue with respect to EJB development, addresses this problem. With XDoclet, the developer places annotations in the code itself th

Struts XDoclet examples

2004-09-07 Thread David Durham
Is there a good site/spot for Struts XDoclet examples. I'm using: http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html But, I'm also looking for some examples. Thanks, Dave - To unsubscribe, e-mail: [EMAIL

Re: [ANNOUNCE] XDoclet Struts DynaForm 1.2.2 SNAPSHOT

2004-08-18 Thread James Mitchell
PROTECTED]> Sent: Tuesday, August 17, 2004 10:46 PM Subject: [ANNOUNCE] XDoclet Struts DynaForm 1.2.2 SNAPSHOT > This release adds validation support to the DynaForms generated by XDoclet. > Using the "@struts.validator" tags, you can create the validation.xml for > dynamic ac

[ANNOUNCE] XDoclet Struts DynaForm 1.2.2 SNAPSHOT

2004-08-17 Thread Nick Heudecker
This release adds validation support to the DynaForms generated by XDoclet. Using the "@struts.validator" tags, you can create the validation.xml for dynamic action forms in the same manner used by the struts.form XDoclet feature. Please note that this is a SNAPSHOT release, crea

RE: xdoclet and struts forms

2004-08-12 Thread Jesse Alexander (KXT)
truts modules might be another way to split the whole app into smaller parts. hth Alexander -Original Message- From: Laran Evans [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 7:59 PM To: Struts Users Mailing List Subject: Re: xdoclet and struts forms I hear what you're sayi

Re: xdoclet and struts forms

2004-08-12 Thread Hubert Rabago
team of 7 developers. > If each developer can make changes to the struts-config.xml file we'll > have 7 people working on the same file at the same time. If we generate > the struts-config.xml file with XDoclet we will all in fact be working > on separate files, with the struts-co

Re: xdoclet and struts forms

2004-08-12 Thread Craig McClanahan
ame time. If we generate > the struts-config.xml file with XDoclet we will all in fact be working > on separate files, with the struts-config.xml file being generated > consistently, with changes integrated as they're committed to CVS. > > I think it's a tradeoff. > Anoth

Re: xdoclet and struts forms

2004-08-12 Thread Laran Evans
I hear what you're saying. However, I work in a team of 7 developers. If each developer can make changes to the struts-config.xml file we'll have 7 people working on the same file at the same time. If we generate the struts-config.xml file with XDoclet we will all in fact be w

Re: xdoclet and struts forms

2004-08-12 Thread Rick Reumann
Laran Evans wrote: I have a struts ActionForm which I would like to markup with xdoclet tags. Don't do it:) Seriously, IMO, I think it's a waste. I think it's nice having one configuration file to look it to set up all my mappings (your config.xml file). Think about it, using

xdoclet and struts forms

2004-08-12 Thread Laran Evans
I have a struts ActionForm which I would like to markup with xdoclet tags. The documentation for @struts.form however says "Applies to: Entity beans". Does this mean that the only ActionForm implementations xdoclet supports are implemented as EJBs? Is it reasonable for me to think th

RE: mapping an action twice with Xdoclet

2004-08-09 Thread Tito Eritja
Hi David Sorry... I haven't explained myself well... Xdoclet writes the two action in config file, but the problem comes with @struts.action-forward and @struts.action-exception, as Xdoclet writes the forward and the exception in each action. if I write something like that: * @struts.a

RE: mapping an action twice with Xdoclet

2004-08-06 Thread David Friedman
I believe I've put two @struts.action declarations in one Java file for XDoclet and it put two entries in my struts-config.xml file. (Under eclipse/Xdoclet). If it helps, I updated the plug-in jars for the latest stable version in the Eclipse XDoclet folders (they were a version or two b

mapping an action twice with Xdoclet

2004-08-06 Thread Tito Eritja
Hi all. I have to map the same Action twice, is possible to do it with Xdoclet in the same java file? (by now, I write the first mapping with @struts.action and the second with merge file struts-action.xml thanks tito signature.asc Description: PGP signature

Re: RE : Struts, XDoclet, and Maven...

2004-06-28 Thread Bryan Hunt
I second that ! --b Navjot Singh wrote: i agree with rick here. I also tried using struts-config.xml using xdoclet. In the end it turns out to be a futile exercise. Moreover, using modules makes working with xdoclet more cumbersome. It's EASY to write the config yourself. Some may say

RE: RE : Struts, XDoclet, and Maven...

2004-06-28 Thread Matthew Ryan
ne 28, 2004 10:26 PM To: Struts Users Mailing List Subject: Re: RE : Struts, XDoclet, and Maven... Marco Mistroni wrote: > I m doing it coz I m lazy and I prefer that someone else > Generates configuration files for me.. But what aspect of configuration is it saving you time with? You still h

Re: RE : Struts, XDoclet, and Maven...

2004-06-28 Thread Rick Reumann
time-wise if you code them there or in the struts-config? What's sort of ironic is when Struts came out one of the benefits was touted about how you had a central place to do your configuration and you weren't having to harcode fowards in your controllers. XDoclet with Struts sets you

RE: RE : Struts, XDoclet, and Maven...

2004-06-28 Thread Marco Mistroni
Hello, Well, I agree with u, but it depends on how u generate The struts-config and other config files.. U can still write ur own action-mapping file and make xdoclet Merge it (I m doing it for action-forms for example)... I m doing it coz I m lazy and I prefer that someone else Generates

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Navjot Singh
i agree with rick here. I also tried using struts-config.xml using xdoclet. In the end it turns out to be a futile exercise. Moreover, using modules makes working with xdoclet more cumbersome. It's EASY to write the config yourself. Some may say that it will be useful to generate the S

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Mark Lowe
I had a go with struts xdoclet tags, the advantages aren't that great but it does help keeping the mapping information in the same file. Given there are no real cross container issues relating to the struts-config file then its not as useful as webdoclet tags. The other problem is that i

Re: RE : Struts, XDoclet, and Maven...

2004-06-27 Thread Rick Reumann
Andy Akins wrote: but I'm fairly new to Maven but have coded two simple struts apps with it - and XDoclet is brand new to me. I'm looking to combine all of the above (and eventually Hibernate - but that's for a later day). I don't see what advantage using XDoclet with Strut

Re: RE : Struts, XDoclet, and Maven...

2004-06-26 Thread Andy Akins
-- De : Andy Akins [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 juin 2004 14:51 À : Struts Users Mailing List Objet : Struts, XDoclet, and Maven... I am trying to learn these technologies (and Hibernate too, for that matter) - and I'm having the typical problem of knowing where to start.

RE : Struts, XDoclet, and Maven...

2004-06-24 Thread Heritier Arnaud
Did you try : maven -Dtemplate=struts-jstl genapp Arnaud > -Message d'origine- > De : Andy Akins [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 24 juin 2004 14:51 > À : Struts Users Mailing List > Objet : Struts, XDoclet, and Maven... > > > I am trying to

Struts, XDoclet, and Maven...

2004-06-24 Thread Andy Akins
apps with it - and XDoclet is brand new to me. I'm looking to combine all of the above (and eventually Hibernate - but that's for a later day). Does anyone out there have, or know of (or can create) a super-simple example app (maybe the archtypical Struts hello app: two jsp's, one

Re: Using XDoclet for DynaForms

2004-04-14 Thread Nick Heudecker
Kunil: I've written an XDoclet extension to create DynaForm configs from POJOs. It works quite well, and you can find it at: http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2.zip I'm still recovering from a disk failure, which explains the paucity of content. On 2004

Re: Using XDoclet for DynaForms

2004-04-14 Thread Craig McClanahan
Kunal H. Parikh wrote: Hi All! Is there a recommended way of generating DynaActionForms using XDoclet ? If not, I guess I would end up writing my own ActionForms and inserting XDoclet tags in there. However, is there any performance benefit of using DynaActionForms instead of plain ActionForms

Using XDoclet for DynaForms

2004-04-14 Thread Kunal H. Parikh
Hi All! Is there a recommended way of generating DynaActionForms using XDoclet ? If not, I guess I would end up writing my own ActionForms and inserting XDoclet tags in there. However, is there any performance benefit of using DynaActionForms instead of plain ActionForms ? TIA, Kunal