I feel very strongly that we should strive to make these things as simple as possible for people to use/understand - even if it means we have to jump through giant hoops behind the scenes to make it all work properly in most use cases.
There is zero doubt in my mind that I can implement this feature properly in all scenerios. On 8/21/06, andyhot <[EMAIL PROTECTED]> wrote:
Jesse Kuhnert wrote: > I think that's the whole point. There isn't really supposed to be a very > strong concept of URL's for people using Tapestry...Just pages / > components > /etc... > > I don't see why we can't do a redirect or forward when someone passes > in an > anchor. It wouldn't be very hard. You mean that cycle.activate(IPage page, String anchor) would be implemented as redirecting to that page? But those two actions are not equal... we've talked about this before :) See http://tacoscomponents.jot.com/BugReporter/Bug35 > > Maybe I've missed something? > > On 8/21/06, andyhot <[EMAIL PROTECTED]> wrote: >> >> How is cycle.activate related to anchors and URLs ? >> >> When one clicks on a direct link url, a corresponding listener is >> invoked. >> If *that* url doesn't already have an anchor, there's no way to set one >> unless >> 1. we mimic browser's behavior with javascript, or >> 2. we send a response and force client redirect >> >> For 1, perhaps net.sf.tacos.link.FixPosLinkRenderer can be of help >> And 2 is straightforward... >> http://wiki.apache.org/tapestry/EasyBrowserRedirection enhanced to >> handle anchors >> can help in Tap3 >> >> Jesse Kuhnert wrote: >> > I'm not sure yet... >> > >> > We have IRequestCycle.activate(IPage page) and activate(String >> pageName) >> > already, I guess we could add in activate(IPage page, String >> anchor) and >> > activate(String pageName, String anchor)... >> > >> > What do you think? >> > >> > On 8/21/06, andyhot <[EMAIL PROTECTED]> wrote: >> >> >> >> Are we talking without using client redirects, i.e. without having >> the >> >> listener return ILink ? >> >> >> >> Jesse Kuhnert wrote: >> >> > There are ways to do this in Tapestry 4, but it seems non-intuitive >> >> > enough >> >> > already that it should probable be fixed. >> >> > >> >> > What do you think would feel most "convenient" for you? >> >> > >> >> > On 8/21/06, Danny Mandel <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> Hi all, >> >> >> >> >> >> I know that it wasn't possible (through the framework) in Tapestry >> >> 3 to >> >> >> return a specific page at a specific anchor from a listener >> >> method. Is >> >> >> this now possible in Tapestry 4? If not, does anyone have any >> >> >> suggestions for working around this? I've written some javascript >> to >> >> >> refresh the page location in the onload method, but it's >> unreliable. >> >> >> >> >> >> Thanks for any suggestions, >> >> >> Danny >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> >> >> > >> >> > >> >> >> >> >> >> -- >> >> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr >> >> Tapestry / Tacos developer >> >> Open Source / J2EE Consulting >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> >> >> -- >> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr >> Tapestry / Tacos developer >> Open Source / J2EE Consulting >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
