Skip to content
Permalink
Browse files

For #4066: don't output markup for LHHA with `appearance="xxf:internal"`

  • Loading branch information
avernet committed May 23, 2019
1 parent d2ee3c4 commit 7dcb008bd82b677fd4c934bd939b616ee7d4dd19
@@ -220,9 +220,15 @@ abstract class XFormsBaseHandlerXHTML (
isExternal : Boolean
): Unit = {

val isInternal = lhhaAnalysis.appearances(XFormsConstants.XXFORMS_INTERNAL_APPEARANCE_QNAME)
val staticLHHAAttributes = Dom4jUtils.getSAXAttributes(lhhaAnalysis.element)

if ((staticLHHAAttributes ne null) || lhha == LHHA.Alert) {
if (
! isInternal &&
(
(staticLHHAAttributes ne null) ||
lhha == LHHA.Alert
)) {

// If no attributes were found, there is no such label / help / hint / alert

0 comments on commit 7dcb008

Please sign in to comment.
You can’t perform that action at this time.