Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a macro with a parameter of type "bool" ( = check box). I have problems getting the value in my XSLT file behind the macro. The parameter is named alignLeft (i have checked and double checked spelling) I have tried:
Hey Mikael The correct way is this Are you sure that you published the page afterwards?
if i try this : The last test is allways true, both when the checkbox is checked and when it is unchecked ? is there something i should use to qualify alignLeft with ? like you use /text() with text box fields ? Mikael
Hi, How's the parameter defined? Are you sure you're using the correct syntax as xml is case sensitive! Are you using the alias? Regards, /Dirk
I fixed the problem by renaming the macro parameteres alias fro alignLeft to alignleft and now it works. I had the same problem with a parameter named pictureText recently. It seem that macro parameter aliases can not be mixed case - for some odd reason. Is this documented or is it a bug ? Thanks Mikael
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
"bool" macro parameter in XSLT
I have a macro with a parameter of type "bool" ( = check box).
I have problems getting the value in my XSLT file behind the macro.
The parameter is named alignLeft (i have checked and double checked spelling)
I have tried:
Hey Mikael
The correct way is this
Are you sure that you published the page afterwards?
if i try this :
The last test is allways true, both when the checkbox is checked and when it is unchecked ?
is there something i should use to qualify alignLeft with ? like you use /text() with text box fields ?
Mikael
Hi,
How's the parameter defined? Are you sure you're using the correct syntax as xml is case sensitive! Are you using the alias?
Regards,
/Dirk
I fixed the problem by renaming the macro parameteres alias fro alignLeft to alignleft and now it works.
I had the same problem with a parameter named pictureText recently.
It seem that macro parameter aliases can not be mixed case - for some odd reason.
Is this documented or is it a bug ?
Thanks
Mikael
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.