Author: ssmiweve
Date: 2008-06-03 11:12:33 +0200 (Tue, 03 Jun 2008)
New Revision: 6649
Modified:
trunk/view-config-spi/src/main/java/no/sesat/search/view/config/SearchTab.java
Log:
Issue SKER4755: (currentTab is set to the tab's parent-key instead of key)
Modified:
trunk/view-config-spi/src/main/java/no/sesat/search/view/config/SearchTab.java
===================================================================
---
trunk/view-config-spi/src/main/java/no/sesat/search/view/config/SearchTab.java
2008-06-02 14:35:28 UTC (rev 6648)
+++
trunk/view-config-spi/src/main/java/no/sesat/search/view/config/SearchTab.java
2008-06-03 09:12:33 UTC (rev 6649)
@@ -203,6 +203,7 @@
/**
* Getter for property key.
+ * Implicitly favours parent-key if it exists.
* @return Value of property key.
*/
public String getKey() {
@@ -215,6 +216,15 @@
}
/**
+ * Getter for the property key.
+ * Does not give prefence to parent-key like "getKey()" does.
+ * @return Valaue of property key.
+ */
+ public String getRealKey(){
+ return key;
+ }
+
+ /**
* Getter for property parentKey.
* @return Value of property parentKey.
*/
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits