Register skin file map with lower case prototype name in addition to the
ordinary name in app.skinfiles.
This commit is contained in:
parent
5a58a5ba8a
commit
8bccddd447
1 changed files with 6 additions and 2 deletions
|
@ -443,7 +443,9 @@ public class ApplicationBean implements Serializable {
|
||||||
for (Iterator it = app.getPrototypes().iterator(); it.hasNext();) {
|
for (Iterator it = app.getPrototypes().iterator(); it.hasNext();) {
|
||||||
Prototype p = (Prototype) it.next();
|
Prototype p = (Prototype) it.next();
|
||||||
|
|
||||||
skinz.put(p.getName(), p.getSkinMap());
|
Object skinmap = p.getSkinMap();
|
||||||
|
skinz.put(p.getName(), skinmap);
|
||||||
|
skinz.put(p.getLowerCaseName(), skinmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
return skinz;
|
return skinz;
|
||||||
|
@ -462,7 +464,9 @@ public class ApplicationBean implements Serializable {
|
||||||
for (Iterator it = app.getPrototypes().iterator(); it.hasNext();) {
|
for (Iterator it = app.getPrototypes().iterator(); it.hasNext();) {
|
||||||
Prototype p = (Prototype) it.next();
|
Prototype p = (Prototype) it.next();
|
||||||
|
|
||||||
skinz.put(p.getName(), p.getSkinMap(skinpath));
|
Object skinmap = p.getSkinMap(skinpath);
|
||||||
|
skinz.put(p.getName(), skinmap);
|
||||||
|
skinz.put(p.getLowerCaseName(), skinmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
return skinz;
|
return skinz;
|
||||||
|
|
Loading…
Add table
Reference in a new issue