set fixed IDs for tabs (#443)
* set fixed IDs for tabs Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com> * set fixed IDs for tabs Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com> * fix javadoc Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
@@ -113,8 +113,8 @@ public class MultipleTargetFilter extends Accordion implements SelectedTabChange
|
||||
* Add tabs.
|
||||
*/
|
||||
private void addTabs() {
|
||||
this.addTab(getSimpleFilterTab());
|
||||
this.addTab(getComplexFilterTab());
|
||||
this.addTab(getSimpleFilterTab()).setId(UIComponentIdProvider.SIMPLE_FILTER_ACCORDION_TAB);
|
||||
this.addTab(getComplexFilterTab()).setId(UIComponentIdProvider.CUSTOM_FILTER_ACCORDION_TAB);
|
||||
}
|
||||
|
||||
private Component getSimpleFilterTab() {
|
||||
|
||||
@@ -619,6 +619,16 @@ public final class UIComponentIdProvider {
|
||||
*/
|
||||
public static final String TARGET_FILTER_TBL_SEARCH_RESET_ID = "target.filter.search.rest.icon";
|
||||
|
||||
/**
|
||||
* ID - simple filter- Accordion-Tab
|
||||
*/
|
||||
public static final String SIMPLE_FILTER_ACCORDION_TAB = "simple.filter.accordion.tab";
|
||||
|
||||
/**
|
||||
* ID - custom filter- Accordion-Tab
|
||||
*/
|
||||
public static final String CUSTOM_FILTER_ACCORDION_TAB = "custom.filter.accordion.tab";
|
||||
|
||||
/**
|
||||
* ID- Customfilter.Name.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user