Charlie Elgholm wrote:
> Anyone has a good solution on howto submit a form to "oneself" and
> still have the navigational history (as the default ajax-loader
> handles)?
>   


I'm assuming you are using iUI, right?  If so, which version?


> As it is now, I'm navigating in a tree-structure until i find an
> object I want to edit. When clicking I can "Ajax-Load" the edit-page
> but then I need to submit my form to "_self" and then there's no
> "back" to the navigational-system (as handled by all the Ajax calls)
> no more.. So I'll load my directory-tree as a new page (and miss out
> on the history).
>   

iUI doesn't provide a mechanism to go from an anchor hashtag to an Ajax 
'page', so it is unable to re-load the 'page' from the browser history 
or a bookmark.

> Any ideas?
>
>   
1.  Use an Ajax "POST" instead of submitting to target="_self"
2.  Load the directory as a single page so you can load the page via 
browser history.
3.  Modify iUI so that it can load the directory pages via Ajax given an 
anchor hashtag.

> It would be nice to actually POST the form using Ajax in some easy way
> so I can stay in navigational structure all the time and never change
> target to _self.
>   


There are (easy to fix/workaround) bugs in iUI 0.31 and earlier that 
have patches in the issues database.  See previous posts on this list 
for details.  iUI 0.40 will resolve these issues.

-- Sean


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to