Hi Bruno, thanks but this context parameter is already in true...
All request call to getScrolling javascript, but, when use the

<h:inputText id="wireless" value="#{sizeDefHandler.wireless}"
                                        required="true" size="10" 
onchange="this.form.submit();"
                                        immediate="true"
                                        
valueChangeListener="#{sizeDefHandler.totalKeysetsWirelessListener}">

the onchange, don't call the getscrolling... then scroll page is not saved
:(!


--
Mariano G. Petrakovsky
Programmer · Software Factory
AXG Tecnonexo -  www.tecnonexo.com

Development facilities:Av. Maipú 1252 8º (C1006ACT) · Buenos Aires ·
Argentina.
Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065.

Headquarters: 1604 Spring Hill Road, Suite 160 Vienna · VA 22182 · USA.
Tel.: (202) 986-7541 - Fax: (202) 787-3891.


· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · ·


-----Mensaje original-----
De: Bruno Aranda [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 30 de Junio de 2005 02:55
Para: MyFaces Discussion
Asunto: Re: getScrolling and ValueChangeListener


Mariano, setting to 'true'  the context parameter
'org.apache.myfaces.AUTO_SCROLL' in your web.xml file should resolve
your problem.

<context-param>
        <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
        <param-value>true</param-value>
        <description>
            If true, a javascript function will be rendered that is
able to restore the
            former vertical scroll on every request. Convenient
feature if you have pages
            with long lists and you do not want the browser page to
always jump to the top
            if you trigger a link or button action that stays on the same
page.
            Default: "false"
        </description>
    </context-param>

Regards,

Bruno

2005/6/29, Mariano Petrakovsky <[EMAIL PROTECTED]>:
>
>         I'm using the valueChangeListener property in an InputText.
>
>         When the listener is called, all work fine, but when do the
> renderResponse... the html page loose the scrolling state, it's back to
top.
> :(...
>
> How resolve this? :) thanxs!
>
> --
> Mariano G. Petrakovsky
> Programmer · Software Factory
> AXG Tecnonexo -  www.tecnonexo.com
>
> Development facilities:Av. Maipú 1252 8º (C1006ACT) · Buenos Aires ·
> Argentina.
> Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065.
>
> Headquarters: 1604 Spring Hill Road, Suite 160 Vienna · VA 22182 · USA.
> Tel.: (202) 986-7541 - Fax: (202) 787-3891.
>
> · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
·
> · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
·
> · · · ·
>
>



Reply via email to