[jifty-devel] Clickable object seems to act without authority

Andreas J. Koenig andreas.koenig.7os6VVqR at franz.ak.mind.de
Sun Jun 3 00:21:45 EDT 2007

Today I wanted to study how certain things fit together and so I wrote
in one of my mason fragments:

% my $button = Jifty::Web::Form::Clickable->new( label => "BUTTON", onclick => { args => { h_page => $last } } )->as_button;
% warn "button[$button]";

I expected that the code for the button would now appear on STDERR.

But $button turned out to be empty and the button itself appeared in
the page instead.

Is this a bug or is this expected behaviour? And if so, how should I
get the code snippet that is responsible for rendering the button?


More information about the jifty-devel mailing list