aspose file tools*
The moose likes JSF and the fly likes HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE" Watch "HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE" New topic
Author

HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE

kvvv chowdary
Greenhorn

Joined: Nov 29, 2011
Posts: 3
PLEASE REPLY


<f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ice="http://www.icesoft.com/icefaces/component">

<html>
<head>
<title>Clarify Issue Log</title>
<meta http-equiv="refresh" content="30" />
</head>
<body>
<link rel="stylesheet" type="text/css" href="xp/xp.css" />
<link rel="stylesheet" type="text/css" href="xp/iQ.css" />

<a href="http://iqportal.int.bell.ca/index.php/Main_Page">
<img border="0" src="graphics/IQTeam_white.gif" style="position: absolute; left: 5px; top: 0px;" alt="IQTeam logo"></img>
</a>
<div style="position: absolute; right: 20px; top: 10px;"><font
style="font-family: Times New Roman, Helvetica, sans-serif; font-style:italic; font-size: 18pt; font-weight: bold; color: black">
Clarify Issue Log </font></div>
<br/>
<br/>
<br/>
<hr color="#0000A0" width="100%" align="left" style="position: absolute; top: 39px;"></hr>

<ice:form rendered="#{backingBean.clarifyUserBean.hasPortfolios}">

<div>
<iceutputText style="position: absolute; left: 5px; top: 50px;" value="Ticket(s)#"/>
<ice:inputText style="position: absolute; left: 70px; top: 50px;" value="#{backingBean.ticketsToSearchFor}" />
<ice:commandButton style="position: absolute; left: 225px; top: 45px;" image="images/new_search_button.gif" action="#{backingBean.searchForTicket}" />
</div>

<!-- toolbar -->
<div style="position: absolute; right: 20px; top: 50px;">
<ice:commandButton alt="Create a new Ticket" image="images/new_ticket_sm.gif" action="#{newTicket.viewAddTicketForm}" />
<ice:commandButton alt="Save Changes to a Ticket" image="images/save.gif" action="#{backingBean.updateIQTicket}" />
<ice:commandButton alt="Toggle Ticket Filter" image="images/funnel.gif" action="#{backingBean.toggleTicketFilter}" />
<ice:commandButton alt="Refresh From Clarify" image="images/refresh.gif" action="#{backingBean.populateListFromClarify}" />
<ice:commandLink actionListener="#{backingBean.exportExcelListener}"><img border="0" src="images/excel_export.gif" alt="Export to Excel"></img></ice:commandLink>


<a href="http://iqportal.int.bell.ca/index.php/Main_Page" target="_blank">
<img border="0" src="images/globe.gif" alt="Optimization Portal"></img>
</a>
<a href="mailtoptimizationcentre@bell.ca">
<img border="0" src="images/email.gif" alt="Email the Optimization Team"></img>
</a>
<a href="http://iqportal.int.bell.ca/index.php/Clarify_Issue_Log_User%27s_Guide" target="_blank">
<img border="0" src="images/help.gif" alt="View the User Manual from the Optimization Wiki"></img>
</a>
<ice:selectOneMenu id="ticketVisibility"
required="true"
value="#{backingBean.visibility}"
partialSubmit="true"
valueChangeListener="#{backingBean.changeVisibility}">

<f:selectItems value="#{backingBean.clarifyUserBean.visibilitySelectItems}" />
</ice:selectOneMenu>
</div>

</ice:form>

<ice:form id="ticketData" rendered="#{backingBean.clarifyUserBean.hasPortfolios}">

<f:loadBundle basename="ca.bell.iq.clarify.Config" var="config" />

<br/><br/>

<ice:panelGrid id="ticketFilter"
style="border: 2px outset #D3D3D3; border-collapse: collapse; position: relative; left: 45px;"
columns="8"
visible="#{backingBean.showTicketFilter}">

<iceutputText value="Test Manager"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.tm}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.testManagerList}" />
</ice:selectOneMenu>

<iceutputText value="Priority"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.priority}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.priorityList}" />
</ice:selectOneMenu>

<iceutputText value="Release"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.release}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.releaseList}" />
</ice:selectOneMenu>

<iceutputText value="Location"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.testLocation}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.locationList}" />
</ice:selectOneMenu>

<iceutputText value="Project"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.projectNameId}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.projectList}" />
</ice:selectOneMenu>

<iceutputText value="Amdocs Status"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.acmsStatus}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.acmsStatusList}" />
</ice:selectOneMenu>

<iceutputText value="Amdocs Cond"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.acmsCondition}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.acmsConditionList}" />
</ice:selectOneMenu>

<iceutputText value="TT Status"/>
<ice:selectOneMenu style="width: 152px; font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;"
required="false"
value="#{backingBean.filter.iqStatus}"
partialSubmit="false">
<f:selectItems value="#{backingBean.dynamicList.ttStatusList}" />
</ice:selectOneMenu>

<ice:commandButton image="images/filter2_button.gif" action="#{backingBean.filterList}" />
<ice:commandButton image="images/reset_button.gif" action="#{backingBean.resetSearchFilters}" />

</ice:panelGrid>

<br/>

<ice:dataTable
id="ticketsDataTable"
rows="5"
var="detail"
value="#{backingBean.list}"
sortColumn="#{backingBean.sort}"
sortAscending="#{backingBean.ascending}"
>
<ice:column>
<ice:rowSelector value="#{detail.selected}"
selectedClass="highlightRow"
selectionListener="#{backingBean.rowSelection}"
/>
<f:facet name="header">
<ice:commandSortHeader columnName="ticketNumberColumn" arrow="true">
<iceutputText style="width: 50px;" value="Ticket#" />
</ice:commandSortHeader>
</f:facet>
<iceutputLink target="_blank" style="width: 50px;" value="#{backingBean.clarifyURL}#{detail.ticketNumber}">
<iceutputText value="#{detail.ticketNumber}" />
</iceutputLink>
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="creationDateColumn" arrow="true">
<iceutputText style="width: 75px;" value="Creation Date" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 75px;" value="#{detail.creationDate}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="priorityColumn" arrow="true">
<iceutputText style="width: 40px;" value="Priority" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.priority}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="releaseColumn" arrow="true">
<iceutputText style="width: 50px;" value="Release" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.release}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="locationColumn" arrow="true">
<iceutputText style="width: 50px;" value="Location" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.testLocation}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="projectColumn" arrow="true">
<iceutputText style="width: 125x;" value="Project" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 125px;" value="#{detail.projectNameId}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="subjectColumn" arrow="true">
<iceutputText style="width: 250px;" value="Subject" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 250px;" value="#{detail.subject}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="acmsStatusColumn" arrow="true">
<iceutputText style="width: 50px;" value="Amdocs Status" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.acmsStatus}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="acmsConditionColumn" arrow="true">
<iceutputText style="width: 50px;" value="Amdocs Cond"/>
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.acmsCondition}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="ttStatusColumn" arrow="true">
<iceutputText style="width: 50px;" value="TT Status" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.iqStatus}" />
</ice:column>

<ice:column>
<f:facet name="header">
<ice:commandSortHeader columnName="requestorColumn" arrow="true">
<iceutputText style="width: 50px;" value="Requestor" />
</ice:commandSortHeader>
</f:facet>
<iceutputText style="width: 50px;" value="#{detail.requestorName}" />
</ice:column>

</ice:dataTable>

<ice:panelBorder width="100%"
renderWest="true"
renderEast="true">
<f:facet name="west">
<ice:dataPaginator id="scroll_1"
for="ticketsDataTable"
fastStep="5"
pageCountVar="pageCount"
pageIndexVar="pageIndex"
paginator="true"
paginatorMaxPages="9"
>


<f:facet name="first" >
<ice:graphicImage url="xp/css-images/arrow-first.gif" style="border:none;"/>
</f:facet>

<f:facet name="last">
<ice:graphicImage url="xp/css-images/arrow-last.gif" style="border:none;" />
</f:facet>

<f:facet name="previous">
<ice:graphicImage url="xp/css-images/arrow-previous.gif" style="border:none;" />
</f:facet>

