Groups
Groups
Sign in
Groups
Groups
Play Framework [deprecated]
Conversations
About
Send feedback
Help
[2.0.4 Scala] template and setting val's
48 views
Skip to first unread message
danny
unread,
Nov 15, 2012, 6:40:51 AM
11/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
Hi
@{ val ncatname = category.toLowerCase }
Why does this not work?
The compiler does not give errors BUT when calling ncatname the compiler displays:
not found: value ncatname
Thanks
Julien Richard-Foy
unread,
Nov 15, 2012, 7:42:36 AM
11/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
You can currently write:
@defining(category.toLowerCase) { ncatname =>
Here I can use @ncatname.
}
danny
unread,
Nov 16, 2012, 4:21:12 AM
11/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
Hi
Thanks :) still getting use to Scala - reading like mad lots of books and watching videos :)
But thanks :)
Reply all
Reply to author
Forward
0 new messages