Ticket #2108 (assigned enhancement)

Opened 4 months ago

Last modified 7 weeks ago

Demos: Embeddingiframe and Embeddingexample fail

Reported by: Jani Laakso Owned by: Joonas Lehtinen
Priority: minor Milestone: IT Mill Sponsored Backlog
Component: Documentation Version: 5.2.8
Keywords: Cc: marko.gronroos@…
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

1. download 5.2.8

2. extract it

3. start it

4. http://localhost:8888/embeddingiframe.html

HTTP ERROR 404 displayed because of URLs: http://localhost:8888/itmill-toolkit-examples/Calc http://localhost:8888/itmill-toolkit-examples/colorpicker Solution: get rid of "/itmill-toolkit-examples/" in urls.

5. http://localhost:8888/embeddingexample.html

Two issues: a) HTML does not contain valid "kickstart" code for Toolkit. b) get rid of "/itmill-toolkit-examples/" in urls.

Change History

Changed 4 months ago by Joonas Lehtinen

  • owner changed from ticketmaster to Joonas Lehtinen
  • priority changed from undefined to minor
  • status changed from new to accepted
  • milestone set to User Interface Library 5.2.9

Resolution: get rid of embeddingiframe.html that is not linked or promoted anywhere (?).

Changed 4 months ago by Joonas Lehtinen

Also remove (broken) multiapp.html

Changed 4 months ago by Joonas Lehtinen

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in [5491]

Changed 4 months ago by Jani Laakso

  • status changed from closed to reopened
  • resolution deleted

Why did you remove multiapp.html too?

multiapp.html actually works, verified with 5.2.8 release and on trunk (before [5491] fix)

I decided to restore it back to the trunk because others would like to see this example and manual points to it too.

This is important example which covers cases such as: How to embed multiple Toolkit applications to HTML page / Embedding Toolkti to Legacy systems / Using custom HTML document with Toolkit applications. => please keep this example on releases and manual too..

Changed 4 months ago by Jani Laakso

  • cc marko.gronroos@… added

My changes on [5508]

Joonas, please review..

Marko, keep this on manual please..

Changed 4 months ago by Joonas Lehtinen

  • owner changed from Joonas Lehtinen to Marko Gronroos
  • status changed from reopened to assigned

5.2.9 will be out before I have time to review this. Sorry.

(anyways - the idea of keeping multiapp.html example is fine with me. Is the location in the root of the WebApp? correct - or should it be buriead a bit deeper?)

Changed 4 months ago by Joonas Lehtinen

Marko, looked at the multiapp.html. It only works if you happen to be running toolkit application in root path of your server. Furthermore there is a hard-coded version-number in the example.

Please remove this [5508] multiapp example from the trunk (and 5.2) as the html depends on deployment configuration.

Instead I would (later) add WebApplication?/examples/multiapp.jsp

(where jsp would generate correct looking html-page.

Changed 3 months ago by Marko Gronroos

  • milestone changed from User Interface Library 5.2.9 to User Interface Library 5.2.10

Removed the file temporarily for 5.2.9 in [5543] in 5.2 branch. As the solution is still unclear, I'm retargeting this to 5.2.10 and returning the ball to Jonas.

Changed 3 months ago by Marko Gronroos

  • owner changed from Marko Gronroos to Joonas Lehtinen

Changed 3 months ago by Marko Gronroos

  • milestone changed from User Interface Library 5.2.10 to User Interface Library 5.2.11

Changed 3 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2.11 to User Interface Library 5 stable branch backlog

Changed 7 weeks ago by Joonas Lehtinen

  • type changed from defect to enhancement
  • component changed from Demos to Documentation
  • milestone changed from User Interface Library 5 stable branch backlog to User Interface Library 5.3.0 RC

Classified as documentation enhantment and postponed to 5.3.0

Changed 7 weeks ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.3.0 RC to IT Mill Sponsored Backlog
Note: See TracTickets for help on using tickets.