Sorry, just a typo; the name of the class should be
ApplicationStateContribution (not ApplicationStateConfiguration).

On 3/13/07, Weisu <[EMAIL PROTECTED]> wrote:

Hi, I am following the User Guide on ASO, what is
"ApplicationStateConfiguration"? Do I have to create this interface, the
online example code is:
public void contributeApplicationStateManager(MappedConfiguration<Class,
ApplicationStateConfiguration> configuration)
  {
    ApplicationStateCreator<MyState> creator = new
ApplicationStateCreator<MyState>()
    {
      public MyState create()
      {
        return new MyState(new Date());
      }
    };

    configuration.add(MyState.class, new
ApplicationStateContribution("session", creator));
  }
--
View this message in context: 
http://www.nabble.com/-T5-Question-on-ASO-configuration-tf3399851.html#a9467437
Sent from the Tapestry - User mailing list archive at Nabble.com.


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




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to