[
https://issues.apache.org/jira/browse/WOOKIE-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815630#comment-13815630
]
muneeb shabbir edited comment on WOOKIE-421 at 11/7/13 4:22 AM:
----------------------------------------------------------------
Thanks for your reply Wilson. Let me explain you my scenario in more detail
i have wookie widget URL like this
http://localhost:9085/wookie/deploy/xyz.com/widgets/testwidget/index.html
now i want to load this widget inside a <div> element with ajax in my master
page. Now i want this widget to change its layout according to the passed query
string parameters. So I send
http://localhost:9085/wookie/deploy/xyz.com/widgets/testwidget/index.html?param=123
Now can you please guide me how can I get this request parameter inside widget?
was (Author: muneeb.shabbir):
Thanks for your reply Wilson. Let me explain you my scenario in more detail
i have wookie widget URL like this
http://localhost:9085/wookie/deploy/xyz.com/widgets/testwidget/index.html
now i want to load this widget inside a <div> element with ajax in my master
page. Now i want this widget to change its layout according to the passed query
string parameters. So I send
http://localhost:9085/wookie/deploy/xyz.com/widgets/testwidget/index.html?param=123
Now can you please guide me how i can get this request parameter inside widget?
> How to use request parameters in wookie widget
> ----------------------------------------------
>
> Key: WOOKIE-421
> URL: https://issues.apache.org/jira/browse/WOOKIE-421
> Project: Wookie
> Issue Type: Task
> Components: Server, Wookie REST API
> Affects Versions: 0.14.0
> Reporter: muneeb shabbir
>
> hi,
> Is there any way to pass request parameters to widget deployed on Wookie? i
> can see Wookie adds some JavaScript files in widget HTML, is there any way
> where i can receive the request parameters and embed them in the page and
> using that parameters i want to customize the widget just like Wookie adds
> JavaScript files in page.
> Thanks in advance
--
This message was sent by Atlassian JIRA
(v6.1#6144)