Calender in Ftl file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Calender in Ftl file

Pal Infocom Technologies-2
How i can add a calender in a ftl file..??

can anyone provide me the code..??

i want to place a calender control in the ftl file.. so that when a user clicks on it, the calender will be displayed.
Reply | Threaded
Open this post in threaded view
|

Re: Calender in Ftl file

Gurcharan
Hello,

Use the below mentioned codes -

<a href="javascript:call_cal(document.storeform.purchase_date,'');"><img
src='/images/cal.gif' width='16' height='16' border='0' alt='Calendar'/></a>

where
storeform - Form Name
purchase_date - Form Field Name to which calendar is to be attached

Gurcharan


On 9/26/07, Vinod Kashyap <[hidden email]> wrote:

>
>
> How i can add a calender in a ftl file..??
>
> can anyone provide me the code..??
>
> i want to place a calender control in the ftl file.. so that when a user
> clicks on it, the calender will be displayed.
>
> --
> View this message in context:
> http://www.nabble.com/Calender-in-Ftl-file-tf4521211.html#a12897676
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Calender in Ftl file

Pal Infocom Technologies-2
ThanKs Brother..
It Works...


Gurcharan wrote
Hello,

Use the below mentioned codes -

Calendar

where
storeform - Form Name
purchase_date - Form Field Name to which calendar is to be attached

Gurcharan


On 9/26/07, Vinod Kashyap <ofbiz@palinfocom.net> wrote:
>
>
> How i can add a calender in a ftl file..??
>
> can anyone provide me the code..??
>
> i want to place a calender control in the ftl file.. so that when a user
> clicks on it, the calender will be displayed.
>
> --
> View this message in context:
> http://www.nabble.com/Calender-in-Ftl-file-tf4521211.html#a12897676
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Calender in Ftl file

jonwimp
In reply to this post by Pal Infocom Technologies-2
In general, when trying to code for FTL, you should look at equivalents in Widgets. Run a widget,
look at the HTML code generated, and copy exactly. That's how you fish. :)

Jonathon

Vinod Kashyap wrote:
> How i can add a calender in a ftl file..??
>
> can anyone provide me the code..??
>
> i want to place a calender control in the ftl file.. so that when a user
> clicks on it, the calender will be displayed.
>