Search:

Type: Posts; User: Tomeo

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,422

    Problem with tree - infinite tree node loop

    Hello,

    my tree data is defined within JSON file:
    navigationTree.json


    {
    'success': true,
    'results': [{
    text:'Main node 1',
  2. Replies
    3
    Views
    1,358

    No one could help?

    No one could help?
  3. Replies
    3
    Views
    1,358

    Ok, above error could be caused by incorrect...

    Ok, above error could be caused by incorrect store definition:

    /app/store/NavigationTrees.js


    Ext.define('Doprava.store.NavigationTrees', {
    extend: 'Ext.data.TreeStore',
    requires:...
  4. Replies
    3
    Views
    1,358

    TreePanel modification...

    TreePanel modification app/view/NavigationTreePanel.js:



    Ext.define('Doprava.view.NavigationTreePanel', {
    extend: 'Ext.tree.TreePanel',
    alias: 'widget.navigationTreePanel',
    ...
  5. Replies
    3
    Views
    1,358

    Tree navigation in MVC architecture

    Hello,

    I'm trying to build some app based on MVC and I have a problem with implementing Tree navigation into Navigation Panel.

    Here is my bit of code:

    /data/navigationTree.json


    {
  6. Thanks for reply folks! Ok, I agree with you....

    Thanks for reply folks!

    Ok, I agree with you. I'll forget about converting non MVC demo into MVC, and I'll start with a clean one. I know it won't be an easy, but will try.

    Cheers,
    Tomas
  7. Hi Skirtle, Thanks for your reply. Yes,...

    Hi Skirtle,

    Thanks for your reply.

    Yes, I've already read mentioned article, it's very good and I like it.

    As you mentioned, I'm struggling with MVC architecture, but that's the main reason...
  8. So far I did: index.html ...

    So far I did:
    index.html


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title id="page-title">Layout demo</title>

    <link rel="stylesheet"...
  9. How to split demo Layout-Browser into MVC Architecture?

    Hi folks,

    I would like to rewrite a structure of "Layout-Browser" demo which keeps all objects within a few files into a recommended MVC Architecture, like written in documentation. Unfortunately...
  10. Replies
    1
    Views
    2,079

    Error: Ext.reg is not a function

    Hi folks,

    I'm getting an error "Error: Ext.reg is not a function" while referencing ExtJS.

    Any idea what could cause it?

    Thanks,
    Tomas

    URL to App:...
  11. Moving below code to "FormsExample.java" would...

    Moving below code to "FormsExample.java" would call correct method on correct place, but not sure how to invoke this event.



    public void handleEvent(AppEvent event) {
    ...
  12. Thanks Sven for your reply. I've registered...

    Thanks Sven for your reply.

    I've registered this event, and while testing this event is invoked correctly. But, my problem is to access a "FormsExample" from it.



    /*
    * Ext GWT 2.2.0 - Ext...
  13. Hi sven, in LookupFirma popup form in "Select"...

    Hi sven,

    in LookupFirma popup form in "Select" button I added a code to register selected object and dispatcher call.


    btnSelect.addSelectionListener(new SelectionListener<ButtonEvent>() {
    ...
  14. Here is my code: Main form: * Ext GWT...

    Here is my code:

    Main form:


    * Ext GWT 2.2.0 - Ext for GWT
    package com.agtransport.agdoprava.client.pages.zakazky;

    import java.util.ArrayList;
  15. How to pass data between popup form and main form

    Hi folks,

    I have a form with button which invokes a new popup form to lookup some data and return selected item (object) back to main form, to be able to populate items with selected data. Problem...
  16. Firma.java /* * Ext GWT 2.2.0 - Ext for...

    Firma.java



    /*
    * Ext GWT 2.2.0 - Ext for GWT
    * Copyright(c) 2007-2010, Ext JS, LLC.
    * licensing@extjs.com
    *
    * http://extjs.com/license
  17. Should be a simple: Grid rows are not displayed

    Hi folks,

    I'm trying to implement pagination grid into panel, but unfortunatelly grid rows are not displaying (please see attached picture). Pagination works fine.

    I know, this should be...
  18. A HUGE Thank you Chris! Changing a code to...

    A HUGE Thank you Chris!

    Changing a code to below code did a trick:



    @Override
    public boolean equals(Object obj)
    {
    // TODO Return whether or not your objectId's are equal
  19. We're getting closer, but still doing something...

    We're getting closer, but still doing something wrong, as application hangs once grid data are called

    In Zakazka.java I've defined a variable objectId, which is set in "setZakazkaObjectId" and...
  20. Hi Chris, In my model, ObjectId will be always...

    Hi Chris,

    In my model, ObjectId will be always a unique (and also within db), so first option which you've mentioned would be probably the best option.

    How can I override .equals() in your...
  21. Hi Chris, thanks for your reply. I tried...

    Hi Chris,

    thanks for your reply.

    I tried to implement a load listener as you suggested, but it seems like I'm incorrectly selecting a row from my grid.
    Here is a bit of my code:

    1. A...
  22. Hello ctblackm, your assumption is correct,...

    Hello ctblackm,

    your assumption is correct, pagingToolBar.refresh() refreshes data from database, from server (using RPC).

    Would you please post any simple example with a Load event you've...
  23. I tried to use below code, but no success: ...

    I tried to use below code, but no success:



    Zakazka z = gridZakazka.getSelectionModel().getSelectedItem();
    Tracing.Log("Zakazka Object ID:" + z.getZakazkaObjectId());

    //...
  24. How to keep row selected after pagination grid refresh?

    Hi folks,

    I have a below a simple scenario:

    1. I have a grid populated with data
    2. I select any 1 row from grid - data with a specific "Object Id" [internal id]
    3. I press a refresh button...
  25. Problem was in DatabaseServiceImpl.java, section...

    Problem was in DatabaseServiceImpl.java, section "getZakazky"

    Commenting out initial " if (zakazkyList == null) " condition fixed an issue.

    Thanks,
    Tomas
Results 1 to 25 of 51
Page 1 of 3 1 2 3