It is currently Sat Aug 19, 2017 1:12 pm

News News of UI Development & Deployment

Site map of UI Development & Deployment » Forum : UI Development & Deployment

For discussing development & deployment issues

Send form data to CGI script

I have a server-side CGI script that receives form data from a client-side HTML form in order to upload a client-side file to the server. The server CGI code is infrastructure that I can't change, so suggestions to use a different mechanism aren't real useful. I would like to replace the client-side HTML code with CrossUI display elements and code. Is there an example or any guidance on how to do this?

Joe
Read more : Send form data to CGI script | Views : 67 | Replies : 19 | Forum : CrossUI for Web Apps


V2 status

What is the current status of version 2 and all the example and new start project pages.

Mine is not in a good state, the licence is accepted but still shows unregistered, retries state it is already registered. I have uninstalled and reinstalled, taken file from GIT but it is definitely confused. What is the best way to fix this.

Projects I have converted seem okay but are not right, getting errors.

Uncaught TypeError: o.__gc ...
Read more : V2 status | Views : 26 | Replies : 1 | Forum : CrossUI for Web Apps


Costom Cell's Editor Control

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.Dialog")
.setHost(host,"xui_ui_dialog1")
.setLeft("2.5em")
.setTop("1.6666666666666667em")
.setWidth("35.833333333333336em")
.setHeight("20em")
.setCaption("Customize Cell's Editor")
.setMinBtn(false)
.setMaxBtn(false)
);

host.xui_ui_dialog1.append(
xui.create("xui.UI.Block")
.setHost(host,"xui_ui_block2")
.setDock("fill")
.setLeft("2.5em")
.setTop("2.5em")
.setBorderType("inset")
.setBackground("#FFFFFF")
);

host.xui_ui_block2.append(
xui.create("xui.UI.TreeGrid")
.setHost(host,"xui_ui_treegrid2")
.setLeft("0em")
.setTop("0em")
.setRowNumbered(true)
.setEditable(true)
.setRowHandler(false)
.setHeader()
.setRows([{
"cells":
},
{
"cells":
}])
.beforeIniEditor("_xui_ui_treegrid2_beforeinieditor")
);

append(
xui.create("xui.UI.List")
.setHost(host,"xui_ui_listeditor")
.setDirtyMark(false)
.setShowDirtyMark(false)
.setItems([{
"id":"item1",
"caption":"item1"
},
{ ...
Read more : Costom Cell's Editor Control | Views : 60 | Replies : 0 | Forum : CrossUI Code Snaps


draggable SVG rect and xui 2.0a

Why this code doesn't work with 2.0 ?
but it works with 1.4

It must set new left and top position of the SVG rectangle

// The default code is a module class (inherited from xui.Module)
// Ensure that all the value of "key/value pair" does not refer to external variables
xui.Class('App', 'xui.Module',{
Instance:{
// Dependency classes
Dependencies:,
// Required modules
Required:,

// To initialize properties
properties : {},

// To initialize instance(e.g. properties)
initialize ...
Read more : draggable SVG rect and xui 2.0a | Views : 168 | Replies : 2 | Forum : CrossUI for Web Apps


Make a container position draggable

How to make a Group (or possibly a panel) movable by the user by dragging?
Read more : Make a container position draggable | Views : 148 | Replies : 0 | Forum : CrossUI for Web Apps


Fusion Charts "onDataClick" Event

...doesn't fire.

The "onFusionChar"t event does work.

Ver 1.42LTS
Read more : Fusion Charts "onDataClick" Event | Views : 709 | Replies : 9 | Forum : CrossUI for Web Apps


ComboList Control

Assume an existing populated ComboList; Can you show examples of:

1) Add an item to the list
2) Remove an item from the list
3) Clear the list
Read more : ComboList Control | Views : 360 | Replies : 3 | Forum : CrossUI for Web Apps


Real code version

Can anyone write this out as normal code. I can't get the syntax right as it is a window in a window and refuses to accept "main"

xui.ComFactory.newCom("App.userPrefs",function(){ ????????????????

The code auto generated work a treat (shown below) I know I don't need the conditions part

"desc":"userprefs",
"type":"page",
"target":"App.userPrefs",
"params":,
"method":"show",
"conditions":[{
"left":"{args.id}",
"symbol":"=",
"right":"userprefs"

Thanks
Kevin
Read more : Real code version | Views : 258 | Replies : 1 | Forum : CrossUI for Web Apps


Panel user stretchable

I have a panel that contains a grid control. I want the user to be able to stretch the panel's width and height and the grid size should follow to fill the panel. Is there a property for this?
Read more : Panel user stretchable | Views : 241 | Replies : 1 | Forum : CrossUI for Web Apps


File Upload IAjax

I am unable to get IAjax to upload a file. I have tried regular Ajax with the File Combo box but that doesnt work for web application. I'm using the IAjax example from the Cookbook in chapter 4.5.2 page 109. I have over 20,000 lines of code so I'm only posting the sections that are specific to this issue. Basically, the "if(file)" condition is always false.

host.xui_ui_group1517.append(
xui.create("xui.UI.Label")
.setHost(host,"xui_ui_label_button_select_project")
.setLeft(20)
.setTop(130)
.setWidth(150)
.setZIndex(1002)
.setCaption("STEP 1: ...
Read more : File Upload IAjax | Views : 970 | Replies : 7 | Forum : CrossUI for Web Apps


 

Login  •  Register


Statistics

Total posts 983 • Total topics 324 • Total members 35

cron