Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Blama
    replied
    Originally posted by Isomorphic View Post
    No. Component XML cannot be described by a DTD, and even XML Schema would prevent many of its more powerful features from being used.

    Instead, errors and warnings appear in the server console as the XML is processed.
    While this is true and is also true for .ds.xml files, you could create your own schema and extended it as needed.
    I did so for .ds.xml, which enables Eclipse to validate my files as well as to IntelliSense-complete my tags and attributes. See this thread.

    Best regards,
    Blama

    Leave a comment:


  • Isomorphic
    replied
    Originally posted by tekwojenski View Post
    Can ComponentXML be used in the free version?
    No. Again, see the Editions & Pricing link previously provided.

    http://www.smartclient.com/product/

    Also I could not find any of these layouts:
    replacePlaceholder
    screenReuse
    customComponents
    Simply click "View Source".

    Lastly, do you have XML definition DTD for ComponentXML?
    No. Component XML cannot be described by a DTD, and even XML Schema would prevent many of its more powerful features from being used.

    Instead, errors and warnings appear in the server console as the XML is processed.

    Leave a comment:


  • tekwojenski
    replied
    Strange... I also used IE8 and the console did not come up?!

    Thank you for the examples. They all look nice.
    Can ComponentXML be used in the free version? In the docs it talks about: com.isomorphic.servlet.ScreenLoaderServlet, that they need to be loaded from the server. Can you load them without the servlet via direct JSON HTTP call?

    Also I could not find any of these layouts:
    replacePlaceholder
    screenReuse
    customComponents

    Can you point me to where I can find them.


    Lastly, do you have XML definition DTD for ComponentXML?

    Thanks

    Leave a comment:


  • Isomorphic
    replied
    The FAQ already points this out. It says:

    (NOTE: typing this into the URL bar will also work in most browsers, but not in Firefox 6+).
    There's a whole folder of Component XML samples. There doesn't happen to be one that shows a TreeGrid, but the format for Component XML across all components is uniform.

    Leave a comment:


  • tekwojenski
    replied
    Thanks everybody.

    With respect to javascript:isc.showConsole() I'd modify the FAQ to reflect this. I do like the Ctrl-D better anyway :-)

    Do you have sample/example of ComponentXML layouts somewhere? I'm interested in a Tree example. I did not see any complete examples in the Showcase app. This is always chicken or the egg problem.

    Thanks

    Leave a comment:


  • Blama
    replied
    Crosspost.

    Leave a comment:


  • Blama
    replied
    Hi tekwojenski,

    I think this is related to browser security:

    alert('Hello world!'); as well as javascript:isc.showConsole(); work for me in Chrome 35 but not FF 26.

    Best regards,
    Blama

    Leave a comment:


  • Isomorphic
    replied
    Yes, Visual Builder is the tool for visually assembling component XML. However, be sure to look at the FAQ on this - Visual Builder is not an IDE replacement and not intended to allow you to set every possible property.

    Leave a comment:


  • Isomorphic
    replied
    Yes, just run it, which again is instant.

    As the FAQ notes, some browsers no longer allow "javascript:" URLs to be typed directly into the URL bar.

    Leave a comment:


  • tekwojenski
    replied
    >> 1. Seems an odd question - if you've got a page that is loading your Component XML, you just reload it.

    >>What you may be thinking is that this is slow, because with UI Binder there is a GWT compile involved. With Component XML there is no GWT compile involved, so the reload is basically instant (another major advantage).

    Here is my workflow:
    1) Create a layout sampleLayout.xml file in Eclipse.
    2) Edit sampleLayout.xml by typing in my layout xml tags.
    3) How do I Preview what I just typed in? Is it possible? Or do I just run it and see it via running form?
    4) Is the VisualBuilder the only graphical tool used to visually assemble the forms?

    BTW: I was able to get the Developer Console to work by adding this code the module on load:
    if (!GWT.isScript()) {
    KeyIdentifier debugKey = new KeyIdentifier();
    debugKey.setCtrlKey(true);
    debugKey.setKeyName("D");
    Page.registerKey(debugKey, new KeyCallback() {
    public void execute(String keyName) {
    SC.showConsole();
    }
    });
    }
    But not via: javascript:isc.showConsole()

    Thanks

    Leave a comment:


  • Isomorphic
    replied
    1. Seems an odd question - if you've got a page that is loading your Component XML, you just reload it.

    What you may be thinking is that this is slow, because with UI Binder there is a GWT compile involved. With Component XML there is no GWT compile involved, so the reload is basically instant (another major advantage).

    2. The FAQ has instructions for loading the Developer Console if you're having trouble.

    Leave a comment:


  • tekwojenski
    replied
    1) Component XML -> is only a way to write the GUI layout code in XML via text. Right?

    So, how do I preview my layout XML code that I write?


    2) I'm trying to launch the Developer Console by typing:
    javascript:isc.showConsole() into the URL of the browser, but I get nothing back.
    When I type in: http://127.0.0.1:8888/myappName/sc/system/helpers/Log.html I do get something but it looks really bad, :-( ? How do I start the console?

    Thank you.





    Thanks

    Leave a comment:


  • Isomorphic
    replied
    Is Component XML visual or only XML?
    Could you rephrase this question?

    Visual Builder is part of Pro and above. Full details of Editions & Pricing are here.

    Leave a comment:


  • tekwojenski
    replied
    Is Component XML visual or only XML? Also I saw VisualBuilder, but this is not part of the free product, is that correct?

    Thanks

    Leave a comment:


  • Isomorphic
    replied
    The uibinding-smartgwt project is not something created by Isomorphic - we investigated UIBinder support but found it too inflexible to support the XML syntax required by SmartGWT.

    Instead we offer Component XML (see docs). This has the (gigantic) advantage that it can be changed and reloaded at runtime, allowing various scenarios such as database-driven XML screen layouts and user-modifiable UI.

    Leave a comment:

Working...
X