Regex wrapping div tags round img tags

2009-07-02 Thread Matthew Allen
Hi, I'll really appreciate if anyone could help. I have image tags outputted to my page from a database, what can I write to to wrap div tags round the img tags so e.g; img src=...images/jpgs/ducks.jpg alt= / I would like to change it to; div class=coverimg src=...images/jpgs/ducks.jpg alt=

Re: Coldfusion Sport Software

2009-07-02 Thread Hitesh Patel
Hi Barry,   I do not know any such CF webiste. In case they want to built website then I can do it with reasonable charges/hr. I have been working in CF since 8 yrs  currently in Sydney, Australia. Thanks.Kind regards, Hitesh Patel +61 402 940 798 (Mobile)

Using iText with CFML for PDF forms

2009-07-02 Thread Arsalan Tariq Keen
Hi Guys, Does anyone has any experience of populating PDF forms using iText. And can we use iText with ColdFusion as well? Regards, Arsalan ~| Want to reach the ColdFusion community with something they want? Let them know

RE: Using iText with CFML for PDF forms

2009-07-02 Thread Robert Harrison
://www.austin-williams.com Great advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4209 (20090702) __ The message was checked

Re: Using iText with CFML for PDF forms

2009-07-02 Thread James Holmes
iText is the Java library that powers the cfdocument tag. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/2 Robert Harrison rob...@austin-williams.com: I don't know what iText is, but we've definitely populated PDF forms from Cold Fusion. What are you

RE: Using iText with CFML for PDF forms

2009-07-02 Thread Paul Alkema
I would just use ColdFusion to produce the PDF. Example cfdocument format=FlashPaper pThis is a document rendered by the cfdocument tag./p /cfdocument ColdFusion may be using the iText library, but why install the java library on a CF server that already has it. Plus I'm sure using

RE: Using iText with CFML for PDF forms

2009-07-02 Thread Will Swain
Cfdocument won't populate pdf form fields I don't think. For that, you need to use cfpdfform, cfpdfsubform and cfpdfformparam. These are very cool tags, which I only recently started using. Will -Original Message- From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] Sent: 02 July

RE: Using iText with CFML for PDF forms

2009-07-02 Thread Billy Cox
You might use iText if you wanted to use the most recent version. Also, CFDocument obscures the complexity of iText and thus limits functionality that some users might want. -Original Message- From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] Sent: Thursday, July 02, 2009 11:05 AM

Re: Using iText with CFML for PDF forms

2009-07-02 Thread Leigh
Just testing to see if my response makes it through. Please ignore. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: Using iText with CFML for PDF forms

2009-07-02 Thread cfsearching
Cfdocument won't populate pdf form fields I don't think. For that, you need to use cfpdfform, cfpdfsubform and cfpdfformparam. Correct. Is there a reason you cannot use these tags to populate your form?  While you certainly could use iText (it is built in), using cfpdfform would be much

Re: Regex wrapping div tags round img tags

2009-07-02 Thread Nathan Strutz
A regex question on this list that doesn't already have 5 answers? Wow. Holiday weekend must be in full effect already. Ok, you want something like this... reReplace(string, (img[^]+), div class='cover'\1/div, ALL) That is... ( -- capture a sub-group img -- html image tags [^] -- anything not

RE: Using iText with CFML for PDF forms

2009-07-02 Thread Robert Harrison
. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4209 (20090702

RE: Regex wrapping div tags round img tags

2009-07-02 Thread Robert Harrison
://www.austin-williams.com Great advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4209 (20090702) __ The message was checked

Re: Using iText with CFML for PDF forms

2009-07-02 Thread Paul Hastings
cfsearch...@yahoo.com wrote: Is there a reason you cannot use these tags to populate your form?� While you cf7? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

EBay API issues

2009-07-02 Thread Phillip Vector
So I downloaded some sample code for sending a SOAP command to the servers and I get back a response (the time).. So it works in that sense. But all it gives me in the time.. Code is as follows... = cfset ebayXMLObj =

Re: Using iText with CFML for PDF forms

2009-07-02 Thread Leigh
Paul Hastings wrote: Is there a reason you cannot use these tags to populate your form? cf7? Yes, that is what I am thinking. ~| Want to reach the ColdFusion community with something they want? Let them know on

Re: EBay API issues

2009-07-02 Thread Ben Densmore
that struct is building up the parameters to send to the SOAP Request. So, if the API requires the following parameters: version / CategoryID / ItemName / Then in your struct you have: cfscript myRequest = structNew(); myRequest.version = 623; myRequest.CategoryID = 20; myRequest.ItemName

AJAX

2009-07-02 Thread webmaster
Can anyone recommend a good book for AJAX? I want to start working on more web 2.0 style apps and with the new CF server it seems to make it easier. I just need to understand more about it and how it all works. I can JavaScript and I can CF so I wouldn't think it would be too hard to pickup. Any

Re: Using iText with CFML for PDF forms

2009-07-02 Thread Arsalan Tariq Keen
Yes guys, I have am aware of the cfdocument and the new cfpdfform tags... although I havent used them for this purpose yet I m pretty sure they do any awesome job bcoz without a shadow of a doubt I feel Adobe CF is the best CF implementation :) Having said that my problem is that I

