param is needed only when defining a new parameter and by default, it adds a parameter with the same name as the tag. As you're using the existing one to modify code, it still exists in this new tag. A caveat is needed there, if you use the replace keyword when calling a parameter, it will replace the whole tag, including the spot for the parameter. If however, you had a parameter inside that parameter, you would need to redefine it as you're replacing the contents of the parent.
For example you had a message-link2 param inside, by calling the parent, that tag would no longer exist. <def tag="messages"> <br/><br/> <ul> <li param="msg1">Message 1</li> <li param="msg2">Message 2 <a param="message-link2" /></li> <li param="msg3">Message 3</li> </ul> </def> <def tag="more-messages"> <messages merge> <msg2:>Message 2 Changed <a param="message-link2" /></msg2:> </messages> </def> Make sense? -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/4L0BrsTpGDoJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
