Gwyn,

Are you using Firefox? Try IE and the raw html will be like id="wcn-name". I
think Firefox is reformatting the html.

>> Personally, I'd tend to the view that processed id="wcn-..." values (and
probably wcn="..." 
>> values) should be stripped from the output. 

What if CSS is using the id= for formatting. I'm currently working on
appfuse like example and their CSS is using id= a lot. Or are you meaning
<span id= ...> only? Besides
ApplicationSettings.setStripComponentNames(true) may be used to remove ALL
componentName attributes.

>>  On the other hand, if the above proves non-trivial, I'd go with just
outputting the original
>> id/wcn values but the current behaviour will surely lead to unexpected
conflicts with 
>> unrelated CSS definitions?

It is not difficult to print just the body and remove the <span></span>
tags. I tried it 2-3 weeks ago. It could be a configurable item in
ApplicationSettings whether to remove span tags (not the body) with id= or
wcn= attributes only. 

Regards
Juergen



-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Gwyn
Evans
Gesendet: Dienstag, 16. November 2004 22:13
An: [EMAIL PROTECTED]
Betreff: [Wicket-develop] Modified id values in output html

Hi,
  I was just looking at the output of a test app (see
http://wicket.sourceforge.net/wiki/doku.php?id=user:extended_navomatic
for source if anyone's really interested) and noticed that the
id="wcn-<value>" tags are getting replaced by id=" <value>" tags, i.e.
  <span id="wcn-name">Name</span> = <span id="wcn-value">Value</span>
becomes
  <span id =" name">key1</span> = <span id =" value">val1</span> in the
output.

  Anyone now what this /should/ do?  

  Personally, I'd tend to the view that processed id="wcn-..." values (and
probably wcn="..." values) should be stripped from the output. 
I'd even ask if, in the cases when stripping the id/wcn attributes leaves
<span>s with empty id attributes, there's any reason to keep the <span>
tags?

  On the other hand, if the above proves non-trivial, I'd go with just
outputting the original id/wcn values but the current behaviour will surely
lead to unexpected conflicts with unrelated CSS definitions?

/Gwyn


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD -
A multidimensional database that combines robust object and relational
technologies, making it a perfect match for Java, C++,COM, XML, ODBC and
JDBC. www.intersystems.com/match8
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to