Changed 3 places in XSL;


In "pagelist" template changed the src parameter

images/expand.jpg <xsl:attribute
name="id"><xsl:text/>page_details_<xsl:value-of select="position()"
/>_image</xsl:attribute></img>

2 places in embedded javascript in src value;

if(document.getElementById(details_id+"_image").src.match("expand"))
                              {
                                 
document.getElementById(details_id+"_image").src =
"images/collapse.jpg";
                                 expand(details_id);
                              }
                              else
                              {
                                 
document.getElementById(details_id+"_image").src =
"images/expand.jpg";
                                 collapse(details_id);
                              } 

Placed files as follows in a dirctory;

+ test/eTALoadTesting.jtl
+ test/jmeter-results-details-report_21.xsl
+ test/XSL Output.html (transformed file)
+ test/images/expand.jpg
+ test/images/collapse.jpg

It works fine. Attached the test.zip. Hope that helps.

BR,
Manjula



Deepak Shetty wrote:
> 
> Use a relative path for images (relative to the HTML file ) and keep your
> images at that location.
> You currently have the image  path as /view/whatever/expand.jpg, and when
> the file is not being served by a webserver, I have no idea how IE will
> attempt to resolve the path...
> 
> 
> On Wed, Oct 14, 2009 at 12:47 PM, Sri123
> <mohanasunda...@mail.nih.gov>wrote:
> 
>>
>> Does anybody have any idea on this?
>>
>>
>> Sri123 wrote:
>> >
>> > Manjula
>> >
>> > I see that the "src" parameter has the image location specified. Please
>> > find the .xsl file attached and corresponding .jtl file.
>> >
>> > XSL file:
>> >
>> http://www.nabble.com/file/p25892632/jmeter-results-details-report_21.xsl
>> > jmeter-results-details-report_21.xsl
>> >
>> >
>> > JTL file:
>> >  http://www.nabble.com/file/p25892632/eTALoadTesting.jtl
>> > eTALoadTesting.jtl
>> >
>> > Thanks
>> > Sri
>> >
>> > Manjula Priyantha-2 wrote:
>> >>
>> >> Hi,
>> >>
>> >> Seems "src" parameter has no value in   tag in the html. So it can't
>> >> find the image.
>> >>
>> >>
>> >>
>> >> If you can't solve the problem, send me the results file (probably
>> "jtl")
>> >> and relavent xsl together. I may help you.
>> >>
>> >> BR,
>> >> Manjula
>> >>
>> >> -----Original Message-----
>> >> From: Sri123 [mailto:mohanasunda...@mail.nih.gov]
>> >> Sent: Wednesday, October 14, 2009 3:27 PM
>> >> To: jmeter-user@jakarta.apache.org
>> >> Subject: JMeter HTML Report
>> >>
>> >>
>> >> Hi ppl
>> >>
>> >> I have problems in JMeter HTML report generated by ant task. The
>> >> expand/collapse image is not getting displayed. Please find the html
>> >> report
>> >> attached with this mail. Any help on this would be appreciated.
>> >>
>> >> http://www.nabble.com/file/p25891029/eTALoadTesting.html
>> >> eTALoadTesting.html
>> >>
>> >>
>> >> This is the .xsl file ant task is referring.
>> >>
>> >>
>> http://www.nabble.com/file/p25891029/jmeter-results-details-report_21.xsl
>> >> jmeter-results-details-report_21.xsl
>> >>
>> >> Thanks
>> >> Sri
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/JMeter-HTML-Report-tp25891029p25891029.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>> >>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/JMeter-HTML-Report-tp25891029p25897795.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>
>>
> 
> 
http://www.nabble.com/file/p25905893/test.zip test.zip 
-- 
View this message in context: 
http://www.nabble.com/JMeter-HTML-Report-tp25891029p25905893.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to