[Bug 6369] New: 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
Summary: FR: allow 'elseif' tag to have children
Product: App - Core
Version: Weekly Tarball
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3 - Standard
Component: BlockLayout
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10
(like Gecko) (Debian)
Build Identifier:
It would be nice to use elseif in template the same way as in PHP (remove "The
'elseif' tag cannot have children" error).
Reproducible: Always
Actual Results:
You have to use this workaround so far:
<xar:if condition="0 == 1">
<xar:comment> something </xar:comment>
<xar:else />
<xar:if condition="0 == 2">
<xar:comment> something </xar:comment>
<xar:else />
<xar:comment> something </xar:comment>
</xar:if>
</xar:if>
Expected Results:
This is NOT allowed so far:
<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>
--
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]