incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: goButton on a PDA
Date Sat, 28 Oct 2006 17:26:04 GMT
We should probably be using three levels of rendering:  <button>
for desktop, <input type="button"> for PDAs that accept Javascript,
and <a href> for anything that doesn't support Javscript.

-- Adam


On 10/27/06, Piyush Hari <piyush.hari@oracle.com> wrote:
>
> 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
> ----- Original Message -----
> From: "Gabrielle Crawford" <gabrielle.crawford@oracle.com>
> To: <adffaces-dev@incubator.apache.org>
> Sent: Friday, October 27, 2006 5:37 PM
> Subject: Re: goButton on a PDA
>
>
> > 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message