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.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi