categorypicker.jspf
来自「webwork in action 下载。」· JSPF 代码 · 共 17 行
JSPF
17 行
<%@ page contentType="text/html; charset=UTF-8"%><%@ taglib prefix="ww" uri="webwork"%><%--The categoryPicker action selects all categories in the system, orders them, and then provides access to them viathe categories property. The categories are ordered in a logical tree structure alphabetically.--%><ww:action name="categoryPicker" id="categoryPicker"/><%--A lambda expression that takes an an array of size two: a category and the identation string. This lambda expressionuses recursion to ensure that the string " . " is appended for each level that the category is deep.--%><ww:set name="indent" value=":[#this[0].parentCategory == null ? #this[1] : #indent({#this[0].parentCategory, #this[1] + ' . '})]"/>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?