On Tue, 16 Nov 2004 23:16:03 +0100, Donnerstag, Juergen
<[EMAIL PROTECTED]> wrote:
> Are you using Firefox? Try IE and the raw html will be like id="wcn-name". I
> think Firefox is reformatting the html.
I am - I'll check it out. That sounds an odd thing for it to do -
there's probably something convoluted involved!
> >> 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?
I was meaning the 'wcn="xxx"' values in their entirety, but only the
"wcn-xxx" strings from the id tags, which would leave any other id
values. Where this would fall down is if/when someone expects the
wcn-xxx values and directly addresses them with their CSS code.
> Besides
> ApplicationSettings.setStripComponentNames(true) may be used to remove ALL
> componentName attributes.
Ah, somewhere else I should investigate - thanks for the pointer!
> >> 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.
It just occurred to me that they could be a non-trivial proportion
of the html in cases where the page is made up of a number of
components, so might be worth considering, although only for where the
span's id attribute is empty.
/Gwyn
> -----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
>
-------------------------------------------------------
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