[ 
https://issues.apache.org/jira/browse/TRINIDAD-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545349
 ] 

Matthias Weßendorf commented on TRINIDAD-115:
---------------------------------------------

perhaps this guy is a good candidate for a trinidad-sandbox ?

> Layout Component for Trinidad - TableFormLayout
> -----------------------------------------------
>
>                 Key: TRINIDAD-115
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-115
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>            Reporter: Leonardo Uribe
>            Priority: Minor
>         Attachments: patchTableFormLayout.patch, screenshot-1.jpg, 
> TableFormLayout.zip, TableFormLayout2007AGO08.zip, 
> TableFormLayout2007AGO12.zip, TableFormLayout2007NOV25.zip
>
>
> Hi
> I want to put on consideration or discusion of the community this component 
> that I have made to work with trinidad.
> The component is similar to <tc:gridLayout> component in tobago, but are 
> build following the rules
> of trinidad to manage this components.
> The component was build based on panelFormLayout way to do this
> I have attached to this issue  a project called TableFormLayout. But for run, 
> It's necessary to modify a 
> method (really add a single line) of the class LabelAndMessageRenderer (I 
> also provide a patch) on 
> trinidad-impl-1.0.2-SNAPSHOT
>   private boolean _isFormRendererType(String rendererType)
>   {
>     return "org.apache.myfaces.trinidad.Form".equals(rendererType) ||
>         "org.apache.myfaces.trinidad.FormLayout".equals(rendererType) ||
>         "org.apache.myfaces.trinidad.rich.Form".equals(rendererType) ||
>         "org.apache.myfaces.trinidad.TableLayout".equals(rendererType);
>   }
> I don't like this patch, but LabelAndMessageRenderer has some coupling with 
> PanelFormLayoutRenderer. The central
> problem is that this renderer has to look things about its environment, but a 
> component should not assume things
> of his environment. I want to discuss this in another discusion in 
> myfaces-dev mailing list.
> The component is not finished yet, but i have made 3 examples that I want to 
> show to the community in order to 
> modify it.
> Suggestions are welcome.
> regards
> Leonardo Uribe

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

Reply via email to