WW-4434 Adds basic version of missing ftl
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9bca437b Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9bca437b Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9bca437b Branch: refs/heads/master Commit: 9bca437b9aeea7e5d7eabc2291a47b1dded5cf30 Parents: 6423490 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Tue Dec 30 20:47:46 2014 +0100 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Tue Dec 30 20:47:46 2014 +0100 ---------------------------------------------------------------------- .../main/resources/template/simple/datetext.ftl | 21 ++++++++++++++++++ .../main/resources/template/xhtml/datetext.ftl | 23 ++++++++++++++++++++ 2 files changed, 44 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/9bca437b/core/src/main/resources/template/simple/datetext.ftl ---------------------------------------------------------------------- diff --git a/core/src/main/resources/template/simple/datetext.ftl b/core/src/main/resources/template/simple/datetext.ftl new file mode 100644 index 0000000..6d8396c --- /dev/null +++ b/core/src/main/resources/template/simple/datetext.ftl @@ -0,0 +1,21 @@ +<#-- +/* + * 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. + */ +--> +<#lt/><div>Tag <pre style="display: inline-block"><s:datetext/></pre> works only with the JavaTemplates Plugin!</div><#rt/> http://git-wip-us.apache.org/repos/asf/struts/blob/9bca437b/core/src/main/resources/template/xhtml/datetext.ftl ---------------------------------------------------------------------- diff --git a/core/src/main/resources/template/xhtml/datetext.ftl b/core/src/main/resources/template/xhtml/datetext.ftl new file mode 100644 index 0000000..d15b24a --- /dev/null +++ b/core/src/main/resources/template/xhtml/datetext.ftl @@ -0,0 +1,23 @@ +<#-- +/* + * 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. + */ +--> +<#include "/${parameters.templateDir}/${parameters.expandTheme}/controlheader.ftl" /> +<#include "/${parameters.templateDir}/simple/datetext.ftl" /> +<#include "/${parameters.templateDir}/${parameters.expandTheme}/controlfooter.ftl" />