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
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
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
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
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
--- 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
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
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]
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
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
'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
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
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
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
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
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
>
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
;
> > 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:
> >
> >
> &
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
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
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
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
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
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 /
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
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 "
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
--
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.
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
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
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
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
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
67 matches
Mail list logo