You'll have to do the research on this DM. I really don't know how to do what you want. If I can make a simple, secure change to the core, I'm happy to. So far we have done absolutely nothing with frames. Haven't had a need, but I think what you are suggesting may be possible. But here are some problems:
1) If your main skin has a frame calling two BoltWire pages, both those will have frames in them unless somehow they are given different skins. Perhaps a php trigger which loads the main skin the first time, and a real skin/invisible skin the second time. It might be easier to setup an iframe that is small and virtually invisible... 2) You can change the action parameter in the form to target the invisible frame perhaps but I don't think that's how html works. I think the form submission would insert the output of the action into the current frame. Giving you two invisible frames. Anyway, good luck! Cheers, Dan On Tue, Oct 6, 2009 at 12:40 PM, DrunkenMonk <[email protected]> wrote: > >> Is there no way to automate >> the page creation process using some kind of template that gives >> anchors? > > No. I've got a list of items that have been marked as "active". For > each item, there is a box for "number of items that have been carried > from storage to the pub" and a box for "number of boxes of item that > have been carried from storage to the pub". You enter as many items as > you wish, now and again saving to protect yourself from time-outs. So > multiple items are updated on each post, and the position of the page > is random. > >> I don't think we can solve this one DM. > > I can think of one way: > Stage one: > Use the post request to generate a page that is ignored (javascript > has void or something for this, doesnt it? HTML has a frame of zero > size). You post a request, but your browser does not move. > This can be done with links, so why shouldnt it be doable with forms? > Stage two: > use javascript or something to make a "reload page" call. > > I just don't know how to do this. Or, rather, I think I can make a > button perform an "on activate, reload page" thing. I don't know how > to make BoltWire retarget the post request to a zero-width frame. > > > On Oct 6, 4:31 pm, The Editor <[email protected]> wrote: >> This will not work because of a security feature in BoltWire. >> Basically, all session inputs have to be generated by a fresh page >> load. Which saves the session value of course. To reload a page will >> regenerate the same html, but not the session values which must be >> stored on the server. It is also not really possible to reset those >> session values, because the back button never notifies the server the >> page has been reloaded. >> >> I don't think we can solve this one DM. Is there no way to automate >> the page creation process using some kind of template that gives >> anchors? >> >> Cheers, >> Dan >> >> On Tue, Oct 6, 2009 at 10:22 AM, DrunkenMonk <[email protected]> wrote: >> >> > A while ago I requested a way to ensure browsers returned to the same >> > page. It turned out that much of the problem was that Firefox 3.0-3,1 >> > had a bug regarding positioning on pages, and I just about managed to >> > solve the issue with a "back" javascript function. >> >> > I now have a similar problem, in that I want to hit "submit" and not >> > be placed at the top of the same page. >> > This is doable with a simple "back" statement, but this invalidates >> > form input. >> >> > I submit a form and return to the same page from which i sent it. >> >> > if I simply leave out nextpage, I am left at the top of the page with >> > functioning form input. >> > I can "save an continue" without problems, but I am moved to the top >> > of the page. >> >> > if I add a "back" function, I am left where I was, but further form >> > input is invalidated since the form is not reloaded. >> >> > I guess what I want to do is post information, ignore the page update >> > and then reset form inputs. possibly reload the page. >> >> > Anyone know how? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
