<ui:composition 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/jsp/jstl/core"
xmlns:p="
http://primefaces.prime.com.tr/ui"
template="/templates/sampling.xhtml">
<ui:define name="title">
#{message['price.capture.title']}
</ui:define>
<ui:define name="header">
<ui:include src="/common/includes/header.xhtml" />
</ui:define>
<ui:define name="body">
<table width="100%" cellspacing="0" border="0" cellpadding="0">
<tr height="100%" valign="top">
<td width="100%" align="left" valign="top">
<div id="tabHelp1"><h:outputLink id="link3" value="#"
style="color:#ffffff;text-align:right;font-size:0.9em;text-decoration:none;">
<img
src="${facesContext.externalContext.requestContextPath}/resources/styles/smoothness/images/help_icon.gif"
style="margin-right: 3px; vertical-align: top; *vertical-align: middle;" />
<h:outputText value="Help" />
</h:outputLink></div>
<p:tabView widgetVar="tabViewVar"
style="text-align:left !important;" styleClass="tabHeader">
<p:tab title="#{message['buildsample.tab.title']}" id="tab3"
widgetVar="tab3" styleClass="summaryTab">
<div class="hspaceFix"><h:form id="summaryForm">
<div class="summaryClass">
<div class="hSpace"></div>
<div style="padding: 0px !important; text-align: left;">
<div class="breadCrumbsPriceEntry">
<div style="float: left; width: 400px;"><strong><h:outputText
value="Build New Sample" />
| <h:outputText value="PC Peripheral" /></strong></div>
<span class="contentRight" width="100%"> <h:outputLabel
for="subscriptions" value="Collection Month" /> <strong><h:outputLabel
id="subscriptions" value="February 2011" /></strong> |
<h:commandLink style="text-align:right;"
class="parentLink" actionListener="#{sampleBean.retreiveSampleNotes}">Note
<f:ajax execute="@this"
render="leftPanelForm:leftPanelAccordionTab"></f:ajax>
</h:commandLink> </span></div>
<div style="clear: both;"></div>
<p:layout
style="width:1002px;height:600px;position:relative;padding:0px !important;margin:0px;">
<p:layoutUnit position="left" width="400" resizable="true"
styleClass="2_col_layout;"
style="background-color:#e8e8e8;height:100%; padding:4px 0px 0px 0px; margin:0px;">
<h:form id="leftPanelForm">
<ui:include src="/sampling/UC43_left_panel_accordion.xhtml" />
</h:form>
</p:layoutUnit>
<p:layoutUnit position="center" styleClass="centerPanel_2c">
<p:growl id="growl" showDetail="true" style="font-size: 8px;" width="50" height="50"/>
<div class="floatContainer">
<div class="leftBox"><strong><h:outputText
value="Sample Details" /></strong></div>
<div class="rightBox">
<h:outputLink id="linkWebsite"
value="#" class="textLink">
<h:outputText value="Website" />
</h:outputLink> <h:outputText value=" | " />
<h:commandLink style="text-align:right;"
class="parentLink" actionListener="#{sampleBean.onClickQuoteHistory}">History
<f:ajax execute="@this"
render="leftPanelForm:leftPanelAccordionTab"></f:ajax>
</h:commandLink>
</div>
</div>
<div class="summaryTbeSubheading"><h:outputText
value="PC Peripheral Periodicity : " /> <h:outputText
value="monthly" /> <h:outputText value=" | " /> <h:outputLink
id="linkHMethod" value="#" class="textLink">
<h:outputText value="Method : " />
<h:outputText value="weight driven" />
</h:outputLink></div>
<div class="clear:both"></div>
<p:dataTable var="item" value="#{sampleBean.beanSampleList}"
selectionMode="single"
paginator="true" rows="5"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}"
rowStyleClass="summaryFix summaryTable">
<p:column>
<f:facet name="header">
<h:outputText value="Quote No." />
</f:facet>
<h:outputText value="#{item.quoteId}" />
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="Peripheral Type" />
</f:facet>
<h:outputText value="#{item.dimensionLevel}" />
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="Retailer" />
</f:facet>
<h:commandLink style="text-align:right;"
class="parentLink" actionListener="#{sampleBean.onClickQuoteHistory}" value="#{item.dimensionInstance}" >
<f:param name="prodsampleid"
value="#{item.prodSampleId}" />
<p:ajax process="@this"
update="leftPanelAccordionTab">
</p:ajax>
</h:commandLink>
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="Brand" />
</f:facet>
<h:commandLink style="text-align:right;"
class="parentLink" actionListener="#{sampleBean.onClickQuoteHistory}" value="#{item.segmentInstanceId}" >
<f:param name="prodsampleid"
value="#{item.prodSampleId}" />
<p:ajax process="@this"
update="leftPanelForm:leftPanelAccordionTab">
</p:ajax>
</h:commandLink>
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="Start Date" />
</f:facet>
<h:outputText value="#{item.startdate}" />
</p:column>
</p:dataTable>
<div class="buttonRow">
<div class="buttonsLeft"><h:commandButton
id="viewSuggestion" value="" styleClass="commonButton"
image="/resources/styles/smoothness/img/viewSuggestion_btn.gif" actionListener="#{sampleBean.onClickSuggestionList}">
<f:ajax execute="@this" render="leftPanelForm:leftPanelAccordionTab"></f:ajax></h:commandButton>
<h:commandButton id="reset" value="" styleClass="commonButton"
style="margin-right:30px;"
image="/resources/styles/smoothness/img/reset_btn.gif" /> <h:commandButton
id="addNew" value="" styleClass="commonButton"
image="/resources/styles/smoothness/img/addNew_btn.gif" actionListener="#{sampleBean.onClickSuggestionList}">
<f:ajax execute="@this" render="leftPanelForm:leftPanelAccordionTab"></f:ajax></h:commandButton> <h:commandButton
id="modify" value="" styleClass="commonButton"
image="/resources/styles/smoothness/img/modify_btn.gif" /> <h:commandButton
id="remove" value="" styleClass="commonButton"
image="/resources/styles/smoothness/img/remove_btn.gif" action="#{sampleBean.modifiedSampleList}"/></div>
<div class="buttonsRight"><h:commandButton id="save2"
value="" image="/resources/styles/smoothness/img/save_btn.gif"
style="margin-top:2px;" /></div>
<div class="buttonsRight"><h:commandButton id="save3"
value="" image="/resources/styles/smoothness/img/submit_btn.gif"
style="margin-top:2px;" /></div>
</div>
</p:layoutUnit>
</p:layout></div>
</div>
</h:form></div>
</p:tab>
</p:tabView></td>
</tr>
</table>
</ui:define>
</ui:composition>
From the above one we are getting javascript error: "Unexpected call to method or property access."