Thanks ... fixing it.
On 2/14/07, Eugene Lozovan <[EMAIL PROTECTED]> wrote:
Actually, there is an error in reference html template, for "password"
field it's type isn't specified, so
instead of
<label t:type="Label" for="password"/>:
<input t:id="password" t:validate="required,minlength=3"
it should be something like
<label t:type="Label" for="password"/>:
<input t:type="PasswordField" t:id="password"
t:validate="required,minlength=3"
Dave Kallstrom 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
>> >
>>
>
>
>
---------------------------------------------------------------------
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]