{"action":"created","issue":{"url":"https://api.github.com/repos/w20-framework/w20/issues/84","repository_url":"https://api.github.com/repos/w20-framework/w20","labels_url":"https://api.github.com/repos/w20-framework/w20/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/w20-framework/w20/issues/84/comments","events_url":"https://api.github.com/repos/w20-framework/w20/issues/84/events","html_url":"https://github.com/w20-framework/w20/issues/84","id":302969996,"number":84,"title":"Tomcat example required","user":{"login":"aritrabasu104","id":28999515,"avatar_url":"https://avatars2.githubusercontent.com/u/28999515?v=4","gravatar_id":"","url":"https://api.github.com/users/aritrabasu104","html_url":"https://github.com/aritrabasu104","followers_url":"https://api.github.com/users/aritrabasu104/followers","following_url":"https://api.github.com/users/aritrabasu104/following{/other_user}","gists_url":"https://api.github.com/users/aritrabasu104/gists{/gist_id}","starred_url":"https://api.github.com/users/aritrabasu104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aritrabasu104/subscriptions","organizations_url":"https://api.github.com/users/aritrabasu104/orgs","repos_url":"https://api.github.com/users/aritrabasu104/repos","events_url":"https://api.github.com/users/aritrabasu104/events{/privacy}","received_events_url":"https://api.github.com/users/aritrabasu104/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-07T05:30:50Z","updated_at":"2018-03-09T10:16:42Z","closed_at":null,"author_association":"NONE","body":"I need to deploy a W20 bridge application as an war to tomcat,Which I am able to.But the server is responding with a default html instead of configured one. An example will be a great help"},"comment":{"url":"https://api.github.com/repos/w20-framework/w20/issues/comments/371771956","html_url":"https://github.com/w20-framework/w20/issues/84#issuecomment-371771956","issue_url":"https://api.github.com/repos/w20-framework/w20/issues/84","id":371771956,"user":{"login":"adrienlauer","id":2498919,"avatar_url":"https://avatars1.githubusercontent.com/u/2498919?v=4","gravatar_id":"","url":"https://api.github.com/users/adrienlauer","html_url":"https://github.com/adrienlauer","followers_url":"https://api.github.com/users/adrienlauer/followers","following_url":"https://api.github.com/users/adrienlauer/following{/other_user}","gists_url":"https://api.github.com/users/adrienlauer/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienlauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienlauer/subscriptions","organizations_url":"https://api.github.com/users/adrienlauer/orgs","repos_url":"https://api.github.com/users/adrienlauer/repos","events_url":"https://api.github.com/users/adrienlauer/events{/privacy}","received_events_url":"https://api.github.com/users/adrienlauer/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T10:16:42Z","updated_at":"2018-03-09T10:16:42Z","author_association":"OWNER","body":"Hi!\r\nFragment manifest (*.w20.json) can only be picked by the W20 bridge when located in the classpath, so basically in `META-INF/resources`.\r\n\r\nIn a WAR you can also put fragments in the docroot (`src/main/webapp`) but they won't be detected. You have to configure them manually (with a full URL, not only the id) in the `w20.app.json` file.\r\n\r\nRegarding the masterpage (homepage), the W20 bridge will automatically render a template located by default at the classpath location `org/seedstack/w20/masterpage.html`. Every official theme has a default masterpage. You can override it with a custom one. \r\n\r\nDocumentation for the W20 bridge is [here](http://seedstack.org/addons/w20-bridge).\r\nA full W20 bridge example can be found [here](https://github.com/seedstack/samples/tree/master/w20-bridge). This example is not a WAR so it doesn't show how to declare fragments in the docroot.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"adrienlauer"}}