<f:facet name="next">
<ice:graphicImage url="xp/css-images/arrow-next.gif" style="border:none;" />
</f:facet>
</ice:dataPaginator>
</f:facet>
<f:facet name="east">
<span style="position: absolute; right: 20px; font-family: Arial, Helvetica, sans-serif; font-style: italic; font-size: 8pt; font-weight: bold; color: #0000A0">
<iceutputText value="#{backingBean.listSize} of #{backingBean.visibilityFilterListSize}" />
</span>
</f:facet>
</ice:panelBorder>

</ice:form>

<ice:form rendered="#{backingBean.clarifyUserBean.hasPortfolios}">

<ice:panelGroup>

<ice:panelTabSet style="width: 100%;">

<ice:panelTab id="details" label="Details" rendered="true" >

<h:panelGrid columns="8">
<iceutputText value="" styleClass="Fields"/>
<iceutputText value="" styleClass="Fields"/>
<iceutputText value="" styleClass="Fields"/>
<ice:commandButton image="images/save_changes_sm.gif" id="saveChanges" value="Save Changes" action="#{backingBean.updateIQTicket}" style=""/>
<ice:commandButton image="images/close_ticket_sm.gif" id="closeTicket" value="Close Ticket" action="#{backingBean.openCloseTicketForm}" style=""/>
<iceutputText value="" styleClass="Fields"/>
<iceutputText value="" styleClass="Fields"/>
<iceutputText value="" styleClass="Fields"/>
</h:panelGrid>

<h:panelGrid columns="8">
<hutputText value="Priority" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.priority}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Release" styleClass="iQEditableFields"/>
<ice:selectOneMenu styleClass="InputFields"
value="#{backingBean.currentRecord.release}"
partialSubmit="true"
valueChangeListener="#{backingBean.changeRelease}">
<f:selectItems value="#{backingBean.dynamicList.releaseList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Test Location" styleClass="iQEditableFields"/>
<ice:selectOneMenu styleClass="InputFields"
value="#{backingBean.currentRecord.testLocation}"
partialSubmit="true"
valueChangeListener="#{backingBean.changeLocation}">
<f:selectItems value="#{backingBean.dynamicList.locationList}" />
</ice:selectOneMenu>

<iceutputText value="Project" styleClass="iQEditableFields"/>
<ice:selectOneMenu styleClass="InputFields"
value="#{backingBean.currentRecord.projectNameId}"
partialSubmit="true"
valueChangeListener="#{backingBean.changeProject}">
<f:selectItems value="#{backingBean.dynamicList.projectList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Test Team Status" styleClass="iQEditableFields"/>
<ice:selectOneMenu styleClass="InputFields"
value="#{backingBean.currentRecord.iqStatus}"
partialSubmit="true"
valueChangeListener="#{backingBean.changeTestTeamStatus}">
<f:selectItems value="#{backingBean.dynamicList.ttStatusList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Requestor" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.requestorName}" />

<iceutputText value="Test Manager" styleClass="iQEditableFields"/>
<ice:selectOneMenu styleClass="InputFields"
value="#{backingBean.currentRecord.tm}"
partialSubmit="true"
valueChangeListener="#{backingBean.changeTestManager}">
<f:selectItems value="#{backingBean.dynamicList.testManagerList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="# TCs Affected" styleClass="iQEditableFields"/>
<ice:inputText styleClass="InputFields" value="#{backingBean.currentRecord.numberTcImpacted}" partialSubmit="true" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Prod Defect ID" styleClass="iQEditableFields"/>
<ice:inputText styleClass="InputFields" value="#{backingBean.currentRecord.prodDefectId}" partialSubmit="true" />

<iceutputText value="Amdocs Status" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.acmsStatus}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Amdocs Cond" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.acmsCondition}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Owner" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.owner}" />

<iceutputText value="Work Group" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.workGroup}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Environment" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.environmentNumber}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Platform" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.platform}" />

<iceutputText value="Application" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.applicationAffected}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Request Type" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.requestType}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Resolution Code" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.resolutionCode}" />

<iceutputText value="Resolved Date" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.resolutionDate}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Resolution Time" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.resolutionTime}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="NT User ID" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.loginId}" />

<iceutputText value="Portfolio" styleClass="Fields"/>
<ice:inputText styleClass="InputFields" readonly="true" value="#{backingBean.currentRecord.portfolio}" />
<ice:graphicImage url="images/space.gif" />
</h:panelGrid>

</ice:panelTab>

<ice:panelTab id="tmComments" label="TM Comments">
<ice:inputTextarea rows="10" cols="150" value="#{backingBean.currentRecord.tmComment}" partialSubmit="true"></ice:inputTextarea>
</ice:panelTab>

<ice:panelTab id="logNotes" label="Clarify Log Notes">
<ice:panelGrid columns="2">

<f:facet name="header">
<ice:commandButton image="images/send_to_amdocs.gif" id="sendMail" value="Send Log Note to AMDOCS"
action="#{backingBean.openSendLogNoteForm}" style=""/>
</f:facet>

<ice:dataTable
id="logNotesTable"
scrollHeight="300"
scrollable="false"
var="logNote"
value="#{backingBean.logNoteList}"
>
<ice:column>
<f:facet name="header">
<iceutputText value="Date" />
</f:facet>
<iceutputText value="#{logNote.date}" />
</ice:column>

<ice:column>
<f:facet name="header">
<iceutputText value="Note" />
</f:facet>
<iceutputText escape="false" value="#{logNote.text}" />
</ice:column>

</ice:dataTable>

</ice:panelGrid>

</ice:panelTab>

</ice:panelTabSet>

</ice:panelGroup>

</ice:form>

<!-- New Ticket Start -->
<ice:panelPopup styleClass="panelPopup"
modal="true"
rendered="#{newTicket.showAddTicketForm}"
visible="true"
style="z-index:999; top: 2px; left: 15px; width: 950px; height: 400px; position:absolute; background: #FFFFFF;">

<f:facet name="header">
<h:form>
<h:panelGrid id="addTicketPopUp" width="950px" cellpadding="0" cellspacing="0" columns="3" columnClasses="popupIcon,popupTitle,popupButton">
<hutputText styleClass="Headings" value="Add a Ticket"/>
</h:panelGrid>
</h:form>
</f:facet>

<f:facet name="body">

<ice:panelGroup id="page1">
<ice:form id="newTicketForm">

<ice:panelGrid columns="8">

<iceutputText value="Portfolio" styleClass="RequiredFields"/>
<ice:selectOneMenu styleClass="InputFields"
required="true"
value="#{newTicket.clarifyDetail.portfolio}"
partialSubmit="true"
valueChangeListener="#{newTicket.changePortfolio}">

<f:selectItems value="#{newTicket.clarifyUserBean.portfolioSelectItemsNewTicket}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Requestor" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketRequestorName" />
</iceutputText>
<ice:inputText styleClass="InputFields" id="newTicketRequestorName" required="true" readonly="false" maxlength="30" value="#{newTicket.clarifyDetail.requestorName}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Requestor Email" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketRequestorEmail" />
</iceutputText>
<ice:inputText styleClass="InputFields" id="newTicketRequestorEmail" required="true" readonly="false" maxlength="60" value="#{newTicket.clarifyDetail.requestorEmail}" />

<iceutputText value="CC Email Address" styleClass="RequiredFields"/>
<ice:inputText styleClass="InputFields" id="newTicketCcEmailAddresses" required="true" readonly="false" partialSubmit="true" maxlength="512" value="#{newTicket.clarifyDetail.ccEmailAddresses}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Requestor Phone" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketRequestorPhone" />
</iceutputText>
<ice:inputText styleClass="InputFields" id="newTicketRequestorPhone" required="true" readonly="false" maxlength="30" value="#{newTicket.clarifyDetail.requestorTelephoneNumber}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Alternate Contact Name and/or Number" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketAlternateContact"/>
</iceutputText>
<ice:inputText styleClass="InputFields" id="newTicketAlternateContact" required="true" readonly="false" maxlength="100" value="#{newTicket.clarifyDetail.alternateContactNameNumber}" />

<iceutputText value="Number Affected" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketNumAffected"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketNumAffected"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.numberAffectedEmployees}"
>
<f:selectItems value="#{newTicket.dynamicList.numOfAffectedEmployeesList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Employee Location/City" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketEmployeeLocation"/>
</iceutputText>
<ice:inputText styleClass="InputFields" id="newTicketEmployeeLocation" required="true" readonly="false" maxlength="60" value="#{newTicket.clarifyDetail.employeeLocation}" />
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Request Type" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketRequestType"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketRequestType"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.requestType}"
>
<f:selectItems value="#{newTicket.dynamicList.requestTypeList}" />
</ice:selectOneMenu>

<iceutputText value="Platform" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketPlatform"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketPlatform"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.platform}"
>
<f:selectItems value="#{newTicket.dynamicList.platformList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Release" styleClass="RequiredFields"/>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketRelease"
partialSubmit="true"
valueChangeListener="#{newTicket.formatSubjectChange}"
value="#{newTicket.clarifyDetail.release}"
>
<f:selectItems value="#{newTicket.dynamicList.releaseList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Environment" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketEnvironment"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketEnvironment"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.environment}"
>
<f:selectItems value="#{newTicket.dynamicList.environmentList}" />
</ice:selectOneMenu>

<iceutputText value="Environment#" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketEnvironmentNumber"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketEnvironmentNumber"
required="true"
partialSubmit="true"
valueChangeListener="#{newTicket.formatSubjectChange}"
value="#{newTicket.clarifyDetail.environmentNumber}"
>
<f:selectItems value="#{newTicket.dynamicList.environmentNumberList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Application" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketApplication"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketApplication"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.applicationAffected}"
>
<f:selectItems value="#{newTicket.dynamicList.applicationAffectedList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<iceutputText value="Priority" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketPriority"/>
</iceutputText>
<ice:selectOneMenu
styleClass="InputFields"
id="newTicketPriority"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.priority}"
>
<f:selectItems value="#{newTicket.dynamicList.selectPriorityList}" />
</ice:selectOneMenu>

<h:panelGrid columns="1">
<iceutputText value="Subject" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketSubject"/>
</iceutputText>
<ice:graphicImage url="images/space.gif" />
</h:panelGrid>
<h:panelGrid columns="1">
<ice:inputText styleClass="InputFields" id="newTicketSubject" required="true" maxlength="150" partialSubmit="true" readonly="#{newTicket.subjectChecked}" value="#{newTicket.clarifyDetail.subject}" />
<h:panelGrid columns="2">
<iceutputText value="Format Subject" styleClass="Fields" />
<ice:selectBooleanCheckbox id="NM1SubjectHeading" partialSubmit="true" value="#{newTicket.subjectChecked}" valueChangeListener="#{newTicket.formatSubject}" />
</h:panelGrid>
</h:panelGrid>
<ice:graphicImage url="images/space.gif" />


<iceutputText value="General Description" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketGeneralDescription"/>
</iceutputText>
<ice:inputTextarea styleClass="textAreaStyleNewTicket" id="newTicketGeneralDescription" required="true" rows="4" cols="25" readonly="false" value="#{newTicket.clarifyDetail.generalDescription}" />
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="System Error Message" styleClass="Fields"/>
<ice:inputTextarea styleClass="textAreaStyleNewTicket" rows="4" cols="25" readonly="false" value="#{newTicket.clarifyDetail.systemErrorMessage}" />

<ice:outputText value="Recreate Problem - Step by Step" styleClass="Fields"/>
<ice:inputTextarea styleClass="textAreaStyleNewTicket" rows="4" cols="25" readonly="false" value="#{newTicket.clarifyDetail.problemStepByStep}" />
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="Affected Accounts" styleClass="Fields"/>
<ice:inputTextarea styleClass="textAreaStyleNewTicket" rows="4" cols="25" readonly="false" value="#{newTicket.clarifyDetail.affectedAccounts}" />
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="Test Location" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketTestLocation"/>
</ice:outputText>
<ice:selectOneMenu id="newTicketTestLocation"
styleClass="InputFields"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.testLocation}">
<f:selectItems value="#{newTicket.dynamicList.locationList}" />
</ice:selectOneMenu>

<ice:outputText value="Project Name" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketProject"/>
</ice:outputText>
<ice:selectOneMenu id="newTicketProject"
styleClass="InputFields"
required="true"
partialSubmit="true"
valueChangeListener="#{newTicket.formatSubjectChange}"
value="#{newTicket.clarifyDetail.projectNameId}">
<f:selectItems value="#{newTicket.dynamicList.projectList}" />
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="Test Manager" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketTestManager"/>
</ice:outputText>
<ice:selectOneMenu id="newTicketTestManager"
styleClass="InputFields"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.tm}">
<f:selectItems value="#{newTicket.dynamicList.testManagerList}"/>
</ice:selectOneMenu>
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="TT Status" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketTTStatus"/>
</ice:outputText>
<ice:selectOneMenu id="newTicketTTStatus"
styleClass="InputFields"
required="true"
partialSubmit="true"
value="#{newTicket.clarifyDetail.iqStatus}">
<f:selectItems value="#{newTicket.dynamicList.ttStatusList}" />
</ice:selectOneMenu>

<ice:outputText value="# TCS Affected" styleClass="RequiredFields">
<h:message style="color: #FF0000" for="newTicketTCSAffected"/>
</ice:outputText>
<ice:inputText id="newTicketTCSAffected" styleClass="InputFields" readonly="false" maxlength="10" required="true" value="#{newTicket.clarifyDetail.numberTcImpacted}">
<f:validateLongRange maximum="9999" minimum="0" />
</ice:inputText>
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="Prod Defect ID" styleClass="iQEditableFields" />
<ice:inputText styleClass="InputFields" readonly="false" maxlength="10" value="#{newTicket.clarifyDetail.prodDefectId}" />
<ice:graphicImage url="images/space.gif" />

<ice:outputText value="TM Comments" styleClass="iQEditableFields"/>
<ice:inputTextarea rows="4" cols="25" styleClass="textAreaStyleNewTicket" readonly="false" value="#{newTicket.clarifyDetail.tmComment}" />
</ice:panelGrid>

<ice:panelGrid columns="3">
<ice:outputText value="Screen Shot"/>
<ice:inputFile style="border:none; width:400px;" actionListener="#{newTicket.attachScreenShot}"/>
<ice:outputText value="Current File: #{newTicket.screenShotFilename}"/>
</ice:panelGrid>

<ice:panelGrid columns="2">
<ice:commandButton image="images/add_button.gif" id="addTicket" action="#{newTicket.submit}" value="Add"/>
<ice:commandButton immediate="true" image="images/close_button.gif" id="closeModal" action="#{newTicket.closeAddTicketForm}" value="Close"/>
</ice:panelGrid>
</ice:form>
</ice:panelGroup>

</f:facet>

</ice:panelPopup>
<!-- New Ticket End -->

<ice:panelPopup styleClass="panelPopup"
modal="true"
rendered="#{newTicket.showTicketAdded}"
visible="true"
style="z-index:999; top: 50px; left: 200px; width: 250px; height: 200px; position:absolute; background: #FFFFFF;">

<f:facet name="header">
<h:form>
<h:panelGrid id="showTicketNumber" width="100%" cellpadding="0" cellspacing="0" columns="3" columnClasses="popupIcon,popupTitle,popupButton">
<h:outputText styleClass="Fields" value="Ticket Added"/>
</h:panelGrid>
</h:form>
</f:facet>

<f:facet name="body">

<ice:panelGroup>
<ice:form id="ticketAddedDialog">
<ice:panelGrid columns="1">
<ice:outputText value="Ticket Number added is #{newTicket.clarifyDetail.ticketNumber}"/>
<ice:commandButton style="position: absolute; left: 95px; top: 425px;" image="images/close_button.gif" id="closeModal" action="#{newTicket.closeShowTicketAddedDialog}" value="Close"/>
</ice:panelGrid>
</ice:form>
</ice:panelGroup>

</f:facet>
</ice:panelPopup>

