incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "piyush hari" <piyush.h...@gmail.com>
Subject Re: goButton on a PDA
Date Sat, 28 Oct 2006 01:58:20 GMT
no I meant :

<INPUT TYPE=BUTTON; VALUE="link button"
  ONCLICK="window.location.href='http://www.computerhope.com'">

It works for all the PDA browsers I currently plan to support namely:
Pocket IE, IE Mobile and BlackBerry.


-Piyush



On 10/27/06, Gabrielle Crawford <gabrielle.crawford@oracle.com> wrote:
> Do you mean something like this:
>
> <a href="http://www.oracle.com"><input type="button" value="hi"></input></a>
>
> My recollection is that putting a link around a button didn't work in
> some pda's. I think since the time that was written the pda's have come
> a long way. If it works I say go for it.
>
> Thanks,
>
> Gabrielle
>
> Piyush Hari wrote:
>
> >Hello,
> >
> >At present the following logic in GoButtonRenderer renders a goButton as a LINK (html
'a' tag) on PDAs because they don't support button tag :
> >
> >String element = useButtonTag ? "button" : "a";
> >
> >I wonder why a link is renderered when browsers that don't support 'button' tag *CAN*
support 'input' tag of type 'Button'.
> >
> >Shall I change this to input type ?
> >
> >-Piyush
> >
> >
>
>

Mime
View raw message