Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
El Arbi Aboussoror is currently offline El Arbi Aboussoror
Messages: 90
Registered: June 2010
Member
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
Christian Dietrich is currently offline Christian Dietrich
Messages: 6225
Registered: July 2009
Senior Member
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: Wed Aug 27 09:17:29 EDT 2014

Powered by FUDForum. Page generated in 0.10488 seconds