0 Replies Latest reply on Jan 12, 2011 2:44 AM by csenes

    Effect problem

    csenes

      this is mypage.xhtml and I want to show message when page load but what am I doing ,it couldnt ,help me please




      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
           xmlns:s="http://jboss.com/products/seam/taglib"
           xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:rich="http://richfaces.org/rich"
           xmlns:a="http://richfaces.org/a4j"
           xmlns:f="http://java.sun.com/jsf/core"
           template="../../layout/template4.xhtml">
      
           <ui:define name="body4">
      
                <div class="body"><a:outputPanel id="wizardKal">
                     <h:form styleClass="edit">
                          <a:queue requestDelay="500" size="-1" sizeExceededBehavior="dropNew" />
      
                          <rich:panelBar headerStyleActive="color:#DC86A3">
                               <rich:panelBarItem label="Cihaz Bilgileri" id="cihaz">
                                    <a:outputPanel id="cihazPanel">
                                         <s:div id="cihazWarning" styleClass="message">
                                              <h:outputLabel value="#{messages['kalibrasyon.yeniCihaz']}" />
                                              <rich:effect event="onload" type="Opacity" name="hiding"
                                                   params="targetId:'cihazWarning',duration:0.8, from:1.0, to:0.0" />
                                              <script>
                                                          window.setTimeout( 'hiding()', 8000 );
                                                </script>
                                         </s:div>
      
                                         <s:decorate template="../../layout/display.xhtml">
                                              <ui:define name="label">#{messages['kalibrasyon.cihaz']}</ui:define>
                                              <h:selectOneMenu value="#{kalibrasyonWizard.cihaz}" id="cihazAd">
                                                   <s:selectItems var="item" value="#{cihazlarList.resultList}"
                                                        label="#{item.cihazAd}"
                                                        noSelectionLabel="#{messages['general.selectOneNoSelectionLabel']}"
                                                        hideNoSelectionLabel="false" />
                                                   <s:convertEntity />
                                              </h:selectOneMenu>
                                         </s:decorate>
                                         <s:decorate template="../../layout/display.xhtml">
                                              <ui:define name="label">#{messages['kalibrasyon.cihazKodNo']}</ui:define>
                                              <h:selectOneMenu value="#{kalibrasyonWizard.cihaz.cihazNo}"
                                                   id="cihazKodNo"
                                                   disabled="#{empty kalibrasyonWizard.cihaz.cihazAd}">
                                                   <s:selectItems var="item"
                                                        value="#{kalibrasyonWizard.cihazKodNoGetir()}"
                                                        label="#{item.cihazNo}"
                                                        noSelectionLabel="#{messages['general.selectOneNoSelectionLabel']}"
                                                        hideNoSelectionLabel="false" />
                                                   <s:convertEntity />
      
                                              </h:selectOneMenu>
                                         </s:decorate>
                                         <s:decorate template="../../layout/display.xhtml">
                                              <ui:define name="label">#{messages['kalibrasyon.cihazSeriNo']}</ui:define>
                                              <h:selectOneMenu value="#{kalibrasyonWizard.cihaz.cihazSeriNo}"
                                                   id="cihazSeriNo"
                                                   disabled="#{empty kalibrasyonWizard.cihaz.cihazAd}">
                                                   <s:selectItems var="item"
                                                        value="#{kalibrasyonWizard.cihazSeriNoGetir()}"
                                                        label="#{item.cihazSeriNo}"
                                                        noSelectionLabel="#{messages['general.selectOneNoSelectionLabel']}"
                                                        hideNoSelectionLabel="false" />
                                                   <s:convertEntity />
      
                                              </h:selectOneMenu>
                                         </s:decorate>
                                    </a:outputPanel>
                               </rich:panelBarItem>
                               <rich:panelBarItem label="Sertifika Bilgileri">
                               </rich:panelBarItem>
                               <rich:panelBarItem label="Etiket Bilgileri">
                               </rich:panelBarItem>
                               <rich:panelBarItem label="Kalibrasyon Bilgileri">
                               </rich:panelBarItem>
                          </rich:panelBar>
                     </h:form>
      
      
                </a:outputPanel></div>
      
      
           </ui:define>
      </ui:composition>