derive viewPage inside local template definition doesn't work
Program below results in Java compilation errors:
application hydrasection bla
define page root() {
}define main() {
body()
}define body (){
“blablabla”
}entity Project {
name :: String (id)
}define page bla(p: Project) {
main()
define body() {
var t := "Project "+p.name;
header{output(t)}Submitted by Rob Vermaas on 9 June 2010 at 11:04
<div id="tabs-project"> derive viewPage from p </div> <div id="tabs-settings"> </div> <div id="tabs-views"> </div> <div id="tabs-channels"> </div> </div> <script type="text/javascript"> $("#generic-tabs").tabs(); </script> }
}
Log in to post comments