Michiel Meeuwissen wrote:

Nico Klasens wrote:
Update of /var/cvs/applications/editwizard/templates/data/xsl
In directory 
james.mmbase.org:/tmp/cvs-serv22454/applications/editwizard/templates/data/xsl

Modified Files:
wizard.xsl Log Message:
don't show image when size is 0


It broke images in a list for me, so I rolled it back. I tried to
understand how I could solve the problem which seems to be addressed
here, but I could not succeed on short notice. I think this xsl works on
wizard xml and not on data xml (from debug.jsp), and there there is no
@size attribute.



Michiel
Made a new fix for this which checks if the handle field is available. When it is then check the size attribute of the handle field otherwise show the image. Now it is possible to create images in a list without huge stacktraces. The stacktrace were cause by generating a url for an image which only exists yet in the editwizard code.

Nico

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to