Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-10

LazWebData package

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé
to ABorka
ABorka wrote 6 lines
On 10/3/2010 14:05, Leonardo M. Ram? wrote: >Hi, I was trying to play with the new demos from >packages/fcl-web/examples and found that them require the package >lazwebdata, where can I find it?. It is in Lazarus, called Lazwebextra

Uh, ok. Then, I have to change the references to lazwebdata, in the examples, to lazwebextra?

Reply by email

Leonardo M. Ramé
to Leonardo M. Ramé
Leonardo M. Ram? wrote 11 lines
On 2010-10-03 14:23:41 -0700, ABorka wrote: > On 10/3/2010 14:05, Leonardo M. Ram? wrote: > >Hi, I was trying to play with the new demos from > >packages/fcl-web/examples and found that them require the package > >lazwebdata, where can I find it?. > > It is in Lazarus, called Lazwebextra Uh, ok. Then, I have to change the references to lazwebdata, in the examples, to lazwebextra?

If that's the way to solve it, just execute this command in packages/fcl-web/examples, to replace lazwebdata to lazwebextra.

find . -type f -exec sed -i 's/\"lazwebdata\"/\"lazwebextra\"/g' {} \;

;-)

Reply by email

ABorka
to Leonardo M. Ramé: Uh, ok. Then, I have to change the references to lazwebdata, in the examples, to…
Leonardo M. Ram? wrote 10 lines
On 2010-10-03 14:23:41 -0700, ABorka wrote: > On 10/3/2010 14:05, Leonardo M. Ram? wrote: >> Hi, I was trying to play with the new demos from >> packages/fcl-web/examples and found that them require the package >> lazwebdata, where can I find it?. > > It is in Lazarus, called Lazwebextra Uh, ok. Then, I have to change the references to lazwebdata, in the examples, to lazwebextra?

No, Lazwebextra is just the name of the package you have to install in Lazarus to have the additional components installed. After installing the package, you can forgot the name lazwebextra you will never use it in your code.

Once you've installed the packages weblaz and lazwebextra and Lazarus is then recompiled, you can compile those example programs.

BTW, I've already raised this naming confusion issue with the developers, hopefully they will standardize the package names with the feature names and components. Some different icons for the toolbar components would be nice to have also :)

1. Currently we have package named WEBLAZ that provides us with the Lazarus FPWEB components.

2. We now have a LAZWEBEXTRA package too, that is also part of the Lazarus FPWEB components, this is just in a separate package for now until the next Lazarus release, theoretically.

3. We have the FCL-WEB that is part of the FPC's (Free Pascal Compiler) FCL (fere component library) that contains all the base and non-design time components for web development (fpweb, namely the weblaz/lazwebextra packages are based on this)

Confused enough yet? ;)

AB

Reply by email

Leonardo M. Ramé
to ABorka
ABorka wrote 40 lines
On 10/3/2010 14:31, Leonardo M. Ram? wrote: >On 2010-10-03 14:23:41 -0700, ABorka wrote: >>On 10/3/2010 14:05, Leonardo M. Ram? wrote: >>>Hi, I was trying to play with the new demos from >>>packages/fcl-web/examples and found that them require the package >>>lazwebdata, where can I find it?. >> >>It is in Lazarus, called Lazwebextra > >Uh, ok. Then, I have to change the references to lazwebdata, in the >examples, to lazwebextra? No, Lazwebextra is just the name of the package you have to install in Lazarus to have the additional components installed. After installing the package, you can forgot the name lazwebextra you will never use it in your code. Once you've installed the packages weblaz and lazwebextra and Lazarus is then recompiled, you can compile those example programs. BTW, I've already raised this naming confusion issue with the developers, hopefully they will standardize the package names with the feature names and components. Some different icons for the toolbar components would be nice to have also :) 1. Currently we have package named WEBLAZ that provides us with the Lazarus FPWEB components. 2. We now have a LAZWEBEXTRA package too, that is also part of the Lazarus FPWEB components, this is just in a separate package for now until the next Lazarus release, theoretically. 3. We have the FCL-WEB that is part of the FPC's (Free Pascal Compiler) FCL (fere component library) that contains all the base and non-design time components for web development (fpweb, namely the weblaz/lazwebextra packages are based on this) Confused enough yet? ;) AB

