Hi Nillehammer, *THANKS* for the help. It works like a charm
Cheers! On Wed, Jul 6, 2011 at 6:13 PM, Nillehammer < tapestry.nilleham...@winfonet.eu> wrote: > Hi Juan, > > thanks for providing the code. I have implemented it (with some slight > changes to get it to compile) and now I see the same error as you. I haven't > found a solution yet. I will come back, when I have found one (hopefully > ;-)). > > Cheers nillehammer > > > Am 06.07.2011 17:34, schrieb Juan Alba: > >> sorry guys, de error shown is this one, not the one sent before: >> >> >> org.apache.tapestry5.internal.**services.RenderQueueException >> Render queue error in AfterRenderBody[proxy/menu/** >> EndPoint:showendpointlink]: >> Conversion = o, Flags = , >> >> >> >> On Wed, Jul 6, 2011 at 12:17 PM, Juan >> Alba<juan.a...@condortech.com.**ar<juan.a...@condortech.com.ar> >> >wrote: >> >> Hi, >>> >>> Thanks for the help Nillehammer, here is the code: >>> >>> /*JAVA*/ >>> public class ModalPage { >>> >>> @Parameter(value="null", defaultPrefix = BindingConstants.LITERAL) >>> private String boxParams; >>> >>> @AfterRenderBody >>> public void afterRenderTemplateLink() { >>> >>> String comando = String.format("new ModalPage('" >>> + element.getClientId() + "', " + braceWithQuotes(boxParams) + ");"); >>> >>> renderSupport.addScript(**comando); >>> } >>> >>> private String braceWithQuotes(String value) { >>> return value.equals("null") ? value : "'"+value+"'"; >>> } >>> >>> } >>> >>> >>> /*TML*/ >>> >>> <div class="row"> >>> <t:actionLink t:id="myLink" id="myLink" title="${message:listendpoint}** >>> " >>> t:mixins="condorTapestryLib/**ModalPage" >>> t:boxParams="width:50%,**opacity:0.7,escKey:true,**overlayClose:false"> >>> >>> ${message:endpoints} >>> </t:actionLink> >>> </div> >>> >>> >>> Error: >>> >>> java.lang.LinkageError >>> loader constraint violation: when resolving method >>> "ar.com.condortech.lib.**condorTapestryLib.utils.**NavigationObject.** >>> getCurrentPage()Lar/com/**condortech/lib/**condorTapestryLib/pages/** >>> AbstractPage;" >>> the class loader (instance of >>> org/apache/tapestry5/internal/**services/** >>> ComponentInstantiatorSourceImp**l$PackageAwareLoader) >>> of the current class, >>> ar/com/condortech/lib/**condorTapestryLib/pages/**AbstractPage, and the >>> class >>> loader (instance of org/eclipse/jetty/webapp/**WebAppClassLoader) for >>> resolved >>> class, ar/com/condortech/lib/**condorTapestryLib/utils/**NavigationObject, >>> have >>> different Class objects for the type >>> ar/com/condortech/lib/**condorTapestryLib/pages/**AbstractPage used in >>> the >>> signature >>> >> -- > http://www.winfonet.eu > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> > For additional commands, e-mail: users-h...@tapestry.apache.org > >