|
From: R K <lin...@ho...> - 2004-11-02 14:07:12
|
Umm I was wondering, does not Template Toolkit treat templates as
binary? There is a binmode option as far as I know.
Thanks
-RK
R K wrote:
> Hi Boris,
> I am using the latest PageKit 1.15 with Template Toolkit. I am facing
> a kind of unique problem here. Consider following (Code: Model) :
>
> $model->output(seekrecord => $UserData->{seekrecord});
> where $UserData->{seekrecord} = 200;
>
> Now consider following: (Template)
> <input value=[% seekrecord %] [% seekrecord %]
> name="seekrecord" type="hidden" />
>
> In output I get: (Final Web Page)
> <input 200 value="100" name="seekrecord" type="hidden" />
>
> Any ideas???? No matter whatever is the value, I always get vale="100"
> and please check I didnt mention any quotes after value, but they
> appear in the final output. Any guesses?
>
> -RK
> Boris Zentner wrote:
>
>> Hi,
>>
>> Am Mittwoch, 27. Oktober 2004 08:29 schrieb R K:
>>
>>
>>> Hi Boris,
>>>
>>> I have tried using A::P 1.15. The installation went smooth.
>>> Now while accessing some links I faced following:
>>>
>>> I kept on getting following errors:
>>> Cannot find encoding "$default_input_charset" at
>>> /tmp/.my_linux_box/local/lib/perl5/site_perl/5.8.2/Apache/PageKit/View.pm
>>>
>>> line 464
>>>
>>>
>>
>>
>> fixed. Thank you. It is already avail on
>> http://eg.2bz.de/Apache-PageKit-1.15.tar.gz
>>
>>
>>
>>> and then they disappeared after some time I have no idea how. I tried
>>> getting the errors back, but did not succeed.
>>>
>>> I was wondering if this has already been implemented.
>>>
>>> Suppose I wish to have pkit pages server from /pagekit. Now in the
>>> index.tmpl the links are as href="login1?...". Is it configurable to
>>> have href="/pagekit/login1?..." ?
>>>
>>> I would like to use it as following in httpd.conf :
>>>
>>> <Location /pagekit>
>>> ..
>>> ..
>>> </Location>
>>>
>>
>>
>> thi s is already possible, with the global config option
>>
>> uri_prefix="pagekit/"
>>
>> --
>> boris
>>
>>
>>
>>
>
>
|