Ok, thank you, I had been also not able to use Login class example
from the
http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html
until I added getters/setters for the _form and _passwordField into the
class:
public Form getForm() {
return _form;
}
publi
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
:
:
This is what I have
>
>
>
>:
> t:vali
Most likely what happened is that you never declared that component
'form' was of type Form.
This may change in the future, but Tapestry doesn't have a mapping
from "" to Form. I may add this.
Since you never specified a type, but you did specify a t:id, Tapestry
assumed that you wanted an Any
Actually, there is an error in reference html template, for "password"
field it's type isn't specified, so
instead of
:
:
t:validate="required,minlength=3"
Dave Kallstrom wrote:
This is what I have
:
:
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
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
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
:
:
On 2/14/07, D&J Gredler <[
This is what I have
:
:
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 contain
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
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.serv
10 matches
Mail list logo