You are right...but, I have installed LazWebExtra (I can see all the new components), and when I try to open any of the examples on fcl-web/examples the project is requiring lazwebdata, just take a look at the lpi's:

grep -rH "\"lazwebdata\"" *

webdata/demo4/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo2/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo5/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo6/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo3/extgrid.lpi: <PackageName Value="lazwebdata"/>

I've just updated from svn's trunk version.

Reply by email

ABorka
to Leonardo M. Ramé
Leonardo M. Ram? wrote 57 lines
On 2010-10-03 14:55:03 -0700, ABorka wrote: > On 10/3/2010 14:31, Leonardo M. Ram? wrote: >> On 2010-10-03 14:23:41 -0700, ABorka wrote: >>> On 10/3/2010 14:05, Leonardo M. Ram? wrote: >>>> Hi, I was trying to play with the new demos from >>>> packages/fcl-web/examples and found that them require the package >>>> lazwebdata, where can I find it?. >>> >>> It is in Lazarus, called Lazwebextra >> >> Uh, ok. Then, I have to change the references to lazwebdata, in the >> examples, to lazwebextra? > > No, Lazwebextra is just the name of the package you have to install > in Lazarus to have the additional components installed. > After installing the package, you can forgot the name lazwebextra > you will never use it in your code. > > Once you've installed the packages weblaz and lazwebextra and > Lazarus is then recompiled, you can compile those example programs. > > BTW, I've already raised this naming confusion issue with the > developers, hopefully they will standardize the package names with > the feature names and components. Some different icons for the > toolbar components would be nice to have also :) > > 1. Currently we have package named WEBLAZ that provides us with the > Lazarus FPWEB components. > > 2. We now have a LAZWEBEXTRA package too, that is also part of the > Lazarus FPWEB components, this is just in a separate package for now > until the next Lazarus release, theoretically. > > 3. We have the FCL-WEB that is part of the FPC's (Free Pascal > Compiler) FCL (fere component library) that contains all the base > and non-design time components for web development (fpweb, namely > the weblaz/lazwebextra packages are based on this) > > Confused enough yet? ;) > > AB You are right...but, I have installed LazWebExtra (I can see all the new components), and when I try to open any of the examples on fcl-web/examples the project is requiring lazwebdata, just take a look at the lpi's: grep -rH "\"lazwebdata\"" * webdata/demo4/extgrid.lpi:<PackageName Value="lazwebdata"/> webdata/demo2/extgrid.lpi:<PackageName Value="lazwebdata"/> webdata/demo5/extgrid.lpi:<PackageName Value="lazwebdata"/> webdata/demo6/extgrid.lpi:<PackageName Value="lazwebdata"/> webdata/demo3/extgrid.lpi:<PackageName Value="lazwebdata"/> I've just updated from svn's trunk version.

Ahh yes, I remember now. That is the old name of that package, I had the same problem, it seems it was not fixed in the SVN.

All you need to do is just remove that dependency from the project and it will compile. Just remove lazwebdata from everywhere it is mentioned, because that is just some leftover.

AB

Reply by email

Michael Van Canneyt
to Leonardo M. Ramé: Hi, I was trying to play with the new demos from packages/fcl-web/examples and found that…
Leonardo M. Ram? wrote
Hi, I was trying to play with the new demos from packages/fcl-web/examples and found that them require the package lazwebdata, where can I find it?.

It's actually lazwebextra (lazwebdata was the package I used when designing the components before I moved them). I will fix this, but you can simply change the name with search & replace in the lpi file or manually remove the dependency and add the correct dependency.

Michael.

Reply by email