As penance, I've created an HTML5 Input Types example! The telephone keypad
comes up just fine on my phone:
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/html5inputtypes
Cheers,
Geoff
On 08/01/2013, at 7:34 AM, Geoff Callender wrote:
> Sorry, I completely missed the point of the question.
>
> On 08/01/2013, at 1:08 AM, Alejandro Scandroli wrote:
>
>> Hi Karthi
>>
>> How are you declaring your fields? And also, which Tapestry version
>> are you using?
>> After 5.3.2 you can do something like this:
>>
>> <t:textfield value="foo" type="number" />
>>
>> Take a look at: https://issues.apache.org/jira/browse/TAP5-1787
>>
>> If you are using a previous version you can create a mixing to force
>> the "type" attribute.
>> Take a look at the MarkupChanger mixin in this thread:
>> http://tapestry.1045711.n5.nabble.com/Snippet-T5-A-mixin-to-rewrite-the-markup-of-element-td4479439.html
>>
>> Cheers.
>> Alejandro.
>>
>>
>> On Mon, Jan 7, 2013 at 9:04 AM, Geoff Callender
>> <[email protected]> wrote:
>>> Try this (untested):
>>>
>>> <a t:type="any" href="tel:${phoneNumber}">${phoneNumber}</a>
>>>
>>> The Any components is documented on this page:
>>>
>>> http://tapestry.apache.org/component-reference.html
>>>
>>> Geoff
>>>
>>> On 07/01/2013, at 5:38 PM, karthi wrote:
>>>
>>>> Hi,
>>>>
>>>> What is the way to display numeric pad in smartphones for phone number
>>>> field.
>>>>
>>>> Here I searched & found that
>>>>
>>>> type="tel" & type="number" will work out
>>>>
>>>> but in tapestry it shows error :
>>>>
>>>> Unable to resolve 'tel' to a component class name
>>>> Unable to resolve 'number' to a component class name
>>>>
>>>> Can anyone please tell me when user comes to & clicks phone number field,
>>>> number pad needs to display?
>>>>
>>>> Regards,
>>>> Karthi.
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://tapestry.1045711.n5.nabble.com/Way-to-display-numeric-pad-for-phone-number-field-in-tapestry-tp5719166.html
>>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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]
>>>
>>
>> ---------------------------------------------------------------------
>> 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]