/
jcr.tld
796 lines (794 loc) · 36.3 KB
/
jcr.tld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>Provides tags for manipulating JCR content</description>
<display-name>Jahia JCR Tag Library</display-name>
<tlib-version>7.0</tlib-version>
<short-name>jcr</short-name>
<uri>http://www.jahia.org/tags/jcr</uri>
<!--
Import-Package:
org.jahia.taglibs,
org.jahia.taglibs.jcr
-->
<tag>
<description>Exposes the requested node type into the template scope.</description>
<name>nodeType</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRNodeTypeTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>Exposes a JCR node as a JCRNodeWrapper object</description>
<name>node</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRNodeTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the path to the JCR node</description>
<name>path</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the path to the JCR node</description>
<name>uuid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>Get the icon for a node or a nodetype</description>
<name>icon</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRNodeIconTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the node</description>
<name>node</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the node type</description>
<name>type</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>Sorts the specified list of JCRNodeWrapper objects</description>
<name>sort</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRSortTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the list to sort</description>
<name>list</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the properties on which we sort (the first property is a boolean, set it to false to make the sort case sensitive)</description>
<name>properties</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>Get a specific version of a node</description>
<name>nodeVersion</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRNodeVersionTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the path to the JCR node</description>
<name>node</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>versionName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>Displays a link to the given JCR node (surrounding tag behaving like a)</description>
<name>link</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRNodeLinkTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>the path to the JCR node</description>
<name>path</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>true to generate an absolute link</description>
<name>absolute</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
<tag>
<description>Allow access to a property of a node</description>
<name>nodeProperty</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRPropertyTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>The node on which you want to find the property</description>
<name>node</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>org.jahia.services.content.JCRNodeWrapper</type>
</attribute>
<attribute>
<description>The name of the property you want to find in the node</description>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>The name of a variable for storage of javax.jcr.Value object associated with this property</description>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>inherited (false is default) if true look up in parents properties</description>
<name>inherited</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Exposes into the template scope the result (as the javax.jcr.query.QueryResult instance) of the JCR query
based on the provided JCR_SQL2 expression.
You can then access to javax.jcr.NodeIterator using var.nodes or to javax.jcr.query.RowIterator using var.rows.
If no items match the query an empty result is exposed. This condition can be checked using nodes.size or rows.size method.
</description>
<name>sql</name>
<tag-class>org.jahia.taglibs.jcr.query.JCRSQLTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean will received a javax.jcr.query.QueryResult</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the SQL expression</description>
<name>sql</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the maximum size of the result set, expressed in terms of the number of Rows</description>
<name>limit</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Long</type>
</attribute>
<attribute>
<description>the start offset of the result set</description>
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Long</type>
</attribute>
<attribute>
<description>
If set to 'true' the query will be run with using the root user instead of the currently logged on user.
This is useful if you want to run queries with constraints on attributes, on which the current user has no access.
This option will work-around access control, so be very careful, when using this option to then not display results,
on which the current user has no access.
</description>
<name>useRootUser</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
<tag>
<description>
Exposes into the template scope the result (as the javax.jcr.query.QueryResult instance) of the JCR query
based on the provided XPath expression.
You can then access to javax.jcr.NodeIterator using var.nodes or to javax.jcr.query.RowIterator using var.rows.
If no items match the query an empty result is exposed. This condition can be checked using nodes.size or rows.size method.
</description>
<name>xpath</name>
<tag-class>org.jahia.taglibs.jcr.query.JCRXPathTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean will received a javax.jcr.query.QueryResult</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the XPath expression</description>
<name>xpath</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the maximum size of the result set, expressed in terms of the number of Rows</description>
<name>limit</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Long</type>
</attribute>
<attribute>
<description>the start offset of the result set</description>
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Long</type>
</attribute>
<attribute>
<description>
If set to 'true' the query will be run with using the root user instead of the currently logged on user.
This is useful if you want to run queries with constraints on attributes, on which the current user has no access.
This option will work-around access control, so be very careful, when using this option to then not display results,
on which the current user has no access.
</description>
<name>useRootUser</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
<tag>
<!--
Import-Package:
org.jahia.taglibs.query
-->
<description>
Exposes into the template scope the result (as the javax.jcr.query.QueryResult instance) of the JCR query
based on the provided Query Object Model, which is defined in the body via query tags.
You can then access to javax.jcr.NodeIterator using var.nodes or to javax.jcr.query.RowIterator using var.rows.
If no items match the query an empty result is exposed. This condition can be checked using nodes.size or rows.size method.
</description>
<name>jqom</name>
<tag-class>org.jahia.taglibs.jcr.query.JQOMTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of an existing QueryObjectModel bean in the request scope to be used for the query.
</description>
<name>qomBeanName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
SQL-2 statement that will be used to initialize the QOM - ignored if qomBeanName is used
</description>
<name>statement</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>the name of the scoped bean with the exposed javax.jcr.query.QueryResult</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>the scope of the bean with the QueryResult bean (see PageContext). Defaults to page scope.</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>the maximum size of the result set, expressed in terms of the number of Rows</description>
<name>limit</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Long</type>
</attribute>
<attribute>
<description>the start offset of the result set</description>
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Long</type>
</attribute>
</tag>
<tag>
<description>Allow access to a property of a node</description>
<name>nodePropertyRenderer</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRPropertyCustomRendererTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>The node on which you want to find the property</description>
<name>node</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>org.jahia.services.content.JCRNodeWrapper</type>
</attribute>
<attribute>
<description>The name of the property you want to find in the node</description>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>The name of a variable for storage of javax.jcr.Value object associated with this property</description>
<name>var</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>The name of renderer defined in ChoiceListRendererService in Spring</description>
<name>renderer</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
<tag>
<description>Allow access to initilaizers of a property of a node</description>
<name>propertyInitializers</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRPropertyInitializerTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>The node on which you want to find the property</description>
<name>node</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>org.jahia.services.content.JCRNodeWrapper</type>
</attribute>
<attribute>
<description>The nodetype on which you want to find the property</description>
<name>nodeType</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>The name of the property you want to find in the node</description>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>The list of initalizers you wnat to use comma separated</description>
<name>initializers</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>The name of a variable for storage of javax.jcr.Value object associated with this property</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
</tag>
<tag>
<description>Filter a list of nodes</description>
<name>filter</name>
<tag-class>org.jahia.taglibs.jcr.node.JCRFilterTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>the name of the exposed bean</description>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the list of nodes to filter</description>
<name>list</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the properties on which we filter (json format)</description>
<name>properties</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the node types on which we filter</description>
<name>types</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>the list node itself (mandatory in case of properties filter)</description>
<name>node</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>org.jahia.services.content.JCRNodeWrapper</type>
</attribute>
<attribute>
<description>the scope of the bean (see PageContext)</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<function>
<description>
Get label value depending on the specified local
</description>
<name>label</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.lang.String label(java.lang.Object,java.lang.String)</function-signature>
</function>
<function>
<description>
Evaluates to true if the current node has the specified type or at least one of the specified node types (comma-separated).
</description>
<name>isNodeType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>boolean isNodeType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
</function>
<function>
<description>Returns the string name of the node property type</description>
<name>propertyTypeName</name>
<function-class>org.jahia.services.content.nodetypes.ExtendedPropertyType</function-class>
<function-signature>java.lang.String nameFromValue(int)</function-signature>
<example>
${jcr:propertyTypeName(myProperty.type)}
</example>
</function>
<function>
<description>
Returns an iterator with the child nodes of the current node, which match
the specified node type name. This is an advanced version of the
getNodes(JCRNodeWrapper, String) method to handle multilpe node types.
</description>
<name>getChildrenOfType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.List getChildrenOfType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getChildrenOfType(currentNode,'jnt:page,jnt:folder')}
</example>
</function>
<function>
<description>
Returns an iterator with the descendant nodes of the current node, which match
the specified node type name.
</description>
<name>getDescendantNodes</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>javax.jcr.NodeIterator getDescendantNodes(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getDescendantNodes(currentNode,'jnt:page,jnt:folder')}
</example>
</function>
<function>
<description>Returns childNodes of a certain type</description>
<name>getNodes</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.List getNodes(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getNodes(currentNode,'jnt:page')}
</example>
</function>
<function>
<description>
Returns the first parent of the current node that has the specified node type.
If no matching node is found, null is returned.
</description>
<name>getParentOfType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>org.jahia.services.content.JCRNodeWrapper getParentOfType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getParentOfType(currentNode,'jnt:page')}
</example>
</function>
<function>
<description>
Returns the first parent of the current node that can be displayed in full page.
If no matching node is found, null is returned.
</description>
<name>findDisplayableNode</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>org.jahia.services.content.JCRNodeWrapper findDisplayableNode(org.jahia.services.content.JCRNodeWrapper,org.jahia.services.render.RenderContext)</function-signature>
<example>
${jcr:findDisplayableNode(currentNode,renderContext)}
</example>
</function>
<function>
<description>
Returns the first parent of the current node that can be displayed in full page.
If no matching node is found, null is returned.
</description>
<name>findDisplayableNodeInSite</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>org.jahia.services.content.JCRNodeWrapper findDisplayableNodeInSite(org.jahia.services.content.JCRNodeWrapper,org.jahia.services.render.RenderContext,org.jahia.services.content.decorator.JCRSiteNode)</function-signature>
<example>
${jcr:findDisplayableNodeInSite(currentNode,renderContext,currentNode.resolveSite)}
</example>
</function>
<function>
<description>
Returns the parents of the current node that have the specified node type.
If no matching node is found, an empty list is returned.
</description>
<name>getParentsOfType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.List getParentsOfType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getParentsOfType(currentNode,'jnt:page')}
</example>
</function>
<function>
<description>Returns map of string key,string value using for key the node name of nodes of the type given as an
argument found in the second argument node, and the value will be the matching property found in the first argument node</description>
<name>getPropertiesAsStringFromNodeNameOfThatType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.Map getPropertiesAsStringFromNodeNameOfThatType(org.jahia.services.content.JCRNodeWrapper,org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getPropertiesAsStringFromNodeNameOfThatType(responseNode,currentNode,'jnt:formContent')}
</example>
</function>
<function>
<description>
DEPRECATED: Use user taglib instead
Returns map of string groupName,JahiaGroup value
</description>
<name>getUserMembership</name>
<function-class>org.jahia.taglibs.user.User</function-class>
<function-signature>java.util.Map getUserMembership(org.jahia.services.content.JCRNodeWrapper)</function-signature>
<example>
${jcr:getUserMembership(currentNode)}
</example>
</function>
<function>
<description>Returns true if the current node has at least one child node of the specified type.</description>
<name>hasChildrenOfType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>boolean hasChildrenOfType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:hasChildrenOfType(currentNode,'jnt:page,jnt:folder')}
</example>
</function>
<function>
<description>Returns true if the current user has the specified right on the node.</description>
<name>hasPermission</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>boolean hasPermission(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:hasPermission(currentNode,'read')}
</example>
</function>
<function>
<description>Returns a human readable string for the length of a file.</description>
<name>humanReadableFileLength</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.lang.String humanReadableFileLength(org.jahia.services.content.JCRNodeWrapper)</function-signature>
<example>
${jcr:humanReadableFileLength(document)}
</example>
</function>
<function>
<description>
Returns the parents of the current node that have the specified node type.
If no matching node is found, an empty list is returned.
</description>
<name>getMeAndParentsOfType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.List getMeAndParentsOfType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
<example>
${jcr:getParentsOfType(currentNode,'jnt:page')}
</example>
</function>
<function>
<description>Returns true if the current node has orderable child nodes.</description>
<name>hasOrderableChildNodes</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>boolean hasOrderableChildNodes(org.jahia.services.content.JCRNodeWrapper)</function-signature>
<example>
${jcr:hasOrderableChildNodes(currentNode)}
</example>
</function>
<function>
<description>Returns node type constraints</description>
<name>getConstraints</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.lang.String getConstraints(org.jahia.services.content.JCRNodeWrapper)
</function-signature>
<example>
${jcr:getConstraints(currentNode)}
</example>
</function>
<function>
<description>Escapes illegal JCR chars</description>
<name>escapeIllegalJcrChars</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.lang.String escapeIllegalJcrChars(java.lang.String)
</function-signature>
<example>
${jcr:escapeIllegalJcrChars(facet.key)}
</example>
</function>
<function>
<description>
DEPRECATED: Use user taglib instead
Returns the full user name, including first and last name.
If those are not available, returns the username.
</description>
<name>userFullName</name>
<function-class>org.jahia.taglibs.user.User</function-class>
<function-signature>java.lang.String userFullName(org.jahia.services.content.JCRNodeWrapper)
</function-signature>
<example>
<c:out value="${jcr:userFullName(currentUserNode)}"/>
</example>
</function>
<function>
<description>
Get label value of property definition depending on the specified local and the specified ExtendedNodeType
</description>
<name>labelInNodeType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.lang.String label(org.jahia.services.content.nodetypes.ExtendedPropertyDefinition,java.lang.String,org.jahia.services.content.nodetypes.ExtendedNodeType)</function-signature>
</function>
<function>
<description>get the path of the system site</description>
<name>getSystemSitePath</name>
<function-class>org.jahia.services.content.JCRContentUtils</function-class>
<function-signature>java.lang.String getSystemSitePath()</function-signature>
</function>
<function>
<description>Returns a Map of allowed components in contribute mode (key is a node type name, value is a localized disaply label)</description>
<name>getContributeTypesDisplay</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.Map getContributeTypesDisplay(org.jahia.services.content.JCRNodeWrapper, org.jahia.services.content.JCRNodeWrapper, javax.jcr.Value[], java.util.Locale)</function-signature>
</function>
<function>
<description>DEPRECATED: Not used anymore</description>
<name>getContributeTypes</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.List getContributeTypes(org.jahia.services.content.JCRNodeWrapper, org.jahia.services.content.JCRNodeWrapper, javax.jcr.Value[])</function-signature>
</function>
<function>
<description>return true if nodeTypes is allowed under node</description>
<name>isAllowedChildNodeType</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>boolean isAllowedChildNodeType(org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
</function>
<function>
<description>Evaluates to true if the node is locked and cannot be edited by current user.</description>
<name>isLockedAndCannotBeEdited</name>
<function-class>org.jahia.services.content.JCRContentUtils</function-class>
<function-signature>boolean isLockedAndCannotBeEdited(org.jahia.services.content.JCRNodeWrapper)</function-signature>
</function>
<function>
<description>Return list of nodes having the asked permission and of the asked type.</description>
<name>findAllowedNodesForPermission</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.util.List findAllowedNodesForPermission(java.lang.String,org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
</function>
<function>
<description>Return the first node that match the asked permission and of the asked type under specified path.</description>
<name>getFirstAllowedNodeForPermission</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>org.jahia.services.content.JCRNodeWrapper
getFirstAllowedNodeForPermission(java.lang.String,org.jahia.services.content.JCRNodeWrapper,java.lang.String)</function-signature>
</function>
<function>
<description>check if the node as a renderable template associated with it (not a view a template).</description>
<name>isDisplayable</name>
<function-class>org.jahia.services.content.JCRContentUtils</function-class>
<function-signature>boolean isADisplayableNode(org.jahia.services.content.JCRNodeWrapper,org.jahia.services.render.RenderContext)</function-signature>
</function>
<function>
<description>
Returns a string with comma-separated keywords, found on the current node (or the parent one, if inheritance is considered), or an
empty string if no keywords are present.
</description>
<name>getKeywords</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>java.lang.String getKeywords(org.jahia.services.content.JCRNodeWrapper,boolean)</function-signature>
<example><![CDATA[
<c:set var="keywords" value="${jcr:getKeywords(renderContext.mainResource.node, true)}"/>
<c:if test="${!empty keywords}"><meta name="keywords" content="${fn:escapeXml(keywords)}" /></c:if>
]]>
</example>
</function>
<function>
<description>Evaluate to true if the node and if specified, its subnodes, need publication.</description>
<name>needPublication</name>
<function-class>org.jahia.taglibs.jcr.node.JCRTagUtils</function-class>
<function-signature>boolean needPublication(org.jahia.services.content.JCRNodeWrapper, java.lang.String, boolean, boolean, boolean)</function-signature>
</function>
</taglib>