agocorona / MFlow

(Haskell) Web application server with stateful, type safe user interactions and widget combinators
http://mflowdemo.herokuapp.com
Other
100 stars 12 forks source link

absLinks (fixed links) in a page are generated wrongly when the page is not visualized but passed trough for the first time #21

Closed agocorona closed 10 years ago

agocorona commented 10 years ago

Closed.

Now absLink= wlink. and wlinks are absolute. That means that every page has a uniqu URL no matter if it is called in the flow from different pages in different branches. The page is not called and the path is not added to the calling page, but the flow backtrack to the unique path of the page being called. That simplifies link management and frees memory.

agocorona commented 10 years ago

reopened

agocorona commented 10 years ago

absLink is again different from wlink to permit more flexibility. To permit backtracking in menus instead of recursive calls to pages back, use absLink's instead of wlinks. Now absLinks are well generated in every circunstance tested