You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Vinod Kashyap <of...@palinfocom.net> on 2007/09/26 12:01:00 UTC

Calender in Ftl file

How i can add a calender in a ftl file..??

can anyone provide me the code..??


-- 
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.


Re: Calender in Ftl file

Posted by Vinod Kashyap <of...@palinfocom.net>.
ThanKs Brother..
It Works...
:handshake:


Gurcharan wrote:
> 
> Hello,
> 
> Use the below mentioned codes -
> 
>  javascript:call_cal(document.storeform.purchase_date,''); 
> /images/cal.gif  
> 
> where
> storeform - Form Name
> purchase_date - Form Field Name to which calendar is to be attached
> 
> Gurcharan
> 
> 
> On 9/26/07, Vinod Kashyap <of...@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.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Calender-in-Ftl-file-tf4521211.html#a12898498
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Calender in Ftl file

Posted by Gurcharan Singh <gu...@gmail.com>.
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 <of...@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.
>
>

Re: Calender in Ftl file

Posted by Jonathon -- Improov <jo...@improov.com>.
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.
>