Simon Elbaz
2009-11-12 14:13:35 UTC
Hi,
I access a z3c.form with the following url:
http://localhost:9060/++skin++Adama/mysite/kv/object_portfolio/OBJ_REF1/hf
A stack consumer (from z3c.traverser.stackinfo.consumer) consumes the
arguments kv/object_portfolio/OBJ_REF1.
Finally, in the rendered form, I get:
<div id="content"><form action="http://localhost:9060/++skin++Adama/mysite/hf/index.html"
method="post" enctype="multipart/form-data"
class="edit-form" name="form" id="form">
So when the form is submitted, it is submitted to the following URL (which does not exist):
http://localhost:9060/++skin++Adama/mysite/hf/index.html
How can I modify the action value in order to get:
<div id="content"><form action="http://localhost:9060/++skin++Adama/mysite/kv/object_portfolio/OBJ_REF1/hf/index.html"
method="post" enctype="multipart/form-data"
class="edit-form" name="form" id="form">
Thx
Simon
I access a z3c.form with the following url:
http://localhost:9060/++skin++Adama/mysite/kv/object_portfolio/OBJ_REF1/hf
A stack consumer (from z3c.traverser.stackinfo.consumer) consumes the
arguments kv/object_portfolio/OBJ_REF1.
Finally, in the rendered form, I get:
<div id="content"><form action="http://localhost:9060/++skin++Adama/mysite/hf/index.html"
method="post" enctype="multipart/form-data"
class="edit-form" name="form" id="form">
So when the form is submitted, it is submitted to the following URL (which does not exist):
http://localhost:9060/++skin++Adama/mysite/hf/index.html
How can I modify the action value in order to get:
<div id="content"><form action="http://localhost:9060/++skin++Adama/mysite/kv/object_portfolio/OBJ_REF1/hf/index.html"
method="post" enctype="multipart/form-data"
class="edit-form" name="form" id="form">
Thx
Simon