--
You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nitrogenweb+unsubscribe@googlegroups.com.
To post to this group, send email to nitro...@googlegroups.com.
Visit this group at https://groups.google.com/group/nitrogenweb.
For more options, visit https://groups.google.com/d/optout.
Hi Franklin,You can indeed change the url in a link that has a postback. It middle-clicking it will then just follow the URL rather than issuing a postback.It's hard to say what to set it to without knowing the context. If the postback is just doing a simple redirect, then obviously setting the URL to the redirect path would be simplest.If, however, you're doing something more complicated and wrapping up some contents to be processed in some way, then I'd wrap those contents with wf:pickle, stick that pickled value on the query-string line, and then on the receiving end, retrieve that value from the query string (wf:q(my_pickled_values)), process those values accordingly and proceed.Does that make any sense?-Jesse
On Thu, Dec 29, 2016 at 9:46 AM, Franklin Brauning <braun...@gmail.com> wrote:
Is it feasible to change that "javascript:" href, with some standard url, so an user can
load that link in another tab, or even "download link" ?
What would I set instead of "javascript:"? The url of the current module but
with some parameters so the page loads itself in a "static" fashion instead of waiting for events.
That would bring some more abstractions to the table but the point is to make sites
more usable to power users who tend to spawn several tabs from a page (just like when
one is reading a wiki page...)
--
You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nitrogenweb...@googlegroups.com.
To post to this group, send email to nitro...@googlegroups.com.
Visit this group at https://groups.google.com/group/nitrogenweb.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to nitrogenweb+unsubscribe@googlegroups.com.
To post to this group, send email to nitro...@googlegroups.com.
Visit this group at https://groups.google.com/group/nitrogenweb.
For more options, visit https://groups.google.com/d/optout.