Hi,

Within a view, I'm trying to pass explicit parameters to a slot but  
I'm not having much luck. I'm trying:

$layer->setSlot('side1', $this->createSlotContainer('Related',  
'ShowRelated', array('blah'=>'val')));

to pass the parameter 'blah' into the 'ShowRelated' action. In the  
'ShowRelatedSuccess' view however, I try to access the 'blah' paramter:

$rd->getParameter('blah')

but it doesn't seem to be defined.

I have tried adding explicit validation for the 'blah' parameter in  
ShowRelated.xml by:

<validator class="string">
        <arguments>
                <argument>blah</argument>
        </arguments>
        <errors>
                <error>The value blah can't be empty</error>
        </errors>
</validator>

But this doesn't seem to help.

Any suggestions?

Michal

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to