Skip to main content


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 AboussororFriend
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 DietrichFriend
Messages: 14661
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:JET2 Getting Started
Next Topic:how to restrict generation to a set of packages
Goto Forum:
  


Current Time: Fri Mar 29 16:00:42 GMT 2024

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

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

Back to the top