[JBoss JIRA] Created: (RF-6079) Add parameterless method Richfaces.hideTopModalPanel()
by Francisco Jose Peredo Noguez (JIRA)
Add parameterless method Richfaces.hideTopModalPanel()
------------------------------------------------------
Key: RF-6079
URL: https://jira.jboss.org/jira/browse/RF-6079
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.2
Reporter: Francisco Jose Peredo Noguez
When doing heavy reutilization with multiple levels of subViews and ui:includes, the right id for the top modal panel is not easy to get, in fact Richfaces.hideModalPanel is unable to find it if there is another modalPanel with the same final name component (a problem similar to RF-6039). For this cases it would be really helful to have a shortcut way of closing the top modal panel.
For that I propose a method Richfaces.hideTopModalPanel() that looks for all the currently visible modalPanels and closes the one at the top, since it would not need to know the id, it will not be affected by nameContainer bugs.
--
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-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-6466) ContextMenu is broken in 3.3.1.SNAPSHOT.
by Alexander Dubovsky (JIRA)
ContextMenu is broken in 3.3.1.SNAPSHOT.
----------------------------------------
Key: RF-6466
URL: https://jira.jboss.org/jira/browse/RF-6466
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: 3.3.1.SNAPSHOT, all browsers.
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Critical
Source:
<h:form>
<rich:panel>
<h:outputText value="panel with context menu" />
<rich:contextMenu event="onclick">
<rich:menuItem value="item"></rich:menuItem>
</rich:contextMenu>
</rich:panel>
</h:form>
Open page and check browser error console
Result: following js. error:
disableDefaultContextMenu is not defined
attachToParent()("j_id_jsp_525031482_3:j_id_jsp_525031482_4", "onclick", Object)ui.pack.js.jsf (line 11614)
onmouseup()()editor.jsf (line 16)
E()()framewor...ck.js.jsf (line 6595)
editor.jsf()()editor.jsf (line 16)
[Break on this error] }}disableDefaultContextMenu(A,D,C,true);
As result context menu does not work. The same code works fine in 3.3.0.GA.
--
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