My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 44: @Pageのパスが2階層などの場合に、viewにうまく遷移しない
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  shinpei.ohtani@gmail.com
Closed:  Apr 2008


 
Project Member Reported by shinpei.ohtani@gmail.com, Apr 6, 2008
@RequestScope
@Page("twitter/publicTimeLine")
public class TwitterPage {

	@Default
	public Navigation getPublicTimeLine(final TeedaContext context) {
		Twitter twitter = new Twitter();
		try {
			context.getRequest().setAttribute("timeline",
					twitter.getPublicTimeline());
		} catch (TwitterException e) {
			throw new RuntimeException(e);
		}
		return Forward.to("jsp/timeLine.jsp");
	}

}

などの場合、t2-samples/jsp/timeLine.jspではなく、
t2-samples/publicTimeLine/jsp/timeLine.jspに遷移しようとする。

Apr 6, 2008
Project Member #1 shinpei.ohtani@gmail.com
サンプルがよくなかったのでNO change.
Status: WontFix

Powered by Google Project Hosting