Load FXG Documents at Runtime?

Anybody know if this is possible?

Hi,
I am a developer at rocketboots. I have been working on a runtime FXG parser, we call XInstance. Actually its a more generic MXML parser.
It supports "{}" (binding syntax), but doesn't actual bind expressions but only assigns id's.
We use it internally to load xml models at runtime and convert them to modal classes.
I didn't really know where the FXG classes existed in the flex sdk, so i was building all the FXG classes myself (already spent 4 days) and i realised today that the classes are distributed in the spark and mx namespaces.
Its not yet open source, but its going to be in several days, once i get a proper FXG demo working.

Similar Messages

  • Is it possible to load fxg graphics at runtime

    Hi All,
    I have costumers that want to change and update icons that where constructed with AI and are FXG graphics.
    Is is possible to load FXG graphics at runtime?
    Lior

    The AppModule for a page is configured in an attribute of the root element of that page. Maybe that attribute is available at the OAWebBean parameter in processRequest.

  • Load JDBC driver in runtime

    Hi all,
    I'm trying to load mysql jdbc driver in runtime i've tried the following links
    [http://dev-loki.blogspot.com/2008/01/loading-jdbc-driver-at-runtime.html]
    [http://www.kfu.com/~nsayer/Java/dyn-jdbc.html]
    [http://www.devdaily.com/java/edu/JDBC-SQLProcessor/Simple_JDBC_Example.shtml]
    [http://tech.puredanger.com/2006/11/09/classloader/]
    [http://fdt.powerflasher.com/blog/?p=35]
    I'm not being able to get this to work it always given the classnotfoundexception
    can anyone help please?
    Thanks in advance

    There is no server. I'm doing a normal java aplication, i wanted to have a folder where would be the jdbc drivers in runtime the user will choose what driver to load to access a some db.
    I'm using eclipse and this is what i have now
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverPropertyInfo;
    import java.sql.SQLException;
    import java.util.Properties;
    public class DriverShim implements Driver{
         private Driver driver;
         public DriverShim(Driver d) {
              this.driver = d;
         public boolean acceptsURL(String u) throws SQLException {
              return this.driver.acceptsURL(u);
         public Connection connect(String u, Properties p) throws SQLException {
              return this.driver.connect(u, p);
         public int getMajorVersion() {
              return this.driver.getMajorVersion();
         public int getMinorVersion() {
              return this.driver.getMinorVersion();
         public DriverPropertyInfo[] getPropertyInfo(String u, Properties p) throws SQLException {
              return this.driver.getPropertyInfo(u, p);
         public boolean jdbcCompliant() {
              return this.driver.jdbcCompliant();
                   String libraryPath = System.getProperty("java.library.path");
              String sep = System.getProperty("path.separator");
              libraryPath = "." + sep + "C:/Users/Luis/Documents/eclipse/workspace/DBDIGGER/lib/connectors" + sep + "native" + sep + libraryPath;
              //libraryPath ="C:/Users/Luis/Documents/eclipse/workspace/DBDIGGER/lib/connectors";
              System.setProperty("java.library.path", libraryPath);
              System.out.println(libraryPath);
    URL u;
              try {
                   u = new URL("jar:file://C:/Users/Luis/Documents/eclipse/workspace/DB/lib/connectors/mysql-connector-java-5.1.7-bin.jar!/");
                   String classname = Settings.MYSQL;
                   URLClassLoader ucl = new URLClassLoader(new URL[] { u });
                   URL[] ee =ucl.getURLs();
                   Driver d = (Driver)Class.forName(classname, true, ucl).newInstance();
                   DriverManager.registerDriver(new DriverShim(d));
                   DriverManager.getConnection("jdbc:mysql://localhost:3306/mysql", "user", "pw");
              } catch (MalformedURLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (ClassNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (SQLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (InstantiationException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IllegalAccessException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } Project Folder Structure
    DB
    bin
    lib
    connectors
    mysql-connector-java-5.1.7-bin.jar
    src
    result of classpath
    .;C:/Users/Luis/Documents/eclipse/workspace/DBDIGGER/lib/connectors;native;C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\JavaFX\javafx-sdk1.1\bin;C:\Program Files\JavaFX\javafx-sdk1.1\emulator\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Softex\OmniPass;C:\Program Files\MySQL\MySQL Server 5.1\bin
    Maybe what i'm doing wrong is the classpath, this is not a web app is a standard java aplication...
    Could someone explain to me how to set a classpath ?? correctly...

  • The document information panel was unable to load. the document will continue to open. For more information, contact your system adminsitrator.

    Hi Guys,
    I am creating the library using object model with custom content type.  When i am opening document from custom content type, the meta data fields are not displaying in the document and throwing below error.
    The document information panel was unable to load. the document will continue to open. For more information, contact your system adminsitrator.
    Document Information Panel cannot open a new form.
    The form contains schema validation errors.
    Content for element '{http://schemas.microsoft.com/office/2006/metadata/propertiesRoot}properties' is incomplete according to the DTD/Schema.
    Expecting: {http://schemas.microsoft.com/office/2006/metadata/properties}properties.
    But after saving the document, then meta data is enabled.
    Thanks in advance for suggested solutions.
    thanks
    Santhosh G

    Hi,
    For a better troubleshooting, I suggest to do as follows:
    1. Please try to update the Location column's schema by following the steps below.
     1) Go to Site Settings -> "Site Columns"
     2) Click on "Location", after the page is opened. Don't modify any settings, click "OK"  to forcibly update the field's schema.
    2. Re-edit the document information panel template to see if the issue still occurs.
    Please go to the Library setting > click the corresponding content type(need to enable managed of content types in Advanced settings) > click Document Information Panel settings.
    3. Here are some similar links about your issue, please take some time to look at them:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationlegacy/thread/243b4852-3f17-4a3a-b6d7-187d65a5f088/
    http://blogs.msdn.com/b/raresm/archive/2010/03/30/document-information-panel-cannot-open-the-form.aspx
    https://joranmarkx.wordpress.com/2012/02/10/sharepoint-document-information-panel-cannot-create-a-new-blank-form/
    If the issue still occurs, please check if the command below can help(change the site URL and the library name in the code):
    Apply-Fix -siteUrl "http://your site URL "
    function Apply-Fix($siteUrl)
    clear
    Add-PSSnapin "Microsoft.SharePoint.Powershell" -ErrorAction SilentlyContinue # -EA 0
    [Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath
    foreach ($spwTarget in (Get-SPSite $siteUrl).RootWeb.Webs) {
    Write-Host "Checking Web: " $spwTarget.Url
    $list = $spwTarget.Lists["your library name"]
    $fields = $list.fields
    foreach($field in $fields)
    if($field.SourceId -eq '{$ListId:your library name;}')
    $schemaxml = $field.SchemaXML
    $schemaxmldata = [xml]$schemaxml
    $schemaxmldata.Field.SetAttribute("SourceID", $list.ID)
    $schemaxml = $schemaxmldata.get_InnerXml()
    $field.SchemaXML = $schemaxml
    $field.Update()
    Write-Host "Fixed" $field.Title "field in the library"
    Write-Host "Done."
    More information:
    SharePoint 2010: Creating a Custom Content Type using Visual Studio
    http://www.codeproject.com/Articles/410880/SharePoint-Creating-a-Custom-Content-Type-usi
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Dennis Guo
    TechNet Community Support

  • Unable to load pdf documents on internet after downloading adobe reader XI

    Hi,
    I have just downloaded adobe reader XI. However when I try to load pdf documents off the internet there is an error message that says there is a problem with adobe reader with error 507:507. I am running on windows 7. Does anyone know how to fix this problem?
    thanks & regards,
    Selin

    my os is 32-bit windows 7 version 6.1 , i am using internet explorer 9. It works fine when i download it to my disk and open it from there.
    The problem suddenly happened for Adobe Reader X previously which I then uninstalled and installed Adobe Reader XI, but it didnt seem to solve the problem.

  • How to load a document in Muse without linking it to anything?

    I would like to load some documents to Muse before linking them to anything.  Is there a way to do that?
    So far I have been writing text and linking a new file / document from my computer to that text.....  but I don't really need that text as I just need the document to modified an HTML and include it in table later on...
    Here is an example of what I want to do ... Single Vane Pumps
    I would like to find a simpler way to link the document to my table, without having to link it to a random text just to have it available from Muse assets. <a class="nonblock" href="/assets/vtxb.pdf">VTXB</a></td>

    go to Files --> Add Files to Upload

  • How To Load A Document From An Array ?

    Hi All
    If i have an xml file
    <WhitetimeDocuments>
         <documents>
              <id>WhitetimeIntro</id>
              <name>Introduction To White Time</name>
              <location>WT_Intro.txt</location>
         </documents>
         <documents>
              <id>WhitetimeHealing</id>
              <name>White Time As A Healing Modality</name>
              <location>WT_Healing.txt</location>
         </documents>
         <documents>
              <id>WhitetimeClassOutline</id>
              <name>Outline For White Time Classes</name>
              <location>WT_Class_Intro.txt</location>
         </documents>
         <documents>
              <id>WhitetimeFacts</id>
              <name>Facts About White Time</name>
              <location>WT_Facts.txt</location>
         </documents>
    </WhitetimeDocuments>
    How can i load the document into a textarea component based on a button click by the user ?
    I have the httpservice call and a seperate Button Component for each document choice, but how do i then load the document ?
    Also how can a generate a dynamic list of buttons, based on the labelField 'Name' instead of having a static list of Button components ?
    Many Many Thanks
    Whitetimer
    Many Thanks

    Document should be on the server at some www.baseaddress.com/WT_Intro.txt.
    Assuming your XML is also on the server...
    Make the call to load the XML, parse the XML and get the url for the text file.
    Also Here you can read the names and pus them into an array list
    arraycollection: {"Name":value};
    For each url retrieved from the xml make a new call to the server and loat the
    txt. On the response you should have the text. (It is better to make the calls
    chained one after each other, since the response come back asynchronously, e.g
    on the response of one call make another call...)
    The names retrieved already can be passed as a dataProvider to a button bar
    component.
    HTH,
    C

  • HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file .

    HELP, PLEASE.. I'm looking for a App that I can install on both my iPad and iPhone, then when I load a document, picture, or anything on that app on iPhone or iPad, it will Sync with the other Device so both devices will end up with the same file ...

    iCloud Drive: https://www.apple.com/icloud/icloud-drive/
    Dropbox: https://itunes.apple.com/us/app/dropbox/id327630330?mt=8
    OneDrive: https://itunes.apple.com/us/app/onedrive-for-ios/id477537958?mt=8

  • Error while loading service Document Services Configuration (NW 7.0 SP13)

    Hello,
    I'm in the process of configuring the Adobe Document Services. Now I've received the Certificate + Credentials from SAP which I requested as described in Note 736902. I try to install them according to the Adobe Document Services Configuration Guide which I've downloaded from https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/90355269-4d89-2a10-0bb9-f388704f1dcd. [original link is broken] I've copied the pfx File to /usr/sap/<SAPSID>/SYS/global/AdobeDocumentServices/TrustManagerService/trust/credentials.
    Then I started Visual Administrator and opened Server <x> &#8594; Services &#8594; Document Services Configuration. Here I get this Error returned:
    Error while loading service Document Services Configuration
    com.sap.engine.services.adminadapter.exception.AdminException: com/adobe/ads/service/configuration/swing/CredentialTabUI
    Does anyone has a hint how I can resolve this problem?
    Regards
    Gregor

    Hello,
    I solved this problem by restarting J2EE and the Server.
    Regards
    Gregor

  • Hi- I applied the iTunes up to my Windows 7 86bit PC last Wednesday and iTunes will not load due to a Runtime error r6034Access to C Runtime Library Incorrectly. Then I get an windows error code 1114. I have tried rollling back and reinstalling but no joy

    Hi- I applied the iTunes up to my Windows 7 86bit PC last Wednesday and iTunes will not load due to a Runtime error r6034Access to C Runtime Library Incorrectly. Then I get an windows error code 1114. I have tried rollling back and reinstalling but no joy

    Hi Keen itunes User,
    Thanks for using Apple Support Communities.  This article has steps you can take for the error you're seeing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

  • An error has occurred while attempting to load the Crystal Reports runtime in deployed applications

    My reports use to work but now i'm getting the following error on all reports in all the applications on my server
    An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.

    Hi Willingtolearnja,
    This forum is for TFS, I'd like to know whether you use TFS and your question is related to TFS. It would be better to let us know more details about your scenario if it's related to TFS. If not, you might need to open a new thread in the proper tech forum
    that your project related for a better response.
    However, from the error message, you might use the wrong configuration for x86/x64 mode. Please change the configuartion and try again. Check the links below for more information:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/82e23647-7116-424b-b437-df0cb2be083d/an-error-has-occurred-while-attempting-to-load-the-crystal-reports-runtime?forum=vscrystalreports
    http://stackoverflow.com/questions/19286630/an-error-has-occured-while-attempting-to-load-the-crystal-reports-runtime
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to specify "Payment Document" at runtime or in PPP

    Hi,
    we have a requirement to run a single PPR for 12 operating Units, but each OU has separate Internal Bank accounts and hence separate Payment Document ranges
    currently "Payment Document" can be specified only while creating PPR, which is forcing us to create 12 PPRs instead of one PPR.
    is there a way to specify the "Payment Document" at runtime, i.e. any custom hook available similar to the one to specify internal bank account("IBY_ASSIGNEXT_PUB.hookForAssignments") at runtime?
    Rgds,
    -Kamal
    Edited by: Kamal on 03-Nov-2011 05:09

    Hi,
    After much investigation and SR with Oracle, it seems we can't specify the Payment Document at run time.
    Rgds,
    -Kamal

  • Error loading BASIC document. General Error. General input/output error".

    Error loading BASIC document. General Error. General input/output error".

    I guess your problem is related to StarOffice8, right?
    I had the same issue after upgrading StarOffice7 to StarOffice8:
    http://forum.java.sun.com/thread.jspa?threadID=5287604&tstart=0
    Apparently the .StarOffice8 directory in your export/home directory was created based on .StarOffice7
    directory. Probably here something went wrong. Maybe a bug.
    So the solution is very simple:
    rm -r .StarOffice8 in your export/home directory and restart StarOffice8.
    Or you can also rename the directory.

  • Creating new analysis gives "Error loading XML Document from ..."

    Trying to create analysis and getting "Error loading XML Document from saw.dll/answers/answersproperties.xml?fmapId=S1clug.
    The response given was:" after choosing subject area. Analysis editor is opened but Subject Areas is empty and can't do anything.
    The problem is on Mozilla 12 (16.0.2, 17.0.1) and IE 8. Chrome works fine.
    My system is Win 7, BI 11.1.1.6.0 is on Oracle Linux (and by the way Mozilla from Linux system works fine)
    What could be the reason of this?
    Edited by: 898973 on 4/12/2012 15:11

    Reinstalling Mozilla with "Remove personal data" option checked resolved the problem.

  • Problem Loading Word documents in BLOB columns

    Hi
    I tried loading the documents in the BLOB column, then indexing and then text serach, but the query does not work or guess that the document does not get loaded
    The table structure is
    table: Content
    feilds
    id number (10) pk
    author varchar2(30)
    doc_name varchar2(60)
    document BLOB default empty_blob()
    loaded data with SQL loader and the file details are below
    the load1.ctl file
    LOAD DATA
    INFILE 'd:\intermedia\data1.dat'
    INTO TABLE contents
    APPEND
    FIELDS TERMINATED BY ','
    (id SEQUENCE (MAX,1),
    author ,
    doc_name
    LOBFILE (CONSTANT 'c:\nandeep\jun_news.doc') TERMINATED BY EOF)
    data1.dat contents is as follows
    nandeep,june news,c:\nandeep\jun_news.doc,
    Any reason why it does not work or what could be the alternative
    -nandeep
    null

    Your are in the wrong Forum. Documents cannot be loaded in iFS using SQL*LOADER

Maybe you are looking for