I edited my html file to look like this
<div align="center">
<input type="submit" wicket:id="back" >
<input type="submit" wicket:id="display"
onclick="target='_blank';return
true;">
</div>
The display button now opens up a page in a new window. Now he issue is at
any point after I click the display button, the back button also opens up
pages in new windows. How do I go about resetting target in the onclick of
the back button ie.
<input type="submit" wicket:id="bak"
onclick="target=????">
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Open-page-in-new-window-when-clicking-on-button-tp4606719p4606940.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]