You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Frank Nimphius (JIRA)" <de...@myfaces.apache.org> on 2008/01/04 07:24:34 UTC

[jira] Created: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Provide selector to show navigation bar on bottom of table 
-----------------------------------------------------------

                 Key: TRINIDAD-885
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
             Project: MyFaces Trinidad
          Issue Type: Wish
            Reporter: Frank Nimphius
            Priority: Minor


In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)

af|table{ -ora-repeat-control-bar: true; } 

A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Commented: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Glauco Pimentel Gomes (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872902#action_12872902 ] 

Glauco Pimentel Gomes commented on TRINIDAD-885:
------------------------------------------------

Any chance to this be fixed in the 1.2.* too?

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Assignee: Matt Cooper
>            Priority: Minor
>             Fix For:  2.0.0.2-core 
>
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Commented: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569909#action_12569909 ] 

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

Frank,

can you create a patch, that brings the ADF Faces selector to Trinidad?

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Priority: Minor
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Commented: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Sutapa (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872885#action_12872885 ] 

Sutapa commented on TRINIDAD-885:
---------------------------------

Hi All,

I have a workaround for this issue which I implemented and it is working. Please find it as below:

I created 2 UIComponenet datatypes in my backing bean
UIXTable dataTable;
CoreSelectRangeChoiceBar rangeChoice;

and my rangeListener is as below:
public void onRangeChange(RangeChangeEvent event)
    {
        logger.info("I am inside rangeChange event");
        FacesContext fc = FacesContext.getCurrentInstance();
        //If "Show All" navigation option is selected
        if(event.getNewEnd() == dataTable.getRowCount())
        {
            dataTable.setShowAll(true);
            rangeChoice.setShowAll(true);
            logger.info("When Show All");
        }
        else
        {
        //Forcefully setting showAll as false when user selects other navigation range
          if(dataTable.isShowAll() || rangeChoice.isShowAll())
          {
              dataTable.setShowAll(false);
              rangeChoice.setShowAll(false);
          }
          //Setting the first row as given by the event's new Start
          logger.info("When not Show All");
        }
         dataTable.setFirst(event.getNewStart());
         rangeChoice.setFirst(event.getNewStart());
         
        dataTable.setRendered(true);
        rangeChoice.setRendered(true);
  }

and my page i updated as

<tr:table id="SearchListData"rows="50" var="resultItem" binding="#{BackingBean.dataTable}" partialTriggers="rangeChoice" value="#{BackingBean.searchResults}" rangeChangeListener="#{BackingBean.onRangeChange}">
..........................
.......................
</tr:table>
<tr:selectRangeChoiceBar id="rangeChoice" binding="#{BackingBean.rangeChoice}" value="#{BackingBean.searchResults}" rangeChangeListener="#{BackingBean.onRangeChange}" rows="50" partialTriggers="SearchListData">
</tr:selectRangeChoiceBar>

And now it works!!!

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Assignee: Matt Cooper
>            Priority: Minor
>             Fix For:  2.0.0.2-core 
>
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Resolved: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Cooper resolved TRINIDAD-885.
----------------------------------

    Fix Version/s: 1.2.14-core 
       Resolution: Fixed

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Assignee: Matt Cooper
>            Priority: Minor
>             Fix For: 1.2.14-core ,  2.0.0.2-core 
>
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Reopened: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Cooper reopened TRINIDAD-885:
----------------------------------


> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Assignee: Matt Cooper
>            Priority: Minor
>             Fix For: 1.2.14-core ,  2.0.0.2-core 
>
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Commented: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Stephen Friedrich (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569566#action_12569566 ] 

Stephen Friedrich commented on TRINIDAD-885:
--------------------------------------------

Also a problem for me. I have to adhere to a pretty rigid styleguide.

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Priority: Minor
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Commented: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789038#action_12789038 ] 

Matt Cooper commented on TRINIDAD-885:
--------------------------------------

Though, perhaps it might not be used, it looks like the new key name is is:

af|table { -tr-repeat-control-bar: true; }

According to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinProperties.java

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Priority: Minor
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Issue Comment Edited: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789038#action_12789038 ] 

Matt Cooper edited comment on TRINIDAD-885 at 12/11/09 12:07 AM:
-----------------------------------------------------------------

Though, perhaps it might not be used, it looks like the new key name is:

af|table { -tr-repeat-control-bar: true; }

According to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinProperties.java

      was (Author: mattcooper):
    Though, perhaps it might not be used, it looks like the new key name is is:

af|table { -tr-repeat-control-bar: true; }

According to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinProperties.java
  
> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Priority: Minor
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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


[jira] Resolved: (TRINIDAD-885) Provide selector to show navigation bar on bottom of table

Posted by "Matt Cooper (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Cooper resolved TRINIDAD-885.
----------------------------------

         Assignee: Matt Cooper
    Fix Version/s:  2.0.0.2-core 
       Resolution: Fixed

> Provide selector to show navigation bar on bottom of table 
> -----------------------------------------------------------
>
>                 Key: TRINIDAD-885
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-885
>             Project: MyFaces Trinidad
>          Issue Type: Wish
>            Reporter: Frank Nimphius
>            Assignee: Matt Cooper
>            Priority: Minor
>             Fix For:  2.0.0.2-core 
>
>
> In ADF Faces there exist a selector -ora-repeat-control-bar that could be used to show the table navigation bar on top and at the bottom of the table (instead of on top only)
> af|table{ -ora-repeat-control-bar: true; } 
> A comparable selector is missing in Trinidad, which may become a problem fro ADF Faces customers that migrate to Trinidad in JDeveloper 11. For a smooth migration from ADF Faces to Trinidad it is highly desirable to have this selector added to Trinidad

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