You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (Updated) (JIRA)" <ji...@apache.org> on 2012/02/18 13:24:59 UTC

[jira] [Updated] (PIVOT-840) Improve instructions on how to use BXML in an application

     [ https://issues.apache.org/jira/browse/PIVOT-840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandro Martini updated PIVOT-840:
---------------------------------

      Component/s: tutorials
      Description: 
All demos and documentation emphasize the use of BXML for specifying the user interface. 
All demos are implemented as applets where the system is apparently able to "find" the BXML file that it needs to create the UI.

Unfortunately, when anyone attempts to use BXML in an actual desktop application, using the proper "ScriptApplication" class and setting the "src" property, the application keeps generating an error saying that it "cannot find" the BXML file.

There are no instructions anywhere in the documentation about deploying a BXML file with a Pivot application. There is nothing saying where the file should be, how to get the ScriptApplication to find it, or any demos showing how to deploy a desktop application in general. There are no real instructions even for deploying  BXML- based Applets!

This is a "show- stopper" making Pivot's BXML mechanism unusable for most applications, in particular desktops. 
If people are to use BXML for most applications, some deployment instructions are seriously needed...


  was:
All demos and documentation emphasize the use of BXML for specifying the user interface. All demos are implemented as applets where the system is apparently able to "find" the BXML file that it needs to create the UI.

Unfortunately, when anyone attempts to use BXML in an actual desktop application, using the proper "ScriptApplication" class and setting the "src" property, the application keeps generating an error saying that it "cannot find" the BXML file.

There are no instructions anywhere in the documentation about deploying a BXML file with a Pivot application. There is nothing saying where the file should be, how to get the ScriptApplication to find it, or any demos showing how to deploy a desktop application in general. There are no real instructions even for deploying  BXML- based Applets!

This is a "show- stopper" making Pivot's BXML mechanism unusable for most applications, in particular desktops. If people are to use BXML for most applications, some deployment instructions are seriously needed...


         Priority: Minor  (was: Major)
    Fix Version/s: 2.0.2
         Assignee: Sandro Martini
           Labels: application bxml demos documentation tutorials  (was: )
       Issue Type: Improvement  (was: Bug)
          Summary: Improve instructions on how to use BXML in an application  (was: No instructions on how to use BXML in an application)

First I think that before opening an issue like this (with the chosen words) it would be better to discuss (and ask to us some more info) on our mailing lists ...

>This is a "show- stopper" making Pivot's BXML mechanism unusable for most applications, in particular desktops. 
I seriously doubt it ... ScriptApplication usually is used as a convenience to run simple applications.
As a workaround you can create a class to execute your application, like described in our Tutorials ...

In next days I'll post some update on this, with a link to discussion in mailing list, so here we can write only sthings to improve and steps to do (if needed).
In the meantime, if you have a test case (with a detailed description of steps) and/or if you have a minimal test application, attach here inside a zip so we can look at it better.

Sandro

                
> Improve instructions on how to use BXML in an application
> ---------------------------------------------------------
>
>                 Key: PIVOT-840
>                 URL: https://issues.apache.org/jira/browse/PIVOT-840
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos, tutorials
>    Affects Versions: 2.0.1
>         Environment: All Environments
>            Reporter: Robert Brown III
>            Assignee: Sandro Martini
>            Priority: Minor
>              Labels: application, bxml, demos, documentation, tutorials
>             Fix For: 2.0.2
>
>
> All demos and documentation emphasize the use of BXML for specifying the user interface. 
> All demos are implemented as applets where the system is apparently able to "find" the BXML file that it needs to create the UI.
> Unfortunately, when anyone attempts to use BXML in an actual desktop application, using the proper "ScriptApplication" class and setting the "src" property, the application keeps generating an error saying that it "cannot find" the BXML file.
> There are no instructions anywhere in the documentation about deploying a BXML file with a Pivot application. There is nothing saying where the file should be, how to get the ScriptApplication to find it, or any demos showing how to deploy a desktop application in general. There are no real instructions even for deploying  BXML- based Applets!
> This is a "show- stopper" making Pivot's BXML mechanism unusable for most applications, in particular desktops. 
> If people are to use BXML for most applications, some deployment instructions are seriously needed...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira