[ 
http://jira.dspace.org/jira/browse/DS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Dietz updated DS-549:
---------------------------

    Remaining Estimate: 0 minutes
     Original Estimate: 0 minutes

Revision: 5347
Author:   peterdietz
Date:     2010-09-15 19:05
Message:  Added XMLUI name to addXref.

Also added conditionals to structural.xsl to prevent empty attributes for "a" 
tags. On top of the submitted patch also added rule for when using i18n 
messages to create xref.
Issue #DS-549 - Allow anchor tags/Xref objects in the XMLUI to have an 'id' 
attribute.

> 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
>            Assignee: Peter Dietz
>            Priority: Minor
>         Attachments: addIdToXref.patch
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 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

        

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to