Forum Discussion

peterlu's avatar
peterlu
Champion
12 years ago

bug - webuisupport.path.parameters.name.get

Hi,

 

for this url eg. /t5/community/mobilecommunitypage/interaction-style/tkb

 

<#assign interaction_style = webuisupport.path.parameters.name.get("interaction-style", "none") />
${interaction_style}

 this returns "none". Isn't it supposed to be "tkb" ?

 

I consider it as a bug.

3 Replies

  • I'd be interested to know what classes as a 'path parameter' - I can't find any documentation that explains it.

  • HaidongG's avatar
    HaidongG
    Lithium Alumni (Retired)
    12 years ago

    Hi Peter,

     

    maybe you can use 

    page.interactionStyle

     instead?

  • peterlu's avatar
    peterlu
    Champion
    12 years ago

    Thanks Haidong. I am just wondering webuisupport.path.parameters.name.get in general is buggy. It only works for pagination as far as I know.

    But no big deal, we can always write our own url path fetcher :)