View Full Version : Using Form action buttons in Ext.nd
Balaji Vaddepalli
30 Nov 2009, 7:40 AM
Hi All,
I am new to this Ext.nd.
I have an question on LN form action buttons,
I am converting my existing Lotus notes application to Web enabled using EXT.Nd, Can anyone suggest me
Can we use the same action buttons which are created in LN and if possible how can we get the handle of the buttons?
Is the hidewhen properties of buttons will work in Ext.nd?
thanks in advance...
Rgds
Balaji.
jratcliff
7 Jan 2010, 4:22 PM
yes, you can use the same action buttons. The hidewhen properties work but hidewhen formulas do not unless you set the 'createActionsFrom' to 'document' and this only works for documents and forms but not views.
Balaji Vaddepalli
12 Jan 2010, 1:59 AM
Hi
thank you for your reply..
Where do I set 'createActionsFrom' to 'document' ?
Regards
Balaji.
jratcliff
12 Jan 2010, 7:03 AM
you can set this property on your instance of the Ext.nd.UIDocument class and it will be passed on to the Ext.nd.Actionbar instance that gets created.
example:
Ext.onReady(function() {
var uidoc = new Ext.nd.UIDocument({
createActionsFrom : 'document',
layout : 'fit',
autoScroll : true
});
uidoc.render();
});
alan95_00
23 Apr 2010, 11:04 AM
I got error in the IE browser after adding this line.
createActionsFrom : 'document'
jratcliff
27 Apr 2010, 9:53 AM
what's the version of IE and what's the error?
alan95_00
28 Apr 2010, 8:31 AM
Hi Jratcliff
Thank you for reply!!
I'am using IE7
The Ext.nd form stop loading with following error.
***Expected identifier, string or number
jratcliff
28 Apr 2010, 6:37 PM
I got error in the IE browser after adding this line.
createActionsFrom : 'document'
and if you remove this line then it loads? (but without the actionbar?)
alan95_00
29 Apr 2010, 4:51 AM
Yes, the Ext.nd form will load after removed the line. But the hidden properties of buttons will not work any more.
Thank you very much!!!!
jratcliff
1 May 2010, 11:16 AM
Yes, the Ext.nd form will load after removed the line. But the hidden properties of buttons will not work any more.
Thank you very much!!!!
hmm, I'm not having any issues with my databases when using the createActionsFrom property. Can you email me a blank database with just this form and it's actions so I can try to isolate the problem? You can email me at jack at extnd dot net.
Thanks!
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.