Re: xdoclet + Dynaforms

2004-01-28 Thread Raj Atchutuni

I looked at Person.java and .xdt files [struts_dynaform.xdt]. 

 

I am not familiar with .xdt yet. But I could understand to some extent. You are firing 
tags for “XDtClass:forAllClassTags”, “XDtMethod:forAllMethods”. Person.java is 
searched for 

“struts.dynaform”, “struts.dynaform-field” tags.

 

Meaning you are writing Person.java actionForm. But using Dynaforms you don’t need to 

Code FormBeans. They are created behind the scenes. 

 

So how do I generate  in struts-config.xml with out coding ActionForms ?

 


Nick Heudecker <[EMAIL PROTECTED]> wrote:Not at all. Had you googled for 'xdoclet 
dynaforms', you would've found my patch for XDoclet that allows you to generate the 
configuration for DynaForms. You may find it here:

http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2b4.zip



On 2004-Jan-28 15:01, Raj Atchutuni wrote:
> I agree. If i want to use xdoclet i have to generate through form beans. But we are 
> losing the spice of Dynaforms. I implemented Dynaforms on my project with out coding 
> Form beans.
> Now i want to implement xdoclet on top of it. This is just to try xdoclet to 
> generate my struts-config.xml, if possible tiles-def.xml, 
> ApplicationResources.properties for the all the form properties.
> Any ideas ? I think xdoclet is limited to EJBs 
> 
> Wendy Smoak wrote:
> > My question is where do i code web-doclet tags when i am not coding 
> > form beans ? and is there any ways to auto generate the attributes in
> 
> > ApplicationResources.properties also ?
> 
> I don't know, but I thought if you were going to use xdoclet, you would
> have it generate the form beans. 
> 
> -- 
> Wendy Smoak
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
-- 
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Phone: 734.604.9192
Web: http://www.systemmobile.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

RE: xdoclet + Dynaforms

2004-01-28 Thread Wendy Smoak
> From: Raj Atchutuni [mailto:[EMAIL PROTECTED] 

> I agree. If i want to use xdoclet i have to generate through 
> form beans. But we are losing the spice of Dynaforms.

If you are going to have the form beans generated, what does it matter
whether they are dynamic forms or whether xdoclet does it for you?  IOW,
what's special about a dynamic form over a regular form bean?  I would
actually prefer generated form beans, so you don't have to jump through
the Map to get at the form properties.

> Any ideas ? I think xdoclet is limited to EJBs 

That seems to be what it's intended for.  I have not been able to figure
out how to get it to generate form beans without getting into any EJB
stuff, (which I don't use,) but it's supposed to be possible.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xdoclet + Dynaforms

2004-01-28 Thread Nick Heudecker
Not at all.  Had you googled for 'xdoclet dynaforms', you would've found my patch for 
XDoclet that allows you to generate the  configuration for DynaForms.  You 
may find it here:

http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2b4.zip



On 2004-Jan-28 15:01, Raj Atchutuni wrote:
> I agree. If i want to use xdoclet i have to generate through form beans. But we are 
> losing the spice of Dynaforms. I implemented Dynaforms on my project with out coding 
> Form beans.
> Now i want to implement xdoclet on top of it. This is just to try xdoclet to 
> generate my struts-config.xml, if possible tiles-def.xml, 
> ApplicationResources.properties for the all the form properties.
> Any ideas ? I think xdoclet is limited to EJBs 
> 
> Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > My question is where do i code web-doclet tags when i am not coding 
> > form beans ? and is there any ways to auto generate the attributes in
> 
> > ApplicationResources.properties also ?
> 
> I don't know, but I thought if you were going to use xdoclet, you would
> have it generate the form beans. 
> 
> -- 
> Wendy Smoak
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
-- 
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Phone: 734.604.9192
Web: http://www.systemmobile.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: xdoclet + Dynaforms

2004-01-28 Thread Raj Atchutuni
I agree. If i want to use xdoclet i have to generate through form beans. But we are 
losing the spice of Dynaforms. I implemented Dynaforms on my project with out coding 
Form beans.
Now i want to implement xdoclet on top of it. This is just to try xdoclet to generate 
my struts-config.xml, if possible tiles-def.xml, ApplicationResources.properties for 
the all the form properties.
Any ideas ? I think xdoclet is limited to EJBs 

Wendy Smoak <[EMAIL PROTECTED]> wrote:
> My question is where do i code web-doclet tags when i am not coding 
> form beans ? and is there any ways to auto generate the attributes in

> ApplicationResources.properties also ?

I don't know, but I thought if you were going to use xdoclet, you would
have it generate the form beans. 

-- 
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

RE: xdoclet + Dynaforms

2004-01-28 Thread Wendy Smoak
>  My question is where do i code web-doclet tags when i am not coding 
> form beans ?  and is there any ways to auto generate the attributes in

> ApplicationResources.properties also ?

I don't know, but I thought if you were going to use xdoclet, you would
have it generate the form beans. 

-- 
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xdoclet + Dynaforms

2004-01-28 Thread Raj Atchutuni
Since i am using Dynaforms, i dont code formbeans in java.
 Right now i have the following settings hand coded for 
"pbGettinghereForm".
 
 My question is where do i code web-doclet tags when i am not coding 
form beans ?
 and is there any ways to auto generate the attributes in 
ApplicationResources.properties also ?
 
 Please let me know.
 
 Thanks
 Raj
 
 struts-config.xml
 --
 





 validation.xml
 --
 
  
 


 


 


 
  
 


ApplicationResources.properties
---
pbGettinghereForm.startAr.displayname=Address
pbGettinghereForm.startCt.displayname=City
pbGettinghereForm.startSt.displayname=State
pbGettinghereForm.startZp.displayname=Zip



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: xdoclet strutsconfigxml thingy

2003-11-12 Thread harm
You can easily set the destination directory for your struts-config.xml.

So you can have many different sub-apps...

Regards,

Harm de Laat
Informatiefabriek
The Netherlands




Caoilte O'Connor <[EMAIL PROTECTED]> 
11/12/2003 01:55 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>


To
[EMAIL PROTECTED]
cc

Subject
Re: xdoclet strutsconfigxml thingy






ok. i have something similar enough.



But which bit in that specifies that you have a subapp, ie

struts-config-XXX.xml

instead of,

struts-config.xml


and do you put the subapp xml merge files in a sub dir of 
the root merge dir? or specify them as a separate merge dir 
in another webdoclet invocation.

cheers

c


On Wednesday 12 November 2003 13:23, 
[EMAIL PROTECTED] wrote:
> Yes it is quitte easy:
>
> In build.xml
> 
>
>  name="webdoclet"
> 
> classname="xdoclet.modules.web.WebDocletTask"
> classpathref="xdoclet.classpath" />
>
>  
> destdir="${resources.dir}/manager/WEB-INF"
> mergedir="${xdoclet.merge.dir}/manager"
>
>
>  includes= "**/*Action.java"/>
>  includes= "**/*Form.java"/>
>  includes= "**/*Servlet.java"/>
>
>  
> servletspec="${servlet.spec.version}"
> distributable="false"
> sessiontimeout="240"
>
>  uri="struts-bean"
> location="/WEB-INF/struts-bean.tld"
> />
>  uri="struts-html"
> location="/WEB-INF/struts-html.tld"
> />
>  uri="struts-logic"
> location="/WEB-INF/struts-logic.tld"
> />
>  uri="struts-nested"
> location="/WEB-INF/struts-nested.tld"
> />
>  uri="struts-tiles"
> location="/WEB-INF/struts-tiles.tld"
> />
>  uri="sitemesh-decorator"
> 
> location="/WEB-INF/sitemesh-decorator.tld" />
>  uri="sitemesh-page"
> location="/WEB-INF/sitemesh-page.tld"
> />
>  
> uri="http://jakarta.apache.org/taglibs/jstl/core";
> location="/WEB-INF/c.tld" />
>  
> uri="http://jakarta.apache.org/taglibs/jstl/fmt";
> location="/WEB-INF/fmt.tld" />
>
> 
>
> 
>
> 
> 
>
>
> In your Java files:
>
> * @struts.action
>  *  name="changeStateForm"
>  *  path="/change_state"
>  *  scope="request"
>  *  validate="false"
>  * @struts.action-forward
>  *  name="success"
>  *  path="/main.jsp"
>  * @struts.action-exception
>  * 
> key="advertisement.doesnt.exists.exception" *
> type="nl.informatiefabriek.om.exception.advertisement.Adv
>ertisementDoesNotExistException" * 
> path="/error.jsp"
>  *  scope="request"
>  * @struts.action-exception
>  *  key="relation.doesnt.exists.exception"
>  *
> type="nl.informatiefabriek.om.exception.relation.Relation
>DoesNotExistsException" *  path="/error.jsp"
>  *  scope="request"
>  */
> public class ChangeStateAction extends BaseAction {
> // your class
> }
>
> Good luck,
>
> Regards,
>
> Harm de Laat
> Informatiefabriek
> The Netherlands
>
>
>
>
> Caoilte O'Connor <[EMAIL PROTECTED]>
> 11/12/2003 01:11 PM
> Please respond to
> "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
>
>
> To
> "Struts Users Mailing List"
> <[EMAIL PROTECTED]> cc
>
> Subject
> xdoclet strutsconfigxml thingy
>
>
>
>
>
>
> Does anyone who uses XDoclet know how to make it generate
> struts-config sub-app config files?
>
> I've been looking at it and can't work out whether it's
> covered.
>
> c
>
>
> -
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xdoclet strutsconfigxml thingy

2003-11-12 Thread Caoilte O'Connor
ok. i have something similar enough.



But which bit in that specifies that you have a subapp, ie

struts-config-XXX.xml

instead of,

struts-config.xml


and do you put the subapp xml merge files in a sub dir of 
the root merge dir? or specify them as a separate merge dir 
in another webdoclet invocation.

cheers

c


On Wednesday 12 November 2003 13:23, 
[EMAIL PROTECTED] wrote:
> Yes it is quitte easy:
>
> In build.xml
> 
>
>  name="webdoclet"
>
> classname="xdoclet.modules.web.WebDocletTask"
> classpathref="xdoclet.classpath" />
>
> 
> destdir="${resources.dir}/manager/WEB-INF"
> mergedir="${xdoclet.merge.dir}/manager"
>
>
>  includes= "**/*Action.java"/>
>  includes= "**/*Form.java"/>
>  includes= "**/*Servlet.java"/>
>
> 
> servletspec="${servlet.spec.version}"
> distributable="false"
> sessiontimeout="240"
>
>  uri="struts-bean"
> location="/WEB-INF/struts-bean.tld"
> />
>  uri="struts-html"
> location="/WEB-INF/struts-html.tld"
> />
>  uri="struts-logic"
> location="/WEB-INF/struts-logic.tld"
> />
>  uri="struts-nested"
> location="/WEB-INF/struts-nested.tld"
> />
>  uri="struts-tiles"
> location="/WEB-INF/struts-tiles.tld"
> />
>  uri="sitemesh-decorator"
>
> location="/WEB-INF/sitemesh-decorator.tld" />
>  uri="sitemesh-page"
> location="/WEB-INF/sitemesh-page.tld"
> />
> 
> uri="http://jakarta.apache.org/taglibs/jstl/core";
> location="/WEB-INF/c.tld" />
> 
> uri="http://jakarta.apache.org/taglibs/jstl/fmt";
> location="/WEB-INF/fmt.tld" />
>
> 
>
> 
>
> 
> 
>
>
> In your Java files:
>
> * @struts.action
>  *  name="changeStateForm"
>  *  path="/change_state"
>  *  scope="request"
>  *  validate="false"
>  * @struts.action-forward
>  *  name="success"
>  *  path="/main.jsp"
>  * @struts.action-exception
>  * 
> key="advertisement.doesnt.exists.exception" *
> type="nl.informatiefabriek.om.exception.advertisement.Adv
>ertisementDoesNotExistException" * 
> path="/error.jsp"
>  *  scope="request"
>  * @struts.action-exception
>  *  key="relation.doesnt.exists.exception"
>  *
> type="nl.informatiefabriek.om.exception.relation.Relation
>DoesNotExistsException" *  path="/error.jsp"
>  *  scope="request"
>  */
> public class ChangeStateAction extends BaseAction {
> // your class
> }
>
> Good luck,
>
> Regards,
>
> Harm de Laat
> Informatiefabriek
> The Netherlands
>
>
>
>
> Caoilte O'Connor <[EMAIL PROTECTED]>
> 11/12/2003 01:11 PM
> Please respond to
> "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
>
>
> To
> "Struts Users Mailing List"
> <[EMAIL PROTECTED]> cc
>
> Subject
> xdoclet strutsconfigxml thingy
>
>
>
>
>
>
> Does anyone who uses XDoclet know how to make it generate
> struts-config sub-app config files?
>
> I've been looking at it and can't work out whether it's
> covered.
>
> c
>
>
> -
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xdoclet strutsconfigxml thingy

2003-11-12 Thread Mark Lowe
I had to use the destdir attribute



On 12 Nov 2003, at 12:23, [EMAIL PROTECTED] wrote:

Yes it is quitte easy:

In build.xml









uri="struts-bean"
location="/WEB-INF/struts-bean.tld"
/>

uri="struts-html"
location="/WEB-INF/struts-html.tld"
/>

uri="struts-logic"
location="/WEB-INF/struts-logic.tld"
/>

uri="struts-nested"
location="/WEB-INF/struts-nested.tld"
/>

uri="struts-tiles"
location="/WEB-INF/struts-tiles.tld"
/>

uri="sitemesh-decorator"
location="/WEB-INF/sitemesh-decorator.tld"
/>

uri="sitemesh-page"
location="/WEB-INF/sitemesh-page.tld"
/>

 
uri="http://jakarta.apache.org/taglibs/jstl/core";
location="/WEB-INF/c.tld"
/>

 
uri="http://jakarta.apache.org/taglibs/jstl/fmt";
location="/WEB-INF/fmt.tld"
/>







In your Java files:

* @struts.action
 *  name="changeStateForm"
 *  path="/change_state"
 *  scope="request"
 *  validate="false"
 * @struts.action-forward
 *  name="success"
 *  path="/main.jsp"
 * @struts.action-exception
 *  key="advertisement.doesnt.exists.exception"
 *
type="nl.informatiefabriek.om.exception.advertisement.AdvertisementDoes 
NotExistException"
 *  path="/error.jsp"
 *  scope="request"
 * @struts.action-exception
 *  key="relation.doesnt.exists.exception"
 *
type="nl.informatiefabriek.om.exception.relation.RelationDoesNotExistsE 
xception"
 *  path="/error.jsp"
 *  scope="request"
 */
public class ChangeStateAction extends BaseAction {
// your class
}

Good luck,

Regards,

Harm de Laat
Informatiefabriek
The Netherlands


Caoilte O'Connor <[EMAIL PROTECTED]>
11/12/2003 01:11 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc
Subject
xdoclet strutsconfigxml thingy




Does anyone who uses XDoclet know how to make it generate
struts-config sub-app config files?
I've been looking at it and can't work out whether it's
covered.
c

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: xdoclet strutsconfigxml thingy

2003-11-12 Thread harm
Yes it is quitte easy:

In build.xml

 

 













http://jakarta.apache.org/taglibs/jstl/core";
location="/WEB-INF/c.tld"
/>
http://jakarta.apache.org/taglibs/jstl/fmt";
location="/WEB-INF/fmt.tld"
/>
 

 

 




In your Java files:

* @struts.action
 *  name="changeStateForm"
 *  path="/change_state"
 *  scope="request"
 *  validate="false"
 * @struts.action-forward
 *  name="success"
 *  path="/main.jsp"
 * @struts.action-exception
 *  key="advertisement.doesnt.exists.exception"
 *  
type="nl.informatiefabriek.om.exception.advertisement.AdvertisementDoesNotExistException"
 *  path="/error.jsp"
 *  scope="request"
 * @struts.action-exception
 *  key="relation.doesnt.exists.exception"
 *  
type="nl.informatiefabriek.om.exception.relation.RelationDoesNotExistsException"
 *  path="/error.jsp"
 *  scope="request"
 */
public class ChangeStateAction extends BaseAction {
// your class
}

Good luck,

Regards,

Harm de Laat
Informatiefabriek
The Netherlands




Caoilte O'Connor <[EMAIL PROTECTED]> 
11/12/2003 01:11 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>


To
"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc

Subject
xdoclet strutsconfigxml thingy






Does anyone who uses XDoclet know how to make it generate 
struts-config sub-app config files?

I've been looking at it and can't work out whether it's 
covered.

c


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Xdoclet

2003-07-11 Thread Raible, Matt
I wrote a sample app that might be just what you're looking for:

http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse

HTH,

Matt

-Original Message-
From: Saman Ghodsian [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: Xdoclet


Hi everyone,
 Just starting with struts, I'm looking for xdoclet for 
 struts, where I can put attributes on my model source code 
 and it will generate all the Action, form, etc and xml files 
 for me. Any ideas? Pointers appreciated..

Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Xdoclet

2003-07-11 Thread Erik Price


Saman Ghodsian wrote:
Hi thanks for the reply,
Any information or sample code on how to use those?.
Maybe not those tags particularly, but example of XDoclet use at

http://xpetstore.sf.net/



Erik

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Xdoclet

2003-07-11 Thread Saman Ghodsian
Hi thanks for the reply,
Any information or sample code on how to use those?.
Thanks

Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada



> -Original Message-
> From: Alex Shneyderman [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 11, 2003 12:14 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Xdoclet
> 
> 
> They are subtasks of ejbdoclet (strutsform) and webdoclet's 
> strutsconfigxml and strutsvalidationxml
> 
> you can find appropriate tag descriptions in the docs for those 
> modules.
> 
> > -Original Message-
> > From: Saman Ghodsian [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 11, 2003 3:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: Xdoclet
> > 
> > Hi everyone,
> >  Just starting with struts, I'm looking for xdoclet for  
> struts, where 
> > I can put attributes on my model source code  and it will 
> generate all 
> > the Action, form, etc and xml files  for me. Any ideas? 
> Pointers 
> > appreciated..
> > 
> > Saman Ghodsian
> > CTO
> > Middle Earth Technologies Ltd.
> > www.metca.com
> > Cell (604)-839-7791
> > Vancouver, BC
> > Canada
> > 
> > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Xdoclet

2003-07-11 Thread Alex Shneyderman
They are subtasks of ejbdoclet (strutsform) and webdoclet's 
strutsconfigxml and strutsvalidationxml

you can find appropriate tag descriptions in the docs for those 
modules.

> -Original Message-
> From: Saman Ghodsian [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 11, 2003 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: Xdoclet
> 
> Hi everyone,
>  Just starting with struts, I'm looking for xdoclet for
>  struts, where I can put attributes on my model source code
>  and it will generate all the Action, form, etc and xml files
>  for me. Any ideas? Pointers appreciated..
> 
> Saman Ghodsian
> CTO
> Middle Earth Technologies Ltd.
> www.metca.com
> Cell (604)-839-7791
> Vancouver, BC
> Canada
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Xdoclet

2003-07-11 Thread Erik Price


Saman Ghodsian wrote:
Hi everyone,
 Just starting with struts, I'm looking for xdoclet for 
 struts, where I can put attributes on my model source code 
 and it will generate all the Action, form, etc and xml files 
 for me. Any ideas? Pointers appreciated..
http://xdoclet.sourceforge.net/tags/apache-tags.html



Erik

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: xdoclet with struts

2003-02-06 Thread Sri Sankaran
You just asked this question a couple of days ago and even got a reply

http://marc.theaimsgroup.com/?l=struts-user&m=104436215626677&w=2

Sri

> -Original Message-
> From: Pat Quinn [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, February 06, 2003 2:27 PM
> To: [EMAIL PROTECTED]
> Subject: xdoclet with struts
> 
> 
> Hi guys,
> 
> Is anyone out there using xdoclet with struts?? I've had a 
> look a some 
> samples that come with xdoclet eg below. any comments on this 
> approach??? I assume it generates the struts-config.xml??? If 
> so its a 
> rather nice way to keep your deployment settings with your 
> source code
> 
> 
> /**
> * Simple class to test Jakarta Struts generation (Jakarta 
> Struts 1.2 beta 2 
> only).
> *
> * @struts.action
> *path="/struts/bar"
> *
> * @struts.action-forward
> *name="success"
> *path="/struts/getAll.do"
> *redirect="false"
> *
> */
> public final class StrutsDispatchAction extends DispatchAction {
> public ActionForward execute(ActionMapping mapping, 
> ActionForm form,
>  HttpServletRequest request, 
> HttpServletResponse response)
> {
> return mapping.findForward("success");
> }
> }
> 
> 
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: xdoclet with struts

2003-02-06 Thread Raible, Matt
I posted this earlier, but it never seemed to come though, so I'll try
again:

I am - and it's awesome.  The only issue (IMO) in XDoclet's current codebase
is that you can only generate Struts' Forms from Entity Beans at this point.
I've submitted a patch for it (http://tinyurl.com/5bb9), but no one has
committed it yet. If you're interested in using this patch, you can find out
more about it on my site at http://tinyurl.com/5bbh (this also includes a
link to download the patched code).

This patch allows you to generate Struts' Forms from any POJO (Plain Old
Java Object).  I've published a sample app (struts-resume) that can be
checked out from CVS at http://sf.net/projects/struts.  This project
generates Struts Validator Forms from POJOs, the validation.xml, and the
struts-config.xml using XDoclet.  Pretty slick stuff IMHO.

The project also uses a strutsgen tool written by Erik Hatcher.  This tool
will generate a skeleton JSP and .properties file from a Form - really
speeding up development time.  I discovered this tool, as well as a very
slick  JSP Tag by investigating Erik's JavaDevWithAnt project at
http://www.ehatchersolutions.com/JavaDevWithAnt/.

HTH,

Matt

> -Original Message-
> From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 12:27 PM
> To: [EMAIL PROTECTED]
> Subject: xdoclet with struts
> 
> 
> Hi guys,
> 
> Is anyone out there using xdoclet with struts?? I've had a 
> look a some 
> samples that come with xdoclet eg below. any comments on this 
> approach??? I assume it generates the struts-config.xml??? If 
> so its a 
> rather nice way to keep your deployment settings with your 
> source code
> 
> 
> /**
> * Simple class to test Jakarta Struts generation (Jakarta 
> Struts 1.2 beta 2 
> only).
> *
> * @struts.action
> *path="/struts/bar"
> *
> * @struts.action-forward
> *name="success"
> *path="/struts/getAll.do"
> *redirect="false"
> *
> */
> public final class StrutsDispatchAction extends DispatchAction
> {
> public ActionForward execute(ActionMapping mapping, 
> ActionForm form,
>  HttpServletRequest request, 
> HttpServletResponse response)
> {
> return mapping.findForward("success");
> }
> }
> 
> 
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: xdoclet with struts

2003-02-06 Thread Jarnot Voytek Contr AU HQ/SC
I'll tell you one thing, you'll have to wait a while if it's only usable
with Struts 1.2 beta 2 ... 

I knew those xdoclet developers were smart, but this is incredible...

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -Original Message-
> From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: xdoclet with struts
> 
> 
> Hi guys,
> 
> Is anyone out there using xdoclet with struts?? I've had a 
> look a some 
> samples that come with xdoclet eg below. any comments on this 
> approach??? I assume it generates the struts-config.xml??? If 
> so its a 
> rather nice way to keep your deployment settings with your 
> source code
> 
> 
> /**
> * Simple class to test Jakarta Struts generation (Jakarta 
> Struts 1.2 beta 2 
> only).
> *
> * @struts.action
> *path="/struts/bar"
> *
> * @struts.action-forward
> *name="success"
> *path="/struts/getAll.do"
> *redirect="false"
> *
> */
> public final class StrutsDispatchAction extends DispatchAction
> {
> public ActionForward execute(ActionMapping mapping, 
> ActionForm form,
>  HttpServletRequest request, 
> HttpServletResponse response)
> {
> return mapping.findForward("success");
> }
> }
> 
> 
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: xdoclet & struts

2003-02-04 Thread Raible, Matt
I am - and it's awesome.  The only issue (IMO) in XDoclet's current codebase
is that you can only generate Struts' Forms from Entity Beans at this point.
I've submitted a patch for it (http://tinyurl.com/5bb9), but no one has
committed it yet. If you're interested in using this patch, you can find out
more about it on my site at http://tinyurl.com/5bbh (this also includes a
link to download the patched code).

This patch allows you to generate Struts' Forms from any POJO (Plain Old
Java Object).  I've published a sample app (struts-resume) that can be
checked out from CVS at http://sf.net/projects/struts.  This project
generates Struts Validator Forms from POJOs, the validation.xml, and the
struts-config.xml using XDoclet.  Pretty slick stuff IMHO.

The project also uses a strutsgen tool written by Erik Hatcher.  This tool
will generate a skeleton JSP and .properties file from a Form - really
speeding up development time.  I discovered this tool, as well as a very
slick  JSP Tag by investigating Erik's JavaDevWithAnt project at
http://www.ehatchersolutions.com/JavaDevWithAnt/.

HTH,

Matt

> -Original Message-
> From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 8:06 AM
> To: [EMAIL PROTECTED]
> Subject: xdoclet & struts
> 
> 
> I was taking a quick read through the xdoclet documentation 
> and noted it 
> offers some support for struts. Is anyone out there using 
> xdoclet with 
> struts and if so what are the benefits and typical usages???
> 
> Cheers
> 
> Pat
> 
> 
> 
> 
> _
> The new MSN 8: advanced junk mail protection and 2 months FREE* 
> http://join.msn.com/?page=features/junkmail
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Xdoclet and Struts

2002-12-10 Thread Jack R.
Thanks for your feedback. If we use xdoclet and struts, is it possible for
me NOT to edit/create the struts-config file for both struts 1.0 and 1.1? It
kind of beat the purpose of using xdoclet if we need to manually add/change
the struts-cofig file after it is generated by xdoclet.

Thank you.


- Original Message -
From: "Emil Korladinov" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 3:33 AM
Subject: Re: Xdoclet and Struts


> --- "Jack R." <[EMAIL PROTECTED]> wrote:
> > Is it a good practice to use xdoclet to generate
> > Struts config file? Or it
> > is not a good idea at all?
> >
> > I know there are GUI tool to edit struts config
> > file. But I would think it
> > will be easier to have the struts config file auto
> > generate by xdoclet tag
> > in my struts Form, Action files.
> >
> > Thanks for any suggestion.
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Xdoclet and Struts

2002-12-09 Thread Slava_L
well is seems that u generate xml from another xml
i thinl xDoclet very usefull for EJB code generation
- Original Message -
From: "tek1" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 7:38 PM
Subject: Re: Xdoclet and Struts


> no.
>
> check out xdoclet at:
>
> http://xdoclet.sourceforge.net/
> http://sourceforge.net/projects/xdoclet
>
>
>
> At 17:00 02/12/09 +0800, you wrote:
> >Could u plz describe wut exactly u generate
> >Do u have to manualy edit somethin' after generation ? coz' if u do, then
it
> >is worthless
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Xdoclet and Struts

2002-12-09 Thread tek1
no.

check out xdoclet at:

http://xdoclet.sourceforge.net/
http://sourceforge.net/projects/xdoclet



At 17:00 02/12/09 +0800, you wrote:

Could u plz describe wut exactly u generate
Do u have to manualy edit somethin' after generation ? coz' if u do, then it
is worthless



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Xdoclet and Struts

2002-12-09 Thread Slava_L
Could u plz describe wut exactly u generate
Do u have to manualy edit somethin' after generation ? coz' if u do, then it
is worthless

- Original Message -
From: "Emil Korladinov" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 5:36 PM
Subject: Re: Xdoclet and Struts


> --- "Jack R." <[EMAIL PROTECTED]> wrote:
> > Is it a good practice to use xdoclet to generate
> > Struts config file? Or it
> > is not a good idea at all?
> >
> > I know there are GUI tool to edit struts config
> > file. But I would think it
> > will be easier to have the struts config file auto
> > generate by xdoclet tag
> > in my struts Form, Action files.
> >
> > Thanks for any suggestion.
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> Hello,
>
> IHMO it is very good idea to use xdoclet for
> generation of struts config file. I'm using a slightly
> modified version of xdoclet 1.1 for this purpose and
> it works fine.
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Xdoclet and Struts

2002-12-06 Thread Emil Korladinov
--- "Jack R." <[EMAIL PROTECTED]> wrote:
> Is it a good practice to use xdoclet to generate
> Struts config file? Or it
> is not a good idea at all?
> 
> I know there are GUI tool to edit struts config
> file. But I would think it
> will be easier to have the struts config file auto
> generate by xdoclet tag
> in my struts Form, Action files.
> 
> Thanks for any suggestion.
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 
Hello,

IHMO it is very good idea to use xdoclet for
generation of struts config file. I'm using a slightly
modified version of xdoclet 1.1 for this purpose and
it works fine.



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Xdoclet and Struts

2002-12-06 Thread Emil Korladinov
--- "Jack R." <[EMAIL PROTECTED]> wrote:
> Is it a good practice to use xdoclet to generate
> Struts config file? Or it
> is not a good idea at all?
> 
> I know there are GUI tool to edit struts config
> file. But I would think it
> will be easier to have the struts config file auto
> generate by xdoclet tag
> in my struts Form, Action files.
> 
> Thanks for any suggestion.
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: