Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

figure out a way to handle parameter array "wrapping" #90

Closed
lsmith77 opened this issue Jul 7, 2011 · 0 comments
Closed

figure out a way to handle parameter array "wrapping" #90

lsmith77 opened this issue Jul 7, 2011 · 0 comments

Comments

@lsmith77
Copy link
Member

lsmith77 commented Jul 7, 2011

right now when passing a list to an HTML template it would need to be passed as ->setParameter(array('list' => array('one', 'two', 'three'))), however when serializing the same parameters to json/xml one would instead want s ->setParameter(array('one', 'two', 'three')). find a solution that either automatically wraps for HTML or unwrapps for JSON/XML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant