hmmm - i don't think i'll have time to look at this before the weekend... What happens if you use the excludes parameter for the id? http://tacos.sourceforge.net/tacos4.1/beanform/component-reference.html
On Jan 14, 2008 4:18 PM, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > Hi there, > > I just played around with the BeanForm component to edit some POJOs of > mine. The class of the bean I want to edit is an abstract superclass and > the actual objects are subtypes of this class and have different fields. > So I can't set the properties parameter of the BeanForm component, > otherwise I would get errors with fields not present in the particular > Object. > Omitting the properties parameter leads to BeanForm ignoring a > id_disabled="ognl:true" informal parameter and still displaying the id as > editable. Is there a way around it? > Secondly I always get validation errors in Firefox when trying to save the > object. No problemsn in IE though: > > * [ID] must not be smaller than -2.147483648E9. > * [ID] must not be larger than 2.147483647E9. > > id is a plain int field in my POJO and I believe that '1' matches both > conditions. As I already said, I can't use the properties parameter to > specify custom validators because of the subtype case I'm having. > > Cheers, > > Uli > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Tacos-devel mailing list > Tacos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tacos-devel > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Tacos-devel mailing list Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel