NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on March 23, 2016, 10:35:27 AM

Title: Problem with stdbrowse buttons and condition
Post by: walter.dasilva on March 23, 2016, 10:35:27 AM
Hi,

I've changed web33 (dropfilter) to lookupfilter and put a condition to INSERT button.

i intend to show INSERT button just if some parent are selected. I tried the same condition on ONLY SERVER IF of (Browse and Form), but nothing happen.

But, if i click update the page, it works fine.

Thanks
Title: Re: Problem with stdbrowse buttons and condition
Post by: walter.dasilva on March 31, 2016, 05:04:21 AM
Hi Bruce,

Could you check it, please?

Thank you a lot.

Title: Re: Problem with stdbrowse buttons and condition
Post by: Bruce on March 31, 2016, 06:33:01 AM
Hi Walter,

I'm not sure I understand the problem.
Please post very simple instructions on what I must do in the app to
a) see what you are seeing and
b) tell me what you are _expecting_ to see

cheers
Bruce

Title: Re: Problem with stdbrowse buttons and condition
Post by: walter.dasilva on April 01, 2016, 10:25:12 AM
Hi Bruce,

. i've changed loc:MailBox from Drop to Lookup in FilterAlias procedure.
. i've included a condition (p_web.GSV('loc:mailbox')>0) to the INSERT button of AliasBrowseControl

What i expecting to see.

. at first time i call FilterAlias where loc:MailBox is equal 0 (Zero), so INSERT button is not showed
. After select a value to loc:MailBox i want to see INSERT button

What is happen

. at first time i call FilterAlias where loc:MailBox is equal 0 (Zero), INSERT button is not showed
. After select a value to loc:MailBox INSERT button still not showing
. If you update the page using browseR then INSERT button is showed

I've tried to use 'Server If Only' field on Security Tab of AliasBrowseControl and que behaviour is the same.
Title: Re: Problem with stdbrowse buttons and condition
Post by: Bruce on April 18, 2016, 11:24:24 PM
this was a very tricky one Walter, so thanks for the example.
fixed in 9.07

cheers
Bruce
Title: Re: Problem with stdbrowse buttons and condition
Post by: walter.dasilva on April 19, 2016, 12:13:14 PM
Hi Bruce,

It is working very nice.

Thank you a lot

Walter