Sylvain Wallez escribió:
Carsten Ziegeler wrote:
Sylvain Wallez schrieb:
Carsten Ziegeler wrote:
Hi,

I'm currently looking into a way of getting information for a widget in my template that has been defined in the model. But it seems to me that
this is not possible right now.
Is anyone against streaming out all attributes of a widget in the
generateSaxFragment() method? As attributes are not used frequently I
think this shouldn't create problems.
This *will* create problems, as attributes can be of any type, and not just Strings (although only Strings can be specified in the widget's definition).

Yes, now I see two solutions for this: we could just stream out the
attributes of
the definition (which are strings) or if we need all attributes, stream
out attributes which can be streamed.
I would go for the first solution, anything against this?

Sounds hacky to me...
Same here. Also, seems to me it should have a non desired performance impact in form rendering.

Best Regards,

Antonio Gallardo.

Reply via email to