David Esposito wrote:
>
> Ok, i think there is some sort of b** happening here, but I wanted to see if
> this rings a bell before I use the bad B word ... ;)
>
> #foreach($state in $state_list)
> $state.Name blah blah blah $state.ID
> #if($state.ID == $selected_state_id)selected#end
> #end
>
> it seems that if selected_state_id is not defined in the context, the whole
> processing of the page ends ... Velocity just up and decides to go home for
> the evening ... no warnings, no error messages ... ;) ...
That would be a bug then. :)
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/