You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Parthiv Pradhan (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/03/14 17:56:39 UTC

[jira] [Created] (TRINIDAD-2242) Trinidad 2.0.1 PPR hour Glass Issue with facelet

Trinidad 2.0.1 PPR hour Glass Issue with facelet
------------------------------------------------

                 Key: TRINIDAD-2242
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2242
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Facelets
    Affects Versions: 2.0.1-core
         Environment: window 7
IE browser
            Reporter: Parthiv Pradhan


Hi,

Following is the content of my xhtml file. On clicking the button though the output text gets updated an hour glass appears. It seems to be an issue just with facelets. It only happens in case the partial trigger is placed on the parent container.I think this is a basic functionality/feature on Trinidad JSF 2.0.1 and it should work. Where am I going wrong?

<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                          xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:tr="http://myfaces.apache.org/trinidad" >

 <f:view>
   <tr:document title="Apache Trinidad Demo Index" stateSaving="client">
                   <tr:form>
             <tr:panelGroupLayout  partialTriggers="demobtn">
               <tr:commandButton text="howdyyy!!" partialSubmit="true" id="demobtn" actionListener="#{DemoBean.demoActionListener}" ></tr:commandButton>

               <tr:outputText  value="#{DemoBean.demoString}" id="demoout" ></tr:outputText>
             </tr:panelGroupLayout>
      </tr:form>
   </tr:document>
 </f:view>
</ui:composition>


Following needs be put in to the faces-config.xml file

   <managed-bean>
   <managed-bean-name>DemoBean</managed-bean-name>
   <managed-bean-class>
     com.parthiv.example.DemoBean
   </managed-bean-class>
   <managed-bean-scope>
      request
   </managed-bean-scope>
 </managed-bean>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2242) Trinidad 2.0.1 PPR hour Glass Issue with facelet

Posted by "Parthiv Pradhan (Commented) (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229882#comment-13229882 ] 

Parthiv Pradhan commented on TRINIDAD-2242:
-------------------------------------------

this issues happens only on IE.
                
> Trinidad 2.0.1 PPR hour Glass Issue with facelet
> ------------------------------------------------
>
>                 Key: TRINIDAD-2242
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2242
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 2.0.1-core
>         Environment: window 7
> IE browser
>            Reporter: Parthiv Pradhan
>
> Hi,
> Following is the content of my xhtml file. On clicking the button though the output text gets updated an hour glass appears. It seems to be an issue just with facelets. It only happens in case the partial trigger is placed on the parent container.I think this is a basic functionality/feature on Trinidad JSF 2.0.1 and it should work. Where am I going wrong?
> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
>                           xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>          xmlns:f="http://java.sun.com/jsf/core"
>          xmlns:tr="http://myfaces.apache.org/trinidad" >
>  <f:view>
>    <tr:document title="Apache Trinidad Demo Index" stateSaving="client">
>                    <tr:form>
>              <tr:panelGroupLayout  partialTriggers="demobtn">
>                <tr:commandButton text="howdyyy!!" partialSubmit="true" id="demobtn" actionListener="#{DemoBean.demoActionListener}" ></tr:commandButton>
>                <tr:outputText  value="#{DemoBean.demoString}" id="demoout" ></tr:outputText>
>              </tr:panelGroupLayout>
>       </tr:form>
>    </tr:document>
>  </f:view>
> </ui:composition>
> Following needs be put in to the faces-config.xml file
>    <managed-bean>
>    <managed-bean-name>DemoBean</managed-bean-name>
>    <managed-bean-class>
>      com.parthiv.example.DemoBean
>    </managed-bean-class>
>    <managed-bean-scope>
>       request
>    </managed-bean-scope>
>  </managed-bean>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira