[ 
http://jira.magnolia-cms.com/browse/MGNLSTK-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated MGNLSTK-584:
-----------------------------------

        Summary: Cleaner way to pass paragraph lists to the newBar tag  (was: 
Expose a getAllowedParagraphs(Area area) method in STKUtil)
    Description: 
By exposing a {{getAllowedParagraphs(Area area)}} method in STKUtil, instead of 
{code}
[[email protected] paragraph="${stk.asStringList(def.mainArea.paragraphs)}" /]
{code}
we could do (provided the new tags/directives take a List<String> property 
instead of a comma-separated String)
{code}
[[email protected] paragraph=stk.getAllowedParagraphs(def.mainArea) /]
{code}

> Cleaner way to pass paragraph lists to the newBar tag
> -----------------------------------------------------
>
>                 Key: MGNLSTK-584
>                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-584
>             Project: Magnolia Standard Templating Kit
>          Issue Type: New Feature
>          Components: base system
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>            Priority: Minor
>             Fix For: 1.3
>
>
> By exposing a {{getAllowedParagraphs(Area area)}} method in STKUtil, instead 
> of 
> {code}
> [[email protected] paragraph="${stk.asStringList(def.mainArea.paragraphs)}" /]
> {code}
> we could do (provided the new tags/directives take a List<String> property 
> instead of a comma-separated String)
> {code}
> [[email protected] paragraph=stk.getAllowedParagraphs(def.mainArea) /]
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to