Bugs item #653358, was opened at 2002-12-13 17:36 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104754&aid=653358&group_id=4754
Category: Tapestry Group: bug Status: Open Resolution: None Priority: 9 Submitted By: Mind Bridge (mindbridge) Assigned to: Howard Lewis Ship (hship) Summary: IPage.getName() == qualified name Initial Comment: Suppose that you have a page name 'page' in the library 'lib' and that library is included into the application. According to the IPage interface, the name-related functions should return the following: IPage.getName() -> "page" (aka simple name) IPage.getQualifiedName() -> "lib:page" (aka qualified name) Currently, however, things are somewhat different: AbstractPage.getName() returns "lib:page" (the qualified name) AbstractPage.getQualifiedName() returns "lib:lib:name" (clearly an invalid value since the lib name is doubled), which prevents the code that uses it from working. Some remarks: This occurs since IRequestCycle.getPage() requires a qualified name (since only it is unique) and does not convert it to simplified before it is set. There are 28 invocations of IPage.getName() in the rest of the framework and most of those require a qualified name, since it is later used by a subsequent IRequestCycle.getPage() call. Examples of that are the services where the qualified page name is used as an argument. I hope this helps, -mb ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104754&aid=653358&group_id=4754 ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
