Jump to content

Recommended Posts

Posted

Currently parameters are passed to uniGui as follows:

 

http://localhost/?Button=B1

 

s :=  UniApplication.Parameters.Values['Button'];

 

It would be nice if we could use the following URL syntax:

 
 
Maybe with a UniApplication.Route which just returns the string ? 
 
ie.     /Button/B1    
 
Which could be read in the UniMainmodule create, allowing dynamic form/actions to be controlled.

 

** Note ** There is an issue with the /m currently used for mobile pages, maybe   http://localhost/m/Button/B1 would be an option for mobile ?
 
** Also - It would be nice to change the /m to another path (via a Property setting) so you could use say /mobile instead of /m 
 
 
 
 
 

 

  • 3 weeks later...
Posted

Also.. It would be nice to trap 404/Resource not found errors with an event.

 

That is... Say you have an application on the following URL:   http:///www.mycoolapp.com

 

If the user tries:

 

http://www.mycoolapp.com/about

 

They will receive:

 

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

 

 

It would be nice to hook any miscellaneous URL's with an event and redirect as required (back to the app or a custom 404 page).

  • Upvote 1
×
×
  • Create New...