I don't understand. Actions in admin generator are converted
to links.
So, I don't see how the partial parameter has an impact on
the generated
link?
Fabien
Joe Simms wrote:
> Hi
>
> I need the flexibility to use a partial to output an
action, i think
> this is a good extension, but just want to clarify
syntax.
>
> Symfony currently uses _action to represent default
action so we cannot
> use that, so we can either:
>
> // use two underscores for a partial action
> actions:
> __myaction: {action: action, param: ...}
>
> // or add it as a param
> actions:
> myaction: {action: myaction, partial: myaction,
param: ...}
>
> Either way, the generator will include the partial
_myaction.php.
>
> Fabien, any comments/preferences?
>
> Thanks
>
> Joe
>
>
> --
> To unsubscribe, e-mail: dev-unsubscribe symfony-project.com
> For additional commands, e-mail: dev-help symfony-project.com
>
>
>
--
To unsubscribe, e-mail: dev-unsubscribe symfony-project.com
For additional commands, e-mail: dev-help symfony-project.com
|