But does the current build not work for you?
i will try to create a test and to see what a <button and <input
type="button" and all the likes excactly do.
johan
On 5/2/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
I've created an issue in JIRA to track this issue:
https://issues.apache.org/jira/browse/WICKET-521
Again, i don't have any preference on a solution, just that something
works. Using the current Link object is *not* an option since it
doesn't disable buttons correctly.
On 5/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Buttons can have a name and value:
>
> http://www.w3schools.com/tags/tag_button.asp
> http://www.htmlcodetutorial.com/forms/_BUTTON.html
>
> and some more examples and you see that they are pretty much equal to
<input
> type="xxx"
>
> http://www.expertrating.com/courseware/XHTMLCourse/XHTML-Forms-4.asp
>
> and i still think it is stupid to have a Button component that can't be
> mapped on the <button> tag
> If we make an exception then Button should work for <buttom> and we
should
> make some SubmitButton component for <input type="submit">
> thats much more logical.
> But this is not needed. We just need to figure out so that it works on
both
> because they are the same except with one distinction:
> "Inside a button element you can put content , like text or images. This
is
> the difference between this element and buttons created with the input
> element."
>
>
>
> On 5/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > buttons dont need name either. they dont post. so how many exceptions
are
> you making just for button? it is easier to simply attach a link.
> >
> >
> > -igor
> >
> >
> >
> > On 5/1/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > Button is a FormComponent and all FormComponents are Containers so
that
> works fine.
> > >
> > > if (Strings.isEqual("input", name))
> > > {
> > > String value = getModelObjectAsString();
> > > if (value != null && !"".equals(value))
> > > {
> > > tag.put("value", value);
> > > }
> > > }
> > >
> > > so only if it is an input the value will be set.
> > > What about the name?
> > >
> > >
> > > johan
> > >
> > >
> > >
> > > On 5/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > > in html button tag is a container, while our button component is
not.
> so a link is a better match. did you also fix it so button doesnt add a
> value attr when it is attached to button? because <button value="foo"/>
is
> illegal.
> > > >
> > > > -igor
> > > >
> > > >
> > > >
> > > >
> > > > On 5/1/07, Johan Compagner < [EMAIL PROTECTED]> wrote:
> > > > > i fixed that again.
> > > > > that broke all our solutions and it just feels stupid that
> > > > > <button> doesn't map on the component Button
> > > > >
> > > > > Button class should just do its job looking where it is attached
to.
> > > > >
> > > > > johan
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 5/1/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > use link or submitlink.
> > > > > >
> > > > > > -igor
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 4/30/07, Ryan Sonnek < [EMAIL PROTECTED]> wrote:
> > > > > > > I'm trying to use a wicket Button on an html <button> tag
> instead of
> > > > > > > an <input> tag, but wicket keeps throwing this error:
> > > > > > > WicketMessage: Component deleteSlideButton must be applied
to a
> tag of
> > > > > > > type 'input', not '<button wicket:id="deleteSlideButton">'
> > > > > > >
> > > > > > > Is this possible, or is there a different wicket object that
I
> can use?
> > > > > > >
> > > > > > >
>
-------------------------------------------------------------------------
> > > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > > Download DB2 Express C - the FREE version of DB2 express and
> take
> > > > > > > control of your XML. No limits. Just data. Click to get it
now.
> > > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > > _______________________________________________
> > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@lists.sourceforge.net
> > > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
>
-------------------------------------------------------------------------
> > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > Download DB2 Express C - the FREE version of DB2 express and
take
> > > > > > control of your XML. No limits. Just data. Click to get it
now.
> > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > _______________________________________________
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge.net
> > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
>
-------------------------------------------------------------------------
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and
take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > _______________________________________________
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > >
> > > >
> > > >
> > > >
>
-------------------------------------------------------------------------
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> > >
> > >
>
-------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user