BJTAWJ / webclient-mobile-for-ca-plex

Automatically exported from code.google.com/p/webclient-mobile-for-ca-plex
0 stars 0 forks source link

No support for email,url,number and spinner HTML5 fields in WebCliet+ Mobile #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Visit kitechen sink demo app to see Sencha Touch HTML5 field support .
http://dev.sencha.com/deploy/touch/examples/kitchensink/
2. select "User Interface" and then "Forms".
3. Have a look on the HTML5 Form fields like email,url of Sencha touch.

What is the expected output? What do you see instead?
WebClient+ Mobile should support these fields. This can be accomplished by 
upgrading the WebEdit.ctrl as below mentioned. 

Please use labels and text to provide additional information.

Following code can be added to upgrade the WebEdit.ctrl to support the given 
HTML5 Fields:-

xtype:(!If:/(!Param:xtype))"/(!Param:xtype)"/(!Else)"textfield"/(!If),
name: "/(!NameID)",
controlName: wcli.util.parseControlName("/(!Property:ControlName)"),
label: "/(!Param:label)" || undefined,
value: "/(!This)",
/(!If:/(!Param:min)=)/(!Else)minValue:/(!Param:min),/(!If)
/(!If:/(!Param:max)=)/(!Else)maxValue:/(!Param:max),/(!If)
/(!If:/(!Param:step)=)/(!Else)incrementValue:/(!Param:step),/(!If)

Please refer the below code to enable different component from Plex:

[1]Email:Control Namelike Email:MainArea:label=EmailId:xtype=emailfield
[2] Spinner: 
UserID:MainArea:label=UserID:xtype=spinnerfield:min=1:max=1000:step=20

[3] Number: UserID:MainArea:label=UserID:xtype=numberfield:min=1:max=1000

[4] URL: ImageURL:MainArea:label=UserImageURL:xtype=urlfield

Original issue reported on code.google.com by ravipati...@gmail.com on 30 Sep 2011 at 9:52

Attachments: