Steve Piercy - Web Site Builder Does Knop Support Jason s Custom Tag Loader?
Jul 02, 2009; 11:39
Steve Piercy - Web Site Builder
Does Knop Support Jason s Custom Tag Loader?
Rather than toss the Knop tags into LassoLibraries, I would like to put them in a custom location to make it easier to manage updates, but it looks like the tags require the following modification. If so, this is a feature request.
In its current incarnation, itÄôs important that each file loaded with the tag loader contain a tag with the same name as the file. Otherwise, that file will be reloaded every time, regardless of whether itÄôs necessary. So, for instance, if you have all of the tags in the foo_ namespace in a single file called foo_library.inc, youÄôll want to include a placeholder tag to register the library with the tag loader. I typically just define a simple tag which returns ÄúLoadedÄù and place it at the end of the file (so that it only loads if there are no other errors):
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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/
Jul 02
Steve Piercy - Web Site Builder Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02, 2009; 13:17
Steve Piercy - Web Site Builder
Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02
Jason Huck Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02, 2009; 16:44
Jason Huck
Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02
Johan Solve Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02, 2009; 22:00
Johan Solve
Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02
Johan Solve Re: Does Knop Support Jason s Custom Tag Loader?
Jul 02, 2009; 22:36
Johan Solve
Re: Does Knop Support Jason s Custom Tag Loader?
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!