On Tue, Oct 9, 2012 at 7:08 PM, Jose Blanco <[email protected]> wrote: > I would like to add to an aspect file the code to render this in the htlm: > > <label for=\"sort_by\" style=\"display:none\">Sort By:</label> > > Could someone share the code that does that.
Hi Jose, I risk sounding like a broken record, but this is just so trivial to do in XSLT as opposed to an Aspect. Anyway, if you insist on putting things into DRI, here's an extensive collection of examples: https://github.com/DSpace/DSpace/tree/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmltest/ You have to remember that DRI is not HTML (even though it has some elements with the same name, they're not the same, e.g. they don't accept the same attributes). So I doubt that putting the label element into DRI (even if there are methods to do that) will do what you think it will. Regards, ~~helix84 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

