Lasso Soft Inc. > Home

[xs_responseFilePath]

Linkxs_responseFilePath
AuthorJonathan Guthrie
CategoryResponse
Version8.x
Licensehttp://creativecommons.org/licenses/by/2.5/
Posted30 Nov 2005
Updated16 Jan 2006
More by this author...

Description

Takes a response file path and splits it up into the nav path

Sample Usage

xs_responseFilePath->(-path=Response_FilePath);

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

define_tag('responseFilePath',
			-namespace='xs_',
			-Required='path',
			-Description='Takes a response file path and splits it up into the nav path');
	local('out' = array);
	if(#path && #path != '/');
		#path->removeLeading('/');
		((#path != '/index.html') && (#path != '/index.lasso')) #out = #path->Split('/');
	/if;
	return(@#out);
/define_tag;

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft