myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kent Tong (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-1173) Allow plain html markup inside <t:datalist>
Date Sat, 29 Dec 2007 05:30:44 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554881
] 

Kent Tong commented on TOMAHAWK-1173:
-------------------------------------

That will not work either.

However, I realized that this is not a limitation of datalist, but the limitation of JSF:
If a JSF component is going to render itself body, it can only contain JSF component and nothing
else, so HTML code will not be allowed.

> Allow plain html markup inside <t:datalist>
> -------------------------------------------
>
>                 Key: TOMAHAWK-1173
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1173
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Data List
>    Affects Versions: 1.1.5
>            Reporter: Kent Tong
>            Priority: Minor
>
> Currently, a <t:datalist> only allows JSF components in its body. This makes it
very difficult to
> render a <table> like:
> <t:datalist>
> <tr>
> <td><h:outputText.../></td>
> <td><h:outputText.../></td>
> <td><h:outputText.../></td>
> </tr>
> </t:datalist>
> For a <table> one could use the datatable, but one may not want to have such a
heavy weight
> component or may need to output a <dl>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message