1. Create a postback-validator according doc
http://zotonic.com/documentation/798/postback or just add following line in any
template:
{% validate id="username" type={postback delegate="mod_useradmin"} %}
2. Try to open page in browser
Expected result:
Page will be rendered.
Real result:
HTTP 500 error and
=ERROR REPORT==== 8-Nov-2010::11:41:55 ===
webmachine error: path="/home"
{error,{error,badarg,
[{erlang,apply,["mod_useradmin",render_validator,[]]},
{z_render,'-render_validator/4-fun-0-',5},
{z_render,render_validator,4},
{z_script,'-get_script1/1-fun-2-',2},
{lists,foldl,3},
{z_script,get_script1,1},
{z_context,render_script,2},
{z_context,output1,3}]}}
Zotonic version: today hg
Original issue reported on code.google.com by hellla...@gmail.com on 8 Nov 2010 at 9:06
Original issue reported on code.google.com by
hellla...@gmail.com
on 8 Nov 2010 at 9:06