Index: trunk/grails-app/taglib/CustomTagLib.groovy
===================================================================
--- trunk/grails-app/taglib/CustomTagLib.groovy	(revision 671)
+++ trunk/grails-app/taglib/CustomTagLib.groovy	(revision 672)
@@ -201,6 +201,6 @@
     def jasperButtons = {attrs ->
         if(!attrs['format']){throw new Exception(message(code:"jasper.taglib.missingAttribute", args:'format'))}
-        if(!attrs['formName']){throw new Exception(message(code:"jasper.taglib.missingAttribute", args:'formName'))}
-        String formName = attrs['formName']
+        if(!attrs['jasper']){throw new Exception(message(code:"jasper.taglib.missingAttribute", args:'jasper'))}
+        String jasper = attrs['jasper']
         String buttonClass = attrs['class'] ?:  "jasperButton"
         String format = attrs['format'].toUpperCase()
@@ -230,5 +230,5 @@
             def fmt = it.trim()
             out << """
-                        <a href="#" class="${buttonClass}" title="${it.trim()}" onClick="return submit_jasperForm('${formName}', '${fmt}')">
+                        <a href="#" class="${buttonClass}" title="${it.trim()}" onClick="return submit_jasperForm('${jasper}', '${fmt}')">
                         <img border="0" src="${imgSrc}"${heightAttr} /></a>
                         """
Index: trunk/grails-app/views/report/inventoryValueDetailed.gsp
===================================================================
--- trunk/grails-app/views/report/inventoryValueDetailed.gsp	(revision 671)
+++ trunk/grails-app/views/report/inventoryValueDetailed.gsp	(revision 672)
@@ -67,5 +67,5 @@
                                 </td>
                                 <td valign="top" class="value">
-                                    <custom:jasperButtons formName="inventoryValueDetailed" format="PDF, XLS" text="PDF" />
+                                    <custom:jasperButtons jasper="inventoryValueDetailed" format="PDF, XLS" text="PDF" />
                                 </td>
                             </tr>
