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 222: コンテキストルートにPageクラスをわりあてたい
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Jun 2009


 
Project Member Reported by shinpei.ohtani@gmail.com, Jun 9, 2009

GAE/Jで利用しているのですが「http:hoge.appspot.com/」にアクセスされた場合に
動くPageクラスはアノテーションをどのように書けばいいのでしょうか?
以下のようなクラスを作成したのですが、うまくアクセスできませんでした。

{{{
@Page("/")
public class IndexPage {
    @Default
    public Navigation index(WebContext context) {
        ...

    @ActionPath("hugo.html")
    public Navigation fugo(WebContext context)
        ...
}}}


Jun 9, 2009
Project Member #1 shinpei.ohtani@gmail.com
r3961で修正しました。
Status: Fixed

Powered by Google Project Hosting