Unique style selector needs to be defined for each element in 
SelectRangeChoiceBar
----------------------------------------------------------------------------------

                 Key: TRINIDAD-1330
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1330
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 1.0.10-core, 1.2.10-core
         Environment: Mobile browsers
            Reporter: Tadashi Enomori
            Priority: Minor


In order to allow application to selectively show/hide elements in 
SelectRangeChiceBar, it is necessary to assign new style class selectors for 
the elements within. For example, on a narrow screen browser (e.g. Nokia S40 
phone browser), application may want to show only the "previous" and "next" 
links, or only the range selector, in order to fit the page navigation elements 
neatly in one line. 

There are 4 elements in it. Current style selectors are:
1. [previous...]: NAV_BAR_ILINK_CLASS/NAV_BAR_ALINK_CLASS (inactive/active 
state)
2. [page selector combo box]: AF_FIELD_STYLE_CLASS
3. [go button] (Basic HTML renderer only): None
4. [next...]: NAV_BAR_ILINK_CLASS/NAV_BAR_ALINK_CLASS (inactive/active state)

In order to maintain the backward compatibility, we need to retain current 
selectors. We will add an unique selector for each of them.

1. [previous...]: NAV_BAR_PREVIOUS_LINK_CLASS and 
NAV_BAR_ILINK_CLASS/NAV_BAR_ALINK_CLASS (inactive/active state)
2. [page selector combo box]: NAV_BAR_RANGE_COMBOBOX_CLASS and 
AF_FIELD_STYLE_CLASS
3. [go button] (Basic HTML renderer only): NAV_BAR_RANGE_SUBMIT_CLASS
4. [next...]: NAV_BAR_NEXT_LINK_CLASS and 
NAV_BAR_ILINK_CLASS/NAV_BAR_ALINK_CLASS (inactive/active state)


-- 
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