Handbook
Glossary
<new-comment-action> ( -- action )
Vocabulary
webapps
.
blogs
Inputs
None
Outputs
action
an
object
Definition
USING:
accessors
calendar
db.tuples
furnace.actions
furnace.auth
furnace.redirection
html.forms
kernel
;
IN:
webapps.blogs
:
<new-comment-action>
( -- action )
<action>
[
validate-comment
username
"author"
set-value
]
>>validate
[
"parent"
value
f
<comment>
"content"
value
>>content
username
>>author
now
>>date
[
insert-tuple
]
[
entity-url
<redirect>
]
bi
]
>>submit
<protected>
"make a comment"
>>description
;