fpweb execution error (example 2) lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- grandbob · 2009-06-20 22:52 My Environment Lazarus 0.9.26.2-0 beta FPC 2.2.2 svn checkout /packages/fcl-web/src/*.* Apache2 Ubuntu 9.04 (x86_64-linux-gtk) fpweb demo... Unit1.lfm object FPWebModule1: TFPWebModule1   Actions = <      item       Name = 'default'       Default = True       Content = '(default action)'#10       Contents.Strings = (         '(default action)'       )     end      item       Name = 'ActionOne'       Content = 'Action One'#10       Contents.Strings = (         'Action One'       )     end      item       Name = 'ActionTwo'       Content = 'Action Two'#10       Contents.Strings = (         'Action Two'       )     end>   Height = 300   HorizontalOffset = 588   VerticalOffset = 461   Width = 400 end Browser produces these outputs http://localhost/cgi-bin/cgiproject1 yields (default action) Yeay! http://localhost/cgi-bin/cgiproject1?action=ActionOne yields (default action) Boo!... should be Action One http://localhost/cgi-bin/cgiproject1?action=ActionTwo yields (default action) Boo!... should be Action Two Need more guidance please. Thank you. ---------------------------------------------------------------------- bobo · 2009-06-21 00:22 You are not calling it properly from your browser. It should be something like: http://localhost/cgi- bin/cgiproject1/ActionOne?param1=param1value¶m2=param2value You can find web examples in the latest Lazarus SVN under /components/fpweb/demo or as a zip file in http://bugs.freepascal.org/view.php?id=13706 Note, these require FPC fcl-web versions past 4/30/2009 (revisions 13062 and later) to work. ---------------------------------------------------------------------- grandbob · 2009-06-22 16:51 Now THAT'S better. Thank you for the assistance.