inside your TCF method you could check if any of the parameters were empty and if so you could have it email you or log it somewhere along with <@appfile> and whatever other information you needed to be able to track it down.
of course you'd have to go live w/ the code (or atleast live on a dev. machine) before it would start reporting anything
On 6/16/06, William M Conlon <[EMAIL PROTECTED]> wrote:
I'm curious about how to manage changes to call methods. If I add a
parameter to a call method, I need to modify all the callers -- in
TAFs and TCFs.
A coupld of things come to mind. I guess the simplest is to just do
a global search for the method name.
Of course if we had the 'strict compilation' option, I could use the
syntax checker for this.
Any other ideas?
On Jun 15, 2006, at 2:14 PM, William M Conlon wrote:
> Hi Phil and list,
>
> This may already be in the v6 Studio, but I would sure like to see
> a 'strict compilation' option for syntax checking that could verify
> that meta tag attributes used in tags are actually defined.
>
> For example, this will compile:
>
> <@VAR SCOPE="method" NAME="comment_list_by_user_action"
> ENCODIGN="none">, even though I mis-typed the attribute "ENCODING"
>
> With TCF methods the server will barf, so I can catch my typos
> during test. But it looks like the server just ignores undefined
> attributes.
>
> Is there a server configuration variable that would do strict
> checking on metatags? I would hate to burden my development server
> with such a check, which should properly be done in the Studio, but
> I might at least catch some typos.
>
> thank.
>
> Bill
>
> William M. Conlon, P.E., Ph.D.
> To the Point
> 345 California Avenue Suite 2
> Palo Alto, CA 94306
> vox: 650.327.2175 (direct)
> fax: 650.329.8335
> mobile: 650.906.9929
> e-mail: mailto:[EMAIL PROTECTED]
> web: http://www.tothept.com
>
> ______________________________________________________________________
> __
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
Bill
William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
vox: 650.327.2175 (direct)
fax: 650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web: http://www.tothept.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
