On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
My guess is that you are injecting in a base class, but the base class
is not in the correct directory.  Base classes for pages and
components must be in the .base package (alongside .pages and
.components).

No, no base class, it's a simple page. The complete class looks like this:
package nu.localhost.tapestry5.acegi.example.pages;

import org.apache.tapestry.annotations.Inject;
import org.apache.tapestry.ioc.annotations.Value;
import org.apache.tapestry.services.Request;

public class LoginPage {
   @Inject @Value("${acegi.check.url}")
   private String checkUrl;

   @Inject
   private Request request;

   public String getLoginCheckUrl() {
       return request.getContextPath() + checkUrl;
   }
}


--
       regards,
       Robin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to