Michael Smith schrieb:
I recently used this nastyness to get an image tag to close properly:
<img src="..." " width="132" height="34" [+ '/' +]>
If you'd used output_mode = 1 you'd come up with
<iframe src="..." /></iframe>
We addressed this problem by defining our own Syntax which subclasses
EmberlHTML.pm
and removed all non form-related tags from the Init() method and set
output_mode to "xml".
One may mention that with output_mode set to "xml" Embperl correctly
sets the checked attribute
of checkboxes and radiobuttons to checked="checked".
Unfortunately it in this mode it does not recognize prechecked
radiobuttons and does therefore not remove the
checked-Attribute but reinserts it or applies to another radiobutton (
depending on userinput ).
Fortunately most browsers handle this gratefully and display it correctly.
btw: did somebody get this behavior work with selects?
Of course we now cannot use the url rewriting feature for session_ids.
--
mit freundlichem Gruß,
Frank Wesemann
Fotofinder GmbH USt-IdNr. DE812854514
Software Entwicklung Web: http://www.fotofinder.com/
Potsdamer Str. 96 Tel: +49 30 25 79 28 90
10785 Berlin Fax: +49 30 25 79 28 999
Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org