Hi Ivano,

> I guess the abstract getters/setters in the AbstractFormComponent are 
> not intended as "Tapestry Properties" for the component.

I understand that. Just to make things clear, I am NOT using using them as
properties for the component. I'd prefer to ignore them, but when I get to
the page that contains the component, Tapestry keeps complaining that
they're not implemented.

> I think you need to implement them to make your form actually work 
> consistently with your specific design.
> For the framework to generate abstract method "automagically" you should 
> also declare the properties in the component descriptor (i.e. 
> "SafeForeach.jwc" or something alike).

That's what I don't get. All my component really does is implement a
renderComponent method and essentially it does the same as a regular Foreach
component except for some additional functionality during rewind. It
shouldn't have to implement any of the abstract getters/setter from
AbstractFormComponent. If you look at Tapestry's source code, most form
components don't implement them either, nor do they declare such methods in
their .jwc file. I assume it is because Tapestry takes care of it for you.
The question is: Why is it complaining now? I'm pretty sure I must be doing
something wrong, but whatever it is, it's very subtle because I can't find
it, and the error message I'm getting is not being so helpful.

Thanks, for your reply, Ivano. I did get some ideas from it. I'll keep
trying to figure out what's wrong or to find a different solution. If I find
out more, I'll let you know.

Denis Souza




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

Reply via email to