Skip to main content

Why AjaxTag.doStartTag() return EVAL_BODY_BUFFERED but no EVAL_BODY_INCLUDE

1 reply [Last post]
dancewing
Offline
Joined: 2004-09-21

If EVAL_BODY_INCLUDE is returned, then evaluation happens as in AjaxTag.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

jMaki allows for the developer to specify the template HTML for a component as the body of the tag. This takes precedence over the component.html. In this case jMaki will get the body content as is and does string replacements on the tokens ${uuid}, ${service}, and ${value} with the respective values used with the tag. If EVAL_BODY_INCUDE were use the body could not be used as the template. The contents would be rendered as is and if there were any tokens they might be treated as EL expressions and get evaluated to nothing. Note in the TLD file the body content type is set to tagdependent for the same reason.