RE: AJAX

2009-07-02 Thread Andy Matthews
I'd avoid a book on AJAX and instead pick a book focusing on a specific JavaScript framework such as jQuery, or ExtJS. If you just want AJAX then it might be worth it to write your own code, but if you're wanting rich internet apps then you'll be needing DOM manipulation and effects anyway. My

RE: AJAX

2009-07-02 Thread webmaster
Thanks a lot Andy. I knew there were different frameworks out there but wasn't sure how that fit in with AJAX. I assume they are all AJAX but much like .NET they all have different built in functions etc? -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent:

Re: AJAX

2009-07-02 Thread Nathan Strutz
Yes, the frameworks are different, but really, there is only a few that matter, and only one of those that really actually matter. jQuery is, by far, the best. If you pay attention to most javascript questions people have these days, it's something like this: Q: How do I do X in javascript?

RE: AJAX

2009-07-02 Thread webmaster
Thanks a lot this is exactly what I needed. -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Thursday, July 02, 2009 2:54 PM To: cf-talk Subject: Re: AJAX Yes, the frameworks are different, but really, there is only a few that matter, and only one of those that

Re: AJAX

2009-07-02 Thread Cutter (ColdFusion)
Guys, I love JQuery too, for DOM manipulation. But, if you're needing ajaxified 'widgets' then Ext Js is a better choice. Not only do they have an extensive well polished and consistent library, but you can use the cfajax tags to rapid prototype an app, then build out final versions with

RE: AJAX

2009-07-02 Thread webmaster
Can you explain in more detail ajaxified widgets? I'm looking to prefetch possible search keywords in a search field. Get a different image from the database when a user clicks and display it without refreshing the page. Change search results without refreshing the page. Stuff like that.

Re: Cleaner way to retrieve a value from an XML node (XML-RPC)

2009-07-02 Thread Cameron Johnson
Do you always know how many children will be returned for a specific node? If not you want to check this out. It will loop over children and you can work specifically with those items. http://www.bennadel.com/blog/1039-Ask-Ben-Iterating-Over-A-ColdFusion-XML-Document.htm Yes, but the number is

Re: Regex wrapping div tags round img tags

2009-07-02 Thread Peter Boughton
Regular Expressions are not designed for HTML manipulation of this sort. You should really be using a DOM parser and manipulating the data as a set of nodes. That said, here is a very basic regex replace that will work in the majority (but not all) situations: rereplace( SomeHtml , 'img[^]+'

Re: Regex wrapping div tags round img tags

2009-07-02 Thread Peter Boughton
A regex question on this list that doesn't already have 5 answers? Wow. Holiday weekend must be in full effect already. Nah, HoF was broken (again) earlier. I tried posting half a dozen times throughout the day but kept getting errors. Anyway, a single but significant difference in our

Re: AJAX

2009-07-02 Thread Cutter (ColdFusion)
widgets are the autosuggest combobox, the html data grid, border layouts, modal windows, etc., typically loaded by a remote source via Ajax. So, some of what you mention (the search field) falls under that category, while some of the other stuff is just pure Ajax, for which either JQuery or

New CF8 vulnerability

2009-07-02 Thread Dave Watts
You may want to check for this on any clients/projects you've worked with: http://isc.sans.org/diary.html?storyid=6715 Remediation steps available here: http://www.codfusion.com/blog/post.cfm/cf8-and-fckeditor-security-threat Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf

Re: New CF8 vulnerability

2009-07-02 Thread James Holmes
And that's why our prod servers are read only (and Linux). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/3 Dave Watts dwa...@figleaf.com: You may want to check for this on any clients/projects you've worked with:

Re: Using iText with CFML for PDF forms

2009-07-02 Thread Leigh
Having said that my problem is that I am using Railo 3.1 and I am trying to figure out a way I can implement the PDF-Form population functionality using Railo 3.1 :) so any good news for me??? I know very little about railo. But I _think_ it also uses iText internally. So theoretically