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

Sandro Martini commented on PIVOT-733:
--------------------------------------

Note that (moved here from PIVOT-406):
in demo.jnlp.xsl, the root param (set from build.xml) has to be fixed because 
for web start it need the full codebase (and currently in 
DesktopApplicationContext this is not read ... for this there will be a 
dedicated issue for Pivot 2.1).
But in demo.html.xsl that parameter is right, so it could not be changed there 
(and nor in large-data.xml).

A quick solution for 2.0.1 (without having to touch code), could be to set by 
hand in build.properties a variable, and use it inside build.xml , see the 
patch in attach.

For a better solution (for Web Start, because on Applets it already works), in 
2.1 maybe handle it using the codebase (read from Web Start BasicService) and 
overwrite the origin parameter. See the related issue.

                
> Re-enabling JNLP links in Demos
> -------------------------------
>
>                 Key: PIVOT-733
>                 URL: https://issues.apache.org/jira/browse/PIVOT-733
>             Project: Pivot
>          Issue Type: Improvement
>          Components: demos, web-site
>    Affects Versions: 2.0
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>             Fix For: 2.0.1
>
>
> To better align our Demos to IIA concepts, I'm thinking to re-enable JNLP 
> links for our Demos, so they can run even with Java Web Start as Applications.
> And maybe changing the text View with something like "Run as Applet", and add 
> bottom another link like "Run as Application" ...
> Note that this could help even to improve the experience to all users that 
> has/had troubles running our Applets (some thread on Pivot-2.0 and the 
> IcedTea plugin on Linux, and some problems on some Dell machines with 
> Windows, etc).
> Note that those links was removed by PIVOT-500 issue ( 
> https://issues.apache.org/jira/browse/PIVOT-500 ), but with latest Java 6 
> Update 21 and upper (currently 6 Update 24)  there isn't that problem, so now 
> it's safe to re-enable them.

--
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

        

Reply via email to