[Bug 6369] FR: allow 'elseif' tag to have children
| Newsgroups | gmane.comp.cms.xaraya.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://bugs.xaraya.com/show_bug.cgi?id=6369 ------- Comment #1 from [email protected] 2009-04-11 02:32 GMT ------- Hi Pev This is allowed, note the closing tag for the <xar:elseif /> line: <xar:if condition="0 == 1"> <xar:comment> something </xar:comment> <xar:elseif condition="0 == 2" /> <xar:comment> something </xar:comment> <xar:else /> <xar:comment> something </xar:comment> </xar:if> More correct is this: This is NOT allowed so far: <xar:if condition="0 eq 1"> <xar:comment> something </xar:comment> <xar:elseif condition="0 eq 2" /> <xar:comment> something </xar:comment> <xar:else /> <xar:comment> something </xar:comment> </xar:if> See http://www.xaraya.com/documentation/rfcs/rfc0010.html#elseif and http://www.xaraya.com/documentation/rfcs/rfc0010.html#tagdescriptions -- Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ---- ** IMPORTANT ** READ BELOW ** ---- [Clip Me Start] -------------------------------------------------------------------------- If you wish, you can reply to this message directly **however**, make sure to use the "Reply To All" feature of your client **and** ensure that the bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have you're From or Reply-To address set to the same address you use to log into your bugzilla account or your reply will not be attached to the bug. -------------------------------------------------------------------------- [Clip Me End]