[ 
http://jira.dspace.org/jira/browse/DS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10478#action_10478
 ] 

Larry Stone commented on DS-284:
--------------------------------

I have a fix for this bug that works in the single transformation pass, which I 
intend to share but haven't had time to write up yet.  I won't have any time 
for at least the next couple of weeks, but if you're willing to extract it from 
the custom XSL code for my site (we change some of the fields and contents in 
the short-item view too) then I'll be happy to send it out.  It's hard to 
explain but easy enough once you see it.  In fact, I'll just attach that 
excerpt from the XSL for anyone with a strong stomach. See oddeven-example.xml

> Some rows if presented in the item summary will be wrongly considered odd or 
> even.
> ----------------------------------------------------------------------------------
>
>                 Key: DS-284
>                 URL: http://jira.dspace.org/jira/browse/DS-284
>             Project: DSpace 1.x
>          Issue Type: Bug
>          Components: XMLUI
>            Reporter: Flávio Botelho
>            Priority: Trivial
>         Attachments: table_row.xsl
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> The code for deciding if a given row within a table should be considered odd 
> or even needs to be done after first passing all those ifs to decide which 
> rows are going to be presented in the summary presentation of items. 
> (actually it can be done with the if processing, but that would be much more 
> hackish, as the only way i see for doing that is to use variables, and xslt 
> variables have a somewhat painful scoping)
> So i propose to create a second transformation after the main one, called 
> table_rows.xsl
> I have done that and it works fine for me.

-- 
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

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to