Viewing by month: September 2004

Sep 28 2004

What color is your day?

With Boyzoid's Terrorist Threat Level web service topping a million hits this year, I thought I'd try my own aggregate version. This service blends your threat level, weather forecast, UV index, and a host of other color-based indicators to give you an overall forecast of your day based on ZIP code.

WSDL:

http://clearsoftware.net/soap/aggregateColor.cfc?WSDL

Sample Client:

<cfif isDefined("form.zip")>
<cfset wAggService = createObject("webservice", "http://clearsoftware.net/soap/aggregateColor.cfc?WSDL") />
<cfset result = wAggService.getForecast(form.zip) />
</cfif>

<cfparam name="form.zip" default="" />

<cfif isDefined("result")>
<cfoutput><h3>Forecast Result:</h3><p>#result#</p></cfoutput>
</cfif>

<cfform name="forecastForm" action="#cgi.script_name#">
<cfoutput>
ZIP code:
<input type="text" name="zip" value="#form.zip#" />
<input type="submit" value="Get Forecast" />
</cfoutput>
</cfform>

3 comments - Posted by Joe Rinehart at 10:58 AM - Categories: ColdFusion MX

Sep 27 2004

New Server!

Well, if you're reading this, my DNS changes must have gone through. Everything's over on my new server - many thanks to the gang of five who set this thing up.

If anyone notices anything wonky, please give me a shout.

4 comments - Posted by Joe Rinehart at 11:01 AM - Categories: Site News

Sep 23 2004

jComponents: jTree HREF Documentation Error

A user let me know they were having trouble getting the HREF attribute of the jTreeLink tag to work. This makes sense: there is no HREF attribute. There was at one time, back at 0.7 or so, but I pulled it out. I'll be putting up a new build Friday or Saturday with corrected documentation and examples.

It may seem awkward, but it made more aesthetic sense nix the HREF attribute and pass all interaction with the jTree through its event handler. To do what the HREF attribute was supposed to do, just define an onChange function, examine the data of the clicked jTreeLink / jTreeNode, and document.replace() your way to it.

The new build will contain an example of doing this, as well as how to do it while passing along tree state.

3 comments - Posted by Joe Rinehart at 10:36 PM - Categories: jComponents

Sep 20 2004

jComponents 1.0: Source Licenses Available

I've been getting a number of e-mails asking about the source code to the jComponents. To meet the demand, I've decided to license the source for a modest fee, with educational and non-profit institutions receiving a discount. You'll be licensed to use it wherever and however you like, provided that you don't market a clone or similar product.

Please contact me at joe.rinehart@gmail.com if you're interested in purchasing a source license.

0 comments - Posted by Joe Rinehart at 1:32 PM - Categories: ColdFusion MX

Sep 17 2004

jComponents 1.0 Released!

My semi-popular custom tags providing Tab, Tree, Accordian (Outlook Bar), and Container controls have just hit 1.0. With client-side integration through JavaScript, it's an exciting milestone over the previous public release.

Read more...

9 comments - Posted by Joe Rinehart at 7:45 AM - Categories: ColdFusion MX

Sep 15 2004

jComponents 1.0 Preview

Somehow, between painting walls and repairing floors, I've hacked out what will soon be jComponents 1.0. These custom tags provide the same cross-browser DHTML tab, tree, accordian, and container controls as the 0.5 release, but are much improved!

Read more...

9 comments - Posted by Joe Rinehart at 5:00 AM - Categories: ColdFusion MX

Sep 5 2004

Site back up: Goodbye, CFDynamics

Sorry for the interruption (and thanks to those who e-mailed me about it). My hosting company dropped the ball, again, and at the worst time: I was moving from my apartment to my new house.

I'll be on a new host within the next week or two - I'm a little busy right now painting, spackling, caulking, and all that good stuff :).

5 comments - Posted by Joe Rinehart at 9:41 AM - Categories: Site News