Hi,
Where should i find the functions (like "translate" ) used in the .xsl-file? (See the code below)
Where is the .js-file in wich they are implemented?
<input type="checkbox" id="checkBox{$currentId}" name="checkBox{$currentId}" onClick="ShowHideItem($(this).parent().parent().next().find('tr.{translate($levelName,' ','_')}'),
Thanks and Greets,
Gilbert
Find js-file in for customed report.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Find js-file in for customed report.
Hello Gilbert,
"translate" is a standatd XSLT function.
Please find a detailed description on the following link: http://zvon.org/xxl/XSLTreference/Outpu ... slate.html
Regards,
Bernhard
"translate" is a standatd XSLT function.
Please find a detailed description on the following link: http://zvon.org/xxl/XSLTreference/Outpu ... slate.html
Regards,
Bernhard
Re: Find js-file in for customed report.
Hello Bernhard,
you are right. My real problem is to customize the click on the checkbox.
The "Onclick"below call another function.
onClick="ShowHideItem($(this).parent().parent().next().find('tr.{translate($levelName,' ','_')}'),".
Where can i find the function "ShowHideItems"? so that i can edit it.
Thanks and Greets,
Gilbert
you are right. My real problem is to customize the click on the checkbox.
The "Onclick"below call another function.
onClick="ShowHideItem($(this).parent().parent().next().find('tr.{translate($levelName,' ','_')}'),".
Where can i find the function "ShowHideItems"? so that i can edit it.
Thanks and Greets,
Gilbert
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Find js-file in for customed report.
Hello Gilbert,
You find the definition of the "ShowHideItems" function in your custom *.rxlog file.
Regards,
Markus
You find the definition of the "ShowHideItems" function in your custom *.rxlog file.
Regards,
Markus
Re: Find js-file in for customed report.
Hello Markus,
thanks, i find it
. I try to implement my own method, it doesn't work and i don't understand why.
Here is where i call the method in .xsl-file :
...
<label for="checkBox{$currentId}" onLoad="HideAllErrors($(#checkBox{$currentId})).parent().parent().next().find('tr.{translate($levelName,' ','_')}'))">
<xsl:value-of select="$levelName"/>
</label>
...
and here where i implement it in.rxlog-file:
..
function HideAllErrors(item)
{
item.hide();
}
...
What am i doing wrong here?
Please Help!!!
Greets,
Gilbert
..
thanks, i find it

Here is where i call the method in .xsl-file :
...
<label for="checkBox{$currentId}" onLoad="HideAllErrors($(#checkBox{$currentId})).parent().parent().next().find('tr.{translate($levelName,' ','_')}'))">
<xsl:value-of select="$levelName"/>
</label>
...
and here where i implement it in.rxlog-file:
..
function HideAllErrors(item)
{
item.hide();
}
...
What am i doing wrong here?
Please Help!!!
Greets,
Gilbert
..
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Find js-file in for customed report.
Hello Gilbert,
You need to remove one closing bracket: HideAllErrors($(#checkBox{$currentId})).parent().parent().next().find('tr.{translate($levelName,' ','_')}')) and add the quotes: HideAllErrors($('#checkBox{$currentId}').parent().parent().next().find('tr.{translate($levelName,' ','_')}')).
Regards,
Markus
You need to remove one closing bracket: HideAllErrors($(#checkBox{$currentId})).parent().parent().next().find('tr.{translate($levelName,' ','_')}')) and add the quotes: HideAllErrors($('#checkBox{$currentId}').parent().parent().next().find('tr.{translate($levelName,' ','_')}')).
Regards,
Markus