Note that there are some explanatory texts on larger screens.

plurals
  1. POGXT 3.x Custom PropertyEditor / ValueBaseInputCell
    primarykey
    data
    text
    <p>I'm trying to write a <strong>custom field editor</strong> that will translate between <strong>Long</strong> and <strong>String</strong>. IE: String representation on screen but field type is a Long.</p> <p>I've implemented the PropertyEditor (<a href="http://subversion.assembla.com/svn/freshcode_public/learn/gwt/src/main/java/biz/freshcode/learn/gwt/client/experiment/forms/HrMinPropertyEditor.java" rel="nofollow">HrMinPropertyEditor</a>) but don't know how to wire it in. My <a href="http://subversion.assembla.com/svn/freshcode_public/learn/gwt/src/main/java/biz/freshcode/learn/gwt/client/experiment/forms/HrMinField.java" rel="nofollow">HrMinField</a> is quite clunky as I needed to use a TriggerFieldCell because the generic types inside TextInputCell etc. prevented me from using them.</p> <p><strong>Do I need to do a subclass of ValueBaseInputCell?</strong> That seems strange since my PropertyEditor has all the Long / String conversions. It also looks difficult.</p> <p>If so, is there a <strong>simple example or some documentation</strong> I can read?</p> <p>BTW, my learning project is Maven based and should be easy to fire up if necessary:</p> <ol> <li>svn checkout <a href="http://subversion.assembla.com/svn/freshcode_public/learn/gwt/" rel="nofollow">http://subversion.assembla.com/svn/freshcode_public/learn/gwt/</a> learn-gwt</li> <li>cd learn-gwt</li> <li>mvn gwt:run</li> <li>Navigate to <strong>GXT | Forms | Time Edit</strong></li> </ol> <p>Thanks in advance,</p> <p>Pete</p> <p>PS: I've asked this on the <a href="http://www.sencha.com/forum/showthread.php?196775" rel="nofollow">Sencha forum</a> too.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload