Search found 356 matches

by support
Fri Nov 03, 2017 4:19 am
Forum: Bug Report
Topic: Advanced Folding Tabs Control Loses Component Alias Names
Replies: 1
Views: 7482

Re: Advanced Folding Tabs Control Loses Component Alias Name

This bus was fixed several months ago
by support
Fri Nov 03, 2017 4:13 am
Forum: Bug Report
Topic: CrossUI Email Address Broken
Replies: 1
Views: 6707

Re: CrossUI Email Address Broken

An alternative email address: linb.net[at]gmail.com
by support
Fri Nov 03, 2017 4:11 am
Forum: CrossUI for Web Apps
Topic: 2.1 Build
Replies: 1
Views: 13213

Re: 2.1 Build

It's a harmless bug, we fixed it in the new version.
by support
Tue Sep 26, 2017 4:14 am
Forum: Tutorials
Topic: Advanced - A whole CRUD demo
Replies: 0
Views: 8551

Advanced - A whole CRUD demo

The "CRUD" is a demo to show how the CrossUI to handle CRUD(create, read, update, delete) interactions with the back-end ( database ), no code required.



Download the source code

Online demo
by support
Fri Aug 25, 2017 7:23 am
Forum: CrossUI Code Snaps
Topic: Allow containers to take the height of content
Replies: 0
Views: 8411

Allow containers to take the height of content

xui.Class('App', 'xui.Module',{ Instance:{ iniComponents : function(){ // [[Code created by CrossUI RAD Studio var host=this, children=[], append=function(child){children.push(child.get(0));}; append( xui.create("xui.UI.Div") .setHost(host,"xui_ui_div13") .setLeft("13.333333333333334em") .setTop("0...
by support
Fri Aug 25, 2017 2:22 am
Forum: CrossUI Code Snaps
Topic: How to do adaptive layout according to the size of device
Replies: 0
Views: 7185

How to do adaptive layout according to the size of device

There are two ways to implement such adaptive layout. 1. Use 'position: relative' xui.Class('App', 'xui.Module',{ Instance:{ iniComponents : function(){ // [[Code created by CrossUI RAD Studio var host=this, children=[], append=function(child){children.push(child.get(0));}; append( xui.create("xui.U...
by support
Fri Aug 11, 2017 3:04 pm
Forum: CrossUI for Web Apps
Topic: Send form data to CGI script
Replies: 20
Views: 30072

Re: Send form data to CGI script

1. When you uploaded finish, return html <script type='text' id='json'>{"data":{"message":"ok"}}</script> <script type='text/javascript'> parent.postMessage(document.getElementById('json').innerHTML,'*'); </script> 2. If your xui code is: xui.request(xxxxxx,{file:file},function(rsp){ xui.alert(rsp.d...
by support
Fri Aug 11, 2017 11:53 am
Forum: CrossUI for Web Apps
Topic: Send form data to CGI script
Replies: 20
Views: 30072

Re: Send form data to CGI script

Essentially, the response script is text, which can be recognized as SCRIPT by the browser.
by support
Fri Aug 11, 2017 12:32 am
Forum: CrossUI for Web Apps
Topic: Send form data to CGI script
Replies: 20
Views: 30072

Re: Send form data to CGI script

I didn't familiar with CGI script, you can download other 'backend'(php/c#/Node.js/java) demo code from here. http://www.crossui.com/download.html Basically, you need to response some script in your CGI script, like <script type='text' id='json'>{"parentDomain":"http:\/\/localhost","data":[{"p1":"cl...
by support
Thu Aug 10, 2017 2:53 pm
Forum: CrossUI for Web Apps
Topic: Send form data to CGI script
Replies: 20
Views: 30072

Re: Send form data to CGI script

If you have a file to do the request, it is a 'post' action automatically.

And if you want to do it manually:


request(uri/*string*/, query/*object*/, onSuccess/*function*/, onFail/*function*/, threadid/*null*/, {method:"post"})