Page 1 of 1

Vertical menu Select method

PostPosted: 28 May 2014 13:29
by etwoss
Hi

This works fine if a form is created, but when re-used not

I have program the select statement on a lot of methods and in the debugger it passes the statement, but still the menu item does not get selected

Any idea?

Eric

Re: Vertical menu Select method

PostPosted: 28 May 2014 13:34
by Alexander Bulei
Hi,

Provide the simple testcase please.
t.i.a

Best Regards.

Re: Vertical menu Select method

PostPosted: 28 May 2014 13:53
by etwoss
Simple demo works fine, my search goes on :-)

Does the select method itself does a rerender?

Eric

Re: Vertical menu Select method

PostPosted: 28 May 2014 13:55
by Alexander Bulei
No

Re: Vertical menu Select method

PostPosted: 28 May 2014 14:09
by etwoss
Hi

Some of the other methods i do mess it up (if i remove all other code and components it works).

Because it goes fine when the form is first created, i decided to free it if its already exists, so its always a new form.
Nevertheless the second time i call the form the menu item is not selected.

I have to shutdown to whole app to get it working once :evil:

Any other way to rerender the menu on any given point?


if i press f5 the menu item is selected again


Eric

Re: Vertical menu Select method

PostPosted: 02 Jun 2014 13:25
by etwoss
Hi

Nobody any idea about this strange behavior, is it caching?

Just tested on IE, all fine, so Chrome is the problem (i think)
However when i log in with different user, i get different menu with different forms and then it works ok.
So its a combination , i think, of used controls on the form, code and chrome.

Eric

Re: Vertical menu Select method

PostPosted: 02 Jun 2014 18:23
by Alexander Bulei
Hi Eric,

etwoss wrote:Simple demo works fine


Check browser console for js errors of your project.

Best Regards.

Re: Vertical menu Select method

PostPosted: 03 Jun 2014 11:37
by etwoss
Hi

No errors

Eric

Re: Vertical menu Select method

PostPosted: 03 Jun 2014 12:05
by Alexander Bulei
Hi Eric,

Tab: console.

Best Regards.

Re: Vertical menu Select method

PostPosted: 03 Jun 2014 14:52
by etwoss
Hi