You do not need to use javascript. There are examples for fpTemplate on
how to do this. See .../packages/fcl-base/texts/fptemplate.txt for details.
Examples are in .../packages/fcl-web/examples/fptemplate/...
All your logic (loop) can be in your fpc source code for grids.
What you seem to want
Hello all,
I Know two templating engines for Freepascal: FPTemplate e JTemplate.
Both can be successfully used for html construction.
But they presents the same aspect: only searches and replaces tags to values.
Of course, it's crucial. But to show html grids, obtained from
database queries, it
sorry ... hijacking is not my intention ... sorry.
Em 16.09.2014
22:11, Flávio Etrusco escreveu:
> On Tue, Sep 16, 2014 at 8:09 PM,
Philippe wrote:
>
>> on compiler
implementation: I read in this list that the group lost months due a
"with" problem. People use "with", and I guess lot of pe
On Tue, Sep 16, 2014 at 8:09 PM, Philippe wrote:
> on compiler implementation:
>
> I read in this list that the group lost months due a "with" problem.
>
> People use "with", and I guess lot of people use it!
>
> I checked the reference
> http://www.freepascal.org/docs-html/ref/refsu58.html#x155-1
on compiler implementation:
I read in this list that the group
lost months due a "with" problem.
People use "with", and I guess lot
of people use it!
I checked the reference
http://www.freepascal.org/docs-html/ref/refsu58.html#x155-16500013.2.8
and there is not any warning ... just:
The
On Mon, Sep 15, 2014 at 2:55 AM, Sven Barth wrote:
> On 14.09.2014 18:05, Philippe wrote:
>>
>
> Take this example:
>
> === code begin ===
>
(...)
>
> procedure TestWith;
> var
> p: PTest;
> begin
> New(p);
>
> with p^ do begin
> Prop1 := 42;
> Prop2 := 21;
> end;
>
> Dispose(p);
On 09/16/2014 03:41 PM, Philippe wrote:
>
> I imagine that who really want to get rid from the hint ... don´t use
> Pascal anyway! or do have strong test tools!!!
>
> one point is that (many?) people use "with" ... and compiler can make
> it safer. may be as described Frederic Da Vitoria ... produc
Hi there,
I would like to know the maximum number of seconds EpikTimer can count. I
put a program running for over 24 hours, but epiktimer told me only about
less than 2000 seconds passed, when I click the finish button.
Thanks.
Xiangrong
___
fpc-pasc
I imagine that who really want to get rid from the hint ... don´t
use Pascal anyway! or do have strong test tools!!!
one point is that
(many?) people use "with" ... and compiler can make it safer. may be as
described Frederic Da Vitoria ... producing error when may be confused.
(but let config
2014-09-16 14:42 GMT+02:00 Sven Barth :
> Am 16.09.2014 12:37 schrieb "Mattias Gaertner" >:
> >
> > On Tue, 16 Sep 2014 07:26:24 -0300
> > Philippe wrote:
> >
> > >
> > >
> > > could the compiler avoid "with" pitfalls?
> > >
> > > now the compiler attach
> > > a property to the closest "with" wh
Am 16.09.2014 12:37 schrieb "Mattias Gaertner" :
>
> On Tue, 16 Sep 2014 07:26:24 -0300
> Philippe wrote:
>
> >
> >
> > could the compiler avoid "with" pitfalls?
> >
> > now the compiler attach
> > a property to the closest "with" where it finds it.
> >
> > the compiler could
> > check if the prop
Il 16/09/2014 12:26, Philippe ha scritto:
could the compiler avoid "with" pitfalls?
The "with" construct can be very handy, but should be used with caution,
like a lot of other constructs, declarations, etc. E.g. for symbols
present with the same name in different units, depending on the o
2014-09-16 12:36 GMT+02:00 Frederic Da Vitoria :
> 2014-09-16 12:26 GMT+02:00 Philippe :
>
>> Em 16.09.2014 05:44, Frederic Da Vitoria escreveu:
>>
>> 2014-09-14 16:23 GMT+02:00 Mark Morgan Lloyd <
>> markmll.fpc-pas...@telemetry.co.uk>:
>>
>>> I'd be far happier if there were provision for decl
On Tue, 16 Sep 2014 07:26:24 -0300
Philippe wrote:
>
>
> could the compiler avoid "with" pitfalls?
>
> now the compiler attach
> a property to the closest "with" where it finds it.
>
> the compiler could
> check if the property appears in another "with" of the "with" stack and
> produce a
2014-09-16 12:26 GMT+02:00 Philippe :
> Em 16.09.2014 05:44, Frederic Da Vitoria escreveu:
>
> 2014-09-14 16:23 GMT+02:00 Mark Morgan Lloyd <
> markmll.fpc-pas...@telemetry.co.uk>:
>
>> I'd be far happier if there were provision for declaring a temporary
>> "shortcut" symbol:
>>
>> with shortcut
could the compiler avoid "with" pitfalls?
now the compiler attach
a property to the closest "with" where it finds it.
the compiler could
check if the property appears in another "with" of the "with" stack and
produce a message (hint, warning or error, which may be configurated).
is not it
2014-09-14 16:23 GMT+02:00 Mark Morgan Lloyd <
markmll.fpc-pas...@telemetry.co.uk>:
> I'd be far happier if there were provision for declaring a temporary
> "shortcut" symbol:
>
> with shortcut: TSomething= TreeRoot.SubDirs[Low(TreeRoot.SubDirs)]^ do
>begin
>shortcut.DirLogged
17 matches
Mail list logo