perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wesemann <>
Subject Re: Problem with <input />
Date Thu, 22 Apr 2010 23:54:55 GMT
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
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:
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:
For additional commands, e-mail:

View raw message