1. #1
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default Unanswered: ExtJS menu + Spring + Jackson

    Unanswered: ExtJS menu + Spring + Jackson


    Hi,

    I have definition of a menu in my database. When I try to seralize menu to JSON everithing generates ok, except following:

    PHP Code:

    "handler""function() {...}" 
    Of course in this case javascript does not work. It should be without brackets.

    Is there any simple solution to this problem? Can I write a handler definition some other way?

    If I put there a function name it will be:


    PHP Code:

    "handler""this.openWindow" 
    Which will still result in an error.

    Is there any option to generate this without manually operate on a String?

    PHP Code:

    "handler"this.openWindow 

    Best regards,
    Bojan

  2. #2
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default


    Ok. I think I found a solution. I have to create a bean and then use @JsonRawValue on the property where I would like to have row encoding.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar