Ebase to recognise the fieldname.attribute format

Post any suggestions or enhancement requests about the Verj.io platform or this Forum

Moderators: Jon, Steve, Ian, Dave

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

Ebase to recognise the fieldname.attribute format

#1

Postby Hovik » Fri Dec 28, 2012 12:05 pm

Posted by a customer on 06/08/2010

I've noticed an inconsistency in the way that field control attributes are set from FPL. If I want to make a field control visible, invisible, display only, mandatory etc I do so with reference to the actual field name itself, e.g.

(un)set MYFIELD displayonly ;

and Ebase automatically applies the instruction to the first instance of that field on the current page (or throws an error if the field does not appear on the current page). However, if I want to set a property such as the editor cell class from FPL, I have to explictly specify the field control name:

set MYFIELDCONTROL.editorCellClass = 'MyClass' ;

Could Ebase be enhanced to recognise the fieldname.attribute format as well as the fieldcontrolname.attribute format, so that we don't have to keep a track of which attributes are handled in which way and can write generic scripts that apply to more than one page without complex workarounds?
0 x

Who is online

Users browsing this forum: No registered users and 3 guests