(Jump to other KnowledgeBases)
DSpace Resources
DSpace Website
DSpace Documentation
DSpace Wiki
DSpace Demo Site
Contribute to KnowledgBase
...
Now that every script file and script file caller is located we'll start to code.
In this examples we'll overwrite existing source code files, if you fell comfortable working with JSPUI overlays can translate this modifications to "dspace/modules/jspui" folder.
...
Now we We must define inside dspace tag library descriptor a pair of variables that will be passed to used in LayoutTag class file: scriptaculous and jquery.
No Format |
---|
[dspace-source]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/WEB-INF/dspace-tags.tld |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<tag> <name>layout</name> <tagclass>org.dspace.app.webui.jsptag.LayoutTag</tagclass> <info>Lays out an HTML page</info> ... <attribute> <name>scriptaculous</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>jquery</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> ... </tag> |
No Format |
---|
[dspace-source]/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/jsptag/LayoutTag.java
|