You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "muneeb shabbir (JIRA)" <ji...@apache.org> on 2013/11/07 05:24:17 UTC

[jira] [Comment Edited] (WOOKIE-421) How to use request parameters in wookie widget

    [ 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)