I don't think AppGen will do it for you out of the box.  Maybe Matt or someone 
would know if it is possible to modify AppGen to do what you want.  But you 
should be able to integrate some nice validation manually:

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


Nathan

----- Original Message -----
From: "mikebgx" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Sunday, May 27, 2007 5:19:15 AM (GMT-0800) America/Los_Angeles
Subject: [appfuse-user] Appfuse/ Appgen/ JSF


I have   * @hibernate.property length="20" not-null="true" 
in my POJO and would like to edit the template to generate a maxLength
attribute in my .xhtml file
Something like ... maxLength=<XDtForm:fieldLENGTH/> ...
Is there a tag I can use to do this?

Or will I need to add code to FormTagsHandler.jav / MethodExTagHandler.java
?
If so how do I get appgen to use my modified versions of these files?
I tried editing them it said it had compiled them (.class date confirmed
this) but Appgen wasnn't using my changed code.

Any ideas please? MTIA




-- 
View this message in context: 
http://www.nabble.com/Appfuse--Appgen--JSF-tf3823497s2369.html#a10824379
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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]

Reply via email to