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

Turyn, Michael updated XAP-283:
-------------------------------

    Attachment: ajax-index.html

The attached worked for me in the root directory:  it needed a "context" 
attribute added to the <div/> tag with "startpage".  This is probably a good 
example to have around, as has been pointed out.

> Create root-level example for extracted XAP trunk
> -------------------------------------------------
>
>                 Key: XAP-283
>                 URL: https://issues.apache.org/jira/browse/XAP-283
>             Project: XAP
>          Issue Type: Task
>            Reporter: Trevor Oldak
>         Attachments: ajax-index.html
>
>
> When XAP is extracted from its archive, four folder the destination 
> directory. From that directory, the user can go into samples and run the 
> examples there, or go into dist and run the 'hello world!' app there. 
> However, if the user would like to run a xap application from the directory 
> to which they extracted the archive, there are no example files. Copying the 
> ajax-index files from dist doesn't help either; even if they fix the 
> incorrect paths, the XAP application will not run because "uncaught 
> exception: Message:The requested page ./xap/src/xap/taghandling/plugin.xml is 
> not available". The user will not know how to point the browser to the right 
> xml file, and common sense will provide no solutions.
> If we have a working 'hello world' sample extracted to the same root 
> directory as the other folders, however, the user will be able to see how to 
> change the directory of their application very easily. This 'hello world' 
> file could also serve as a readme and a pointer to the various samples to get 
> a more in-depth understanding of xap.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to