Re: Setting post variables
Joshua <[email protected]> Mon, 2 May 2005 09:19:35 -0600
| Newsgroups | gmane.comp.lib.nexista.devel |
|---|---|
| Message-ID | <[email protected]> |
That map:set thing should be changed to an action someday soon On Monday 02 May 2005 9:44, Albert Lash wrote: > On Mon, 2 May 2005, Joshua wrote: > > On Monday 02 May 2005 6:29, Albert Lash wrote: > > > Hi Joshua, > > > > > > Remember your suggestion to set query params using the php protocol? > > > > > > <param name="php:$_POST['from_date']" type="text"/> > > > > > > Now I need to set the variable in the case that nothing is currently > > > selected. Is it possible to set the post variable from the sitemap? I'm > > > checking out Path and there doesn't seem to be any set function. > > > > Not sure what you mean. Do you just want so have a value for > > $_POST['from_date'] if none selected? besides the default param? > > > > Path doesn't set values - it just gets them. You can set them using flow > > of course or straight from php for things like session, globals etc.... > > all path is is a way for xml to get these otherwise hard to get vars > > OK, so the <map:set... directive should use flow to set or add the var? > That makes sense. However, it dies when trying to add > anything other than a root node. I'll keep digging around > > Al > > > > Thanks > > > > > > Al