<ice:panelPopup styleClass="panelPopup"
modal="true"
rendered="#{backingBean.showSendLogNoteForm}"
visible="true"
style="z-index:999; top: 50px; left: 50px; width: 600px; height: 450px; position:absolute; background: #FFFFFF;">
<f:facet name="header">
<h:form>
<h:panelGrid id="sendLogNote" width="100%" cellpadding="0" cellspacing="0" columns="3" columnClasses="popupIcon,popupTitle,popupButton">
<h:outputText styleClass="Headings" value="Send Log Note to AMDOCS"/>
</h:panelGrid>
</h:form>
</f:facet>
<f:facet name="body">
<h:form>
<ice:panelGrid columns="2">
<h:outputText value="Ticket#" style="width:50px;" />
<h:outputText value="#{backingBean.sendLogNote.ticketNumber}" style="width:200px;" />

<h:outputText value="From" style="width:50px;" rendered="false" />
<ice:inputText styleClass="Fields" id="logNoteFrom" size="75" style="width:560px;" required="false" readonly="true" value="#{backingBean.sendLogNote.from}" rendered="false" />

<h:outputText value="To" style="width:50px;" rendered="false" />
<ice:inputText styleClass="Fields" id="logNoteTo" size="75" style="width:560px;" required="false" readonly="true" value="#{backingBean.sendLogNote.to}" rendered="false" />

<h:outputText value="CC" style="width:50px;" rendered="true" />
<!--<ice:inputText styleClass="Fields" id="logNoteCC" size="75" style="width:568px;" required="false" readonly="true" value="#{backingBean.sendLogNote.cc}" rendered="true" />-->
<ice:inputTextarea id="logNoteCC" rows="2" cols="113" styleClass="textAreaStyle" style="overflow: hidden;" readonly="false" value="#{backingBean.sendLogNote.cc}"></ice:inputTextarea>

<h:outputText value="Subject" style="width:50px;" />
<ice:inputTextarea id="logNoteSubject" rows="2" cols="113" styleClass="textAreaStyle" style="overflow: hidden;" readonly="true" value="#{backingBean.sendLogNote.subject}"></ice:inputTextarea>

<h:outputText value="Log Note" style="width:50px;" />
<ice:inputTextarea id="logNoteBody" rows="14" cols="110" styleClass="textAreaStyle" value="#{backingBean.sendLogNote.log}"></ice:inputTextarea>

<h:outputText value="Screen Shot" style="width:50px;" />
<ice:inputFile id="logNoteUpload" style="border:none; width:400px;" disabled="false" rendered="true" actionListener="#{backingBean.sendLogNote.attachScreenShot}" />

<h:outputText value="Screen Shot" style="width:50px;" />
<h:outputText value="#{backingBean.sendLogNote.screenShotFilename}" style="width:500px;" />

<h:outputText value="" style="width:50px;" />
<ice:panelGrid columns="2">
<ice:commandButton id="sendlogNote" image="images/send_log_note.gif" action="#{backingBean.submitSendLogNote}" disabled="#{backingBean.sendLogNoteNoAccessMsg}" />
<ice:commandButton id="closeSendlogNote" image="images/cancel.gif" action="#{backingBean.closeSendLogNoteForm}" />
</ice:panelGrid>

<h:outputText value="" style="width:50px;" />
<h:outputText value="Sorry, you do not have permission to send Log Note. Please contact Optimization team for access." style="width:500px; color: FF0000;" rendered="#{backingBean.sendLogNoteNoAccessMsg}" />

</ice:panelGrid>
</h:form>
</f:facet>
</ice:panelPopup>

<ice:panelPopup styleClass="panelPopup"
modal="true"
rendered="#{backingBean.sendLogNoteConfirmPopup}"
visible="true"
style="z-index:999; top: 150px; left: 150px; width: 175px; height: 100px; position:absolute; background: #FFFFFF;">
<f:facet name="header">
<h:form>
<h:panelGrid id="sendLogNoteConfirm" width="100%" cellpadding="0" cellspacing="0" columns="3" columnClasses="popupIcon,popupTitle,popupButton">
<h:outputText styleClass="Headings" value="Send Log Note to AMDOCS"/>
</h:panelGrid>
</h:form>
</f:facet>
<f:facet name="body">
<h:form style="">
<ice:panelGrid columns="1">
<center><h:outputText value="#{backingBean.sendLogNoteConfirmPopupMsg}" style="" /></center>
<center><ice:commandButton id="closeSendlogNoteConfirmPopup" value="OK" action="#{backingBean.closeSendLogNoteConfirmPopup}" /></center>
</ice:panelGrid>
</h:form>
</f:facet>
</ice:panelPopup>

