Dne 05. 11. 2013 21:46, piše Dirk Verleysen:
> Thanks Janko,
> I'll try that. i thought that the close would be performed no matter
> the result of the onCloseDo:
Hmm, something like 'e close' is needed, as we have 'e update', which
can be called elsewhere and whenever needed for element e to update.
In cas of 'e close' a window of element e (usually popup) would be
closed. Let me have that in mind to find a good idea how to implement it.
>> Janko Mivšek <mailto:[hidden email]
>> dinsdag 5 november 2013 21:40
>> Hi Dirk,
>> You can use onClick on button instead, something like:
>> Also look at the ToDo example, login widget, there such a popup with
>> validation and error reporting is implemented and Save button is simply
>> grayed out until a whole form is valid.
>> Best regards
>> Dirk Verleysen <mailto:[hidden email]
>> dinsdag 5 november 2013 20:20
>> I have a WebWidget with some entry fields and 2 action buttons. On
>> will simply close the widget with onSubmitClose but the other action
>> button should first do an evaluation of the entry fields and if these
>> are valid it should close the widget. If the evaluation fails the
>> widget should stay open and display the error message.
>> Any idea on how to do this ?
Svetovalec za informatiko
tel: 01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565
Aida mailing list