eclipse-ee4j / mojarra-jsf-extensions

Other
1 stars 3 forks source link

Components that render only script elements cause JS error in DynaFaces.replace (workaround available) #69

Open glassfishrobot opened 17 years ago

glassfishrobot commented 17 years ago

Components that render only script elements cause a JS error in DynaFaces.replace when part of a response.

The user workaround is pass the option: replaceElement: function(id,markup) { var str = markup.stripScripts(); if( str.length !== 0 )

{ DynaFaces.replace(id,str); }

}

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 5 years ago
glassfishrobot commented 17 years ago

@glassfishrobot Commented Reported by iamnoah

glassfishrobot commented 17 years ago

@glassfishrobot Commented iamnoah said: Workaround doesn't handle whitespace properly.

See issue 74 for improved workaround.

glassfishrobot commented 17 years ago

@glassfishrobot Commented Was assigned to jsf-extensions-issues

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JSF_EXTENSIONS-69