« Return to Thread: Bubble refresh problem

Re: Bubble refresh problem

by Arnaud Brand :: Rate this Message:

Reply to Author | View in Thread

Thanks, but it didn't help.
I though it could be related to the comlpexity of the page so I set up a
simple page (attached) based on the tlddocs examples.
Doesn't work either : it's still the same error.

I'm using woodstock 4.3 could that be the cause of the failure ?
Could you please try the attached jsp ?

Thanks
Arnaud

Animesh Sahay a écrit :

> "jsf-extension" version is correct. However, I didn't find any issue
> with bubble.refresh.
> Clear the browser cache and then try it, that may help.
>
> -Animesh
>
> On 5/15/08, Arnaud Brand <arnaud.brand@...> wrote:
>  
>> Hi,
>>
>>  When calling bubble.refresh (with or without parameters) I get the
>> following error : "I has no properties".
>>  I googled for quite some time and found out that I needed rc7 of
>> jsf-extensions.
>>  Both the jar's metainf and firebug tell me I'm using the right version.
>>  Attached is a screenshot of firebug showing the error and the file name.
>>
>>  Has someone already encountered the same problem ?
>>  Did you find some solution ?
>>
>>  Thanks a lot,
>>  Arnaud
>>
>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail:
>> users-unsubscribe@...
>>  For additional commands, e-mail:
>> users-help@...
>>
>>
>>    
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>
>  

<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
        xmlns:webuijsf="http://www.sun.com/webui/webuijsf" xmlns:w="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html">
                <webuijsf:head id="head" title="#{msgs.tree_navTreeTitle}">
                    <w:themeLinks />
                </webuijsf:head>
                <webuijsf:body id="body">
                                                                        <webuijsf:form id="form">
                                                                                <webuijsf:bubble id="bubble" title="#{planificationsBackingBean.testText}">
                                                                                        <webuijsf:staticText text="Bubble refresh example..." />  <br/>
                                                                                        <webuijsf:staticText text="#{planificationsBackingBean.testText}" />  <br/>
                                                                                        <w:staticText text="#{sequencesBackingBean.sysMillis}"/>
                                                                                </webuijsf:bubble>
                                                                                <webuijsf:textField id="field1" text="#{planificationsBackingBean.testText}" onKeyUp="return refreshBubble();"/>
                                                                                <webuijsf:script>
                                                                                        // Refresh bubble.
                                                                                        function refreshBubble() {
                                                                                       
                                                                                            var domNode = document.getElementById("form:bubble");
                                                                                                           
                                                                                            return domNode.refresh("form:field1_field");
                                                                                           
                                                                                        }
                                                                                </webuijsf:script>
                                                                        </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Bubble refresh problem