Re: CryptoMapper, Mounted pages recreation and ModalWindow cookie

2016-10-02 Thread Rakesh A
Created an issue for it - https://issues.apache.org/jira/browse/WICKET-6248

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-Mounted-pages-recreation-and-ModalWindow-cookie-tp4675513p4675621.html
Sent from the Users forum 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



Re: java wickets menu on image button

2016-10-02 Thread ASHU_JAVA
Hi Martin,

Thanks a lot for your suggestion.

My requirement is nearly complete, the only issue I'm facing right now is
*how to open the List link in new tab ?*.
Please find below my current code:

/SamplePage.Java/
add(new LinkPanel("navBar"));

/SamplePage.html/


/LinkPanel.Java/



/LinkPanel.html/



/style.css/



The output looks like below image:
 

So, when I click on link it open in the same window. 

I tried to change the *"LinkPanel.java" *code as below:-

The output now looks like below image:
 

I'm able to now open the links in different tabs but the appearance is now
not in the list.

I think if the LinkPanel.Java code can generate an HTML like below it will
become perfect according to my requirement:-


Kindly suggest inputs on how to achieve it in my current code.
Thanks in advance.




You need to add the dropdown to the  element.
In the blog article you mentioned in your first email this is:  

The blog uses:

 <#> 
 **

   
 
   
 

You need to remove * and use   instead of .
In the Java code replace:

itemContainer.add(new Label("label", currentMenuItem.getLabel()));

with

itemContainer.add(new ContextImage("img", ...));

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/java-wickets-menu-on-image-button-tp4675602p4675620.html
Sent from the Users forum 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