Dorothea,

Dave is right...the label is unfortunately set in Java, as it's the type 
of checkbox.  This is on of the places where XMLUI is not really being 
very "nice" about what it hardcodes in Java and adds to the DRI.

That being said, I *believe* DSpace XMLUI actually disables the display 
of those labels (via CSS) by default, or at least it looks like that's 
the case in the pre-1.6 code.  They really are just there for 
accessibility purposes, so you probably should just hide them using CSS. 
  Here's the line in the default style.css that does just that:

fieldset.ds-checkbox-field legend,fieldset.ds-radio-field legend {
         display: none;
}

Sorry I don't have a better answer on this.  I've added this as a bug 
though:
http://jira.dspace.org/jira/browse/DS-450

- Tim


On 1/5/2010 9:33 AM, Walker, David wrote:
> I see 'remove' in the XML itself, in a DRI<label>  node.  So it's not going 
> to be in either the XSLT or messages.xml.  Must be hard-coded in the Java 
> somewhere -- I draw the line at searching through Java code. ;-)
>
> I wonder, though, if you might be able to just nix it with CSS?  I would 
> suspect, too, that the label is important for accessibility, so that might 
> the better route altogether.
>
> --Dave
>
> ==================
> David Walker
> Library Web Services Manager
> California State University
> http://xerxes.calstate.edu
> ________________________________________
> From: Dorothea Salo [dorothea.s...@gmail.com]
> Sent: Tuesday, January 05, 2010 7:13 AM
> To: Jason Fowler
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] XMLUI: checkbox labels?
>
> I thought so at first! But no, I don't see the actual text "remove" or
> "selected" or anything of the sort anywhere nearby.
>
> (For context, I'm trying to get rid of those two labels specifically
> because they gunk up the display for no real usability benefit.)
>
> Dorothea
>
> On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowler<jfow...@sbts.edu>  wrote:
>> Dorothea,
>>
>> Could it be in the lines in structural.xsl that look like this?
>>
>> <input type="checkbox" value="{concat(@n,'_',$position)}" 
>> name="{concat(@n,'_selected')}"/>
>>
>> Jason Fowler, CA, MSLS
>> Archives and Special Collections Librarian
>> The Southern Baptist Theological Seminary
>> Vice President, ALABI
>> jfow...@sbts.edu
>> ________________________________________
>> From: Dorothea Salo [dorothea.s...@gmail.com]
>> Sent: Tuesday, January 05, 2010 9:38 AM
>> To: Dspace Tech
>> Subject: [Dspace-tech] XMLUI: checkbox labels?
>>
>> Does anybody know offhand where the labels on checkboxes (e.g.
>> "remove" and "selected" in English) are actually set? I've trawled
>> through messages.xml, structural.xsl, and a bunch of Java and I just
>> can't find them.
>>
>> I'm sure I'll feel stupid when I'm told where to look...
>>
>> Dorothea
>>
>> --
>> Dorothea Salo                ds...@library.wisc.edu
>> Digital Repository Librarian      AIM: mindsatuw
>> University of Wisconsin
>> Rm 218, Memorial Library
>> (608) 262-5493
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
>
> --
> Dorothea Salo                ds...@library.wisc.edu
> Digital Repository Librarian      AIM: mindsatuw
> University of Wisconsin
> Rm 218, Memorial Library
> (608) 262-5493
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to