1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    12
    Vote Rating
    0
    plgagnon is on a distinguished road

      0  

    Default Target index.jsp instead of index.html

    Target index.jsp instead of index.html


    Hey,

    Lets say I generated a app with Sencha Cmd v3.1.0.256 for Ext JS 4.2 with the guide in documentation section. Everything is doing well, but now I would like to use something like index.jsp.

    Do I have to regenerate my app with extra params in sencha generate? What would be those params? Or can I just target another index somewhere? Cant find any good example anywhere.

    How can I do that?

  2. #2
    Sencha Premium Member varsos's Avatar
    Join Date
    Feb 2008
    Location
    Long Island, NY
    Posts
    340
    Vote Rating
    14
    varsos will become famous soon enough

      1  

    Default sencha.cfg

    sencha.cfg


    Find this file: /.sencha/app/sencha.cfg
    In there there is a app.page.name=index.htm, change it to index.jsp or whatever you like, an d rebuild.
    there are lots of other useful stuff in there, app.classpath= will come handy too.
    varsos

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    12
    Vote Rating
    0
    plgagnon is on a distinguished road

      0  

    Default


    Ya I found that file containing app.classpath and such but there is not app.page.name. I'll try to add that and see. Ty

    edit : It worked! ty varsos!

Thread Participants: 1