I'm open to anything, but *something* needs to have knowledge of these exceptions. specifically: the link tag does *not* work to disable buttons.
Either the Link, Button or a new Component should be able to handle this. 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