1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    24
    Vote Rating
    0
    manoj123 is on a distinguished road

      0  

    Default Application architecture question. Involving Java Spring and EXT Js

    Application architecture question. Involving Java Spring and EXT Js


    This could be a generic Java and JavaScript related question but just want to see how EXT JS community achieved this kind of functionality.

    1. I have a EXT JS web interface which includes forms.
    2. Depending on the user interaction, requests are sent to server-side to determine number and type of fields in the form.

    At the moment, I have a JSP page which generates JavaScript code (which includes EXT JS components). My form panel will uses JSP url for auto-loader. So far it works fine...however I feel it is a bit dirty implementation. Wondering if there are any better tools/libraries I should be using to achieve this kind of functionality.

    Sample JSP code I use:

    Code:
    [<c:forEach items="${entities}" var="entity" varStatus="loop">
                     
            {xtype: 'textareafield',
            id: "<c:out value="${entity.entityid}"/>",
            labeltext:"<c:out value="${entity.entityid}"/>",
            margin: '15 0 0 100',
            value:"<c:out value="${entity.jsvalue}"/>"  
            },
    </c:forEach>
    
    
    ]

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Posts
    24
    Vote Rating
    0
    manoj123 is on a distinguished road

      0  

    Default


    Anyone?