Description
I have a ModalWindow and that M.W set a Panel. That Panel contains a Form that's add a DateTextField like this:
final DateTextField activationDate = new DateTextField("activationDate",
new PropertyModel(this,"card.activationDate"), "yyyy-MM-dd");
DatePicker datePicker = new DatePicker() {
private static final long serialVersionUID = 1L; // Default version ID
// Override of Configure to force minimum date to be able to select for this calendar.
// mindate = tomorrow - mm/dd/yyyy.
@SuppressWarnings(
)
public void configure(Map widgetProperties)
};
activationDate.add(datePicker);
....and that DateTextField is inside a tag in HTML like this:
<tr wicket:id="activationDateRow">
<th>Activation Date:</th>
<td>
<span class="snmcal"><input type="text" wicket:id="activationDate"></input></span>
</td>
</tr>
...In JAVA it is reference by this:
final WebMarkupContainer activationDateRow = new WebMarkupContainer("activationDateRow");
...when I need to show the activationDate I put the activationDateRow.visible(true) or activationDateRow.visible(false) if I don't wanto to do that.
The problem is: at the first time when I do click in some bottom to show the ModalWindow in firefox the DataPicker inside the DateTextField appears well but in IE8 at the fist click doesn't show well..seems like the DataPicker isn't created or something like that...If I do ckick on close buttom an then I repeat the previous steps I can see the DataPicker ok..The situation is: I'm not an expert in wicket..I need help with this..