On Thu, Aug 7, 2008 at 2:20 AM, Rakshith N <[EMAIL PROTECTED]> wrote:

> Torsten,
>         This was an issue and has been fixed in 8.0.1. I did a quick check
> on it and it works fine for me. Are you on 8.0.1?
>
> Charlie,
>        Make sure that you use the right case when you use refreshOnShow in
> JavaScript as JS is case sensitive. Can you share the code that does not
> seem to work?
>

Hi Rakshith:

Thanks for the response.   Here's the code I tried:

<script type="text/javascript">
    function createJournalWindow(transactionID,address) {
        <cfoutput>
        ColdFusion.Window.create('Journal', 'Journal - ' + address,
'#myself##viewstate.getvalue('xe.journal')#&transactionID=' + transactionID,

{height:456,width:416,modal:true,closable:true,draggable:true,resizable:true,center:true,refreshOnShow:true})
        </cfoutput>
    }
</script>

being called from the following line that's inside a query-driven
<cfoutput>:
<a href="##"
onclick="createJournalWindow(transactionID='#transactionID#',address='#streetAddress1#');
return false;">

this brings up the same window each time (which is whatever window the user
first happened to create).

If I change that first argument in the create() method from 'Journal' to
transactionID (effectively using the transactionID argument that's passed
into the function), it works (bringing up a new window each time).  the
refreshOnShow in the configs doesn't seem to have any effect.

I also tried changing to refreshonshow, which seemed to work in that i saw
the "Loading" with the ajax image each time... but in spite of that it still
brought up the same content and same title in the window.

i'm relatively new to the AJAX-y stuff in CF, so if i'm misunderstanding how
the windows are supposed to work, I apologize in advance :)

(running on CF 8,0,1,195765)

Thanks,
Charlie

-- 
A byte walks into a bar and orders a pint. Bartender asks him "What's
wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought
you looked a bit off."


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:310371
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to