Uncaught exception: [Exception... "prompt aborted by user" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
resource:///components/nsPrompter.js :: openTabPrompt :: line 462" data: no]
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: SEAMREMOTING-45
URL:
https://issues.jboss.org/browse/SEAMREMOTING-45
Project: Seam Remoting
Issue Type: Bug
Affects Versions: 3.0.0.Final
Environment: Windows 7, JBOSS 4.2.3, Monjara 2.0.3, Weld-Servlet-1.1.1-final,
Seam-Remoting 3
Reporter: Denny Vriesman
I was trying to make seam-remoting to work with an existing application that already was
using JSF ajax (f:ajax tag).
However, the firefox 6.0 was ever raising the error bellow on javascript console:
Uncaught exception: [Exception... "prompt aborted by user" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
resource:///components/nsPrompter.js :: openTabPrompt :: line 462" data: no]
My code was looking like:
<h:head>
<script type="text/javascript"
src="#{facesContext.externalContext.requestContextPath}/seam/resource/remoting/resource/remote.js?compress=false"/>
<script type="text/javascript"
src="#{facesContext.externalContext.requestContextPath}/seam/resource/remoting/interface.js?resourceBean"/>
<script>
function getResourceFromDashboardCallback(result) {
$.each(result, iterateResource);
}
</script>
...
...
</h:head>
...
<h:form>
...
...
<h:dataTable border="1" id="dashBoardTable"
value="#{dashboardBean.dashboards}" var="dashBoardItem">
<h:column id="column1">
<f:facet name="header">
<h:outputText value="Paineis"></h:outputText>
</f:facet>
<h:commandLink
value="#{dashBoardItem.label}"
onclick="getResourceFromDashboard(#{dashBoardItem.uri});">
</h:column>
</h:dataTable>
</h:panelGroup>
...
...
</h:form>
When I've been clicked on CommandLink, the error's been throwed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira