You could do this in your DAO where you originally fetch everything.  Also,
there's logic in your FormController's formBackingObject() that gets your
object from the database before populating it from request parameters. This
means you don't have to store these fields in hidden fields.  If this
doesn't work, you might try storing the non-editable fields in hidden fields
or read-only fields.

Matt

On 3/4/07, Luke Shannon <[EMAIL PROTECTED]> wrote:

Hi;

This may be a more of a Spring question, although I am hoping there is
something within the Appfuse tools to assist with this.

I have a Pojo I have created in my application and I have used Appgen
to create everything I need for the CRUD operations.

What I would like to do now is modify the application so specific
fields in the Pojo are set using data from a DB and not from user
input from the web tier.

Working within the Struts framework (Appfuse 1.9.4) where is the best
place to implement such a change? Is there a best practise for
something like this?

Thanks,

Luke

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




--
http://raibledesigns.com

Reply via email to