[JBoss JIRA] Created: (RF-5935) jQuery: exception compressing with JSMin
by Nick Belaevski (JIRA)
jQuery: exception compressing with JSMin
----------------------------------------
Key: RF-5935
URL: https://jira.jboss.org/jira/browse/RF-5935
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 3.3.1
26.01.2009 12:36:36 org.ajax4jsf.resource.ScriptRenderer send
SEVERE: Error send script to client for resource org/richfaces/renderkit/html/sc
ripts/jquery/jquery.js
org.ajax4jsf.javascript.JSMin$UnterminatedRegExpLiteralException: Unterminated r
egular expression at line 290 and column 0
at org.ajax4jsf.javascript.JSMin.action(JSMin.java:213)
at org.ajax4jsf.javascript.JSMin.jsmin(JSMin.java:289)
at org.ajax4jsf.resource.ScriptRenderer.send(ScriptRenderer.java:62)
at org.ajax4jsf.resource.InternetResourceBase.send(InternetResourceBase.
java:376)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase$1.getResponse(AbstractAja
x4JsfTestCase.java:405)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnect
ion(WebClient.java:1500)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.jav
a:1456)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(Htm
lPage.java:841)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFil
e(HtmlPage.java:792)
at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(H
tmlScript.java:276)
at com.gargoylesoftware.htmlunit.html.HtmlScript.onAddedToPage(HtmlScrip
t.java:197)
at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded(HtmlPage.
java:1497)
at com.gargoylesoftware.htmlunit.html.DomNode.appendDomChild(DomNode.jav
a:808)
at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.star
tElement(HTMLParser.java:392)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.j
ava:179)
at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBind
er.java:286)
at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.j
ava:1009)
at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:
639)
at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLSc
anner.java:2407)
at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1
881)
at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478
)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431
)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:2
53)
at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(Defau
ltPageCreator.java:116)
at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPa
geCreator.java:89)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient
.java:450)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:359)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.processResponse(AbstractA
jax4JsfTestCase.java:781)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.processResponseWriter(Abs
tractAjax4JsfTestCase.java:752)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.renderView(AbstractAjax4J
sfTestCase.java:623)
at org.richfaces.component.CalendarComponentTest.testCalendarStyles(Cale
ndarComponentTest.java:277)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (RF-4113) IE 7 type mismatch when get 302 redirection
by Tomas Hampl (JIRA)
IE 7 type mismatch when get 302 redirection
-------------------------------------------
Key: RF-4113
URL: https://jira.jboss.org/jira/browse/RF-4113
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: windows XP servicepack 3 -> internet explorer 7 browser
Reporter: Tomas Hampl
When session is invalided with spring security . Spring security sends status 302 and redirect to custom page. When I click to open a modal panel and ajax get back 302 redirection there is type mismatch javascript error in Internet explorer, but in firefox works well.
is there any workaround or something ?
Problem is on this line "window.document.open(req.getContentType(),true);" . ("req.getContentType()" is ok)
here is debug output:
debug[15:06:22,252]: Have Event [object Object] with properties: target: [object], srcElement: [object], type: click
debug[15:06:22,252]: NEW AJAX REQUEST !!! with form :j_id16
debug[15:06:22,268]: Append hidden control j_id16:folderTree:j__id50:0::_defaultNodeFaceNodeExpanded with value [false] and value attribute [false]
debug[15:06:22,268]: Append hidden control j_id16:folderTree:j__id50:1::_defaultNodeFaceNodeExpanded with value [false] and value attribute [false]
debug[15:06:22,284]: Append hidden control j_id16:folderTree:j__id50:1:j__id50:0::_defaultNodeFaceNodeExpanded with value [false] and value attribute [false]
debug[15:06:22,284]: Append hidden control j_id16:folderTree:input with value [j_id16:folderTree:j__id50:1::_defaultNodeFace] and value attribute [j_id16:folderTree:j__id50:1::_defaultNodeFace]
debug[15:06:22,299]: Append hidden control j_id16_SUBMIT with value [1] and value attribute [1]
debug[15:06:22,299]: Append hidden control javax.faces.ViewState with value [VWVnSkh++7wEiAwpAMM+MtuU9eaGfD3Q60e5hNQHw/niFHXZVXk/FGv4cR4XOgWPAYrhd8JH48HNyraATgehx1EqghLjL+nUGGwwHsa6hNLtJsA1TnvwGJeUZ1bKSqKi] and value attribute [VWVnSkh++7wEiAwpAMM+MtuU9eaGfD3Q60e5hNQHw/niFHXZVXk/FGv4cR4XOgWPAYrhd8JH48HNyraATgehx1EqghLjL+nUGGwwHsa6hNLtJsA1TnvwGJeUZ1bKSqKi]
debug[15:06:22,315]: parameter ajaxSingle with value j_id16:folderTree
debug[15:06:22,315]: parameter j_id16:folderTree:selectedNode with value j_id16:folderTree:j__id50:1::_defaultNodeFace
debug[15:06:22,330]: Start XmlHttpRequest
debug[15:06:22,346]: Reqest state : 1
debug[15:06:22,346]: QueryString: AJAXREQUEST=_viewRoot&j_id16%3AfolderTree%3Aj__id50%3A0%3A%3A_defaultNodeFaceNodeExpanded=false&j_id16%3AfolderTree%3Aj__id50%3A1%3A%3A_defaultNodeFaceNodeExpanded=false&j_id16%3AfolderTree%3Aj__id50%3A1%3Aj__id50%3A0%3A%3A_defaultNodeFaceNodeExpanded=false&j_id16%3AfolderTree%3Ainput=j_id16%3AfolderTree%3Aj__id50%3A1%3A%3A_defaultNodeFace&j_id16_SUBMIT=1&javax.faces.ViewState=VWVnSkh%2B%2B7wEiAwpAMM%2BMtuU9eaGfD3Q60e5hNQHw%2FniFHXZVXk%2FFGv4cR4XOgWPAYrhd8JH48HNyraATgehx1EqghLjL%2BnUGGwwHsa6hNLtJsA1TnvwGJeUZ1bKSqKi&ajaxSingle=j_id16%3AfolderTree&j_id16%3AfolderTree%3AselectedNode=j_id16%3AfolderTree%3Aj__id50%3A1%3A%3A_defaultNodeFace&
debug[15:06:22,487]: Reqest state : 2
debug[15:06:22,487]: Reqest state : 3
debug[15:06:22,502]: Reqest state : 4
debug[15:06:22,502]: Reqest end with state 4
debug[15:06:22,518]: Response with content-type: text/html;charset=UTF-8
debug[15:06:22,518]: Full response content:
<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> </head>
<body> text </body></html>
warn[15:06:22,534]: No ajax response header
debug[15:06:22,534]: Header Location not found, search in <meta>
debug[15:06:22,549]: replace all page content with response
debug[15:06:22,549]: setup custom document.open method
debug[15:06:22,627]: exception during write page content undefined
debug[15:06:22,643]: response has parsed as DOM documnet.
debug[15:06:22,721]: append new node in documen
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (RF-5762) DnD: 'bypassUpdates' attribute does not skip the update model phase
by Andrei Markavtsov (JIRA)
DnD: 'bypassUpdates' attribute does not skip the update model phase
--------------------------------------------------------------------
Key: RF-5762
URL: https://jira.jboss.org/jira/browse/RF-5762
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Andrei Markavtsov
Assignee: Nick Belaevski
<h:form id="form">
<h:inputText value="#{bean.value}"></h:inputText>
<h:outputLink id="drag">
<h:outputText value="Draggable" />
<rich:dragSupport
dragType="PHP"
bypassUpdates="true"
dragValue="Value">
<rich:dndParam name="label" value="Draggable" />
</rich:dragSupport>
</h:outputLink>
<rich:panel id="PHP">
<rich:dropSupport id="componentId" acceptedTypes="PHP" dropValue="PHP"
bypassUpdates="true"
>
</rich:dropSupport>
</rich:panel>
</h:form>
Input text updates model, but should not.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months