Skip to content

Commit

Permalink
#1086 removed #{now} because it collides with OmniFaces
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanrauh committed Aug 1, 2019
1 parent 90613dd commit 185c8e5
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/meta/META-INF/faces-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,5 @@
</system-event-class>
</system-event-listener>
</application>

<managed-bean>
<description>
<![CDATA[
This makes an instance of <code>java.util.Date</code> as current datetime available by
<code>#{now}</code>.
]]>
</description>
<managed-bean-name>now</managed-bean-name>
<managed-bean-class>java.util.Date</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

</faces-config>

0 comments on commit 185c8e5

Please sign in to comment.