1. #1
    Ext GWT Premium Member
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    EvilTed is on a distinguished road

      0  

    Default Question on upcoming JavaBean support?

    Question on upcoming JavaBean support?


    The tutorial section uses Dozer to serialize beans across the RPC interface.
    This says one must implement an invasive "ModelData" interface.

    The upcoming JavaBean support:

    http://extjs.com/blog/2008/07/14/pre...-with-ext-gwt/

    mentions it is used to send from server to client without implementing "ModelData".

    I have a few questions:

    1) Why is the JavaBean support only from server to client? Or is this a mistake in the blog?
    2) Does this replace the Dozer method highlighted in the tutorial?
    Is the new support going to be the recommended method?
    3) If I want to do FormPanel submits to the server and read the changes back as JSON bound to GXT controls, what is the best way to do this?

    I'm thinking Dozer (or the new JavaBean support if it is possible) to submit FormPanel beans to the server.

    Does a bound store know that changes have been made and automatically reflect these back up to the client?
    For example, if I have a JSON bound Grid and I edit some of the content with a FormPanel, after submission, does the store automatically update and hence the client gets the change or do I have to do some extra work to make this happen?

    Thanks and appreciate any suggestions...

    ET

  2. #2
    Ext GWT Premium Member
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    EvilTed is on a distinguished road

      0  

    Default


    According to Zaccret, I should be able to send the beans to the server over RPC.
    Is this correct?

    If you use BeanModel and you are able to include your server-side POJOs in your client source, I think you don't need Dozer anymore, you can directly transfer the POJOs via GWT RPC.
    At first glance, with a big table, I think I would send to the server the updated Pojo on each cell/row update. I haven't tested yet GWT with Hibernate, but I guess you would then just have to tell Hibernate to update the pojo.


    Thanks

    ET

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    According to Zaccret, I should be able to send the beans to the server over RPC.
    Is this correct?
    Yes.

  4. #4
    Ext GWT Premium Member
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    EvilTed is on a distinguished road

      0  

    Default


    Cool, thanks!

    ET

Thread Participants: 1

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