Hi All,

I am storing the keys and panels in hashmap.

ex : map.put("itemname",nameofPanel); // nameofpanel is the Actual panel  

whenever i search an item nameofpanel will get it from map.

after that the panel should be open in new window (Modal Window).

so i dont want to use if conditions to check the key and create a panel
object according to the key. 

rather is there any way to create the panel once i pick it from the map.


Ex : nameofpanel   = map.get("abc"); now i got the panelname , i 've to
create the panel and attatch it to the webpage. i.e my criteria.. EXPanel ex
= new Expanel("result"); add(ex);

I do apologize if it is not a wicket question 



thanks
J

 
-- 
View this message in context: 
http://www.nabble.com/Craeating-panels-which-are-stored-in-map-tp22471232p22471232.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to