Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
total.js - web framework for node.js
Conversations
Labels
About
Parameter in view
30 views
html
Skip to first unread message
Julien
unread,
Apr 13, 2014, 9:20:23 AM
4/13/14
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 tot...@googlegroups.com
Hi,
How to use @{if model.idPicture !== ''} in javascript view ?
I have an error with @.
Thank you
Peter Širka
unread,
Apr 13, 2014, 12:13:03 PM
4/13/14
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 tot...@googlegroups.com
Hi Julien,
I must see whole example (with model implementation).
Problem:
model should not be null. Every condition must end with @{endif}.
Thanks :-)
Julien
unread,
Apr 13, 2014, 2:38:31 PM
4/13/14
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 tot...@googlegroups.com
Sorry for the confusion.
I would like to use the model in javascript.
Example:
<script>
var i = @{model.similar}
</script>
Peter Širka
unread,
Apr 13, 2014, 2:41:51 PM
4/13/14
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 tot...@googlegroups.com
This must work (but model must be defined).
Reply all
Reply to author
Forward
0 new messages