Re: Lack of CF understanding: Info Week

2007-05-05 Thread Robertson-Ravo, Neil (RX)
It just shows a lack of technical and business saavy it no doubt reeks of
business idiots absorbed by aquusitions  who think "windows" is actually the
Internet.

CFML (I note CFML as you have Bluedragon) is a more than cabable technology
when deployed correctly.  To move from Java to .NET back to Java though is
just stupid.





"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Eric J. Hoffman
To: CF-Talk
Sent: Sun May 06 03:50:24 2007
Subject: Lack of CF understanding: Info Week

Not to add to the hornet's nestwell, okay maybe, but back to the
issues we deal with in perceptions with CF.  This time not price, just a
pure lack of focus on what the CF platform can do from a review of a
site that moved from a mixed bag of CF and .Net to Java after
acquisitions:

 

"Triphomes originally was built using Cold Fusion, a web site
development tool that runs on (I am sure he meant to inject "only" here)
on Windows, and depends on Microsoft's Internet Information Server and
SQL Server Database.  Just as with its other sites, HomeAway added more
and more changes to TripHome, the site became increasingly brittle and
prone to failure."

 

While the whole article isn't pasted, that is the general impression
left in the context of the Apr 23 2007 article in Information Week.I
cannot stand these ill-informed tech pundits.   Can't wait to become a
CF pundit someday and make hay with all the failures of the other
platforms and how we personally are converting two national apps built
in .Net and Java respectively back to CF.

 

Ugh.  Those of us manning the shops while the cool kids are at
CFObjective get to stew about such slights.   LOL.




Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4101
mob: 651.245.2717
Adobe Solutions Partner
Microsoft Certified Partner



