Changed to RadioGroup and implemented following code.
radioBtnOptionA.add(new AjaxEventBehavior(onclick) {
@Override
protected void onEvent(AjaxRequestTarget target) {
// doSomething;
Following code works fine on jettty 6.1.22 but not on tomcat 6.0.24 with
Liferay 5.2
To be specific, the following line always returns string optionB although
other option is selected.
String selectedOption = searchChoice.getModelObject();
Can anybody please point out reason for this behaviour?
Yes, Gabriel I did remote debug using eclipse.
My project uses the same wicket version as yours i.e. 1.4.17
Default selection is correct as set in default model inside constructor of
RadioChoice.
Once OptionB is selected, one can not toggle between radio buttons.
It doesn't even allow to select
Thanks Clint.
To start with, I chose the second option from your suggestion, spent lot of
time to no avail.
Then I gave try to second option (i.e. css) and within no time got the
solution.
In css, added a class for navigator as
.navigator_Class{} // no change - kept original style as it is
The current page selection is noticed by disabled link of the selected page
number.
In our project we need to highlight (bold font and colour) selected page by
means of css.
How this can be achived ?
Thank you.
--
View this message in context:
Hi,
Can anybody please throw some light on how two wicket applications, deployed
into the same container can interact with each other?
Basic requirement is, parameters should be passed from component in
Application1 to component in Application2, when Application2 is called from
Application1
That did help.
Thank you Eugene and Ernesto.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Internationalization-dynamic-message-for-feedback-Panel-tp3070945p3074033.html
Sent from the Users forum mailing list archive at Nabble.com.
Hello,
In my code following lines are present and works as expected.
.java file for Panel contains a FeedbackPanel and displays warning message
using following code:
info(getLocalizer().getString(deleteConfirm, this));
application.properties file contains
deleteConfirm: Do you want to delete
ok. thank you.
but is there any way when you don't have a bean?
- Shantanu
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Internationalization-dynamic-message-for-feedback-Panel-tp3070945p3071012.html
Sent from the Users forum mailing list archive at Nabble.com.