- see footer for list info -<
Thanks for that... there are lots of reds and they are all < or > or ' chars
but the only one that seems to cause a problem for real if the <br /> in the
db data !!! ??
On 5/26/06, RichL <[EMAIL PROTECTED]> wrote:
Well it definitely isn't just the <br /> tag
I tried it in your code and it is fine.
I also tried it in my code by WDDXing the data and then immediately doing
WDDX2CFML and dumping the result and that is fine.
The problem is arising after the WDDXd structure is passed as a hidden
form var to the next page. The WDDX2CFML is falling over on that page but if
i put it directly under neath on the form page before sending it works.
Here is how I am sending the data:
<cfwddx action="cfml2wddx" input="#attributes.stParams#"
output="hiddenParams">
<cfoutput><input type="hidden" name="hiddenParams"
value="#hiddenParams#"></cfoutput>
and top of the action page is:
<cfif isDefined("attributes.srpAction")>
<cfwddx action="wddx2cfml" input="#attributes.hiddenparams#"
output="attributes.stParams">
<cfelse>
<cfinclude template="dsp_params2attr.cfm">
</cfif>
!???
On 5/26/06, Adam Cameron <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
> > Doesn't that suggest that those characters aren't safe unless escaped?
>
>
> Yep, but part of the <cfwddx> process is to do the escaping. Instead of
> the <cfdump> in my example, change it to a simple output:
> <cfoutput>#wDoc#</cfoutput>
>
> And then view the source: everything's escaped.
>
> > Even though you're code snippet works a treat Adam !? :o/
>
> What if you add a <br /> into the markup somewhere? Works OK for me...
>
>
> Just as a matter of interest, what do you get if you add THIS before the
>
> <cfwddx>?
>
> <cfxml variable="st.xDoc">
> <root><parent><child/></parent></root>
> </cfxml>
>
> Tip: don't run this on a live server... It might not stay live for long,
>
> if your experiences are the same as mine :-/
>
> --
> Adam
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com <http://www.apycom.com/> -<
> >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
> -<
>
--
Rich
--
Rich
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<