This message contains confidential information and is intended only for
[EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you
should not disseminate, distribute or copy this e-mail. Please notify
[EMAIL PROTECTED] immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. Eric J. Hoffman therefore does not accept liability for
any errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.





~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277101
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Combining Images

2007-05-05 Thread Terry Troxel
Pete,

It's only on my server at work for now, but you can dl the
trial tags from efflare.com and have at it.

This creates the before and after images 1a.jpg and 2a.jpg


This creates the before image with the before text pasted
below the picture


This creates the after image with the after text pasted
below the picture


This combines the before and after images side by side with
a 5 pixel gap between
 

-Original Message-
From: Pete [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 05, 2007 4:46 PM
To: CF-Talk
Subject: RE: Combining Images

Hi there

I'm very interested in what you are doing especially with
before and after shots.

Do you have a URL, I would very much like to browse to your
site and have a look.

Kind regards

Pete



~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277100
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Lack of CF understanding: Info Week

2007-05-05 Thread Eric J. Hoffman
Not to add to the hornet's nestwell, okay maybe, but back to the
issues we deal with in perceptions with CF.  This time not price, just a
pure lack of focus on what the CF platform can do from a review of a
site that moved from a mixed bag of CF and .Net to Java after
acquisitions:

 

"Triphomes originally was built using Cold Fusion, a web site
development tool that runs on (I am sure he meant to inject "only" here)
on Windows, and depends on Microsoft's Internet Information Server and
SQL Server Database.  Just as with its other sites, HomeAway added more
and more changes to TripHome, the site became increasingly brittle and
prone to failure."

 

While the whole article isn't pasted, that is the general impression
left in the context of the Apr 23 2007 article in Information Week.I
cannot stand these ill-informed tech pundits.   Can't wait to become a
CF pundit someday and make hay with all the failures of the other
platforms and how we personally are converting two national apps built
in .Net and Java respectively back to CF.

 

Ugh.  Those of us manning the shops while the cool kids are at
CFObjective get to stew about such slights.   LOL.




Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4101
mob: 651.245.2717
Adobe Solutions Partner
Microsoft Certified Partner



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277099
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: extracting set of numbers from unique reference

2007-05-05 Thread Charlie Griefer
listLast(num, '-')

On 5/5/07, Mike Little <[EMAIL PROTECTED]> wrote:
> hi guys,
>
> i have a merchant reference number that is passed from a payment gateway, in 
> the format of...
>
> 'P' & LSDateFormat(now(), "mmdd") & '-' & txn_id
>
> so it could be...
>
> P20070506-1, P20070506-2 or P20070506-59
>
> what i wish to be able to do is query a database based on the last set of 
> numbers eg. 1, 2 or 59 in the examples above.
>
> a little lost as to how i can achieve this?
>
> any help would really be appreciated.
> mike
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277098
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


extracting set of numbers from unique reference

2007-05-05 Thread Mike Little
hi guys,

i have a merchant reference number that is passed from a payment gateway, in 
the format of...

'P' & LSDateFormat(now(), "mmdd") & '-' & txn_id

so it could be...

P20070506-1, P20070506-2 or P20070506-59

what i wish to be able to do is query a database based on the last set of 
numbers eg. 1, 2 or 59 in the examples above.

a little lost as to how i can achieve this?

any help would really be appreciated.
mike

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277097
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Select box sorting

2007-05-05 Thread Mike Little
try - http://www.pengoworks.com/qforms/docs/examples/containers.htm

regards
mike

>After searching Google, cflib, and other sources I can not find a tool that
>I use to use long time ago.
> 
>I am looking for the ability to have 2 select boxes (source and destination)
>and I can move an item
>from source to the destination and then move it either up or down the
>destination list box.
> 
>This is going to be used for dynamic sorting of data within a table.
> 
>TIA!

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277096
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFMail Text Scrub

2007-05-05 Thread Joel Watson
I have a forum that automatically emails topic replies to subscribers.  
However, I am having a difficult time getting the text to display properly.  I 
have tried a number of code cleaning functions, but the end result is all the 
same.  Is there something special I have to do to get special characters (ex: 
&) to display properly in a cfmail?

Thanks

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277095
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cflog> writes data to the coldfusion-output.log

2007-05-05 Thread blists
Also, in CFMX 6.1, the  tag was working correctly writing data to the
c:\cfusionmx\logs\ directory, but now it seems to be randomly adding data to
the coldfusion-out.log file.  It will write it to the file specified in the
 tag in the logs directory but it is also appending it to the
coldfusion-out.log file. I can't find any one else with a similar problem
online, has any one seen this before?

 

Brook

 




~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277094
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


writes data to the coldfusion-output.log

2007-05-05 Thread blists
Also, in CFMX 6.1, the  tag was working correctly writing data to the
c:\cfusionmx\logs\ directory, but now it seems to be randomly adding data to
the coldfusion-out.log file. 

 




~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277093
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFMX7 Upgrade Server keeps Restarting

2007-05-05 Thread blists
I just upgraded from CFMX 6.1 to CFMX 7 (and installed the updaters to get
to 7,0,2,142559) and now the CF server restarts itself almost every hour and
I am getting java hot spot errors. I have tried a couple of different JVM's
and arguments without much luck. I tried disabling the HotSpot runtime
optimizer using -Xint and that did not seem to work either.  I am using the
JVM that comes with CFMX 7.

 

The data in the coldfusion-out.log for the last couple of restarts is the
same and seems to indicate its related to the charting engine (but I am not
sure). We make very small use of charts however and there have been some
other errors aswell. My question is, how do I debug and fix this problem
before Monday when my customers start complaining about the restarting.

 

Here is the dump, can any one help me interpret what this means?

 

Brook

 

 

#

# An unexpected error has been detected by HotSpot Virtual Machine:

#

#  EXCEPTION_FLT_DIVIDE_BY_ZERO (0xc08e) at pc=0x0079b233, pid=3112,
tid=2320

#

# Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 interpreted mode)

# Problematic frame:

# j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

#

 

---  T H R E A D  ---

 

Current thread (0x092a49d0):  JavaThread "jrpp-21" [_thread_in_Java,
id=2320]

 

siginfo: ExceptionCode=0xc08e, ExceptionInformation=0x 

 

Registers:

EAX=0x, EBX=0x006f, ECX=0x2012, EDX=0x

ESP=0x06e5e5cc, EBP=0x06e5e5f0, ESI=0x3f4da6fe, EDI=0x06e5e614

EIP=0x0079b233, EFLAGS=0x00010246

 

Top of Stack: (sp=0x06e5e5cc)

0x06e5e5cc:    3ff0 06e5e5d4 3f4da6c1

0x06e5e5dc:   06e5e614 3f4db6c0  3f4da668

0x06e5e5ec:   06e5e604 06e5e634 00792e0a 

0x06e5e5fc:     15828ef0 106c58d8

0x06e5e60c:     106ba3f0 06e5e618

0x06e5e61c:   3f4da5b4 06e5e64c 3f4db6c0 

0x06e5e62c:   3f4da548 06e5e63c 06e5e66c 00792e0a

0x06e5e63c:   15a01668 106c58d8   

 

Instructions: (pc=0x0079b233)

0x0079b223:   49 27 08 dc 0c 24 de f1 db 2d a0 49 27 08 de c9

0x0079b233:   dd 1c 24 dd 04 24 58 5a 0f b6 5e 01 46 ff 24 9d 

 

 

Stack: [0x06d6,0x06e6),  sp=0x06e5e5cc,  free space=1017k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi
tion;)Ljava/lang/StringBuffer;+20

j  java.text.NumberFormat.format(D)Ljava/lang/String;+12

j  com.gp.client.chart.axis.axis.MxScaleDimension.getLabel(I)[C+15

j
com.gp.client.chart.axis.axis.MxFormatDimension.getLabelArray(Lcom/gp/client
/text/MxAxisRenderer;)[[C+22

j
com.gp.client.chart.axis.axis.MxNormalScaleDimension.getLabelArray(Lcom/gp/c
lient/text/MxAxisRenderer;)[[C+22

j
com.gp.client.chart.axis.axis.MxChartAxis.layout(Lcom/gp/client/graphics/MxG
raphics;)V+39

j
com.gp.client.chart.axis.axis.MxChartAxis.layoutY(Lcom/gp/client/graphics/Mx
Graphics;ILjava/awt/Insets;)V+47

j
com.gp.client.chart.axis.MxAxisView.layoutY(Lcom/gp/client/graphics/MxGraphi
cs;ILcom/gp/client/awt/MxInsets;)V+42

j
com.gp.client.chart.axis.MxAxisView.layoutTopViewY(Lcom/gp/client/graphics/M
xGraphics;ILcom/gp/client/awt/MxInsets;)V+4

j
com.gp.client.chart.axis.MxSingleViewAxisFrame.layoutChart(Lcom/gp/client/gr
aphics/MxGraphics;)V+194

j
com.gp.client.chart.axis.MxAxisFrame._layout(Lcom/gp/client/graphics/MxGraph
ics;)V+7

j
com.gp.client.chart.axis.MxAxisFrame.layout(Lcom/gp/client/graphics/MxGraphi
cs;)V+2

j
com.gp.client.chart.MxChart.paint(Lcom/gp/client/graphics/MxGraphics;)V+319

j  com.gp.client.MxWidget.draw(Lcom/gp/client/graphics/MxGraphics;)V+120

j  com.gp.image.plugins.ImChartBuilder.build(Lcom/gp/client/MxWidget;)V+42

j
com.gp.image.plugins.ImSWFBuilder.saveAs(Lcom/gp/client/MxWidget;Ljava/lang/
String;)V+28

j
com.gp.image.server.cache.IcFileImage.buildImage(Lcom/gp/image/plugins/ImCha
rtBuilder;Lcom/gp/image/server/IcImageServer;Lcom/gp/client/MxWidget;)V+27

j
com.gp.image.server.cache.IcImage.(Lcom/gp/image/server/IcImageServer;
Lcom/gp/api/jsp/MxChartDescription;)V+143

j
com.gp.image.server.cache.IcFileImage.(Lcom/gp/image/server/IcImageSer
ver;Lcom/gp/api/jsp/MxChartDescription;)V+3

j
com.gp.image.server.IcImageServer.__newImage(Lcom/gp/api/jsp/MxChartDescript
ion;)Lcom/gp/image/server/cache/IcImage;+19

j
com.gp.image.server.IcImageServer._newImage(Lcom/gp/api/jsp/MxChartDescripti
on;)Lcom/gp/image/server/cache/IcImage;+12

j
com.gp.image.server.IcImageServer.newImage(Lcom/gp/api/jsp/MxChartDescriptio
n;)Lcom/gp/image/server/cache/IcImage;+41

j
com.gp.image.server.IcImageCache.getImage(Lcom/gp/image/server/IcImageServer
;Lcom/gp/api/jsp/MxChartDescription;)Lcom/gp/image/server/cache/IcImage;+112

j
com.gp.image.server.IcImageServer.getImage(Lcom/gp/api/jsp/MxChart

CFMX7 Upgrade / Server keeps restarting...

2007-05-05 Thread Brook Davies
I just upgraded from CFMX 6.1 to CFMX 7 (and installed the updaters to get
to 7,0,2,142559) and now the CF server restarts itself almost every hour and
I am getting java hot spot errors. I have tried a couple of different JVM's
and arguments without much luck. I tried disabling the HotSpot runtime
optimizer using -Xint and that did not seem to work either.  I am using the
JVM that comes with CFMX 7.

 

The data in the coldfusion-out.log for the last couple of restarts is the
same and seems to indicate its related to the charting engine (but I am not
sure). We make very small use of charts however and there have been some
other errors aswell. My question is, how do I debug and fix this problem
before Monday when my customers start complaining about the restarting.

 

Here is the dump, can any one help me interpret what this means?

 

Brook

 

 

#

# An unexpected error has been detected by HotSpot Virtual Machine:

#

#  EXCEPTION_FLT_DIVIDE_BY_ZERO (0xc08e) at pc=0x0079b233, pid=3112,
tid=2320

#

# Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 interpreted mode)

# Problematic frame:

# j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

#

 

---  T H R E A D  ---

 

Current thread (0x092a49d0):  JavaThread "jrpp-21" [_thread_in_Java,
id=2320]

 

siginfo: ExceptionCode=0xc08e, ExceptionInformation=0x 

 

Registers:

EAX=0x, EBX=0x006f, ECX=0x2012, EDX=0x

ESP=0x06e5e5cc, EBP=0x06e5e5f0, ESI=0x3f4da6fe, EDI=0x06e5e614

EIP=0x0079b233, EFLAGS=0x00010246

 

Top of Stack: (sp=0x06e5e5cc)

0x06e5e5cc:    3ff0 06e5e5d4 3f4da6c1

0x06e5e5dc:   06e5e614 3f4db6c0  3f4da668

0x06e5e5ec:   06e5e604 06e5e634 00792e0a 

0x06e5e5fc:     15828ef0 106c58d8

0x06e5e60c:     106ba3f0 06e5e618

0x06e5e61c:   3f4da5b4 06e5e64c 3f4db6c0 

0x06e5e62c:   3f4da548 06e5e63c 06e5e66c 00792e0a

0x06e5e63c:   15a01668 106c58d8   

 

Instructions: (pc=0x0079b233)

0x0079b223:   49 27 08 dc 0c 24 de f1 db 2d a0 49 27 08 de c9

0x0079b233:   dd 1c 24 dd 04 24 58 5a 0f b6 5e 01 46 ff 24 9d 

 

 

Stack: [0x06d6,0x06e6),  sp=0x06e5e5cc,  free space=1017k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/Format$Fi
eldDelegate;)Ljava/lang/StringBuffer;+1

j
java.text.DecimalFormat.format(DLjava/lang/StringBuffer;Ljava/text/FieldPosi
tion;)Ljava/lang/StringBuffer;+20

j  java.text.NumberFormat.format(D)Ljava/lang/String;+12

j  com.gp.client.chart.axis.axis.MxScaleDimension.getLabel(I)[C+15

j
com.gp.client.chart.axis.axis.MxFormatDimension.getLabelArray(Lcom/gp/client
/text/MxAxisRenderer;)[[C+22

j
com.gp.client.chart.axis.axis.MxNormalScaleDimension.getLabelArray(Lcom/gp/c
lient/text/MxAxisRenderer;)[[C+22

j
com.gp.client.chart.axis.axis.MxChartAxis.layout(Lcom/gp/client/graphics/MxG
raphics;)V+39

j
com.gp.client.chart.axis.axis.MxChartAxis.layoutY(Lcom/gp/client/graphics/Mx
Graphics;ILjava/awt/Insets;)V+47

j
com.gp.client.chart.axis.MxAxisView.layoutY(Lcom/gp/client/graphics/MxGraphi
cs;ILcom/gp/client/awt/MxInsets;)V+42

j
com.gp.client.chart.axis.MxAxisView.layoutTopViewY(Lcom/gp/client/graphics/M
xGraphics;ILcom/gp/client/awt/MxInsets;)V+4

j
com.gp.client.chart.axis.MxSingleViewAxisFrame.layoutChart(Lcom/gp/client/gr
aphics/MxGraphics;)V+194

j
com.gp.client.chart.axis.MxAxisFrame._layout(Lcom/gp/client/graphics/MxGraph
ics;)V+7

j
com.gp.client.chart.axis.MxAxisFrame.layout(Lcom/gp/client/graphics/MxGraphi
cs;)V+2

j
com.gp.client.chart.MxChart.paint(Lcom/gp/client/graphics/MxGraphics;)V+319

j  com.gp.client.MxWidget.draw(Lcom/gp/client/graphics/MxGraphics;)V+120

j  com.gp.image.plugins.ImChartBuilder.build(Lcom/gp/client/MxWidget;)V+42

j
com.gp.image.plugins.ImSWFBuilder.saveAs(Lcom/gp/client/MxWidget;Ljava/lang/
String;)V+28

j
com.gp.image.server.cache.IcFileImage.buildImage(Lcom/gp/image/plugins/ImCha
rtBuilder;Lcom/gp/image/server/IcImageServer;Lcom/gp/client/MxWidget;)V+27

j
com.gp.image.server.cache.IcImage.(Lcom/gp/image/server/IcImageServer;
Lcom/gp/api/jsp/MxChartDescription;)V+143

j
com.gp.image.server.cache.IcFileImage.(Lcom/gp/image/server/IcImageSer
ver;Lcom/gp/api/jsp/MxChartDescription;)V+3

j
com.gp.image.server.IcImageServer.__newImage(Lcom/gp/api/jsp/MxChartDescript
ion;)Lcom/gp/image/server/cache/IcImage;+19

j
com.gp.image.server.IcImageServer._newImage(Lcom/gp/api/jsp/MxChartDescripti
on;)Lcom/gp/image/server/cache/IcImage;+12

j
com.gp.image.server.IcImageServer.newImage(Lcom/gp/api/jsp/MxChartDescriptio
n;)Lcom/gp/image/server/cache/IcImage;+41

j
com.gp.image.server.IcImageCache.getImage(Lcom/gp/image/server/IcImageServer
;Lcom/gp/api/jsp/MxChartDescription;)Lcom/gp/image/server/cache/IcImage;+112

j
com.gp.image.server.IcImageServer.getImage(Lcom/gp/api/jsp/MxChart

Re: Select box sorting

2007-05-05 Thread James Holmes
You might be able to modify the mxAjax slushbox to do it:

http://www.indiankey.com/mxajax/examples/mxSlushBox1.cfm

Maybe add arrows at the sides of the destination to allow you to sort the items.

On 5/6/07, Coldfusion <[EMAIL PROTECTED]> wrote:
> After searching Google, cflib, and other sources I can not find a tool that
> I use to use long time ago.
>
> I am looking for the ability to have 2 select boxes (source and destination)
> and I can move an item
> from source to the destination and then move it either up or down the
> destination list box.

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277090
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Combining Images

2007-05-05 Thread Pete
Hi there

I'm very interested in what you are doing especially with before and after
shots.

Do you have a URL, I would very much like to browse to your site and have a
look.

Kind regards

Pete


-Original Message-
From: Terry Troxel [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 6 May 2007 9:25 AM
To: CF-Talk
Subject: RE: Combining Images

Claude,
Thank you for your response, but with Efflare's help I have
it doing what I needed and then some.

My user uploads 2 images, a "before" and an "after" shot
which imageCR3 resizes and optimezes each.
Then Imageflare creates 2 text images on saying "Before" in
grey and one saying "After" in black.

Then imageflare creates a new image with the corresponding
textimage aligned left below each image
And lastly pastes both finished images together with a
border between sized to my setting.

I then write the xml file that loads my photo gallery on the
fly and my client is very happy.

Terry 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]

Sent: Saturday, May 05, 2007 4:11 PM
To: CF-Talk
Subject: Re: Combining Images

 >>with a 5 pixel border between each image in the final
image.

You could have even better, much better: hundreds of
different frames, without having to modify your image.
See CF_PictureFrame: 
http://www.contentbox.com/claude/customtags/Frames/testPictu
reFrame.cfm





~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277089
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Combining Images

2007-05-05 Thread Terry Troxel
Claude,
Thank you for your response, but with Efflare's help I have
it doing what I needed and then some.

My user uploads 2 images, a "before" and an "after" shot
which imageCR3 resizes and optimezes each.
Then Imageflare creates 2 text images on saying "Before" in
grey and one saying "After" in black.

Then imageflare creates a new image with the corresponding
textimage aligned left below each image
And lastly pastes both finished images together with a
border between sized to my setting.

I then write the xml file that loads my photo gallery on the
fly and my client is very happy.

Terry 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]

Sent: Saturday, May 05, 2007 4:11 PM
To: CF-Talk
Subject: Re: Combining Images

 >>with a 5 pixel border between each image in the final
image.

You could have even better, much better: hundreds of
different frames, without having to modify your image.
See CF_PictureFrame: 
http://www.contentbox.com/claude/customtags/Frames/testPictu
reFrame.cfm



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277088
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Combining Images

2007-05-05 Thread Claude Schneegans
 >>with a 5 pixel border between each image in the final image.

You could have even better, much better: hundreds of different frames, 
without
having to modify your image.
See CF_PictureFrame: 
http://www.contentbox.com/claude/customtags/Frames/testPictureFrame.cfm

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277087
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Select box sorting

2007-05-05 Thread Coldfusion
After searching Google, cflib, and other sources I can not find a tool that
I use to use long time ago.
 
I am looking for the ability to have 2 select boxes (source and destination)
and I can move an item
from source to the destination and then move it either up or down the
destination list box.
 
This is going to be used for dynamic sorting of data within a table.
 
TIA!



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277086
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Can I ask a question? (RE: Frameworks)

2007-05-05 Thread Andrew Scott
Yeah probably a little...



On 5/6/07, Dawson, Michael <[EMAIL PROTECTED]> wrote:
>
> >I guess what I am saying is that if you are so educated, why are you
> asking such a question.
>
> >but hey if you thin you can design efficent patterns in DW then so be
> it, who are we to tell you otherwise.
>
> >Thats why you did not need to ask..
>
> Damn. That was kind of harsh.
>
> M!ke
>
> On 5/4/07, Jeff Small <[EMAIL PROTECTED]> wrote:
> >
> > > With your background I am suprised you use DW, I would have thought
> > > Eclipse and SVN would be your bag.
> >
> > If I may ask, why? I hand code mostly in Dreamweaver's CodeView.
> >
> > I should probably preface this entire conversation by noting that I
> > run the interactive department of a medium sized Advertising Agency.
> > So our goals here are probably way more "graphically" and "brand"
> > oriented. I work with an entire art department that delivers artwork
> > to me in PNG form that I simply bring directly into Fireworks and
> > slice up, moving it then directly into Dreamweaver. Dreamweaver links
> > to my PNGs so any changes to the images automatically open up
> > Fireworks and take me straight to the master PNG file.
> > We've just been working with the Macromedia workflow as long as I
> > remember, and it's never given us pause to sit and think about any
> > type of "framework".
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277085
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cleaning stored text to get valid XML

2007-05-05 Thread Les Mizzell
  > This will clean only about 1% of the crap, may be not even...


The data in question has been entered using fckeditor, what has taken 
care of a good bit of the "problem" stuff for me. It was the few things 
left over that fck didn't deal with that was giving me fits.

I see some great potential with cleanWord! Thanks for sharing!!! I'll 
certainly add it to my toolbox and may pull some bits and pieces as 
needed for the current project as well!!!


> Here is a function that will clen up more, and I'm still improving it ;-)
> 
> function cleanWord (html)
> // cleans pasted text from Word
> {
> //alert(html)
> html = html.replace(/\s*<\/o:p>/g, "") ;
> html = html.replace(/.*?<\/o:p>/g, "") ;
>
> // Remove mso-xxx styles.
> html = html.replace( /\s*mso-[^:]+:[^;"]+;?/gi, "" ) ;
> 
> // Remove margin styles.
> html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*;/gi, "" ) ;
> html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*"/gi, "\"" ) ;
> 
> html = html.replace( /\s*TEXT-INDENT: 0cm\s*;/gi, "" ) ;
> html = html.replace( /\s*TEXT-INDENT: 0cm\s*"/gi, "\"" ) ;
> 
> html = html.replace( /\s*TEXT-ALIGN: [^\s;]+;?"/gi, "\"" ) ;
> 
> html = html.replace( /\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi, "\"" ) ;
> 
> html = html.replace( /\s*FONT-VARIANT: [^\s;]+;?"/gi, "\"" ) ;
> 
> html = html.replace( /\s*tab-stops:[^;"]*;?/gi, "" ) ;
> html = html.replace( /\s*tab-stops:[^"]*/gi, "" ) ;
> 
> html = html.replace( /\s*FONT-FAMILY:[^;"]*;?/gi, "" ) ;
>
> // Remove Class attributes
> html = html.replace(/<(\w[^>]*)\s*class=([^ |>]*)([^>]*)/gi, "<$1$3") ;
> 
> // Remove styles.
> html = html.replace( /<(\w[^>]*)style="([^\"]*)"([^>]*)/gi, "<$1$3" ) ;
> 
> // Remove empty styles.
> html =  html.replace( /\s*style="\s*"/gi, '' ) ;
>
> html = html.replace( /]*>\s* \s*<\/SPAN>/gi, ' ' ) ;
>
> html = html.replace( /]*>\s*<\/SPAN>/gi, '' ) ;
>
> // Remove Lang attributes
> html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ;
>
> html = html.replace( /([\s\S]*?)<\/SPAN>/gi, '$1' ) ;
> html = html.replace( /([\s\S]*?)<\/SPAN>/gi, '$1' ) ;
> html = html.replace( /([\s\S]*?)<\/SPAN>/gi, '$1' ) ;
>
> // remove all font tags
> html = html.replace( /<\/?FONT[^>]*>/gi, '' ) ;
> html = html.replace( /<\/?FONT[^>]*>/gi, '' ) ;
> html = html.replace( /<\/?FONT[^>]*>/gi, '' ) ;
> html = html.replace( /<\/?DIV([^>]*)>/gi, '' ) ;
> 
> // Remove XML elements and declarations
> html = html.replace(/<\\?\?xml[^>]*>/gi, "") ;
>
> // Remove Tags with XML namespace declarations: 
> html = html.replace(/<\/?\w+:[^>]*>/gi, "") ;
>
> html = html.replace( /\s*<\/H\d>/gi, '' ) ;
> 
> //clean up H tags   
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /]*)>/gi,  '' ) ;
> html = html.replace( /]*)>/gi, '' ) ;
> html = html.replace( /\s*()+<\/P>/gi,   '' ) ;
> html = html.replace( /<\/P>\s*(<\/P>)+<\/P>/gi, '' ) ;
>
> html = html.replace( /<(U|I|STRIKE)> <\/\1>/g, ' ' ) ;
> 
> // no comment...
> html = html.replace( //gi, '' ) ;
>
> // transform bullet lists
> var re = new RegExp("·( | )*([\\s\\S]*?)", 
> "gi");
> html = html.replace( re, "$2" ) ;
> re = new RegExp("·( | )*([\\s\\S]*?)", "gi");
> html = html.replace( /(|)[§·-]( | )*([\s\S]*?)<\/P>/gi, 
> "$2" ) ;
> // remove spaces at begining
> html = html.replace( /^( | )*\s*/, '') ;
> // replace all stupid ... because they are 
> overridden by higher
> // style declarations like justify, etc.
> html = html.replace( /([\s\S]*?)<\/P>/gi, 
> '$1' ) ;
> // remove useless 
> html = html.replace( /<\/CENTER>(\s*\s*)/gi, '$1' ) ;
> // remove useless  in 
> html = html.replace( /(]*>)\s*\s*/gi, '$1' ) ;
> // replace ... inside of TDs
> html = html.replace( 
> /(]*)>\s*([\s\S]*?)<\/CENTER>\s*<\/TD>/gi,
> '$1 align=center>$2' ) ;
> // remove Paragraphs inside TD
> html = 
> html.replace(/(]*>)\s*]*>([\s\S]*?)\s*<\/P>\s*([\s\S]*?<\/TD>)/gi, 
> 
> '$1$2$3');
>   
> // Remove empty tags (three times, just to make sure).
> html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
> html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
> html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
> html = html.replace( /[^\n\r]/gi, '' ) ;
> html = html.replace( /[^\n\r]/gi, '' ) ;
> 
> //alert(html)
>   return (html);
> }
> 


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.co

RE: Combining Images

2007-05-05 Thread Terry Troxel
Thanks Efflare,

I asked on here first as I thought maybe I had missed
something somewhere. I looked at the Efflare online docs and
obviously missed that it did what I was looking for.
I got your replies to the questions I posted on your site
after I posted on here and all I have to say is I wonder how
fast your instant replies are on weekdays. 

I already tried your example script and it worked exactly as
I asked for.

As soon as Monday rolls around I will be begging my
accountant for the funds.
I think if all CF tags worked as well as your company's we
could really do some magic.

Terry Troxel

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 05, 2007 10:29 AM
To: CF-Talk
Subject: Re: Combining Images

This is why we created ImageFlare:



http://www.efflare.com/products/cfx_imageflare/

--
 CrystalM

> Hartsfield you joker ,
> 
> I know imageCR3 does not do this. I am asking nicely if
someone out 
> there has done something like this with any kind od CF
scripting, 
> tags, functions, cfs's, etc.
> 
> I would appreciate any help in this as I know it has to be
out there, 
> but I haven't found any examples yet.
> 
> Terry Troxel
> 
> -Original Message-
> From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 05, 2007 7:45 AM
> To: CF-Talk
> Subject: RE: Combining Images
> 
> Oh no! Someone finally found something that ImageCR3 can't
do!!! ;-)
> 
> I don't see anything in the documentation about combining
multiple 
> images into 1 with imageCR3, sorry. :-(
> 
> I've never tried to do this either so I have no
suggestions.
> 
> . glad I could help lol
> 
> Good luck
> 
> -Original Message-
> From: Terry Troxel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 05, 2007 10:18 AM
> To: CF-Talk
> Subject: Combining Images
> 
> Anyone know of a way to combine 2 images into one online?
> 
> I am using imageCR3 and love it. I have two image upload
fields and 
> imageCR3 resizes each image to 360 pixels wide and I would
like to end 
> up with one image say 725 pixels wide with a 5 pixel
border between 
> each image in the final image.
> 
> Terry
> 
> 
> 
> 
>

> 
> 
> 




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277083
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Online WYSIWYG Editors

2007-05-05 Thread Matt Robertson
On 5/4/07, Will Tomlinson wrote:
> Is this the part where I make funny jokes about the name, FCKeditor??

You will be able to call it "CFTextArea" at some point in the future.
I just read the following announcement:

"Adobe has chosen FCKeditor for one of the great new features of its
next major release of ColdFusion, code named Scorpio. Some reviews of
it can be found on the web.  For ColdFusion programmers, it will be as
easy as defining a  tag to see FCKeditor
playing all its power on their pages, out of the box. ..."

http://www.fckeditor.net/newsarchive

And on the home page of the site.

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277082
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Combining Images

2007-05-05 Thread cftalk
This is why we created ImageFlare:



http://www.efflare.com/products/cfx_imageflare/

-- 
 CrystalM

> Hartsfield you joker ,
> 
> I know imageCR3 does not do this. I am asking nicely if
> someone out there has done something like this with any kind
> od CF scripting, tags, functions, cfs's, etc.
> 
> I would appreciate any help in this as I know it has to be
> out there, but I haven't found any examples yet.
> 
> Terry Troxel 
> 
> -Original Message-
> From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, May 05, 2007 7:45 AM
> To: CF-Talk
> Subject: RE: Combining Images
> 
> Oh no! Someone finally found something that ImageCR3 can't
> do!!! ;-)
> 
> I don't see anything in the documentation about combining
> multiple images into 1 with imageCR3, sorry. :-(
> 
> I've never tried to do this either so I have no suggestions.
> 
> . glad I could help lol
> 
> Good luck
> 
> -Original Message-
> From: Terry Troxel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 05, 2007 10:18 AM
> To: CF-Talk
> Subject: Combining Images
> 
> Anyone know of a way to combine 2 images into one online?
> 
> I am using imageCR3 and love it. I have two image upload
> fields and imageCR3 resizes each image to 360 pixels wide
> and I would like to end up with one image say 725 pixels
> wide with a 5 pixel border between each image in the final
> image.
> 
> Terry
> 
> 
> 
> 
> 
> 
> 
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277081
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cleaning stored text to get valid XML

2007-05-05 Thread Claude Schneegans
 >>Finally found a function that seems to clean most of the MS Word control
characters and other crap out that was causing me probems. Using two
filters on the body text seems to be taking care of my problems now..

This will clean only about 1% of the crap, may be not even...

Here is a function that will clen up more, and I'm still improving it ;-)

function cleanWord (html)
// cleans pasted text from Word
{
//alert(html)
html = html.replace(/\s*<\/o:p>/g, "") ;
html = html.replace(/.*?<\/o:p>/g, "") ;
   
// Remove mso-xxx styles.
html = html.replace( /\s*mso-[^:]+:[^;"]+;?/gi, "" ) ;

// Remove margin styles.
html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*;/gi, "" ) ;
html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*"/gi, "\"" ) ;

html = html.replace( /\s*TEXT-INDENT: 0cm\s*;/gi, "" ) ;
html = html.replace( /\s*TEXT-INDENT: 0cm\s*"/gi, "\"" ) ;

html = html.replace( /\s*TEXT-ALIGN: [^\s;]+;?"/gi, "\"" ) ;

html = html.replace( /\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi, "\"" ) ;

html = html.replace( /\s*FONT-VARIANT: [^\s;]+;?"/gi, "\"" ) ;

html = html.replace( /\s*tab-stops:[^;"]*;?/gi, "" ) ;
html = html.replace( /\s*tab-stops:[^"]*/gi, "" ) ;

html = html.replace( /\s*FONT-FAMILY:[^;"]*;?/gi, "" ) ;
   
// Remove Class attributes
html = html.replace(/<(\w[^>]*)\s*class=([^ |>]*)([^>]*)/gi, "<$1$3") ;

// Remove styles.
html = html.replace( /<(\w[^>]*)style="([^\"]*)"([^>]*)/gi, "<$1$3" ) ;

// Remove empty styles.
html =  html.replace( /\s*style="\s*"/gi, '' ) ;
   
html = html.replace( /]*>\s* \s*<\/SPAN>/gi, ' ' ) ;
   
html = html.replace( /]*>\s*<\/SPAN>/gi, '' ) ;
   
// Remove Lang attributes
html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ;
   
html = html.replace( /([\s\S]*?)<\/SPAN>/gi, '$1' ) ;
html = html.replace( /([\s\S]*?)<\/SPAN>/gi, '$1' ) ;
html = html.replace( /([\s\S]*?)<\/SPAN>/gi, '$1' ) ;
   
// remove all font tags
html = html.replace( /<\/?FONT[^>]*>/gi, '' ) ;
html = html.replace( /<\/?FONT[^>]*>/gi, '' ) ;
html = html.replace( /<\/?FONT[^>]*>/gi, '' ) ;
html = html.replace( /<\/?DIV([^>]*)>/gi, '' ) ;

// Remove XML elements and declarations
html = html.replace(/<\\?\?xml[^>]*>/gi, "") ;
   
// Remove Tags with XML namespace declarations: 
html = html.replace(/<\/?\w+:[^>]*>/gi, "") ;
   
html = html.replace( /\s*<\/H\d>/gi, '' ) ;

//clean up H tags   
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /]*)>/gi,  '' ) ;
html = html.replace( /]*)>/gi, '' ) ;
html = html.replace( /\s*()+<\/P>/gi,   '' ) ;
html = html.replace( /<\/P>\s*(<\/P>)+<\/P>/gi, '' ) ;
   
html = html.replace( /<(U|I|STRIKE)> <\/\1>/g, ' ' ) ;

// no comment...
html = html.replace( //gi, '' ) ;
   
// transform bullet lists
var re = new RegExp("·( | )*([\\s\\S]*?)", 
"gi");
html = html.replace( re, "$2" ) ;
re = new RegExp("·( | )*([\\s\\S]*?)", "gi");
html = html.replace( /(|)[§·-]( | )*([\s\S]*?)<\/P>/gi, 
"$2" ) ;
// remove spaces at begining
html = html.replace( /^( | )*\s*/, '') ;
// replace all stupid ... because they are 
overridden by higher
// style declarations like justify, etc.
html = html.replace( /([\s\S]*?)<\/P>/gi, 
'$1' ) ;
// remove useless 
html = html.replace( /<\/CENTER>(\s*\s*)/gi, '$1' ) ;
// remove useless  in 
html = html.replace( /(]*>)\s*\s*/gi, '$1' ) ;
// replace ... inside of TDs
html = html.replace( 
/(]*)>\s*([\s\S]*?)<\/CENTER>\s*<\/TD>/gi,
'$1 align=center>$2' ) ;
// remove Paragraphs inside TD
html = 
html.replace(/(]*>)\s*]*>([\s\S]*?)\s*<\/P>\s*([\s\S]*?<\/TD>)/gi, 

'$1$2$3');
  
// Remove empty tags (three times, just to make sure).
html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
html = html.replace( /[^\n\r]/gi, '' ) ;
html = html.replace( /[^\n\r]/gi, '' ) ;

//alert(html)
  return (html);
}

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.



~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277080
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.hous

RE: Combining Images

2007-05-05 Thread Terry Troxel
Hartsfield you joker ,

I know imageCR3 does not do this. I am asking nicely if
someone out there has done something like this with any kind
od CF scripting, tags, functions, cfs's, etc.

I would appreciate any help in this as I know it has to be
out there, but I haven't found any examples yet.

Terry Troxel 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 05, 2007 7:45 AM
To: CF-Talk
Subject: RE: Combining Images

Oh no! Someone finally found something that ImageCR3 can't
do!!! ;-)

I don't see anything in the documentation about combining
multiple images into 1 with imageCR3, sorry. :-(

I've never tried to do this either so I have no suggestions.

. glad I could help lol

Good luck

-Original Message-
From: Terry Troxel [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 10:18 AM
To: CF-Talk
Subject: Combining Images

Anyone know of a way to combine 2 images into one online?

I am using imageCR3 and love it. I have two image upload
fields and imageCR3 resizes each image to 360 pixels wide
and I would like to end up with one image say 725 pixels
wide with a 5 pixel border between each image in the final
image.

Terry







~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277079
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Can I ask a question? (RE: Frameworks)

2007-05-05 Thread Dawson, Michael
>I guess what I am saying is that if you are so educated, why are you
asking such a question.

>but hey if you thin you can design efficent patterns in DW then so be
it, who are we to tell you otherwise.

>Thats why you did not need to ask..

Damn. That was kind of harsh.

M!ke

On 5/4/07, Jeff Small <[EMAIL PROTECTED]> wrote:
>
> > With your background I am suprised you use DW, I would have thought 
> > Eclipse and SVN would be your bag.
>
> If I may ask, why? I hand code mostly in Dreamweaver's CodeView.
>
> I should probably preface this entire conversation by noting that I 
> run the interactive department of a medium sized Advertising Agency. 
> So our goals here are probably way more "graphically" and "brand" 
> oriented. I work with an entire art department that delivers artwork 
> to me in PNG form that I simply bring directly into Fireworks and 
> slice up, moving it then directly into Dreamweaver. Dreamweaver links 
> to my PNGs so any changes to the images automatically open up 
> Fireworks and take me straight to the master PNG file.
> We've just been working with the Macromedia workflow as long as I 
> remember, and it's never given us pause to sit and think about any 
> type of "framework".

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277078
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Combining Images

2007-05-05 Thread Bobby Hartsfield
Oh no! Someone finally found something that ImageCR3 can't do!!! ;-)

I don’t see anything in the documentation about combining multiple images
into 1 with imageCR3, sorry. :-(

I've never tried to do this either so I have no suggestions.

 glad I could help lol

Good luck

-Original Message-
From: Terry Troxel [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 05, 2007 10:18 AM
To: CF-Talk
Subject: Combining Images

Anyone know of a way to combine 2 images into one online?

I am using imageCR3 and love it. I have two image upload
fields and imageCR3 resizes each image to 360 pixels wide
and I would like to end up with one image say 725 pixels
wide with a 5 pixel border between each image in the final
image.

Terry




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277077
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: upload image and insert the image name into the database for the right product

2007-05-05 Thread Will Tomlinson
Ali,

Just upload the image as usual to whatever directory you'll be using. If it's 
multiple images with multiple 's, and you're using MX7, use the result 
attribute which lets you specify your own variable name for each image. 

result="file1.serverfile"
result="file2.serverfile"

etc..

Once you have that, you have the image name you can insert into your db. 

Just run those in your insert statements. 

INSERT INTO tblproducts (image1) VALUES ('#file1.serverfile#')

also, look into ExpandPath(). It's your friend. It'll create your full path 
needed in  destination attribute.



This will let your cffile send the file to the correct directory whether on 
your local machine, or a remote server.In this case, the images folder in your 
site root. 

hth,
Will 


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277076
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Combining Images

2007-05-05 Thread Terry Troxel
Anyone know of a way to combine 2 images into one online?

I am using imageCR3 and love it. I have two image upload
fields and imageCR3 resizes each image to 360 pixels wide
and I would like to end up with one image say 725 pixels
wide with a 5 pixel border between each image in the final
image.

Terry


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277075
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cleaning stored text to get valid XML

2007-05-05 Thread Les Mizzell
Re; http://www.nelsonmullins.com/rss/rss_newsletters.cfm

Finally found a function that seems to clean most of the MS Word control 
characters and other crap out that was causing me probems. Using two 
filters on the body text seems to be taking care of my problems now..



function ReplaceMicrosoftChars(arg_str) {
return ReplaceList(arg_str, 
"#Chr(19)#,#Chr(20)#,#Chr(25)#,#chr(8216)#,#chr(8217)#,#Chr(8211)#,#Chr(8212)#,#Chr(145)#,#Chr(146)#,#Chr(147)#,#chr(8220)#,#chr(8221)#,#Chr(148)#,#Chr(29)#,#Chr(28)#,#Chr(150)#,#Chr(151)#,#Chr(8230)#",
 
"--,--,',',',--,--,',',"","","","","","",-,-,...");
}




]*>","","all")#" >







Feed seems to be working now, until the client finds something else to 
throw in there that the above doesn't cover!!!

Of course, a better way to do this would be to create valid XML text 
right from the start, but I've got hundreds of records of legacy data to 
deal with.



~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277074
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: upload image and insert the image name into the database for the right product

2007-05-05 Thread Joel Watson
In your INSERT statement, access the name of the file from your upload 
statement using #cffile.Serverfile#.

Ex:







INSERT INTO products (imagepath)
VALUES (
'#cffile.Serverfile#'
   )


Obviously, you will want to do all the necessary validation and 
cfqueryparams...but that is a quick and dirty way to grab the name of the file 
that has been uploaded to the server and insert it into your database.


> Hi:
> Do you know any tutorial that teaches me how to make an image upload 
> form that I can use with my "Add Product" page? I need it to be 
> something like the one in cartweaver shopping cart. I mean when you 
> upload the image it is uploaded and the address goes to the database 
> at the same time and the user doesn't have to type the name/address of 
> the image (after uploading it) in another form to insert it into the 
> database.
> In summary I need an upload image form that uploads the image and 
> inserts the name/address of the image into the proper field of the 
> database for the right product.
> Thanks
Benign

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277073
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4