Hi,
i just testing on the beta ver 4
and run first time the sample ajax, and have integrity error
"Custom AJAX forms are not supported in the current product configration"
please suggest me how can u resolve it
custom form showing error
custom form showing error
From,
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
need help on custom forms implementation
any who implemented custom forms, please guide me little to get it done.
as i tried some but not get much success.
as i tried some but not get much success.
From,
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
here is the picture i m looking to implement,
i like to design a form for a POS application, where a textbox of productid take input and fetch data to data grid, so some what i have to create a custom page where customer information and payment details also be shown which is currently not possible in the current framework.
by this i be able to use the barcode scanner with the application also.
the best example u can see any interface of the good POS application running.
i like to design a form for a POS application, where a textbox of productid take input and fetch data to data grid, so some what i have to create a custom page where customer information and payment details also be shown which is currently not possible in the current framework.
by this i be able to use the barcode scanner with the application also.
the best example u can see any interface of the good POS application running.
From,
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
I am not sure I understand why these requirements cannot be met with standard forms.
Custom forms for version 4.0 are described in detail in the Programmer's Reference Guide. You need to write some Javascript to support them. You can use any applets or Active X controls in there.
Custom forms for version 4.0 are described in detail in the Programmer's Reference Guide. You need to write some Javascript to support them. You can use any applets or Active X controls in there.
Aware IM Support Team
thanks support,
as i said earlier there are certain application requirement which cann't be possible right now with the current standard forms..
like when i need a textbox on the form in which we enter the id and it will fetch the data from the server and add to the datagrid without refreshing page.
if possible i will show the implementation when it done.
but b4 if you can help me little more with providing any sample & simple example of creating and integrating the custom form in the awareim framework. it would be highly appreciable.
as i said earlier there are certain application requirement which cann't be possible right now with the current standard forms..
like when i need a textbox on the form in which we enter the id and it will fetch the data from the server and add to the datagrid without refreshing page.
if possible i will show the implementation when it done.
but b4 if you can help me little more with providing any sample & simple example of creating and integrating the custom form in the awareim framework. it would be highly appreciable.
From,
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
You need to familiarize yourself with the EXT library if you want to use it. Then all you need to do is write a JavaScript function that would create Ext.FormPanel and return it. Here is the example of such a function that displays a form of a CreditAccount object and for simplicity just displays credit limit and balance (we use this example in our test harnesses)
function CreditAccountForm (objectName, objectId, objectVersion)
{
var panel = new Ext.FormPanel ({
labelWidth: 70,
width: 300,
height: 400,
items: [
{
xtype: "textfield",
name: "balance",
id: "balance",
anchor: "99%",
fieldLabel: "Balance"
},
{
xtype: "textfield",
name: "limit",
id: "limit",
anchor: "99%",
fieldLabel: "Credit Limit"
}
]
});
return panel;
}
Once you write the function all you need is supply its name to the Configuration Tool. You also need to make sure that your JavaScript file is included into the system - this is explained in the reference guide.
function CreditAccountForm (objectName, objectId, objectVersion)
{
var panel = new Ext.FormPanel ({
labelWidth: 70,
width: 300,
height: 400,
items: [
{
xtype: "textfield",
name: "balance",
id: "balance",
anchor: "99%",
fieldLabel: "Balance"
},
{
xtype: "textfield",
name: "limit",
id: "limit",
anchor: "99%",
fieldLabel: "Credit Limit"
}
]
});
return panel;
}
Once you write the function all you need is supply its name to the Configuration Tool. You also need to make sure that your JavaScript file is included into the system - this is explained in the reference guide.
Aware IM Support Team
can u help me a little,
either i get some code or sample custom form, through which data can be populated from the server like reference data, or how i can start with custom forms.
any example or sample code is great help for me.
either i get some code or sample custom form, through which data can be populated from the server like reference data, or how i can start with custom forms.
any example or sample code is great help for me.
From,
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: