-
1. Re: IE7 permission denied?
sergeysmirnov Apr 23, 2007 1:35 PM (in response to edbras1)We use IE7 for testing very hard, but did not meet the problem like that. Just in case, the new jira issue (http://jira.jboss.com/jira/browse/AJSF-49 ) has been created for further investigations. If you can provide more specific information to help to reproduce the problem, do it please
-
2. Re: IE7 permission denied?
edbras1 Apr 24, 2007 4:26 AM (in response to edbras1)He Sergey,
Here some more information:
I am using myfaces 1.1.5 and tomcat 5.0.19 and tomahawk 1.1.3 and facelets 1.0.14.
Below you find the login xhtml which is the form that I use to login. When I login and a validation occurs it goes fine, but when the validation is succesfull it will navigate through another page through faces config and then the described error is shown.
I fyou need more information, just let me know.
Below you also find the login method that is called by the form.public String login() { CmdLogin cmd = getBusinessProxy().getLoginCmd(); cmd.setLoginName(this.loginName); cmd.setPassword(this.password); cmd = (CmdLogin) getBusinessProxy().executeCommand(cmd); this.member = cmd.getMemberResult(); if (this.member != null) { if (LOG.isDebugEnabled()) { LOG.debug("Login attempt successfull, let's store the member in the session and continue to the next page."); } this.handerLogin.login(this.member); this.informAfterLoginListeners(); return ConstantsView.NAV_FROM_OUTCOME_LOGIN_OK; } else { // error performing login, let's see what happened. if (LOG.isDebugEnabled()) { LOG.debug("Login attempt unsuccessfull, let's find out what happened and show that to the user."); } if (cmd.tooManyLoginFailures()) { // too many login attemps, show that getUtilsJsf().addFacesMessage(null, getBusinessProxy().getSystemPropertyByKey(ConstantsGeneral.DB_KEY_PROP_SYS_LOGIN_TRY_MAXIMUM_TEXT).getValue()); } else { // login/password unknown, show general error. getUtilsJsf().addFacesMessage(null, getBusinessProxy().getSystemPropertyByKey(ConstantsGeneral.DB_KEY_PROP_SYS_LOGIN_FAIL_GENERAL_TEXT).getValue()); } return ConstantsView.NAV_FROM_OUTCOME_LOGIN_FAIL; } }
<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="https://ajax4jsf.dev.java.net/ajax" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:s="http://myfaces.apache.org/sandbox" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:panelGrid columns="1" styleClass="loginForm"> <h:outputText> <p class="titleSection"> #{msg['inlogHeader']} </p> </h:outputText> <h:form styleClass="formLabel"> <!-- --> <!-- --> <!-- Global info/error messages --> <a4j:outputPanel id="msgGlobal" ajaxRendered="true" styleClass="infoNote"> <h:messages globalOnly="true" layout="table" /> </a4j:outputPanel> <br /> <!-- --> <!-- --> <h:panelGrid columns="2" styleClass="loginTable"> <h:outputLabel for="loginName" value="#{msg['loginNameText']}" /> <h:outputText value="" /> <h:inputText id="loginName" value="#{vAuthen.loginName}" required="true"> <f:validateLength minimum="#{msg['loginNameLengthMinimum']}" /> </h:inputText> <a4j:outputPanel ajaxRendered="true" styleClass="infoNote"> <h:message for="loginName" /> </a4j:outputPanel> <h:outputLabel for="password" value="#{msg['loginPasswordText']}" /> <h:outputText value="" /> <h:inputSecret id="password" value="#{vAuthen.password}" required="true" > <f:validateLength minimum="#{msg['loginPasswordLengthMinimum']}" /> </h:inputSecret> <a4j:outputPanel ajaxRendered="true" styleClass="infoNote"> <h:message for="password" /> </a4j:outputPanel> <h:panelGroup> <a4j:commandLink action="#{vAuthen.login}" id="submitButton" value="#{msg['buttonLoginText']}" styleClass="submitConfirm" requestDelay="1000" /> <h:outputText value=" " /> <ui:include src="status.xhtml" /> </h:panelGroup> <h:outputText value="" /> </h:panelGrid> </h:form> </h:panelGrid> </jsp:root>
-
3. Re: IE7 permission denied?
edbras1 Apr 26, 2007 11:22 AM (in response to edbras1)Can people that share the same experience please write how they solved it or worked around it?
-
4. Re: IE7 permission denied?
edbras1 May 2, 2007 6:34 AM (in response to edbras1)At least I found a workaround:
use the faces tag in your faces config navigation and you won't get the permission denied error. -
5. Re: IE7 permission denied?
edbras1 May 2, 2007 6:38 AM (in response to edbras1)Hmmm.. Sorry id didn't showed the "redirect" tag in my quick topic response.
So again the text:
At least I found a workaround:
use the faces "redirect" tag in your faces config navigation and you won't get the permission denied error. -
6. Re: IE7 permission denied?
sergeysmirnov May 2, 2007 2:33 PM (in response to edbras1)I'd like to add some explanations what is going on in case of using < redirect / > in navigation case and why not not using it might cause problems.
Usually, Ajax4jsf works in "Ajax Request generates Ajax Response" mode. I.e. Ajax Request is sent, the Ajax Response is received and the required part(s) of page is(are) replaced. To work in this mode, the action method (if presents) must return null.
However, Assume you want to implement the following use case: "User presses the submit button. If form validation is OK proceed to the next page, otherwise show the current page with error messages on it". For this use case you need "Ajax Request generates Non-Ajax Response" mode for success thread.
Ajax4jsf supports this mode. The action method should return an outcome string that matches one of the navigation rule in the faces configuration file.
As soon as the decision is made on the server (the validation performs on the server), it is always a "Ajax Request" at the beginning. I.e. the request is invoked on the XMLHttpRequest Object, but not on the browser itself.
So If no < redirect />:
when the validation is OK, action returns existing outcome and the view is changed, Ajax4jsf returns the whole view instead of parts pointed with ReRender attribute. When the new view comes to the client, Ajax4jsf script replaces the whole page with the new one in the DOM tree.
Visually, it looks like you are on the new page. However, as soon as it was not a browser request, browser still keeps the environment (javascript variables and functions) from the previous page mixing and matching it with the ones from the new page.
This might causes unexpected glitches (or might be not).
If < redirect /> is defined:
when the validation is OK, action returns existing outcome and the view is changed, the redirect request is sent to the client instead of the view itself. When the request comes, browser (but not XMLHttpRequest Object) requests for the new page. Then, what is called in JSF Specification "Non-JSF Request generates JSF Response" performed.
So, use < redirect /> in most cases. < redirect / > cause only one famous problem - request scope is reset. -
7. Re: IE7 permission denied?
martinjozef Jul 1, 2008 5:12 PM (in response to edbras1)Just wanted to update that
we use
Websphere 6.1
spring Webflow 1.05
richfaces 3.1.4 GA
ibm jdk1.5
facelets 1.1.14
and i am experiencing Permission Denied on javascript
http://picasaweb.google.com/Martin.Jozef/TechnologyScreenshots/photo#5218155712103889954
check out the picture
This is recent development we did not have this before happen. So i will try to investigate what changed that now this is occurring.
When i load the page initially i get the error and hit F5 to refresh and it goes away.
I need a solution fast....... help -
8. Re: IE7 permission denied?
luca.preziati Jul 6, 2008 4:40 PM (in response to edbras1)I think it's the same problem Ive got.
In our project we find that we we have aredirect to another page with a4j:commandLink or commandButton, sourrended by h:form, nothing happens with only IE7. We found that this behaviour is correlated with a security fix relause by Microsoft 10th July for italy.
I solved converting all commandLink and button, where possible, in h:commandLink or h:commandButton, and only where isn't possible, for the opening of modal Panel, with a4j: commandLink or Button.
But I sorrended all with a4j:form and not with h:form. Tomorrow I will add the code of microsoft patch. We have tested on different PC, and unistall that patch always insn't the solution. On one pc we reinstall IE7 and then the patch. We don't know how about that patch. -
9. Re: IE7 permission denied?
luca.preziati Jul 7, 2008 4:48 AM (in response to edbras1)The windows patch that breaks all is KB950759.
We use: JBOSS 4.2.2, SEAM 2.0.1, JSF 1.2 , RICHFACES 3.1.3GA
When i click a a4j:command in h:form and the command redirect to another page, the page don't work...
My faces-config is:
<navigation-rule>
<from-view-id>/public/opac/document*</from-view-id>
<navigation-case>
<display-name>Opac search Result</display-name>
<from-outcome>documentSearchResult</from-outcome>
<to-view-id>/public/opac/documentSearchResult.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<display-name>Dettaglio documento</display-name>
<from-outcome>documentReadDetails</from-outcome>
<to-view-id>/public/opac/documentReadDetails.xhtml</to-view-id>
</navigation-case>
....
</navigation-rules>
all navigation case are made in the same way!
In the follows there are my pages and how i solved the problem
This page don't work...
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:a="https://ajax4jsf.dev.java.net/ajax"
xmlns:cpi="politecnicoInnovazione">
<ui:composition template="/private/templates/bankSimpleTemplate.xhtml">
<ui:define name="content">
//<![CDATA[
function catchEvent4(a) {
Seam.Remoting.getContext().setConversationId( #{conversation.id});
Seam.Component.getInstance("documentSearchRefactored").checkSelected(a);
}
//]]>
<h2><h:outputText value="#{messages.documentResultSearchTitle}" />
</h2>
<cpi:parameterList id="parameterList1" bean="#{documentSearchRefactored}" />
<h:form>
<cpi:bankMenuSearchDetails id="bankMenu1" />
<h:outputText value="#{messages.bankOrderBy} " rendered="#{documentSearchRefactored.pageManager.resultSize > 0}" />
<h:selectOneMenu rendered="${documentSearchRefactored.pageManager.resultSize gt 0}"
id="orderBy" value="#{documentSearchRefactored.pageManager.ordering}" accesskey="U">
<f:selectItem itemLabel="Autore" itemValue="authorDescriptionOrderBy" />
<f:selectItem itemLabel="Titolo" itemValue="responsabilityTitleAreaOrderBy" />
<f:selectItem itemLabel="Data" itemValue="firstPublicationDateOrderBy" />
<f:selectItem itemLabel="Tipo Natura" itemValue="typeNatureOrderBy" />
<f:selectItem itemLabel="Tipo Materiale" itemValue="typeRecordOrderBy" />
</h:selectOneMenu>
<h:commandButton value=" #{messages.bankOrder}"
action="#{documentSearchRefactored.pageManager.orderBy}"
accesskey="X"
onkeypress=""
rendered="${documentSearchRefactored.pageManager.resultSize gt 0}"/>
</h:form>
<a:outputPanel id="resultsTable">
<cpi:resultsNavigation id="pnav3" querybean="#{documentSearchRefactored.pageManager}"
titlefound="#{documentSearchRefactored.pageManager.resultSize} #{messages.srcDocYesFound}"
titlednuof="#{messages.srcDocNoFound}" showBLabel="#{messages.view}"
pagResLabel="#{messages.srcDocPageSize}" pagLabel="#{messages.srcDocGoPage}"
limitInc="10" limitMax="30">
<h:form>
<h:dataTable id="documentResult" rowClasses="riga-chiara,riga-scura"
styleClass="table-risultati" value="#{documentGlobalResults}" var="doc"
headerClass="documentDescription" summary="Risultati ricerca.">
<h:column>
<f:facet name="header">
<h:outputText value="#{messages.numberHeader}" />
</f:facet>
<a:commandLink
value="#{documentGlobalResults.rowIndex+1+((documentSearchRefactored.pageManager.page-1)*documentSearchRefactored.pageManager.pageSize)}"
styleClass="linkDetailRownum"
accesskey="#{documentGlobalResults.rowIndex lt 10 ? (documentGlobalResults.rowIndex+1)%10 : ''}"
onkeypress=""
action="#{documentSearchRefactored.showDetails(doc)}" />
</h:column>
<h:column>
<f:facet name="header">
<a:commandLink
action="#{documentSearchRefactored.checkAll}"
accesskey="V"
onkeypress=""
reRender="resultsTable" >
</a:commandLink>
</f:facet>
<h:selectBooleanCheckbox
title="request"
value="#{documentSearchRefactored.selectionMap[doc]}"
onclick="javascript:catchEvent4(#{doc.id})"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{messages.bankSearchHeader}" />
</f:facet>
<h:outputText
value="[#{doc.typeNature.codeSBN}] #{doc.typeRecord.description}" />
<h:outputText value=" - #{doc.authorDescription}"
rendered="#{doc.authorDescription != null and doc.authorDescription != ''}" />
<h:outputText value=" - " />
<a:commandLink
styleClass="linkDetailTitle"
value="#{doc.responsabilityTitleArea}"
onkeypress=""
action="#{documentSearchRefactored.showDetails(doc)}" />
<h:outputText value=" - #{doc.editionArea}"
rendered="#{doc.editionArea != null and doc.editionArea != ''}" />
<h:outputText value=" - #{doc.publicationArea}"
rendered="#{doc.publicationArea != null and doc.publicationArea != ''}" />
<h:outputText value=" - #{doc.physicalDescriptionArea}"
rendered="#{doc.physicalDescriptionArea != null and doc.physicalDescriptionArea != ''}" />
<h:outputText value=" - " rendered="#{doc.noteArea != null and doc.noteArea != ''}" />
<a:outputPanel rendered="#{doc.noteArea != null and doc.noteArea != ''}">
<h:outputText value="#{doc.noteArea}" styleClass="yellow"
rendered="#{doc.braille}" />
<h:outputText value="#{doc.noteArea}"
rendered="#{not doc.braille}" />
</a:outputPanel>
</h:column>
</h:dataTable>
</h:form>
</cpi:resultsNavigation>
<h:messages globalOnly="true" />
</a:outputPanel>
</ui:define>
</ui:composition>
This is the same page corrected:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:a="https://ajax4jsf.dev.java.net/ajax"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:cpi="politecnicoInnovazione">
<ui:composition template="/private/templates/bankSimpleTemplate.xhtml">
<ui:define name="content">
//<![CDATA[
function catchEvent4(a) {
Seam.Remoting.getContext().setConversationId( #{conversation.id});
Seam.Component.getInstance("documentSearchRefactored").checkSelected(a);
}
//]]>
<h2><h:outputText value="#{messages.documentResultSearchTitle}" />
</h2>
<cpi:parameterList id="parameterList1" bean="#{documentSearchRefactored}" />
<h:form>
<cpi:bankMenuSearchDetails id="bankMenu1" />
<h:outputText value="#{messages.bankOrderBy} " rendered="#{documentSearchRefactored.pageManager.resultSize > 0}" />
<h:selectOneMenu rendered="${documentSearchRefactored.pageManager.resultSize gt 0}"
id="orderBy" value="#{documentSearchRefactored.pageManager.ordering}" accesskey="U">
<f:selectItem itemLabel="Autore" itemValue="authorDescriptionOrderBy" />
<f:selectItem itemLabel="Titolo" itemValue="responsabilityTitleAreaOrderBy" />
<f:selectItem itemLabel="Data" itemValue="firstPublicationDateOrderBy" />
<f:selectItem itemLabel="Tipo Natura" itemValue="typeNatureOrderBy" />
<f:selectItem itemLabel="Tipo Materiale" itemValue="typeRecordOrderBy" />
</h:selectOneMenu>
<h:commandButton value=" #{messages.bankOrder}"
action="#{documentSearchRefactored.pageManager.orderBy}"
accesskey="X"
onkeypress=""
rendered="${documentSearchRefactored.pageManager.resultSize gt 0}"/>
</h:form>
<a4j:outputPanel id="resultsTable">
<cpi:resultsNavigation id="pnav3" querybean="#{documentSearchRefactored.pageManager}"
titlefound="#{documentSearchRefactored.pageManager.resultSize} #{messages.srcDocYesFound}"
titlednuof="#{messages.srcDocNoFound}" showBLabel="#{messages.view}"
pagResLabel="#{messages.srcDocPageSize}" pagLabel="#{messages.srcDocGoPage}"
limitInc="10" limitMax="30">
<a4j:form>
<h:dataTable id="documentResult" rowClasses="riga-chiara,riga-scura"
styleClass="table-risultati" value="#{documentGlobalResults}" var="doc"
headerClass="documentDescription" summary="Risultati ricerca.">
<h:column>
<f:facet name="header">
<h:outputText value="#{messages.numberHeader}" />
</f:facet>
<h:commandLink
value="#{documentGlobalResults.rowIndex+1+((documentSearchRefactored.pageManager.page-1)*documentSearchRefactored.pageManager.pageSize)}"
styleClass="linkDetailRownum"
accesskey="#{documentGlobalResults.rowIndex lt 10 ? (documentGlobalResults.rowIndex+1)%10 : ''}"
onkeypress=""
action="#{documentSearchRefactored.showDetails(doc)}" />
</h:column>
<h:column>
<f:facet name="header">
<h:commandLink
action="#{documentSearchRefactored.checkAll}"
accesskey="V"
onkeypress=""
reRender="resultsTable" >
</h:commandLink>
</f:facet>
<h:selectBooleanCheckbox
title="request"
value="#{documentSearchRefactored.selectionMap[doc]}"
onclick="javascript:catchEvent4(#{doc.id})"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{messages.bankSearchHeader}" />
</f:facet>
<h:outputText
value="[#{doc.typeNature.codeSBN}] #{doc.typeRecord.description}" />
<h:outputText value=" - #{doc.authorDescription}"
rendered="#{doc.authorDescription != null and doc.authorDescription != ''}" />
<h:outputText value=" - " />
<h:commandLink
styleClass="linkDetailTitle"
value="#{doc.responsabilityTitleArea}"
onkeypress=""
action="#{documentSearchRefactored.showDetails(doc)}" />
<h:outputText value=" - #{doc.editionArea}"
rendered="#{doc.editionArea != null and doc.editionArea != ''}" />
<h:outputText value=" - #{doc.publicationArea}"
rendered="#{doc.publicationArea != null and doc.publicationArea != ''}" />
<h:outputText value=" - #{doc.physicalDescriptionArea}"
rendered="#{doc.physicalDescriptionArea != null and doc.physicalDescriptionArea != ''}" />
<a4j:outputPanel rendered="#{doc.noteArea != null and doc.noteArea != ''}">
<h:outputText value=" - " />
<h:outputText value="#{doc.noteArea}" styleClass="yellow"
rendered="#{doc.braille}" />
<h:outputText value="#{doc.noteArea}"
rendered="#{not doc.braille}" />
</a4j:outputPanel>
</h:column>
</h:dataTable>
</a4j:form>
</cpi:resultsNavigation>
<h:messages globalOnly="true" />
</a4j:outputPanel>
</ui:define>
</ui:composition>
This is another page that don't work:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:cpi="politecnicoInnovazione"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:a="https://ajax4jsf.dev.java.net/ajax"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<ui:composition template="/private/templates/bankSimpleTemplate.xhtml">
<ui:define name="content">
<h2>
<h:outputText value="#{document.responsabilityTitleArea}" />
</h2>
<h:form id="detailsForm">
<h:panelGrid columns="3" cellspacing="0" cellpadding="0" border="0">
<h:panelGroup>
<h:outputText
value="#{messages.physicalItemCountPhysicalItem}: " />
<h:outputText
value="#{documentDetails.physicalItemCount}" />
</h:panelGroup>
<h:panelGroup>
<h:outputText
value="#{messages.physicalItemCountAvailablePhysicalItem}: " />
<h:outputText
value="#{documentDetails.physicalItemAvailable}" />
</h:panelGroup>
<a:commandLink
value="#{messages.documentDetails}"
action="#{documentSearchRefactored.showDetailsSingle(document.id)}" />
<h:outputLabel value="#{messages.physicalItemLibrary}" for="librarySelect" />
<h:panelGroup>
<h:selectOneMenu id="librarySelect" value="#{physicalItemSearchBank.library}">
<s:selectItems value="#{libraryNameList}" var="libn" label="#{libn.name}" noSelectionLabel=""/>
<s:convertEntity />
</h:selectOneMenu>
<h:commandButton value="vai" action="#{physicalItemSearchBank.find()}" />
</h:panelGroup>
<h:panelGroup>
</h:panelGroup>
</h:panelGrid>
</h:form>
<cpi:libraryInfoModalPanel />
<a4j:outputPanel id="resultsTable">
<cpi:resultsNavigation id="componentPhysicalItemsNav"
querybean="#{physicalItemSearchBank}"
titlefound="#{physicalItemSearchBank.resultSize} #{messages.physicalItem_Founded}"
titlednuof="#{messages.physicalItem_NoFounded}" showBLabel="#{messages.comp_nav_show}"
pagResLabel="#{messages.comp_nav_resultForPage} " pagLabel="#{messages.comp_nav_goToPag}"
limitInc="{messages.comp_limitInc}" limitMax="{messages.comp_limitMax}">
<h:form>
<h:dataTable id="tablePhysicalItem"
rowClasses="riga-chiara,riga-scura" styleClass="table-risultati"
value="#{physicalItemResults}" var="selectedPI">
<h:column>
<h:outputText
value="#{physicalItemResults.rowIndex+1+((physicalItemSearchBank.page-1)*physicalItemSearchBank.pageSize)}" />
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemLibrary}"
action="#{physicalItemSearchBank.orderBy('libraryOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<a4j:commandLink type="button"
styleClass=""
action="#{libraryInfoManager.setLibraryById(selectedPI.library.id)}"
value="#{selectedPI.library.name}"
oncomplete="javascript:Richfaces.showModalPanel('libraryInfoModalPanel')"
reRender="libraryInfoModalPanelForm"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemId}"
action="#{physicalItemSearchBank.orderBy('physicalItemOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<a4j:commandLink value="#{selectedPI.code}"
action="#{bankPhysicalItemMng.showDetails(selectedPI.id, 'documentSearchPhysicalItemResults')}" />
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemSignature}"
action="#{physicalItemSearchBank.orderBy('signatureOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.signature}"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemYear}"
action="#{physicalItemSearchBank.orderBy('yearOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.year}"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemCategory}"
action="#{physicalItemSearchBank.orderBy('categoryOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.category.description}"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemAvailability}"
action="#{physicalItemSearchBank.orderBy('availabilityOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.availability.description}"/>
</h:column>
<h:column>
<a4j:commandLink value="#{messages.modify}"
action="#{bankPhysicalItemMng.edit(selectedPI)}"
rendered="#{selectedPI.library.id == librarian.library.id}"/>
</h:column>
</h:dataTable>
</h:form>
</cpi:resultsNavigation>
<h:messages globalOnly="true" />
<h:form id="bookForm">
<a4j:commandLink value="#{messages.physicalItemBookingNow}"
action="#{movementManager.chooseLibraryBank(document, physicalItemSearchBank.library)}"
rendered="#{physicalItemSearchBank.resultSize > 0}"/>
</h:form>
</a4j:outputPanel>
</ui:define>
</ui:composition>
and this is the page corrected:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:cpi="politecnicoInnovazione"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:a="https://ajax4jsf.dev.java.net/ajax"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<ui:composition template="/private/templates/bankSimpleTemplate.xhtml">
<ui:define name="content">
<h2>
<h:outputText value="#{document.responsabilityTitleArea}" />
</h2>
<h:form id="detailsForm">
<h:panelGrid columns="3" cellspacing="0" cellpadding="0" border="0">
<h:panelGroup>
<h:outputText
value="#{messages.physicalItemCountPhysicalItem}: " />
<h:outputText
value="#{documentDetails.physicalItemCount}" />
</h:panelGroup>
<h:panelGroup>
<h:outputText
value="#{messages.physicalItemCountAvailablePhysicalItem}: " />
<h:outputText
value="#{documentDetails.physicalItemAvailable}" />
</h:panelGroup>
<a:commandLink
value="#{messages.documentDetails}"
action="#{documentSearchRefactored.showDetailsSingle(document.id)}" />
<h:outputLabel value="#{messages.physicalItemLibrary}" for="librarySelect" />
<h:panelGroup>
<h:selectOneMenu id="librarySelect" value="#{physicalItemSearchBank.library}">
<s:selectItems value="#{libraryNameList}" var="libn" label="#{libn.name}" noSelectionLabel=""/>
<s:convertEntity />
</h:selectOneMenu>
<h:commandButton value="vai" action="#{physicalItemSearchBank.find()}" />
</h:panelGroup>
<h:panelGroup>
</h:panelGroup>
</h:panelGrid>
</h:form>
<cpi:libraryInfoModalPanel />
<a4j:outputPanel id="resultsTable">
<cpi:resultsNavigation id="componentPhysicalItemsNav"
querybean="#{physicalItemSearchBank}"
titlefound="#{physicalItemSearchBank.resultSize} #{messages.physicalItem_Founded}"
titlednuof="#{messages.physicalItem_NoFounded}" showBLabel="#{messages.comp_nav_show}"
pagResLabel="#{messages.comp_nav_resultForPage} " pagLabel="#{messages.comp_nav_goToPag}"
limitInc="{messages.comp_limitInc}" limitMax="{messages.comp_limitMax}">
<a4j:form>
<h:dataTable id="tablePhysicalItem"
rowClasses="riga-chiara,riga-scura" styleClass="table-risultati"
value="#{physicalItemResults}" var="selectedPI">
<h:column>
<h:outputText
value="#{physicalItemResults.rowIndex+1+((physicalItemSearchBank.page-1)*physicalItemSearchBank.pageSize)}" />
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemLibrary}"
action="#{physicalItemSearchBank.orderBy('libraryOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<a4j:commandLink type="button"
styleClass=""
action="#{libraryInfoManager.setLibraryById(selectedPI.library.id)}"
value="#{selectedPI.library.name}"
oncomplete="javascript:Richfaces.showModalPanel('libraryInfoModalPanel')"
reRender="libraryInfoModalPanelForm"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemId}"
action="#{physicalItemSearchBank.orderBy('physicalItemOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<a4j:commandLink value="#{selectedPI.code}"
action="#{bankPhysicalItemMng.showDetails(selectedPI.id, 'documentSearchPhysicalItemResults')}" />
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemSignature}"
action="#{physicalItemSearchBank.orderBy('signatureOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.signature}"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemYear}"
action="#{physicalItemSearchBank.orderBy('yearOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.year}"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemCategory}"
action="#{physicalItemSearchBank.orderBy('categoryOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.category.description}"/>
</h:column>
<h:column>
<f:facet name="header">
<a4j:commandLink value="#{messages.physicalItemAvailability}"
action="#{physicalItemSearchBank.orderBy('availabilityOrderBy')}"
reRender="resultsTable"/>
</f:facet>
<h:outputText value="#{selectedPI.availability.description}"/>
</h:column>
<h:column>
<h:commandLink value="#{messages.modify}"
action="#{bankPhysicalItemMng.edit(selectedPI)}"
rendered="#{selectedPI.library.id == librarian.library.id}"/>
</h:column>
</h:dataTable>
</a4j:form>
</cpi:resultsNavigation>
<h:messages globalOnly="true" />
<h:form id="bookForm">
<a4j:commandLink value="#{messages.physicalItemBookingNow}"
action="#{movementManager.chooseLibraryBank(document, physicalItemSearchBank.library)}"
rendered="#{physicalItemSearchBank.resultSize > 0}"/>
</h:form>
</a4j:outputPanel>
</ui:define>
</ui:composition> -
10. Re: IE7 permission denied?
ilya_shaikovsky Jul 7, 2008 5:07 AM (in response to edbras1)could you please check latest 3.1.6 GA inste3ad of this old version?
-
11. Re: IE7 permission denied?
ilya_shaikovsky Jul 7, 2008 5:07 AM (in response to edbras1)could you please check latest 3.1.6 GA inste3ad of this old version?
-
12. Re: IE7 permission denied?
ilya_shaikovsky Jul 7, 2008 5:08 AM (in response to edbras1)and b.t.w. under JSF 1.2 you could freelly use even newest version 3.2.1 GA with new cmoponents and features introduced.
-
13. Re: IE7 permission denied?
luca.preziati Jul 7, 2008 10:46 AM (in response to edbras1)I will try under 3.1.6 and 3.2.1GA and tomorrow I will report you the result.
-
14. Re: IE7 permission denied?
martinjozef Jul 7, 2008 11:01 AM (in response to edbras1)In my case i have upgraded our RichFaces to 3.2.0.SR1,
3.2.1+ and 3.1.6 and 3.1.7-snaphot does not work with MyFaces 1.2.3
Nevertheless, the upgrade fixed the IE7 issue