Using the Inspector in Firebug I was able to get the id. However, I am
getting an error that dojo.byId("entryPanel_container") has no
properties null using either of the javascript lines you provided.
Looking on the DOM tab it shows that the entryPanel_container of the
floatingPane is in the innerHtml. Would this be why it is null when I
try to access the div by id?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of andyhot
Sent: Thursday, December 07, 2006 6:22 PM
To: Tacos Developers
Subject: Re: [Tacos-devel] FloatingPane content updates/reloads but
vertical scroller remains where user last scrolled to
just take a look with firebug's inspect and find the correct div id to
use
Anna Vo wrote:
> Thank you for the reply. I'm using an AjaxDirectLink to popup the
> floating pane.
>
> <a jwcid="@tacos:AjaxDirectLink"
> listener="listener:popupEntryDetailsClicked"
> parameters="ognl:entryFragment.entry.id"
> id="popupStyle"
> updateComponents="ognl:{'popupArea'}"
> popup="literal:{
> title:'Entry Details',
> widgetId:'entryPanel',
> contentNodeId:'popupArea',
>
> ....}">
>
> When the user clicks the link it updates the component.
>
> <div jwcid="[EMAIL PROTECTED]">
> <div jwcid="@PopupEntryDetails" entry="ognl:popupEntry"
> />
> </div>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
andyhot
> Sent: Thursday, December 07, 2006 5:17 PM
> To: Tacos Developers
> Subject: Re: [Tacos-devel] FloatingPane content updates/reloads but
> vertical scroller remains where user last scrolled to
>
> if you have
> <span jwcid="[EMAIL PROTECTED]:FloatingPane" ... >
>
> you can use
>
dojo.byId('dummyPane_container').scrollTop=dojo.byId('dummyPane_containe
> r').scrollHeight
> or
> dojo.byId('dummyPane_container').scrollTop=0
>
>
> Anna Vo wrote:
>
>> I am reusing a FloatingPane (same id) on the same page that gets
>>
> updated
>
>> with data depending on which link in the list is clicked on. This
>>
> works
>
>> great except that if the user scrolls in the FloatingPane, the next
>>
> time
>
>> the component is updated with new content the FloatingPane scroller
>> stays where it was last set (see screenshot) so that the new data
>>
> loads
>
>> half way down or even at the bottom instead of the top. Is there a
way
>> to reset the positioning and scrolling and still use the one
>> FloatingPane so that if there's a vertical scroller it will always
>>
> begin
>
>> at the top?
>>
>> Anna Vo
>>
>>
>>
>>
>>
>>
>
------------------------------------------------------------------------
>
>>
>
------------------------------------------------------------------------
>
>>
>
------------------------------------------------------------------------
> -
>
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>
> share your
>
>> opinions on IT & business topics through brief surveys - and earn
cash
>>
>>
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> V
>
>
------------------------------------------------------------------------
>
>> _______________________________________________
>> Tacos-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>>
>>
>
>
>
--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel