Sent: Tuesday, May 22, 2007 2:48 PM
To: End-user support for the XDoclet code generator
Subject: Re: [Xdoclet-user] struts-config.xml - incorrect action
typeofinherited actions
Selon Cibulka Jaroslav <[EMAIL PROTECTED]>:
>
> Hi,
Hi
>
> I have problem with type attribute of action
Selon Cibulka Jaroslav <[EMAIL PROTECTED]>:
>
> Hi,
Hi
>
> I have problem with type attribute of action in struts-config.xml...
>
> In my application I have the following action class structure:
>
> /**
> * @struts.action path="/parentAction1" name="ParentForm2"...
> *
> * @struts.action path=
--- Emmanouil Batsis <[EMAIL PROTECTED]>
wrote:
> Emmanouil Batsis wrote:
>
> >This looks like the following bug:
> >
>
>http://opensource.atlassian.com/projects/xdoclet/browse/XDT-683
> >
>
> Would this work properly with xdoclet2?
You may try this, but be warned that tag signatures
may have
Emmanouil Batsis wrote:
>This looks like the following bug:
>
>http://opensource.atlassian.com/projects/xdoclet/browse/XDT-683
>
Would this work properly with xdoclet2?
Manos
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated tec
e).-Original Message-From: [EMAIL PROTECTED][mailto:
[EMAIL PROTECTED]] On Behalf OfEmmanouil BatsisSent: Wednesday, July 05, 2006 9:21 AMTo: xdoclet-user@lists.sourceforge.net
Subject: Re: [Xdoclet-user] struts config trouble with ActionsinheritanceThis looks like the following bug:http://opensou
t: Re: [Xdoclet-user] struts config trouble with Actions
inheritance
This looks like the following bug:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-683
Emmanouil Batsis wrote:
>Suppose i have this in a Struts Action class
>
> * @struts.action path=&qu
This looks like the following bug:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-683
Emmanouil Batsis wrote:
>Suppose i have this in a Struts Action class
>
> * @struts.action path="/User/LoadCreate"
> * name="EmployeeCrudForm"
> * i
Thanks, the invcation classpath was indeed the issue.
Manos
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as ea
--- Emmanouil Batsis <[EMAIL PROTECTED]>
wrote:
>
> When my Action classes extend an abstract class that
> in turn extends
> org.apache.struts.action.Action, no mappings are
> generated in struts
> config. Any ideas?
>
and you are sure, that struts classes are on xdoclet
invocation
classpat
Josh,
Try the response I got from Cory Scott, which is a work around that he says
worked. I haven't tried it yet. Let me know how it goes.
Regards,
Vang
> Vang,
>
> It sounds like you are having the exact same problem as i had. I am
> not sure exactly why the version setting is being ignor
On Fri, 2005-07-29 at 23:16, Josh Cronemeyer wrote:
> Below is a question I posted here a few days ago, but nobody responded. I've
> still not figured out what is wrong and why I can't get Xdoclet to create my
> validation.xml (I include my original question in case someone can see any
> relation
Hi
Just forget about the second point mentioned,
it seemed to be an issue in a previous version.
It appears to work now.
But i'd really look forward to a public
xdoclet version with the mentioned patch included.
Lukas
David Durham wrote:
I received an error:
taskdef class xdoclet.modules.web.WebDocletTask cannot be found
Does the webdoclettask require a seperate jar from the xdoclet 1.2.1
jar? That class (the modules package, in fact) is not in the xdoclet
1.2.1 jar.
I found the lib download that has all of the
You need to use XDoclet 1.2.2 for Struts 1.2.x support. A snapshot of
XDoclet 1.2.2 was recently made available. Please check the sf.net
site for the downloads.
On Fri, 3 Sep 2004 09:46:53 +0800, Eric Chow <[EMAIL PROTECTED]> wrote:
> when I specify the version=1.2.
> It just generate the struts
when I specify the version=1.2.
It just generate the struts-conf.xml as
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
In fact, I use Maven + XDoclet Plugin 1.2.1
I define the properties as following:
maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strut
I'm assuming you mean 1.2.2 - yes, I'm using it in my project now.
Matt
On Sep 2, 2004, at 4:36 AM, Eric Chow wrote:
Can XDoclet support Struts1.2 ???
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer
On Aug 31, 2004, at 5:53 AM, Nevine El-Saeed wrote:
I think the whole problem is in the way u wrote the tags...
u have:
@struts.form-field name="NewUserForm"
it should be:
@struts.form-field form-name="NewUserForm"
what I find strange though is that when I put these validations on the
setter method
I think the whole problem is in the way u wrote the tags...
u have:
@struts.form-field name="NewUserForm"
it should be:
@struts.form-field form-name="NewUserForm"
what I find strange though is that when I put these validations on the
setter methods, the validation conditions weren't transformed
Hi Timothy,
The available merge files are listed under the Merge file section:
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/apache/struts/StrutsConfigXmlSubTask.html
These files give you the means to include further static information
into generated files, when ever there are not Jav
list! :-)
-b
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 13, 2004 4:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] Struts Forms
>
>
> The generation is handle by hibernate so I think it is unwise to hack
&g
On Aug 12, 2004, at 11:28 PM, Matt Raible wrote:
XDoclet is not capable of processing Java files w/o marking the source
with XDoclet tags. At least, as far as I know.
Absolutely untrue. XDoclet gets the full model of the source code you
give it. Take this custom template, for example:
The generation is handle by hibernate so I think it is unwise to hack
it.
Most likely I think I will create the actionForm manually, maybe using
the setter/getter generation provided by eclipse. Look like it seem a
little difficult to use xdoclet in this case.
Thanks all.
sebastian
On Fri, 20
y, August 13, 2004 12:43 AM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Struts Forms
Of cos it can't.. maybe someone should come out with a tool that inserts
xdoclets tag after hibernate generates its POJO. Else it is impossbile
to make use of the struts xdoclets tags if hibernate is us
On Fri, 2004-08-13 at 02:50, Sebastian Ho wrote:
> Hi
>
> Adding to this discussion. Lets say my hibernate POJO are generated
> (without any xdoclet tags). Any easy way for me to generate Struts
> ActionForm from them using xdoclet? Editing hundreds of hibernate POJO
> to add in xdoclet tags is st
Of cos it can't.. maybe someone should come out with a tool that inserts
xdoclets tag after hibernate generates its POJO. Else it is impossbile
to make use of the struts xdoclets tags if hibernate is used. I suppose
that is what most ppl are doing..
If I can't find a solution to this, I will have
XDoclet is not capable of processing Java files w/o marking the source
with XDoclet tags. At least, as far as I know.
Matt
On Aug 12, 2004, at 7:50 PM, Sebastian Ho wrote:
Hi
Adding to this discussion. Lets say my hibernate POJO are generated
(without any xdoclet tags). Any easy way for me to g
Hi
Adding to this discussion. Lets say my hibernate POJO are generated
(without any xdoclet tags). Any easy way for me to generate Struts
ActionForm from them using xdoclet? Editing hundreds of hibernate POJO
to add in xdoclet tags is stupid..
Thanks
Sebastian
On Fri, 2004-08-13 at 02:51, Mat
They need to be in a merge directory in a global-forwards.xml file. For
example:
If you want to check out a project that uses XDoclet for a lot of Struts
code generation (including ActionForms from Hibernate POJOs), check out
AppFuse (http://appfuse.dev.java.net).
Matt
Laran E
How does XDoclet handle global-forwards in struts-config.xml.
Is there example code around that I can just look at?
Rupp, Heiko wrote:
I would say, docu is wrong here, as in the samples
there are some that use the struts tags in servlets.
Can you please raise an issue in JIRA about this
ht
I would say, docu is wrong here, as in the samples
there are some that use the struts tags in servlets.
Can you please raise an issue in JIRA about this
http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa ?
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL P
I don't know - I've never run XDoclet through any Eclipse plugins. It
just seems easier to run it from the command line via Ant. You might
ask the Easy Struts or Lomboz teams. It looks like you're missing a
JAR from Easy Struts in your classpath.
Matt
On May 9, 2004, at 7:59 AM, Leandro Mel
I haven't used strutsdoclet but this might help.
I've found that merge resources in general need to be in a directory
structure that matches the package that your merging with.
package com.foo.struts;
..
MergeDir/com/foo/struts/struts-action.xml
Mark
On 30 Mar 2004, at 12:27, [EMAIL PROTECTED]
te
xtags.xml in xdoclet-apache-module-1.2.jar\META-INF
Haven't done that yet, but it doesn't look difficult.
Thanks for the input
Martin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Heudecker
Sent: 20 March 2004 22:30
To: [EMAIL PROTE
- yes please.
>
> How and where will this release be packaged?
>
> Thanks
> Martin
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nick
> Heudecker
> Sent: 20 March 2004 17:11
> To: [EMAIL PROTECTED]
> Subjec
If it's not already in the release - yes please.
How and where will this release be packaged?
Thanks
Martin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Heudecker
Sent: 20 March 2004 17:11
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] S
If you'd like, I can include this in the next version of the XDoclet
extension that I maintain. I can have the release out on Tuesday.
(Is that service or what?)
On 2004-Mar-20 12:03, Martin Alley wrote:
> Hi,
>
> I'm interested in the @struts.action-set-property property="name"
> value="value"
--- matt <[EMAIL PROTECTED]> wrote:
> Sorry, I didn't mean to sound like a whinger. I
> love XDoclet and
> appreciate all of the effort that has gone into
> making it such a great
> product, and I certainly don't consider my skills to
> be sufficiently
> well-developed for committer status - I
Sorry, I didn't mean to sound like a whinger. I love XDoclet and
appreciate all of the effort that has gone into making it such a great
product, and I certainly don't consider my skills to be sufficiently
well-developed for committer status - I haven't taken the time to
understand the framewor
On Jan 4, 2004, at 8:03 PM, matt wrote:
You may find it useful with XDoclet to have a big patchfile to apply
whenever you checkout XDoclet, as the committers do not seem to get
much time for applying patches
I'll speak for myself here since I might be the most savvy (ex!) Struts
committer. I'm
Marc,
Sorry for the delayed reply...
Unless you've already found it, take a look at
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-715
There was an earlier enhancement request, but I can't find it for the
life of me.
The patch depends on a bugfix, which still h
-Original Message-
> From: Pawel Rzepa [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 24, 2003 11:01
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] Struts DispatchAction
>
>
> What exactly is your problem? My actions extend BaseAction, which is a
> subc
]
Sent: Wednesday, September 24, 2003 11:01
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Struts DispatchAction
What exactly is your problem? My actions extend BaseAction, which is a
subclass of Action that I wrote myself. I put @struts.action tag into
javadoc comment and everything works great
: Re: [Xdoclet-user] Struts DispatchAction
What exactly is your problem? My actions extend BaseAction, which is a
subclass of Action that I wrote myself. I put @struts.action tag into
javadoc comment and everything works great.
Pawel
Fenderbosch, Eric wrote:
> How can I get XDoclet to generat
01
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Struts DispatchAction
What exactly is your problem? My actions extend BaseAction, which is a
subclass of Action that I wrote myself. I put @struts.action tag into
javadoc comment and everything works great.
Pawel
Fenderbosch, Eric wrote:
What exactly is your problem? My actions extend BaseAction, which is a
subclass of Action that I wrote myself. I put @struts.action tag into
javadoc comment and everything works great.
Pawel
Fenderbosch, Eric wrote:
How can I get XDoclet to generate a section of my struts-config.xml for a sub
Just found it in JIRA.
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-535
For now, I guess my only option is to put a struts-actions.xml file in my merge
directory?
-Original Message-
From: Fenderbosch, Eric
Sent: Wednesday, September 24, 2003 09:38
To: [E
On Monday, September 15, 2003, at 11:55 AM, Adam Levine wrote:
There is indeed already an open issue
(http://opensource.atlassian.com/projects/xdoclet/secure/
ViewIssue.jspa?key=XDT-176) for this change, and it seems someone
submitted a patch for it, too, which has not yet been applied. The
On Sun, 2003-09-14 at 22:42, Erik Hatcher wrote:
> No idea why it is down, but it is. Aslak? Ara?
I've no idea why it's down either, but I've raised an issue
(http://jira.atlassian.com/secure/ViewIssue.jspa?key=JRA-2331) so
hopefully it'll get fixed ASAP.
Andrew.
> On Sunday, September 14, 20
No idea why it is down, but it is. Aslak? Ara?
On Sunday, September 14, 2003, at 01:19 PM, Adam L wrote:
Erik:
Thanks for the response. I'll see if I can't tweak the module
enough to
get it working. As far as submission back into JIRA... any ideas on
why
the JIRA for Struts is still 4
updated?
The current url is listed as
http://opensource.atlassian.com/projects/xdocletfrom
http://opensource.atlassian.com.
thanks.
-- adam
- Original Message -
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 20
Adam,
You are correct that the XDoclet Struts template does not currently
deal with set-property. But it'd be easy enough to add if you wanted
to tackle that. You could just pull out the struts_config_xml.xdt file
from the apache module to a local file, tweak the template and use that
templa
I looked at your Ant build script and saw no problem.
I looked at you XDoclet JavaDoc tags and saw no problem.
Then it dawned up me You action does not subclass Action.
You have:
public class MyTestAction {
it should read
public class MyTestAction extends org.apache.struts.action.Acti
You just forgotten to put what form you want to generate the field for.
So form-field has to have an attribute form-name="Person". It is important
because you can generate many forms off of one class. So you have to let
XDoclet know which field to generate for which form.
HTH,
Alex.
> -Ori
Chris -
First, let me say that one of the things I've loved about the XDoclet
community is that its been very best-practices focused. When folks ask
questions about how to do something with XDoclet that violates basic
EJB common sense and best practices then usually the community says
"what a
Erik,
Thanks for the thoughtful reply. My comments are inline below.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 7:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Struts, Validator, non-supported Types
On Thursday, March 20
On Thursday, March 20, 2003, at 05:43 PM, Chris Butler wrote:
to the heart of the issue. Currently there is no problem with the
standard String validation, but nothing will be generated for the
second
validation tag... setCityStateZip() because it is not a supported
type.
I believe this is a r
validation.xml for
the time being.
Thanks,
Chris
-----Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 4:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Struts, Validator, non-supported Types
Chris,
I'm really confused by this. I
Chris,
I'm really confused by this. I'm the creator of the Validator XDoclet
stuff and here is an example from my project:
public class ContactInfoForm extends BaseForm {
private AddressForm homeAddress;
private AddressForm workAddress;
public AddressForm getHomeAddress() {
ge files are located (see xdoclet web site).
>
> Hope that helps.
>
> -Ursprüngliche Nachricht-
> Von: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 11. März 2003 12:55
> An: [EMAIL PROTECTED]
> Betreff: Re: [Xdoclet-user] Struts Action Forward Usage
&
sorry, got a bit confused. I want to use the
ForwardAction (not the ActionForward) class and
I wonder if there is a way you can do this with
xdoclet?
- Original Message -
From:
Brian McSweeney
To: xdoclet
Sent: Tuesday, March 11, 2003 10:16
AM
Subject: [Xdoclet-use
On Wednesday, February 19, 2003, at 10:37 AM, <[EMAIL PROTECTED]>
wrote:
Two questions:
1) I need to be able to use the -tag in my
struts-config.xml (this is needed to be able to run the
Struts workflow extension, http://www.livinglogic.de/Struts/).
But how do I generate this from xdoc
Sure, we can linger on this as long as you like! :)
As for Struts generation, there are several tools out there, check the
Struts website for more information on them. Some open-source plugins
for Eclipse, etc, and some commercial tools like Adalon. Personally,
wizard code doesn't do much fo
;s the manual way is the only
way?
Thanks for your time,
Derek
- Original Message -
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: "Derek Lin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 1:08 PM
Subject: Re: [Xdoclet-u
Derek Lin wrote:
Oh I see. You write ActionForm's manually and generate things like
validation.xml from these manually written ActionForm's. Am I understand
you correctly? (I thought you were generating the ActionForm's from your
earlier emails. Now I can see why you say DynaForm's are useless
are useless)
Thanks,
- Original Message -
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: "Derek Lin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 12:28 PM
Subject: Re: [Xdoclet-user] struts dynaaction forms
> Derek,
>
&
Derek,
I don't believe its possible to generate an ActionForm from two EJB's
either. To be honest, the whole idea of generating a form bean from
some other Java persistence code just doesn't seem right to me, even if
you are gluing pieces together like two EJB's.
The form is the presentation
uot; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 9:50 AM
Subject: Re: [Xdoclet-user] struts dynaaction forms
> Can I just add my public $0.02 on DynaActionForms?! :)
>
> DynaActionForm's suck!
>
> If someone can show me why they are
While a lot of designs have value objects match to form beans, that has
not been a one-to-one mapping in my experience. Only for the simple
cases does that end up being this way, from the apps I've developed and
seen.
My JavaDevWithAnt - http://www.ehatchersolutions.com/downloads/ -
project h
Can I just add my public $0.02 on DynaActionForms?! :)
DynaActionForm's suck!
If someone can show me why they are of value I'd love to hear it, but
given what I can do with XDoclet and ActionForm beans to generate
struts-config form bean definitions *and* validation.xml you'd have to
convince
[EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of tek1
> Sent: Wednesday, December 18, 2002 9:57 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] struts dynaaction forms
>
>
> although i'm busy working on some xdoclet stuff for castor, i
> will be using
&g
9 December 2002 3:18 PM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] struts dynaaction forms
DynaActionForms are just ActionForms that are defined in
struts-config.xml. There is no real "generation" of them, unless you
want the XML generated for you. There is a @struts.form tag
]
Subject: RE: [Xdoclet-user] struts dynaaction forms
DynaActionForms are just ActionForms that are defined in
struts-config.xml. There is no real "generation" of them, unless you
want the XML generated for you. There is a @struts.form tag that can be
used on EntityBeans to create A
DynaActionForms are just ActionForms that are defined in
struts-config.xml. There is no real "generation" of them, unless you
want the XML generated for you. There is a @struts.form tag that can be
used on EntityBeans to create ActionForms. Personally, I'd love it if I
could use @struts.form tag
gt; From: "Erik Hatcher" <[EMAIL PROTECTED]>
> To: "Derek Lin" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, October 10, 2002 8:38 AM
> Subject: Re: [Xdoclet-user] struts form
>
>
>
>>Do you mean dynamically ge
uot; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 8:38 AM
Subject: Re: [Xdoclet-user] struts form
> Do you mean dynamically generate this from some kind of source code? If
> so, what kind of class do you see it processing to generate this?
>
> Or
Do you mean dynamically generate this from some kind of source code? If
so, what kind of class do you see it processing to generate this?
Or statically insert that into struts-config.xml? Yes, it can do that
already by using the struts-forms.xml merge file.
If you're using all dynamic forms
What is your classpath for ? Do you include
commons-validator.jar? You must include ValidatorForm in the classpath,
otherwise XDoclet cannot see that it extends from ActionForm.
I am using ValidatorForm and extensively to generate
form bean definitions (with XDoclet 1.2beta1) and its working f
A wise old hermit known only as kiuma <[EMAIL PROTECTED]> once said:
> How can I merge element into an xdoclet generated
> strut-config.xml?
Another slow reply, sorry (it's mail catch-up night)
The merge point for "struts-message-resources.xml" (at least, in the CVS
version there is). To qu
The task produces struts form objects from entity beans. If
you have implemented your own ActionForm class, then the
task will include those forms in the struts-config.xml if you have the
following tag:
/**
* @struts:form name="edittemplatebodyform"
*/
public class TemplateBodyForm extends A
Hi,
> Hello,
>
> Here, in my company, we are using XDoclet 1.1.2 and Struts 1.1. The
> problem is that XDoclet don't support the "global-exceptions"
> declaration of Struts 1.1.
> Then, I made some alts in files StrutsConfigXmlSubTask.java and
> struts_config_xml.j and include the struts-config_
- Original Message -
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
Dmitri - thanks for your quick reply...
> I'd argue that whilst what you say is correct, the way it is is still in
> line with the idea of xdoclet. Basically coders like coding, not working
in
> config files. The way I
> I've used the Struts config stuff to generate a struts-config.xml, but the
> problem is that merge points are needed for each action to inject local
> forwards. Has then been brought up before? How are folks dealing with
it?
I initially did it, and unless someone has been putting some work in
Title: Message
A few
comments on the comments:
1. Not
really, to make it nice and portable, I use the generated forms as a base and
extend it with what else I need bubbled to the front end. Say a
java.sql.Date, I like to collect it as three seperate String, see if it a valid
date then set
83 matches
Mail list logo