== Test case ==
Suppose you have a menu item that contains diacritics.
Login using WebUI.
Instead of menu you will see the html code for it.
This is because, the menu is generated using string concatenations
(StringBuffer) and not org.apache.ecs classes, and when your string has
characters with code > 255 the filter state for that element is
automatically set to true.
== Sugestion ==
1. Implement the menu generation using ecs classes (recommended solution)
2. Edit WMenu and modify (easy solution):
(aprox line 455)
td td = new td().setColSpan(2).setNoWrap(true);
td.setClass("menuCenter");
StringElement s = new StringElement(buf.toString());
s.setFilter(new NullFilter());
td.addElement(s);
table.addElement(new tr().addElement(td));
Best regards,
Teo Sarca
Nobody/Anonymous
UI HTML
Beta
Public
|
Date: 2007-07-08 04:44
|
|
Date: 2007-06-28 07:54
|
|
Date: 2007-06-27 05:37
|
| Field | Old Value | Date | By |
|---|---|---|---|
| artifact_group_id | v3.3.0 | 2008-02-15 07:32 | globalqss |
| priority | 5 | 2008-02-15 07:32 | globalqss |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use