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,966
    Answers
    60
    Vote Rating
    130
    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,966
    Answers
    60
    Vote Rating
    130
    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,966
    Answers
    60
    Vote Rating
    130
    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

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