Thanks for the advice, I added the information to the session and can
now access it through the xml page.  This doesn't seem like the best
way to do this, but it works.  Is this type of coding bad practice?



On Jul 9, 5:47 pm, Collin Grady <[EMAIL PROTECTED]> wrote:
> Unless the object supports post params, that's not possible. You have
> to submit the data through the XML request, you can't just hijack it
> from the other.
>
> The only other option I can see is if you do something like shoving
> everything in request.session and reading that in the other page.
>
> On Jul 9, 3:36 pm, tyman26 <[EMAIL PROTECTED]> wrote:
>
> > I'm using an activex control that loads data with xml via javascript.
> > I have no problem using django to build my xml file when I'm testing
> > examples with static information.  The problem comes in when I want to
> > pass dynamic information to the xml generated view.  For example, here
> > is a template called 'results.html' which loads my activex widget:
> > .............................................................
> > <html>
> > ....
> > <div id="gridbox" width="95%" height="250px" style="background-
> > color:white;"></div>
> > <script type="text/javascript">
> >         mygrid = new dhtmlXGridObject('gridbox');
> >         .......
> >         mygrid.loadXML("http://192.168.xx.xx/search/buildXML";);
> > </script>
> > .............................................................
>
> > As you can see I load the xml document through the url called /search/
> > buildXML.   The only problem is I want request information from the
> > view that opens this template to also be available in the view that
> > creates my xml code.     I don't want to have to pass it through the
> > url because the information is sensitive.  Does anybody know another
> > way around this?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to