custom form showing error

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

custom form showing error

Post by himanshu »

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
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

Hi support,

i try this on the ver 3 also,

and got some other error..

error msg box "premature end of file"

its be highly thankful
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Custom forms will be completely different in version 4.0 - they will not work in the evaluation version. You need the Developer Edition to use them
Aware IM Support Team
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

Thanks,

but what about the developer ver 3..in that also i got some error as i mentioned in the last post.

or is there any some good solution by i can test this custom forms
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

need help on custom forms implementation

Post by himanshu »

any who implemented custom forms, please guide me little to get it done.

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
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

What are you trying to accomplish?

Tom
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

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.
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

or can we integrate any applet sort of in our application,

if yes then is there any resource which can give a way to do or help
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

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.
Aware IM Support Team
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

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.

:D
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

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.
Aware IM Support Team
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

thanks support,

it must help me a lot. let me try first
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

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.
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
himanshu
Posts: 723
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

in addition to above,

i am using now awareim v4, and whatever more information any can provide information for the custom development on the forms.

it be great help..for me
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

We have already provided an example of a custom form function and the detailed documentation is available in the Programmer's Reference Guide.

If you want us to help you with your task please purchase a support ticket and send us the description of what you want to achieve.
Aware IM Support Team
Post Reply