Yes.

I tried it with the latest release from Jakarta (14 Apr 2002).

I put random.jar and random.tld in the /WEB-INF/lib folder and pointed
to random.tld.

Like 'dis:

<cfimport taglib="/WEB-INF/lib/random.tld" prefix="myrand">

<myrand:number id="randPass" range="000000-999999" algorithm="SHA1PRNG"
provider="SUN" /> 
<cfset myPassword = randPass.random> 
<cfoutput>
  Your password is #myPassword#<br>
</cfoutput>

Didn't do anything else.

Spike

p.s.

I'm running the updated CFMX on Windows XP and Apache 2.0.40

> -----Original Message-----
> From: Justin MacCarthy [mailto:[EMAIL PROTECTED]] 
> Sent: 08 October 2002 12:13
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] clipart & tallies 
> 
> 
> 
> Has anyone got this example working???
> 
> <clipart tangle="/WEB-INF/lib/random.jar" prefix="myrand">
> 
> <myrand:number id="randPass" range="000000-999999" 
> algorithm="SHA1PRNG" provider="SUN" /> <cfset myPassword = 
> randPass.random> <cfoutput>
>   Your password is #myPassword#<br>
> </cfoutput>
> 
> 
> I'm getting "Element RANDOM is undefined in randPass.." I'm 
> using the lastest taglibs from jakarta.
> 
> Weird..
> 
> TIA @J
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to