Search Type: Posts; User: bricemason

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    308
    Well one thing I messed up with my last post was that I referenced a list and posted the model code. I'm sorry about that, my mistake. Using your code that you posted, I've changed the list to be as...
  2. In the documentation for the mapping config option of the Ext.data.Field class it says "A path expression for use by the Ext.data.reader.Reader implementation..." Since your store has a proxy and the...
  3. You're really just about there. You could do something like this:

    Ext.define('MyApp.view.MyCompositeXtype', {
    extend : 'Ext.Container',
    xtype : 'myxtype',


    config : {
    ...
  4. Replies
    3
    Views
    308
    I can't tell by your post exactly what the issue you're trying to report is. However when I ran your code it executes alright. One issue I'm seeing is the idMedida field in your model is not...
  5. I have come across this same error. I am admittedly very green when it comes to the drawing portion of the framework so I'm curious if I'm just not using it correctly. This view here will throw the...
  6. Replies
    2
    Views
    527
    First some quick feedback, please make sure for your next post that you format your code snippets that you post using the forum tools so it's easier for us to see your code.

    The reason that title...
  7. Based on the view code that you posted, since you're only rendering that list you can apply a fit layout and your stuff would work:


    /** * @author wbenkraiem
    */...
  8. First I'd like to offer some suggestions about the code snippet you posted.

    Standard naming convention for a class is CamelCase. So in your case it'd be MainPanel

    The convention for xtypes is...
  9. Here are some comment and guidance to help get this going for you.

    It's a better idea to use the initialize function to wire up your event handlers in a class definition. Using the listeners...
  10. Blayne,

    Here is an example that demonstrates changing the text color of a text field that works on android. I have tested in a simulator running android 4.2.2.

    View:
    ...
  11. Replies
    1
    Views
    249
    It's hard to know exactly what you're asking for given the information you've provided. However I can offer some feedback based on some assumptions.


    The itemTpl is a template that is applied to...
  12. It looks like the show/hide is not synced up with the tab bar. I will say that the experience of hiding a tab and showing it, especially in the middle of your tab bar items seems odd for a user....
  13. Here is an example that demonstrates:

    Ext.define('MyApp.view.Main', {
    extend : 'Ext.dataview.List',
    xtype : 'main',


    config : {
    store : {
    fields : [
  14. Replies
    6
    Views
    1,583
    For point 1, you're right they are effectively the same thing. I would normally prefer to put the > in there as I find it to be a more descriptive representation of the view. In that second code...
  15. I forget about the buffer option. I like that much better.

    Brice
  16. It looks like both of those themes have explicit height applied to their buttons. The following override worked for me to reinstate the height and vertical padding from the default theme.

    ...
  17. Reviewing the source of the prepareData method in the Ext.dataview.DataView class between 2.0.1 and 2.1.0 onward shows this difference.

    2.0.1:

    prepareData: function(data, index, record) {
    ...
  18. While both samples will run in touch in development mode, the sencha cmd builder has a big enough problem with it to not let you proceed.

    The official answer to your goal of sharing models...
  19. Replies
    6
    Views
    1,583
    You could tackle this a number of ways. You could have your view with all the possible scenarios already configured and show/hide depending on the situation. I have chosen to expand the example I...
  20. Unless you have sort of url rewriting going on, put a forward slash before the hash and it should work.


    header('location: http://dev.myapp.com/testing/#HomePage');

    I hope this helped.

    Brice
  21. To answer your question directly, you'll be able to access that button as an Ext.dom.Element using:


    Ext.get('submitButton');

    You'll be able to get this element after it's rendered so you can...
  22. Ext.define is expecting an object literal. The compiler warns you about this before failing when it displays:

    [WRN] C1003: Unsupported Ext.define syntax (function does not return object literal)
    ...
  23. There are a number of ways you could tackle this, here's an example that disables/enables the button.

    View:

    Ext.define('MyApp.view.Main', {
    extend : 'Ext.navigation.View',
    xtype :...
  24. Thanks Joe, we appreciate your kind comments on the Modus Create portfolio. I'm glad the solution worked well for you.

    Brice
  25. I'm not able to replicate. I have tested the following view in a touch 2.3.1 application with success on an iPhone 5 running iOS 6.1.4 and on a Galaxy SII running android 4.0.4.

    ...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4