Steve Piercy - Web Site Builder My turn now - props and questions
Mar 20, 2009; 02:19
Steve Piercy - Web Site Builder
My turn now - props and questions
I finally have an opportunity to not just play with the Knop demo, but to use it for a practical purpose within a project.
I started from the very beginning with a fresh install of Knop from source via SVN on Google Code. It all went without a hitch thanks to the nice docs.
Next I installed the Examples from Google into webroot/Examples. Those all went well, except for the 4-grid.lasso example. Data displays, but sorting and navigating have links that don't appear to function properly. I assume there is a conflict between the Examples and the default Knop installation?
Specific issue: http://knop/Examples/4-grid.lasso
Has the First Name column link of: http://knop/Examples/?-sort=firstname
And the paging of records: Next >> http://knop/Examples/-page=2 Last >| http://knop/Examples/-page=3
Note that the default Demo installation of Knop and its navigation works properly.
Next I have a few questions that I couldn't easily find in the Nabble list archive.
Record Locking ---------------------------- To use Knop's record locking, one should add a lockfield to the table. However I am not clear about the default record locking procedure used in Knop, and how to implement it. Is it documented somewhere (other than trying to parse the code and make sense of it from within knop.lasso itself)?
I would like record locking to be done by user, and to have a variable expiration time (between 5-120 minutes). Additionally if the user abandons modifying a record--either by cancel, navigating elsewhere in the application, logging out or just walking away from the computer--then the record lock should be removed.
Here's sample sql for altering a table accordingly.
alter table `mytable` add column `moddate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, add column `keyfield` varchar(255) not null, add column `lockfield` varchar(255) not null, add index `keyfield` (`keyfield`), add index `lockfield` (lockfield) ;
I found some references to record locking in the knop_database API docs (help.lasso). -> clearlocks -> deleterecord -> getrecord -> lockfield -> lockvalue -> lockvalue_encrypted -> oncreate -> saverecord
Form Fields and Fieldsets ---------------------------- I didn't see how to implement the following input parameters.
-maxlength -tabindex -accesskey
Also I wasn't clear on how to implement multiple fieldsets in a given form. I found how to do one fieldset per form:
User Password Recovery/Reset ---------------------------- I remember this being discussed, but I don't know whether any implementation was created. Does this critter exist?
--steve
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Mar 20
Jolle Carlestam Re: My turn now - props and questions
Mar 20, 2009; 12:32
Jolle Carlestam
Re: My turn now - props and questions
Mar 21
Johan Solve Re: My turn now - props and questions
Mar 21, 2009; 19:42
Johan Solve
Re: My turn now - props and questions
Mar 21
Johan Solve Re: My turn now - props and questions
Mar 21, 2009; 20:14
Johan Solve
Re: My turn now - props and questions
Mar 21
Johan Solve Re: My turn now - props and questions
Mar 21, 2009; 21:03
Johan Solve
Re: My turn now - props and questions
Mar 21
Jolle Carlestam Re: My turn now - props and questions
Mar 21, 2009; 23:22
Jolle Carlestam
Re: My turn now - props and questions
Mar 22
Johan Solve Re: My turn now - props and questions
Mar 22, 2009; 13:21
Johan Solve
Re: My turn now - props and questions
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!