On Thu, Oct 2, 2008 at 5:00 AM, Anton Kunze <[EMAIL PROTECTED]> wrote:

>  I have switched from tomahawk12-1.1.7.jar to tomahawk-1.1.7.jar because
> of other ajax problems, but the loadingMessage problem still occurs.
>
>
>
Why don't you use tomahawk-sandbox12-1.1.7


> best regards
>
>
>
> *Von:* Anton Kunze [mailto:[EMAIL PROTECTED]
> *Gesendet:* Donnerstag, 2. Oktober 2008 09:27
> *An:* 'MyFaces Discussion'
> *Betreff:* AW: Sandbox: inlineLoadingMessage of pprPanelGroup doesn't work
> after a full page refresh
>
>
>
> Hello Leonardo,
>
>
>
> Here is a simple test case with code to reproduce:
>
>
>
> First I click the "refreshButtonAjax" some time and loading message works.
> Now I click the "refreshButtonStandard". At least I click the "
> refreshButtonAjax", the loading message doesn't work anymore.
>
>
>
> My xhtml file:
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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:t="
> http://myfaces.apache.org/tomahawk";
>
>        xmlns:c="http://java.sun.com/jstl/core"; xmlns:fn="
> http://java.sun.com/jsp/jstl/functions";
>
>        xmlns:s="http://myfaces.apache.org/sandbox"; xmlns:f="
> http://java.sun.com/jsf/core";>
>
>        <body>
>
>              <ui:composition template="/templates/main_template.xhtml">
>
>                     <ui:define name="body">
>
>                            <h:form id="listForm">
>
>                                   <s:pprPanelGroup id="loadingDataArea"
> partialTriggers="refreshButtonAjax" inlineLoadingMessage="loading...">
>
>                                         <h:outputText value="test"/>
>
>                                   </s:pprPanelGroup>
>
>
>
>                                   <h:commandButton value="Refresh-Ajax" id
> ="refreshButtonAjax" action="#{utilSessionBean.startTest}"/>
>
>
>
>                                   <h:commandButton value="Refresh-Standard"
> id="refreshButtonStandard" action="#{utilSessionBean.startTest}"/>
>
>                            </h:form>
>
>                     </ui:define>
>
>              </ui:composition>
>
>        </body>
>
> </html>
>
>
>
> My test bean method:
>
>
>
> *public* *void* *startTest*()
>
>     {
>
>        *try*
>
>        {
>
>            Thread.*sleep*(3000, 0);
>
>        }
>
>        *catch* (InterruptedException e)
>
>        {
>
>
>
>        }
>
>     }
>
>
>
> The generated javaScript code snippet
> „…myFacesPPRCtrl.addInlineLoadingMessage…" disappears after clicking "
> refreshButtonStandard".
>
>
>
> Now tested with: myfaces-api-1.2.2.jar; myfaces-impl-1.2.2.jar;
> tomahawk12-1.1.7.jar; tomahawk-sandbox-1.1.7-SNAPSHOT.jar
>
>
>
> Best regards
>
>
>
>
>
> *Von:* Leonardo Uribe [mailto:[EMAIL PROTECTED]
> *Gesendet:* Mittwoch, 1. Oktober 2008 20:04
> *An:* MyFaces Discussion
> *Betreff:* Re: Sandbox: inlineLoadingMessage of pprPanelGroup doesn't work
> after a full page refresh
>
>
>
>
>
> On Wed, Oct 1, 2008 at 12:23 PM, Anton Kunze <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'am using the "inlineLoadingMessage" of "pprPanelGroup" and it works. But
> after a full page refresh through a commandButton, the inlineLoadingMessage
> doesn't work. The ajax refresh of pprPanelGroup works correctly but not the
> inlineLoadingMessage.
> What can I do?
>
>
>
> Hi
>
> The information you provide is too few to try to reproduce what you are
> doing. Could you give more information related on what you are trying to do?
>
> regards
>
> Leonardo Uribe
>
>
>
> I'am using "myfaces-1.2.2"; "tomahawk-1.1.6" and
> "tomahawk-sandbox-1.1.7-Snapshot"
>
> Best regards.
>
> --
> Technosis GmbH
> Geschäftsführer: Heiko Gerdau, Tobias Dittmar, Dierk Rathjen Sitz Hamburg;
> HRB 89145 Amtsgericht Hamburg
>
>
>

Reply via email to