Josiel Denardi6690187
Posts: 0
Joined: Mon Feb 24, 2014 9:23 pm

Click event redirecting to another page

Ok, we go step by step again.

1.Click on the "Un. de Intern." icon. The system navegate to "hospital_alas" page.

  1. Exist in this page two grids (incluir_iu and alterar_ui) with hide() property.

  2. When the user to click on the "+" icon, should be appears the "incluir_ui", because we change the property to show()

  3. But when user click on the "+" icon, in your system that was generated, redirect to "hospital_leitos page", this can't to happen, have that appears the grid "incluir_ui", but this never happen.

  4. Note that when you be on the "hospital_alas" page, the title from the header is "CADASTRO DE UNIDADES DE INTERNAÇÃO" and when the user click on the "+" icon, the title change to "CADASTRO DE LEITOS", because the your system call the "hospital_alas" page". This is the difference that you don't be seeing on screen.

  5. This happen in all pages "hospital_kanban", "hospital_medicos", "hospital_leitos", in all pages that click in "+" icon, navigate to "hospital_leitos" page.

  6. In all "+" icons, in the click event call "set property"-"grid"-visible and never call "navigate to page"-"hospital_leitos", this is a your bug.

  7. This always run, after that you make the new editor and code generate, this issue begin happened.

  8. Too have the "c15r:component not found" happened in other pages like "hospital_internacao", this is other issue that need to fix.

    We are with the development stoped because this two issues and we need urgent of the one solution, because this issues we don't have control for workarounds, made for us!

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Click event redirecting to another page

Hi Josiel,

Thanks for the detailed descriptions.
This time i've been able to reproduce your problem.

So there is two problems:

  1. the same name of the components on the detailed page(hospital_alas) and main page(hospital).
    Details:
    1.1 Detailed page http://prntscr.com/5fu7wm/direct
    1.2 Main page http://prntscr.com/5fu8ua/direct

    You should rename one of these grid cells.

  2. There is know bug with "set property visible" action for "grid".
    Workaround is to use following JS code instead of this action:

    pre

    //To show "incluir_ui" grid.
    Apperyio("incluir_ui").closest('[data-wrapper-for]').show();

    //To hide "incluir_ui" grid.
    Apperyio("incluir_ui").closest('[data-wrapper-for]').hide();

    /pre

    Regards.

Josiel Denardi6690187
Posts: 0
Joined: Mon Feb 24, 2014 9:23 pm

Click event redirecting to another page

Don't run, we change the components names and the issue continue. The workaround about the hide/show don't run too.

Before ALL thing is running in project, now we have severals bugs in your editor, whats happen? My custumer is waiting the solution and nothing? Please we need urgent that bugs are fixed.

Other bug appears now, we don't can add service in new page, The console show this message:

Uncaught TypeError: Cannot read property 'match' of null

The code portion that have the new bug is:

Code: Select all

         for (inc = 0; inc < scrComps.length; inc++) { 
             var scrInst = scrComps[inc]; 
             if (_.has(scrInst, 'nonvisualBeansCollection') && scrInst.nonvisualBeansCollection.length  0) { 
                 scrInst.nonvisualBeansCollection.each(function (model) { 
                     nonVisuals.add(model); 
                 }); 
             } 

Please edit our project and fix the bugs, we paid every month for have a stable system, and we don't have solutions!!!!!!!!!!!!!!!!!

Please call senior analyst for see the issues.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Click event redirecting to another page

Hi Josiel,

Did you tried to use given in suggestion above code?

pre

&#47;&#47;To show "incluir_ui" grid&#46;
Apperyio("incluir_ui")&#46;closest('[data-wrapper-for]')&#46;show();
&#47;&#47;To hide "incluir_ui" grid&#46;
Apperyio("incluir_ui")&#46;closest('[data-wrapper-for]')&#46;hide();

/pre

Regards.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Click event redirecting to another page

Hello Josiel!

Did you get it working with given solution/workaround?

Return to “Issues”