On Aug 8, 2006, at 1:11 AM, Jacopo Cappellato wrote:

Hi all,

I'm implementing a new FoFormRenderer class that implements the FormStringRenderer interface: the idea is to get fo representation of a form widget definition.

I really hope to commit the very first version of this today, but I'd like to get some hints about where is the code (and what is the logic) that will instantiate the FoFormRenderer instead of FormStringRenderer class.

Should I look at the view-map definition's "content-type" attribute in the controller file? If so, any hints about where I can find the code that handles this?

It should probably be a new view-handler, ie a new class mounted at the top of a controller.xml file and then used in the view-map type.

On a side note, what does the FoFormRenderer do differently than the FormStringRenderer?

-David

Reply via email to