If I click a link to a record normally, it fills just fine.
But if I click a link that calls,
ColdFusion.Window.create('window', title, url, windowConfig);
It populates all the template code, but none of the database fields
fill in.
Is there something basic I'm missing? The id shows up just fine in
the link, because I've used it for the
title below...
Some code:
The link:
<cfset query = userRecord.getphoneIterator().getQuery()>
<cfif IsQuery(query)>
<cfloop query="query">
<cfset event.SetValue('id', id)>
<cfoutput>
<a href="javascript:DoWindow('Phone Editor',
'#event.linkTo(xe.phone,'id')#')">#phone#</a><br />
<!---<a href="#event.linkTo(xe.phone,'id')#">#phone#</a><br />---
>
</cfoutput>
</cfloop>
<cfelse>
<cfdump var="#query#" />
</cfif>
The javascript:
function DoWindow(title, url) {
try {
ColdFusion.Window.destroy('window',true);
} catch(e) { }
ColdFusion.Window.create('window', title, url, windowConfig);
ColdFusion.Window.onHide('window', WindowCleanup);
}
PS using Reactor if it matters (and you couldn't tell)
it shows up in IE but not Firefox. Its strange cause I use another
cfwindow for the login, and that works fine in both...
It looks like the edit scaffold contains some invalid (X)HTML, and it
seems that IE is being a bit more forgiving in its rendering. I noted
a few problems, but it looks like the real deal-breaker is the fact
that the form and table are not properly nested -- if you move the
<cfform> tag above the <table> tag so that the form wraps the table
then the form should display.
Would you mind raising a bug for this so we can be sure to get it fixed?
--
Ezra Parker
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to model...@googlegroups.com
> To unsubscribe from this group, send email to
> model-glue+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en