[ 
https://issues.apache.org/jira/browse/WICKET-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193087#comment-13193087
 ] 

Martin Grigorov commented on WICKET-4282:
-----------------------------------------

Without a quickstart app I cannot test but I see your markup is invalid.
<tr> can have either <td>s or <th>s but not both in the same <tr>.

Please attach a quickstart app the demonstrates the problem.
                
> DataTextField in ModalWindow for IE8
> ------------------------------------
>
>                 Key: WICKET-4282
>                 URL: https://issues.apache.org/jira/browse/WICKET-4282
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Maribel Zapata
>            Priority: Minor
>              Labels: wicket
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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({ "unchecked", "deprecation" })
>                       public void configure(Map widgetProperties) {
>                       super.configure(widgetProperties);
>                               GregorianCalendar gc = new GregorianCalendar();
>                               //gc.add(Calendar.DAY_OF_MONTH, 1);
>                               SimpleDateFormat df = new 
> SimpleDateFormat("MM/dd/yyyy");
>                               String mindate = df.format(gc.getTime());
>                               widgetProperties.put("mindate", mindate);
>               }
>         };
>         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..

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to