You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2009/12/24 19:00:30 UTC

[jira] Created: (WOOKIE-89) DWR javascript is injected into widgets even when not wanted

DWR javascript is injected into widgets even when not wanted
------------------------------------------------------------

                 Key: WOOKIE-89
                 URL: https://issues.apache.org/jira/browse/WOOKIE-89
             Project: Wookie
          Issue Type: Bug
            Reporter: Ross Gardler
            Priority: Minor


The DWR javascript is injected into the widget HTML regardless of whether or not we want to use DWR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WOOKIE-89) DWR javascript is injected into widgets even when not wanted

Posted by "Scott Wilson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794789#action_12794789 ] 

Scott Wilson commented on WOOKIE-89:
------------------------------------

I'm not sure if this is a bug - the W3C Widgets Interface is implemented using Wookie-Wrapper.js which depends on some DWR functions (e.g. sync batch to preload all preferences), and so DWR is always injected. 

However, push notifications are NOT enabled by default, but are switched on if the Wave or Polling features are requested in config.xml.

E.g. Wookie-polling-feature.js consists only of:

 dwr.engine.setActiveReverseAjax(true);

We could refactor the JS to remove the dependency of wookie-wrapper on DWR, which would then have to be injected where other feature scripts depend on it.

> DWR javascript is injected into widgets even when not wanted
> ------------------------------------------------------------
>
>                 Key: WOOKIE-89
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-89
>             Project: Wookie
>          Issue Type: Bug
>            Reporter: Ross Gardler
>            Priority: Minor
>
> The DWR javascript is injected into the widget HTML regardless of whether or not we want to use DWR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WOOKIE-89) DWR javascript is injected into widgets even when not wanted

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WOOKIE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Gardler updated WOOKIE-89:
-------------------------------

    Component/s: Server
       Priority: Trivial  (was: Minor)
     Issue Type: Improvement  (was: Bug)

Thanks for the background, I agree this is not a bug if it is required for some features. Changing to improvement and dropping to trivial.

> DWR javascript is injected into widgets even when not wanted
> ------------------------------------------------------------
>
>                 Key: WOOKIE-89
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-89
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Ross Gardler
>            Priority: Trivial
>
> The DWR javascript is injected into the widget HTML regardless of whether or not we want to use DWR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.