Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike 80 posts 101 karma points
    Sep 20, 2012 @ 16:26
    Mike
    0

    Advanced Macro Parameters Recursive?

    So here's my little problem:

    In my template I call a macro.

     <umbraco:Macro EmailTo="[$emailTo]" EmailSubject="[$emailSubject]"
     EmailBody="[$emailBody]"....

    This macro is a wrapper for a usercontrol (contactform). As you can see I use the Advanced Parameter Syntax to get the settings from the page. 

    Now If i add a subnode the parameter EmailBody is null in my codebehind. This is only on the subpage. 

    So:

    page_one -> properties filled
    |___page_two -> no properties filled

    page one would work

    page two would not work

    How can this happen? Anybody?

     

     

     

  • Mike 80 posts 101 karma points
    Sep 21, 2012 @ 10:19
    Mike
    0

    I did some more research on this problem and found that the parameter is not passed if it is of type Text Multiline. The textstring types are passed recursively.

    Is this something familiar? 

     

  • Mike 80 posts 101 karma points
    Oct 08, 2012 @ 13:17
    Mike
    0

    Nobody ever noticed this issue? 

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft