DWR

allowScriptTagRemoting needs to be set to false to work.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0.1
  • Fix Version/s: 3.0.RC1
  • Component/s: None
  • Description:
    When I was trying to get script-tag method to work when I set allowScriptTagRemoting to be true DWR always throws the script-tag protection exception 'allowScriptTagRemoting is false'.
    When I set allowScriptTagRemoting to be false then it works.

Activity

Hide
QXO added a comment - 17/Sep/08 9:20 AM

After Dwr 2.0.2 the default value of allowScriptTagRemoting may change to "false",it's wrong!!!
allowScriptTagRemoting should be "true", otherwise it will throw "throw 'allowScriptTagRemoting is false.';"

Show
QXO added a comment - 17/Sep/08 9:20 AM After Dwr 2.0.2 the default value of allowScriptTagRemoting may change to "false",it's wrong!!! allowScriptTagRemoting should be "true", otherwise it will throw "throw 'allowScriptTagRemoting is false.';"
Hide
Joe Walker added a comment - 17/Sep/08 11:14 AM

Have you tried the latest version: 2.0.5?

Show
Joe Walker added a comment - 17/Sep/08 11:14 AM Have you tried the latest version: 2.0.5?

People

Dates

  • Created:
    09/Jun/07 12:48 PM
    Updated:
    15/Dec/08 11:13 PM
    Resolved:
    15/Dec/08 11:13 PM