Repository: incubator-juneau-website Updated Branches: refs/heads/asf-site 8d02460d7 -> 2f44207c2
Better images. Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/2f44207c Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/2f44207c Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/2f44207c Branch: refs/heads/asf-site Commit: 2f44207c2a9be97b168f14832108c21ab4f9295d Parents: 8d02460 Author: JamesBognar <[email protected]> Authored: Fri Sep 8 22:45:52 2017 -0400 Committer: JamesBognar <[email protected]> Committed: Fri Sep 8 22:45:52 2017 -0400 ---------------------------------------------------------------------- content/about2.html | 30 ++++++++++++++--------- content/images/PetStore.png | Bin 194648 -> 121032 bytes content/images/PetStore_Query.png | Bin 292775 -> 202082 bytes content/images/Samples_RootResources.png | Bin 171499 -> 165357 bytes content/images/Swagger.png | Bin 245922 -> 95579 bytes content/images/SystemPropertiesForm.png | Bin 56052 -> 42428 bytes content/images/SystemPropertiesResource.png | Bin 53280 -> 179512 bytes 7 files changed, 19 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/about2.html ---------------------------------------------------------------------- diff --git a/content/about2.html b/content/about2.html index 30fb455..bcc18e6 100644 --- a/content/about2.html +++ b/content/about2.html @@ -1254,7 +1254,7 @@ <p> In HTML, our resource looks like this: </p> - <img class='bordered' src='images/SystemPropertiesResource.png'> + <img class='bordered' src='images/SystemPropertiesResource.png' width="800px"> <p> When combined with the support for HTML5 beans, simple HTML forms can be constructed for easy input and output @@ -1271,10 +1271,18 @@ ) <jk>public</jk> Form getFormPage() { <jk>return</jk> <jsm>form</jsm>().method(<js>"POST"</js>).action(<js>"formPagePost"</js>).children( - <jsm>h4</jsm>(<js>"Set system property"</js>), - <js>"Name: "</js>, <jsm>input</jsm>(<js>"text"</js>).name(<js>"name"</js>), <jsm>br</jsm>(), - <js>"Value: "</js>, <jsm>input</jsm>(<js>"text"</js>).name(<js>"value"</js>), <jsm>br</jsm>(), <jsm>br</jsm>(), - <jsm>button</jsm>(<js>"submit","Click me!"</js>).style(<js>"float:right"</js>) + <jsm>table</jsm>( + <jsm>tr</jsm>( + <jsm>th</jsm>(<js>"Set system property"</js>).colspan(2) + ), + <jsm>tr</jsm>( + <jsm>td</jsm>(<js>"Name: "</js>), <jsm>td</jsm>(<jsm>input</jsm>(<js>"text"</js>).name(<js>"name"</js>)) + ), + <jsm>tr</jsm>( + <jsm>td</jsm>(<js>"Value: "</js>), <jsm>td</jsm>(<jsm>input</jsm>(<js>"text"</js>).name(<js>"value"</js>)) + ) + ), + <jsm>button</jsm>(<js>"submit"</js>,<js>"Click me!"</js>).<jsm>style</jsm>(<js>"float:right"</js>) ); } @@ -1288,7 +1296,7 @@ <jk>return new</jk> Redirect(<js>"servlet:/"</js>); <jc>// Redirect to the servlet top page.</jc> } </p> - <img class='bordered' src='images/SystemPropertiesForm.png'> + <img class='bordered' src='images/SystemPropertiesForm.png' width="800px"> <p> The REST API is built on top of Servlets, making them easy to deploy in any JEE environment. </p> @@ -1489,7 +1497,7 @@ <p> Auto-generated OPTIONS pages are constructed from Swagger DTO beans, here shown serialized as HTML: </p> - <img class='bordered' src='images/Swagger.png'> + <img class='bordered' src='images/Swagger.png' width="800px"> <p> Swagger documentation can be populated from annotations (as above), resource bundles, or Swagger JSON files. </p> @@ -1564,7 +1572,7 @@ <p> The above resource when rendered in HTML shows how easy it is to discover and navigate to child resources using a browser: </p> - <img class='bordered' src='images/Samples_RootResources.png'> + <img class='bordered' src='images/Samples_RootResources.png' width="800px"> <p> Resources can be nested arbitrarily deep. The <ja>@RestResource</ja> and <ja>@RestMethod</ja> annotations can be applied to any classes, not just @@ -1579,7 +1587,7 @@ For example, the <code>PetStoreResource</code> class shows some advanced features such as using POJO renders and converters, and HTML widgets. </p> - <img class='bordered' src='images/PetStore.png'> + <img class='bordered' src='images/PetStore.png' width="1000px"> <p> The beans being serialized are shown here: @@ -1632,7 +1640,7 @@ In this case, we're using the <code>Queryable</code> converter that allows us to perform search/view/sort/paging against collections of beans: </p> - <img class='bordered' src='images/PetStore_Query.png'> + <img class='bordered' src='images/PetStore_Query.png' width="1000px"> <p> The drop-down menu items are implemented through "widgets" which allow you to embed arbitrary HTML, Javascript, @@ -1919,7 +1927,7 @@ <!-- === JUNEAU-MICROSERVICE-SERVER ======================================================================== --> <!-- ======================================================================================================= --> - <h6 class='toc' id='juneau-microservice'>6.1 - juneau-microservice-server</h6> + <h6 class='toc' id='juneau-microservice-server'>6.1 - juneau-microservice-server</h6> <div> <h6 class='figure'>Maven Dependency</h6> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/images/PetStore.png ---------------------------------------------------------------------- diff --git a/content/images/PetStore.png b/content/images/PetStore.png index ae7bae8..4254abd 100644 Binary files a/content/images/PetStore.png and b/content/images/PetStore.png differ http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/images/PetStore_Query.png ---------------------------------------------------------------------- diff --git a/content/images/PetStore_Query.png b/content/images/PetStore_Query.png index fda47ae..67e4b4b 100644 Binary files a/content/images/PetStore_Query.png and b/content/images/PetStore_Query.png differ http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/images/Samples_RootResources.png ---------------------------------------------------------------------- diff --git a/content/images/Samples_RootResources.png b/content/images/Samples_RootResources.png index e43d31e..8ac7790 100644 Binary files a/content/images/Samples_RootResources.png and b/content/images/Samples_RootResources.png differ http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/images/Swagger.png ---------------------------------------------------------------------- diff --git a/content/images/Swagger.png b/content/images/Swagger.png index ede1777..821f61f 100644 Binary files a/content/images/Swagger.png and b/content/images/Swagger.png differ http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/images/SystemPropertiesForm.png ---------------------------------------------------------------------- diff --git a/content/images/SystemPropertiesForm.png b/content/images/SystemPropertiesForm.png index 6d924f7..594d7d5 100644 Binary files a/content/images/SystemPropertiesForm.png and b/content/images/SystemPropertiesForm.png differ http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f44207c/content/images/SystemPropertiesResource.png ---------------------------------------------------------------------- diff --git a/content/images/SystemPropertiesResource.png b/content/images/SystemPropertiesResource.png index c5d418a..e9b7d85 100644 Binary files a/content/images/SystemPropertiesResource.png and b/content/images/SystemPropertiesResource.png differ
