Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand]: definition not found
[Xpand]: definition not found [message #552701] Fri, 13 August 2010 04:41 Go to next message
Eclipse UserFriend
Hi,

I have these 2 definitions in my template:

«DEFINE toEL(WebApp webApp) FOR Method»
#{«webApp.getControllerBindingName()».«name»}
«ENDDEFINE»
«DEFINE toHTML(WebApp webApp) FOR SelectItems»
<f:selectItems value="#{«methodBinding.toEL(webApp)»}" />
«ENDDEFINE»

But I have a problem:
Couldn't find operation 'toEL(JSF::WebApp)' for type 'JSF::Method'

thanks
Re: [Xpand]: definition not found [message #552704 is a reply to message #552701] Fri, 13 August 2010 04:44 Go to previous message
Eclipse UserFriend
Hi,

toEL is a definition and not an extension so you cannot call it as an extension. use something like

<f:selectItems value="#{«EXPAND toEL(webApp) FOR methodBinding»}" />


instead

~Christian
Previous Topic:JET2 Getting Started
Next Topic:how to restrict generation to a set of packages
Goto Forum:
  


Current Time: Thu Jul 24 19:31:01 EDT 2025

Powered by FUDForum. Page generated in 0.03612 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top