Allow anchor tags/Xref objects in the XMLUI to have an 'id' attribute.
----------------------------------------------------------------------

                 Key: DS-549
                 URL: http://jira.dspace.org/jira/browse/DS-549
             Project: DSpace 1.x
          Issue Type: Improvement
          Components: XMLUI
         Environment: Any
            Reporter: Jason Gum
         Attachments: addIdToXref.patch

Hi everyone,

Currently the XMLUI framework does not allow one to add an id to an anchor tag. 
This prevents code such as <a id="myUniqueId" class=" " href="#"> from being 
generated even though it is still valid XHTML code. I have attached a patch 
with changes that would allow such an id to be set.

This feature was requested to allow linking within the same page. An example of 
the code in use can be found at https://ritdml.rit.edu/FAQ.

Regarding the specific code changes: The standard order for elements that have 
names(ids) seem to be context first, name second, and then the remaining 
parameters, usually ending with rend, but I made this constructor take name as 
the last parameter to maximize backwards compatibility. I will allow someone 
else to decide what is more important.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to