Okay now it's fixed. Had leftover html in my Home.html page without
surrounding form component. Oops. So now I have tap5 form with validation
running.

On 2/14/07, Dave Kallstrom <[EMAIL PROTECTED]> wrote:

Even more interesting when I comment out all of the html I get the same
error. It must be complaining about my .java file. I suppose tap is not
finding the html template.

On 2/14/07, Dave Kallstrom <[EMAIL PROTECTED]> wrote:
>
> Interesting though when I take away the form component I get the same
> error
>
> On 2/14/07, Dave Kallstrom < [EMAIL PROTECTED] > wrote:
> >
> > This is what I have
> >  <form t:id="form">
> >             <t:comp type="Errors"/>
> >
> >             <label t:type="Label" for="userName"/>:
> >             <input t:type="TextField" t:id="userName"
> > t:validate="required,minlength=3" size="30"/>
> >             <br/>
> >             <label t:type="Label" for="password"/>:
> >             <input t:id="password" t:validate="required,minlength=3"
> > size="30"/>
> >             <br/>
> >             <input type="submit" value="Login"/>
> >         </form>
> >
> > On 2/14/07, D&J Gredler <[EMAIL PROTECTED]> wrote:
> > >
> > > I think I got this error when I tried to use an input component
> > > (Select or
> > > TextField or something) without a containing Form component.
> > >
> > > On 2/14/07, Dave Kallstrom <[EMAIL PROTECTED] > wrote:
> > > >
> > > > I hope this user list is ready for tap5 questions if not please
> > > disregard.
> > > > I am working on my first tap5 hello world page and am having a
> > > little
> > > > trouble with form submission.
> > > > I copied the code right of the tap5 page and I am getting the
> > > following
> > > > error.
> > > >
> > > > "No object of type org.apache.tapestry.services.FormSupport is
> > > available
> > > > from the Environment. Available types are
> > > org.apache.tapestry.MarkupWriter
> > > > ,
> > > > org.apache.tapestry.ValidationDecorator ,
> > > org.apache.tapestry.dom.Document,
> > > > org.apache.tapestry.services.Heartbeat,
> > > > org.apache.tapestry.services.PageRenderSupport."
> > > >
> > > > I am assuming I need to provide PageRenderSupport but could not
> > > find
> > > > documentation on how to do so.
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > --
> > > > Dave Kallstrom
> > > >
> > >
> >
> >
> >
> > --
> > Dave Kallstrom
>
>
>
>
> --
> Dave Kallstrom




--
Dave Kallstrom




--
Dave Kallstrom

Reply via email to