1. #1
    Ext GWT Premium Member matienzar's Avatar
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    17
    Vote Rating
    0
    matienzar is on a distinguished road

      0  

    Default Unanswered: How to define a ColumnConfig from a ModelKeyProvider

    Unanswered: How to define a ColumnConfig from a ModelKeyProvider


    Hi,

    I can define a ColumnConfig from a ValueProvider, but how can I do this from a ModelKeyProvider?

    Lot of thanks,

    Marcial
    Marcial Atiénzar Navarro
    Analista de Sistemas de Información

    matienzar@umivale.es
    www.umivale.es
    www.sumaintermutual.es

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    What exactly do you mean by defining a ColumnConfig from a ModelKeyProvider?

  3. #3
    Ext GWT Premium Member matienzar's Avatar
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    17
    Vote Rating
    0
    matienzar is on a distinguished road

      0  

    Default


    For example:
    Code:
    ColumnConfig<SchJobs, String> bbdd = new ColumnConfig<SchJobs, String>(props.sjBbdd(),75,"BBDD");
    I've these ColumnConf, and in my Properties class, I've this id defined:
    Code:
    	@Editor.Path("sjJob")
    	ModelKeyProvider<SchJobs> id();
    But, id() is a ModelKeyProvider, not a ValueProvider, and I don't know how to create a ColumnConfig from this case.

    Lot of thanks,

    Marcial
    Marcial Atiénzar Navarro
    Analista de Sistemas de Información

    matienzar@umivale.es
    www.umivale.es
    www.sumaintermutual.es

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You will need to add another member to your Properties class:

    Code:
    @Editor.Path("sjJob")
    	ValueProvider<SchJobs, String> idValue();

  5. #5
    Ext GWT Premium Member matienzar's Avatar
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    17
    Vote Rating
    0
    matienzar is on a distinguished road

      0  

    Default


    ok, if there is no other way, I will modify my code generator to generate 2 properties for key id, one the key and other the value
    Marcial Atiénzar Navarro
    Analista de Sistemas de Información

    matienzar@umivale.es
    www.umivale.es
    www.sumaintermutual.es

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Yes, sorry, there is no other way right now. The two interfaces have nothing in common.

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