diff --git a/framework/example/webapp/example/WEB-INF/controller.xml b/framework/example/webapp/example/WEB-INF/controller.xml index aaf89f92b5..b1b82e3463 100644 --- a/framework/example/webapp/example/WEB-INF/controller.xml +++ b/framework/example/webapp/example/WEB-INF/controller.xml @@ -163,5 +163,11 @@ under the License. + + + + + + diff --git a/framework/example/webapp/example/ajax/createExampleAjax.ftl b/framework/example/webapp/example/ajax/createExampleAjax.ftl new file mode 100644 index 0000000000..428e70ff31 --- /dev/null +++ b/framework/example/webapp/example/ajax/createExampleAjax.ftl @@ -0,0 +1,110 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Type + +
Status + +
Example Name
Description
Long Description
Comments
Example Size
Example DateView Calendar +
Another DateView Calendar +
Another Text
 
+
+ diff --git a/framework/example/webapp/example/ajax/listExamplesAjax.ftl b/framework/example/webapp/example/ajax/listExamplesAjax.ftl new file mode 100644 index 0000000000..9f91f73ebc --- /dev/null +++ b/framework/example/webapp/example/ajax/listExamplesAjax.ftl @@ -0,0 +1,44 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + + + + + + + + + + + <#list examples as example> + <#assign type = (example.getRelatedOne("ExampleType"))?if_exists/> + <#assign status = (example.getRelatedOne("StatusItem"))?if_exists/> + + + + + + + + +
Example IDNameTypeStatusDescription
${example.exampleId}${example.exampleName?if_exists}${(type.description)?if_exists}${(status.description)?if_exists}${example.description?if_exists}
+ +
\ No newline at end of file diff --git a/framework/example/widget/example/ExampleAjaxScreens.xml b/framework/example/widget/example/ExampleAjaxScreens.xml new file mode 100644 index 0000000000..455d668aef --- /dev/null +++ b/framework/example/widget/example/ExampleAjaxScreens.xml @@ -0,0 +1,89 @@ + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+
+
+
+
+
+ + +
+ + + + + + + + +
+
+ + +
+ + + + + + + + + + + + +
+
+
\ No newline at end of file