>>Should Wicket test for HTML 5 support, and fall back to a Javascript
"hack"?

 I would really be glad if it did this.  Am working on a public facing web
application and i cant be guaranteed that users' browsers will have HTML5
support.

Kind regards.

Josh

On Mon, Apr 26, 2010 at 2:31 PM, Wilhelmsen Tor Iver <[email protected]>wrote:

> The problem is not the Wicket side of things, but the browser side. Should
> Wicket test for HTML 5 support, and fall back to a Javascript "hack"?
>
> - Tor Iver
>
> > -----Opprinnelig melding-----
> > Fra: Josh Kamau [mailto:[email protected]]
> > Sendt: 26. april 2010 13:29
> > Til: [email protected]
> > Emne: Re: Shadow text on input fields
> >
> > I wish we could have something like myTextField.setDefaultText("Type
> > text
> > here");
> >
> > On Mon, Apr 26, 2010 at 11:55 AM, Josh Kamau <[email protected]>
> > wrote:
> >
> > > Thanks Marjtin
> > >
> > >
> > > On Mon, Apr 26, 2010 at 11:27 AM, Martijn Dashorst <
> > > [email protected]> wrote:
> > >
> > >> If you can get away with it, you can use HTML5's placeholder text:
> > >>
> > >> http://diveintohtml5.org/forms.html
> > >>
> > >> Martijn
> > >>
> > >> On Mon, Apr 26, 2010 at 9:19 AM, Josh Kamau <[email protected]>
> > >> wrote:
> > >> > Hi guys;
> > >> >
> > >> > I would like to put some shadow text on the form input fields that
> > >> > disappears when one starts editing the field. The kind that
> > appears on
> > >> > facebook fields. How do i do it. Most likely its not a wicket
> > issue but
> > >> i
> > >> > really need assistance in this. Am not very good in javascript.
> > >> >
> > >> > Kind regards
> > >> >
> > >> > Josh
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Become a Wicket expert, learn from the best:
> > http://wicketinaction.com
> > >> Apache Wicket 1.4 increases type safety for web applications
> > >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.7
> > >>
> > >> --------------------------------------------------------------------
> > -
> > >> To unsubscribe, e-mail: [email protected]
> > >> For additional commands, e-mail: [email protected]
> > >>
> > >>
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to