<ice:panelPopup styleClass="panelPopup"
modal="true"
rendered="true"
visible="#{backingBean.showCloseTicketForm}"
style="z-index:999; top: 175px; left: 150px; width: 400px; height: 350px; position:absolute; background: #FFFFFF;">
<f:facet name="header">
<h:form>
<h:panelGrid id="closeTicket" width="100%" cellpadding="0" cellspacing="0" columns="3" columnClasses="popupIcon,popupTitle,popupButton">
<h:outputText styleClass="Headings" value="Close Ticket Confirmation"/>
</h:panelGrid>
</h:form>
</f:facet>
<f:facet name="body">
<h:form>
<ice:panelGrid columns="2">
<h:outputText value="Ticket#" style="width:50px;font-weight: bold;" />
<h:outputText value="#{backingBean.closeTicket.ticketNumber}" style="width:200px;" />

<h:outputText value="" style="width:50px;" />
<hr />

<h:outputText value="Close Type:" style="width:50px;font-weight: bold;" />
<h:selectOneRadio id="closeType" value="#{backingBean.closeTicket.closeType}" layout="pageDirection">
<f:selectItem itemLabel="Please close this ticket." itemValue="Please close this ticket." />
</h:selectOneRadio>

<h:outputText value="" style="width:50px;" />
<hr />

<h:outputText value="Additional Note (Optional):" style="width:50px;font-weight: bold;" />
<ice:inputTextarea id="logNoteBody" rows="10" cols="70" styleClass="textAreaStyle" value="#{backingBean.closeTicket.log}"></ice:inputTextarea>

<h:outputText value="" style="width:50px;" />
<hr />

<h:outputText value="Confirm Close:" style="width:50px;font-weight: bold;" />
<ice:panelGrid columns="2">
<ice:commandButton id="sendCloseTicket" image="images/yes.gif" action="#{backingBean.submitCloseTicket}" disabled="" />
<ice:commandButton id="closeCloseTicket" image="images/no.gif" action="#{backingBean.closeCloseTicketForm}" />
</ice:panelGrid>

</ice:panelGrid>
</h:form>
</f:facet>
</ice:panelPopup>

<ice:panelPopup styleClass="panelPopup"
modal="true"
rendered="#{newTicket.showNewTicketConfirmation}"
visible="true"
style="z-index:999; top: 150px; left: 150px; width: 175px; height: 100px; position:absolute; background: #FFFFFF;">
<f:facet name="header">
<h:form>
<h:panelGrid id="newTicketConfirmPopup" width="100%" cellpadding="0" cellspacing="0" columns="3" columnClasses="popupIcon,popupTitle,popupButton">
<h:outputText styleClass="Headings2" value="New Ticket Confirmation"/>
</h:panelGrid>
</h:form>
</f:facet>
<f:facet name="body">
<center>
<h:form style="">
<ice:panelGrid columns="1">
<h:outputText value="#{newTicket.newTicketStatus}" style="" />
<br />
<ice:outputLink target="_blank" value="#{backingBean.clarifyURL}#{newTicket.newTicketNumber}">
<ice:outputText style="color: blue" value="#{newTicket.newTicketAmdocLabel}#{newTicket.newTicketNumber}" />
</ice:outputLink>
<br />
<center><ice:commandButton id="closeNewTicketConfirmPopup" value="OK" action="#{newTicket.closeShowNewTicketConfirmation}" actionListener="#{backingBean.refreshList}" /></center>
</ice:panelGrid>
</h:form>
</center>
</f:facet>
</ice:panelPopup>

<ice:form rendered="#{!backingBean.clarifyUserBean.hasPortfolios}">
<h3 align="left">You do not have access to this application. Please make a request either through your manager or
the Optimization Team to allow access for your login id
<ice:outputText styleClass="loginIdForDeniedAccess" value="#{backingBean.loginId}"/>
</h3>
</ice:form>
</body>
</html>
</f:view>
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3742
    
  16
kvvv chowdary wrote:PLEASE REPLY

KeepItDown


Joanne
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE