Jboss 3.0 dtd is not perfect today, you should bypass xml validation for
the moment
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf
> Of Steve Knight
> Sent: vendredi 8 février 2002 21:49
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] local-jndi-
I agree, it completely breaks MVC. But what it does do is allow you to be
lazy, without binding model and view. I would see that when a project is
finished, it is given to the deployer/admin, who manually changes
struts-config by hand as required.
cheers
dim
- Original Message -
From:
Hi,
I've tried a couple of times to resolve this, both on the JBoss forums
(http://main.jboss.org/thread.jsp?forum=61&thread=5227) and on the jboss dev
list
(http://www.mail-archive.com/jboss-development@lists.sourceforge.net/msg1773
2.html) but haven't been able to get a response.
>From what I
Jason,
I'm a bit puzzled. I look at our code and seems like xdoclet can't guess
the subtask type. Will you please send me class tags and class
definitions of your project? I assume you have some abstract classes
which derive from EntityBean/SessionBean but are not intended to be
concrete beans bu
Does jboss.xml support the local-jndi-name tag? Cause when I generate my
cmp beans using xdoclet, I get the following error:
[ejbdoclet] Running
[ejbdoclet] Generating jboss.xml.
[ejbdoclet] Running XDoclet failed.
[ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain, method
st
Here's what I did to fix it (in entity-body.j)
I moved the if in getData into the try/catch block, and changed it to:
if( dataHolder == null
||
()!=dataHolder.()
)
Hani Suleiman wrote:
> There's a problem with this for application s
When an instance is reused ejbLoad is get called and (on last version of
xdoclet) ejbLoad will set the dataHolder to null.
On instances reused for finders/home methods I agree you can come and
have a dataHolder already set but you should not use its value anyway.
If on your appserver a instance is
There's a problem with this for application servers that use pooling
with regards to entity beans. Here is what happens:
we have EntityCMP and EntityData. If you call home.findByPK(id), the
appserver will create an entity object if it doesn't have one in its
pool. then when you call getData on
I'm excited to make progress with xdoclet, but only have time to work on
it in the background. This has been on the back-burner for a week...
Are there any known issues with the samples? I tried building them on
both Rh 7.2 and Win2k with no luck.
When I run build.sh/bat in the script director
I'd just like to note that while it is very slick to generate a
struts-config.xml file in this manner for development purposes, its really
munging the MVC layers. Decoupling action classes from how they are
forwarded to is an important concept. I think this use of XDoclet is good
for rapid proto
Nope. Just CMP entity and SLSB.
> -Original Message-
> From: Ara Abrahamian [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 6:48 AM
> To: Jason Carreira; 'Xdoclet-User (E-mail)'
> Subject: RE: [Xdoclet-user] Problem when there are no xdoclet tags
>
>
> AFAIK it shouldn't co
IMHO you should put UI level checks in say Struts' action objects and
put business rule validations in EJB. I don't think putting validation
in dataobject is a good idea, dataobject is tier-less, used in both web
and ejb tier where validation requirements are different.
It's been discussed recent
I simply would like to include field validation code in my generated data
objects and the question is how do I achieve it? Can I create a merge file
per entity bean/data object and if so, how would I go about doing that?
Thanks !
Bernie
-Ursprungliche Nachricht-
Von: Konstantin Pribloud
AFAIK it shouldn't complain. It's a bug. Do you have MDBs in your app?
Ara.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Jason Carreira
> Sent: Friday, February 08, 2002 12:41 AM
> To: Xdoclet-User (E-mail)
> Subject: RE: [Xdoclet
For simple field level validation I am using XML Schemasaves
duplication...
(I am also using XSLT to generate my XDoclet beans directly from the XML
Schema...works like a dreamfrom XML Schema through XDoclet and onto
successful deployment just by typing "ant" !).
But I am also interested
> I use XDoclet 1.1.1. to generate EJB 2.0 CMP entity
> beans. I was wondering
> where you folks suggest to put field validation
> logic (preferably the
> generated data objects?) and ideas on how I would go
> about to have my
> validation code included in the generated code. Can
> I use a merge
> Hi there,
>
> I use XDoclet 1.1.1. to generate EJB 2.0 CMP entity beans. I was wondering
> where you folks suggest to put field validation logic (preferably the
> generated data objects?) and ideas on how I would go about to have my
> validation code included in the generated code. Can I use a
try
@struts:action-forward name="forwardName" path="forwardPath"
cheers
dim
- Original Message -
From: "Kjetil Paulsen" <[EMAIL PROTECTED]>
To: "XDoclet (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 7:00 PM
Subject: [Xdoclet-user] Forward in a Struts action
I can't fi
18 matches
Mail list logo