Am Dienstag 13 März 2007 23:45 schrieben Sie:
> Hi Carl,
>
> I got stuck during porting my similarity widget to the current api.
>
> As I understand the code, the place to generate a custom javascript for the
> widget is in a custom render function, right?
>
> My problem is now that I need the id of the widget to access it later via
> javascript, but prepare_id has not been called yet in the render function
> of Element.pm.
>
> Is it possible to call prepare_id before creating the render object or
> would that mix something up?

Ok I found out that changing the position is not possible.

How to fix this?
Is there a way to tell TT to double parse the content? This way we could use 
TT stuff inside the render function e.g. "[self.id]" to access the id.

Greets,
Mario

_______________________________________________
Html-widget mailing list
Html-widget@lists.rawmode.org
http://lists.rawmode.org/cgi-bin/mailman/listinfo/html-widget

Reply via email to