You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ricardo S. Tanaka (JIRA)" <de...@myfaces.apache.org> on 2008/01/29 12:02:34 UTC

[jira] Created: (TOBAGO-609) Options on markup in tx components

Options on markup in tx components
----------------------------------

                 Key: TOBAGO-609
                 URL: https://issues.apache.org/jira/browse/TOBAGO-609
             Project: MyFaces Tobago
          Issue Type: Improvement
    Affects Versions: 1.0.14
         Environment: All
            Reporter: Ricardo S. Tanaka


Add an attribute "markup-for" in tx components to define if the markup will affect only the component, the label or both. eg. If I put <tx:in markup="color" markup-for="label" .... /> only the label component will be with the markup "color".

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


[jira] Commented: (TOBAGO-609) Options on markup in tx components

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778878#action_12778878 ] 

Udo Schnurpfeil commented on TOBAGO-609:
----------------------------------------

The way described by Volker is definitely useful.

If you need this scenario more often, you can define a facelet to cover this, like you want.

Nevertheless I think about adding some attributes: "panelMarkup", "labelMarkup", "fieldMarkup" to set markups on the specific position in the compound.
The "markup" may set its value to any positions of the compound.   

> Options on markup in tx components
> ----------------------------------
>
>                 Key: TOBAGO-609
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-609
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>    Affects Versions: 1.0.14
>         Environment: All
>            Reporter: Ricardo S. Tanaka
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>
> Add an attribute "markup-for" in tx components to define if the markup will affect only the component, the label or both. eg. If I put <tx:in markup="color" markup-for="label" .... /> only the label component will be with the markup "color".

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


[jira] Commented: (TOBAGO-609) Options on markup in tx components

Posted by "Ricardo S. Tanaka (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563488#action_12563488 ] 

Ricardo S. Tanaka commented on TOBAGO-609:
------------------------------------------

Is this the best way to resolve this? I already using this way, but i was thinking to use the tx compoment because is more simple. Anyway, thanks.

> Options on markup in tx components
> ----------------------------------
>
>                 Key: TOBAGO-609
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-609
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>    Affects Versions: 1.0.14
>         Environment: All
>            Reporter: Ricardo S. Tanaka
>            Priority: Minor
>
> Add an attribute "markup-for" in tx components to define if the markup will affect only the component, the label or both. eg. If I put <tx:in markup="color" markup-for="label" .... /> only the label component will be with the markup "color".

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


[jira] Commented: (TOBAGO-609) Options on markup in tx components

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563485#action_12563485 ] 

Volker Weber commented on TOBAGO-609:
-------------------------------------

tx components are shortcuts for 

<tc:panel>
  <f:facet name="layout">
    <tc:gridLayout columns="fixed;1*"/>
  </f:facet>
  <tc:label for "@auto" .../>
  <tc:(in|date|...) .../>
</tc:panel>

you can use this "long" style to apply markup to labels.

> Options on markup in tx components
> ----------------------------------
>
>                 Key: TOBAGO-609
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-609
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>    Affects Versions: 1.0.14
>         Environment: All
>            Reporter: Ricardo S. Tanaka
>
> Add an attribute "markup-for" in tx components to define if the markup will affect only the component, the label or both. eg. If I put <tx:in markup="color" markup-for="label" .... /> only the label component will be with the markup "color".

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