Ticket #94 (closed defect: fixed)
Prefix for Memphis Extension doesn't work
| Reported by: | rist | Owned by: | mikey |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4.0 |
| Component: | Memphis view engine | Version: | SVN-trunk |
| Keywords: | Cc: |
Description
when using (in pages/foo.xml):
<loadExtension extension="org.example.XxxYyy" parts="..." name="myPrefix" />
this should work (snippet from bar.tmpl):
<form method="post" action="..."> <input name="myPrefix.myKey" type="text" /> </form>
but only this works (snippet from bar.tmpl):
<form method="post" action="..."> <input name="myKey" type="text" /> </form>
with that method call (snippet from org.example.XxxYyy):
$myKey = $this->request->getValidatedValue($myKeyValidator, 'myKey');
Change History
Note: See
TracTickets for help on using
tickets.
