Seeing Socket Event Gateway break on line breaks with CF8?

2008-07-21 Thread Jeremy Bower
Having upgraded to CF8 with no code changes I am seeing a socket event gateway 
accept an xml message line by line and not the entire xml packet in one shot 
(each line is shown in the log separately).  Passing a simple sentence with a 
return in it also becomes 2 events.  This obviously causes problems, as the xml 
cannot be recognized and processed when it comes in line by line.  The xml is 
coming from a daemon writen in Perl, and I can't immediately make any changes 
to it, as these requests are also sent out to other Perl systems, so any 
changes would have to be tested against them as well.
I couldn't find anything online about this being a bug in CF8, has anyone else 
seen it? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: cfwindow inside iframe issue

2008-07-16 Thread Jeremy Bower
Correction:  I just use insertRow() and deleteRow(), not innerHTML.  I have now 
tried this:

eval(if (!document.all. + table_name + .rows[1]) {  my_new_row = 
document.all. + table_name + .insertRow(1); } else {  my_new_row = 
document.all. + table_name + .rows[1]; });
eval(document.all. + table_name + .rows[1].setAttribute('display','yes'));

for open and
eval(document.all. + table_name + .rows[1].setAttribute('display','no'));

for close.  No JS errors, but this does not close the row, nothing happens.  A 
getAttribute check after this shows display is changed, but nothing is rendered 
to the screen.



Have you tried
.style.display = 'none' in javascript?  Instead of the .innerHTML

--
William Seiter
ColdFusion Web Developer / Consultant
http://william.seiter.com
 
Free Website Trade Publication  Website Magazine
http://www.websitemagazine.com/referrals/?id=51344f=text2
Don't forget to answer the survey questions, it's a 10 second task ,
a very small request  for access to this  incredible resource.
 
Have you ever read a book that changed your life?
Go to: http://www.winninginthemargins.com
Use PassKey: GoldenGrove
You'll be glad you did.
 
 
::-Original Message-
::
::Sent: Wednesday, July 16, 2008 6:13 AM
::To: CF-Talk
::Subject: cfwindow inside iframe issue
::
::
::I'm using some nicely formated cfwindows as tool tip type popups inside
::an iframe that is expandable/collapsable (tr.innerHTML=iframe or ).
::When the user tries to collapse the iframe IE blows up. The expand,
::rollover, and  mouseout events all act as they should. Is there a way to
::more gracefully close the iframe before blanking the .innerHTML of the
::tr that might keep this from happening? My guess is the parent being
::wiped out causes a problem for the code rendered for the cfwindow, but I
::really have no idea how CF implements this.
::
::Thanks
::
::
:: 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: cfwindow inside iframe issue

2008-07-16 Thread Jeremy Bower
Sorry, should have noted I had tried:
eval(document.all. + table_name + .rows[1].style.display='yes');
and got a JS error Could not get the display property.  Invalid argument.

DISPLAY is not a valid TAG ATTRIBUTE. it is just a style setting.
.setAttribute() is useless for setting DISPLAY STYLE.
use William's suggested .style.display='none' / '' instead.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Jeremy Bower wrote:
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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