Johan Solve Knop package updated, namespace changed
Apr 04, 2007; 11:35
Johan Solve
Knop package updated, namespace changed
I've updated Knop today with the following changes:
Changed namespace from mt_ to knop_
Changes in knop_grid ->addfield: -template can now also be a compound expression. either string to format values, compund expression or map containing templates to display individual values in different ways, use -default to display unknown values, use #value# to insert the actual field value in the template. If a compund expression is specified, the field value is passed as param to the expression and can be accessed as params. Example expressions: {return: params} to return just the field value as is {return: (date: (field: 'moddate')) -> (format: '%-d/%-m')} to return a specific field as formatted date This is really powerful.
Changes in knop_nav ->renderhtml: added -renderpath, -expand and -flat to be able to render parts of the nav menu for more flexible layout. -renderpath // only render the children of the specified path (and downward unless -flat is specified) -flat // flag or true/false, only render one level -expand // flag or true/false, render the entire expanded nav tree and not just the currently active branch
->renderbreadcrumb: added -home to show the default navigation item (i.e. "home") first in the breadcrumb (unless already there)
I've also created the knop_strings source file, but so far it only contains empty member tag definitions.
I haven't started with the customizable strings in knop_grid yet. I'm going to implement it using knop_strings so it will have to wait until that is done. I will use Jolle's work as default values, and put the setting of default values in a separate member tag so the default strings can be overridden easily by subclassing knop_grid and writing a replacement member tag for setting the default strings.
The additions to knop_database for date_modified etc isn't done yet either. -- Johan Sölve [FSA Member, Lasso Partner] Web Application/Lasso/FileMaker Developer MONTANIA SOFTWARE & SOLUTIONS http://www.montania.se mailto:joh-n@montania.se (spam-safe email address, replace '-' with 'a')
############################################################# 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://lists.montania.se/Lists/knop/ (log in with your email and ConfirmationID as password, send message to <knop-confirm@lists.montania.se> to get that ID) Project homepage http://montania.se/projects/knop/ AIM chatroom knop aim:gochat?roomname=knop
Apr 04
Jolle Re: Knop package updated, namespace changed
Apr 04, 2007; 12:36
Jolle
Re: Knop package updated, namespace changed
Apr 04
Johan Solve Re: Knop package updated, namespace changed
Apr 04, 2007; 13:01
Johan Solve
Re: Knop package updated, namespace changed
Apr 05
Ric Lewis Re: Knop package updated, namespace changed
Apr 05, 2007; 11:49
Ric Lewis
Re: Knop package updated, namespace changed
Apr 05
Ric Lewis Re: Knop package updated, namespace changed
Apr 05, 2007; 19:57
Ric Lewis
Re: Knop package updated, namespace changed
Apr 05
Johan Solve Re: Knop package updated, namespace changed
Apr 05, 2007; 21:38
Johan Solve
Re: Knop package updated, namespace changed
Apr 05
Johan Solve Re: Knop package updated, namespace changed
Apr 05, 2007; 22:37
Johan Solve
Re: Knop package updated, namespace changed
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!