I have just addes the calendar, and it doesn't appear:

I have just added the scripts             

<script type="text/javascript" src="<c:url
value='/scripts/calendar.js'/>"></script>
<script type="text/javascript" src="<c:url
value='/scripts/calendar-setup.js'/>"></script>
<script type="text/javascript" src="<c:url
value='/scripts/lang/calendar-es.js'/>"></script>

The inputs fields:

<td>
      <s:textfield key="fechaIni" size="11" theme="simple"/>
      <button id="fechaIniCal" type="button" class="button"> ... </button>
</td>
        
<td>
       <s:textfield key="fechaEnd" size="11" theme="simple"/>
       <button id="fechaEndCal" type="button" class="button"> ... </button>
</td>

and added the setup javascript:
<script type="text/javascript"> 
Calendar.setup(
    {
        inputField  : "fechaIni",      // id of the input field
        ifFormat    : "%d/%m/%Y",      // the date format
        button      : "fechaIniCal"    // id of the button
    }
    );
Calendar.setup(
    {
        inputField  : "fechaEnd",      // id of the input field
        ifFormat    : "%d/%m/%Y",      // the date format
        button      : "fechaEndCal"    // id of the button
    }
    );
</script>

And the button seems that doesn't work. 

Maybe i forgot something, like in pickList.jsp?

Thanks.
-- 
View this message in context: 
http://appfuse.547863.n4.nabble.com/Regarding-menu-jsp-tp572223p2228245.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to