WODA: FAQs

 User Interface

WBB{toolbar} says it accepts variables by they don't appear?
$WBB{toolbar} accepts a string expression which you use to 
define the thing you are adding to the toolbar. Most often 
you want to be able to use $ICONURL and $SCRIPTNAME so that 
you can display icons and generate links.

This doesn't work:
$WBB{toolbar} =<<EOM
Home    qq(<a href="$SCRIPTNAME/Add"><img src="$ICONURL/add.gif"></a>)
EOM

The string expression is evaluated by WODA and the result 
is passed back to the toolbar. The variables need to be 
protected from the evaluation. This is done by using backslashes.

This works:
$WBB{toolbar} =<<EOM
Home    qq(<a href="\$SCRIPTNAME/Add"><img src="\$ICONURL/add.gif"></a>)
EOM
Notice the backslashes protecting the variable symbols!
modify the informationdelete entire recordexplain the meaning of the fieldsbrowse recordsAdd a new questionHome page of this databaselogin Valid HTML 4.01 Transitional Valid CSS! Powered by WODA 4.6x trunk