reading denote objects mapped quickness templates


i have struts + quickness structure example, chairman class, whose ability car vigilant (with the possess getter/setter methods) mapped quickness form submits an action, controlling modeldriven getmodel structure.



i put symbol form shows "view car" car ability zero car.id != 0 arrangement another symbol "choose car" car zero car.id = 0.



how i formula this. i attempted something template file:



#if($car != null)
#ssubmit("name=view" "value=view car")
#else
#ssubmit("name=new" "value=choose car")
#end


but i keep removing blunder zero value #if line.



i also combined boolean slight hascar() chairman try, nonetheless i can't opening i don't know why.



and quickness + struts tutorials challenging have good information.



thanks



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members