[jifty-devel] Jifty->web->link and buttons
jesse at bestpractical.com
Fri Apr 21 10:44:50 EDT 2006
On Fri, Apr 21, 2006 at 12:50:43PM +1000, bart at urnet.com.au wrote:
> I've seen something strange.
> When I try to create a button with Jifty->web->link
> I can't get it to redirect to the url i specify.
It looks like we're not doing anything to explicitly enable buttons with
explicit URLs (which is weird, because I thought we'd had this in the
past). Am I on crack?
Should "url =>" be shorthand for "onclick => ...something..."
> The below code doesn't work, just takes me back to the page I'm on.
> If i remove the button => 1 then I get a link and it behaves as
> Any ideas?
> Oh and I just updated to latest svn 880.
> <% Jifty->web->form->start() %>
> <% Jifty->web->link(
> url => "/Search/Products.html",
> label => "View entire catalogue",
> button => 1) %>
> <% Jifty->web->form->end() %>
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
More information about the jifty-devel