pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-840) Improve instructions on how to use BXML in an application
Date Sat, 18 Feb 2012 12:32:59 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210904#comment-13210904
] 

Greg Brown commented on PIVOT-840:
----------------------------------

Sandro is correct. This is a documentation issue, not a bug.

FYI, any Pivot application can be launched either as an applet or a desktop application. The
easiest way to make an application desktop-launchable is by adding the following method:

public static void main(String[] args) {
    DesktopApplicationContext.main(<your application class>.class, args);
}

Many of the sample applications provided with the platform do this.

                
> 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

        

Mime
View raw message