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 08: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 08:44 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6388
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: Fri Oct 24 09:50:48 GMT 2014

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

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