Reading the myfaces documentation of the tag library:

http://myfaces.apache.org/impl/tlddoc/index.html

the type attribute is not so restricted ( so if you use myfaces you
should read myfaces tlddoc if in trouble ;) ).

kind regards

Am Donnerstag, den 06.07.2006, 07:45 -0700 schrieb Rick:
> h:commandButton has a type attribute.
> 
> The docs for the type attribute says the following:
> 
> 
> "Type of button to create. Valid values are "submit" and "reset". If not
> specified, or not a valid value, the default value is "submit"."
> http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/commandButton.
> html
> 
> 
> However, with MyFaces, I set type="button" and it worked like a charm, even
> though the docs quoted above claim it will not work.
> 
> --Rick Hightower
> 
> -----Original Message-----
> From: Torsten Krah [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 06, 2006 7:31 AM
> To: MyFaces Discussion
> Subject: Re: component for "input type=button"?
> 
> h:commandButton should do the work.
> 
> kind regards
> 
> Am Donnerstag, den 06.07.2006, 08:24 -0600 schrieb Michael Heinen:
> > Hi all,
> > 
> >  
> > 
> > Is there any component that renders an input of type button?
> > 
> >  
> > 
> > e.g. <input type="button" value="hitme" onclick="doIt()"/>
> > 
> >  
> > 
> > Michael
> > 
> > 
> -- Intel: where Quality is job number 0.9998782345! --
> 
> 
> 

Reply via email to