Hi Tom,<br><span style="color: rgb(51, 102, 255);">>Above the list you have now,</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>include the "most recent up-to-three" active items on the list. That
</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>is, a few of the list items would be duplicated at the top of the</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">
>page, for the user's convenience. This is not unlike a search engine</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>returning "most popular results" before the entire list of results.
</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>Would that work for you?</span><br style="color: rgb(51, 102, 255);"><br>It wouldnt work for me, as all the items are equally important for me. My app is going to deal with say Shopping Lists.
<br><br><br><span style="color: rgb(51, 102, 255);">>If you do want to scroll down to an item when the page reloads, you'll</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>need an internal HTML name at that point. You could name each possible
</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>point where you might want to scroll to, but it's probably easier just</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">
>to use one label:</span><br style="color: rgb(51, 102, 255);"><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> > html anchor name: 'START_HERE'.</span><br style="color: rgb(51, 102, 255);">
<br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>To redirect the browser to that point, your presenter can implement</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">
>the #updateUrl: message; see the Seaside documentation page on "The</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">>Render Tree". This works for me:</span><br style="color: rgb(51, 102, 255);">
<br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> > updateUrl: url</span><br style="color: rgb(51, 102, 255);"><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">
> super updateUrl: url.</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">> url fragment: 'START_HERE'</span><br style="color: rgb(51, 102, 255);"><br><br>I tried this and it works out of the box only with a particular predefined Anchor. As I mentioned above, mine is going to be Dynamically built list with a lot of items. Is there anyway to assign unique name to all anchors. One of the solutions I can think of is
<br><br>html anchor name: html nextId asString.<br><br>Then somehow pass this information to #updateUrl:<br><br>If there are other possibilities, please help me.<br><br>Thanks & Regards,<br>Rajeev<br><br><br><br><br><br>
<div class="gmail_quote">On Jan 1, 2008 9:09 PM, Tom Phoenix <<a href="mailto:rootbeer@redcat.com">rootbeer@redcat.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Jan 1, 2008 3:58 AM, Rajeev Lochan <<a href="mailto:lochan94@gmail.com">lochan94@gmail.com</a>> wrote:<br><br>> For example, I have a long list of items and to view the lower items,<br>> scrollbar is used. I have some anchors/buttons next to each item. When I
<br>> click on anchor or button, page refreshes and shows the default view (top of<br>> the list). Again I have to scroll down to make other changes.<br><br></div>Although this isn't exactly what you're asking for, I'd consider
<br>displaying the list in a different way. Above the list you have now,<br>include the "most recent up-to-three" active items on the list. That<br>is, a few of the list items would be duplicated at the top of the
<br>page, for the user's convenience. This is not unlike a search engine<br>returning "most popular results" before the entire list of results.<br>Would that work for you?<br><br>If you do want to scroll down to an item when the page reloads, you'll
<br>need an internal HTML name at that point. You could name each possible<br>point where you might want to scroll to, but it's probably easier just<br>to use one label:<br><br> html anchor name: 'START_HERE'.
<br><br>To redirect the browser to that point, your presenter can implement<br>the #updateUrl: message; see the Seaside documentation page on "The<br>Render Tree". This works for me:<br><br> updateUrl: url<br>
<br> super updateUrl: url.<br> url fragment: 'START_HERE'<br><br>Good luck with it!<br><font color="#888888"><br>--Tom Phoenix<br>_______________________________________________<br>seaside mailing list
<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br></font></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>+91 9243468076 (Bangalore)<br>080 65355873