Skip to content

Commit

Permalink
Update TLDDoc for viewAction (Spec Issue 1811) and log "None" for whe…
Browse files Browse the repository at this point in the history
…n a Tag Class doesn't exist
  • Loading branch information
volosied committed Feb 23, 2024
1 parent 5509072 commit 45c8d2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public UIViewAction()
setRendererType(null);
}

@JSFProperty(jspName="if") // Faces 4.1 : https://github.com/jakartaee/faces/issues/1811
@Override
public boolean isRendered()
{
Expand Down
6 changes: 6 additions & 0 deletions impl/src/main/resources/META-INF/myfaces_facelet_core20.vm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ $baseContent
<tag>
<description><![CDATA[$component.longDescription]]></description>
<name>$utils.getTagName($component.name)</name>

#if ($component.tagClass)
<tag-class>$component.tagClass</tag-class>
#else
<tag-class>None</tag-class>
#end

#if ($component.bodyContent)
<body-content>$component.bodyContent</body-content>
#else
Expand Down

0 comments on commit 45c8d2c

Please sign in to comment.