James White
Member since Jun 5, 2009
- Profile: /members/3550-james-white.htm
- Comments: 7
Recent Blog Comments By James White
-
Using A State Machine To Parse Tokenized Data In ColdFusion
Posted on Mar 5, 2010 at 1:06 PM
I actually did figure something out that seems to work well enough. I am using the Java SE 6 version of the StringTokenizer class along with the Java Array classes copyOfRange() method to do what I need it to do. It probably is not the best way, but it does work. If someone has a better way, I'd ... read more »
-
Using A State Machine To Parse Tokenized Data In ColdFusion
Posted on Mar 3, 2010 at 11:08 AM
@Micheal Yes that's exactly what I am going for. If you have some code that you would not mind sharing, I'd be happy to use it. Currently my code stops at the maximum line character at the first break that comes before the max and displays ellipses.... read more »
-
Using A State Machine To Parse Tokenized Data In ColdFusion
Posted on Mar 2, 2010 at 11:20 AM
@Ben, I'm trying to take a long title (e.g. The University of Illinois Urbana-Champaign Nuclear Research Reactor) and break it down into pieces that will actually fit on a calendar (maybe display 2-3 words per line). I have to be able to display the entire name for printing purposes. Currently I ... read more »
-
Using A State Machine To Parse Tokenized Data In ColdFusion
Posted on Mar 2, 2010 at 10:35 AM
This was a very helpful post. I am actually looking for a tokenizer type function to help parse long titles so that they fit on a calendar without expanding the size of the calendar, thanks for sharing this.... read more »
-
Experimenting With jQuery's Queue() And Dequeue() Methods
Posted on Mar 2, 2010 at 10:28 AM
@Ben and @Cowboy, thanks for sharing this info. I'm fairly new to jQuery. Thus far I have only really used it for dynamic drop down population, but I would like to branch out into using more of it.... read more »
-
CFDirectory Filtering Uses Pipe Character For Multiple Filters (Thanks Steve Withington)
Posted on Feb 16, 2010 at 4:31 PM
Sorry for finding this post so late, but I thought I'd try and ask a question since the post still seems to be open. I'm on CF 8 and wanted to know whether cfdirectory's filter works for a partial name, will it work if you enter something like: filter="myfile*.cfm" or filter="*myfile.cfm". I ... read more »
-
jQuery And Script Tags As Data Containers
Posted on Jun 5, 2009 at 12:51 PM
Do you envision being able to use this with something like cfquery to load database information into jQuery, or is this strictly for text/XMl type stuff? Thanks, JW... read more »