How to use the "ILink"
Hi Im new to tapestry, and dont know much Anyone can give me examples of using ILink interface Plz give me some actual codings that you guys used ILink Regards Kushan
Re: deprecated methods
Its not working, when I put "this" there it gives me errors as org.Apache.hivemind.ApplicationRuntimeException org.Apache.tapestry.IScript.execute (Lorg/Apache/tapestry/IComponent;Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor;Ljava/util/Map;)V and java.lang.NoSuchMethodError org.Apache.tapestry.IScript.execute (Lorg/Apache/tapestry/IComponent;Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor;Ljava/util/Map;)V On 5/26/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: It's just like the documentation says - http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IScriptProcessor.html . So, probably something like: getTapMapScript().execute(this, cycle, pageRenderSupport, symbols); On 5/24/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > hi > > i have two deprecated methods and my Tapestry version is 4.1.1 > > first is > > getTapMapScript().execute(cycle,pageRenderSupport, symbols); > > second is > > pageRenderSupport.addExternalScript(new ExternalResource(path, null)); > > "execute" and "addExternalScript" methods are deprecated, but i can use > "execute" method in my first statement by providing four arguements ( > IComponent, IRequestCycle, IScriptProcessor, MapSymbols ) - deprecated > method took only 2 parameters(without IComponent) > > same like my second statement > > i can use "addExternalScript "method by providing 2 arguments ( > IComponent, > Resource ) > > > Please anyone can explain how can i use these two methods by providing 4 > arguments which are the type of "IComponent" > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com -- Think outside the box
Re: "execute or addExternalScript"
Its not working, when I put "this" there it gives me errors as org.Apache.hivemind.ApplicationRuntimeException org.Apache.tapestry.IScript.execute(Lorg/Apache/tapestry/IComponent Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor Ljava/util/Map;)V and java.lang.NoSuchMethodError org.Apache.tapestry.IScript.execute(Lorg/Apache/tapestry/IComponent Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor Ljava/util/Map;)V Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Jesse Kuhnert Date: 5/26/2007 2:40:10 AM To: Tapestry users Subject: Re: "execute or addExternalScript" I think I replied to a previous message about this one already so look there, but the short is pass in "this" for the component parameter. (in most instances) On 5/25/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > is there anyone who used "execute" or "addExternalScript" methods in > tapestry 4 or above > > please tell me how to use those methods in tapestry 4 or above > > > > > > Kushan Jayathilake > Member - Java Community Process (http://jcp.org) -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
"execute or addExternalScript"
is there anyone who used "execute" or "addExternalScript" methods in tapestry 4 or above please tell me how to use those methods in tapestry 4 or above Kushan Jayathilake Member - Java Community Process (http://jcp.org)
deprecated methods
hi i have two deprecated methods and my Tapestry version is 4.1.1 first is getTapMapScript().execute(cycle,pageRenderSupport, symbols); second is pageRenderSupport.addExternalScript(new ExternalResource(path, null)); "execute" and "addExternalScript" methods are deprecated, but i can use "execute" method in my first statement by providing four arguements ( IComponent, IRequestCycle, IScriptProcessor, MapSymbols ) - deprecated method took only 2 parameters(without IComponent) same like my second statement i can use "addExternalScript "method by providing 2 arguments ( IComponent, Resource ) Please anyone can explain how can i use these two methods by providing 4 arguments which are the type of "IComponent"
Re: In scriptDTD
Thank you very much, I did it already Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/18/2007 4:24:27 PM To: Tapestry users Subject: Re: In scriptDTD ? try this: var varCapArray = new Array(${mapPlotPoints.size()}); varCapArray[count] = {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}}; or var varCapArray = new Array(); varCapArray.push( {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}} ); ciao, kiuma On 5/17/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > Hi > > Im sorry previous mail contains wrong information. Please refer this one > > > I have an abstract method calls > Public abstract List getMapPlotPoints(); > MapPlotPoint class contains getters and setters of following objects > Private Double lat; > Private Double longi; > Private String caption; > Private ILink link; > > > I added that to Map like this > Map symbols = new HashMap(); > Symbols.put("mapPlotPoints", getMapPlotPoints()); > Below codings appear in my script DTD > > > Var varCap = ${item.caption}; > > > I want to get lat,longi,caption and link value of all the instances of > MapPlotPoint class to the javascript > > Please help me > Kushan Jayathilake > Member - Java Community Process (http://jcp.org) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
In scriptDTD
Hi Im sorry previous mail contains wrong information. Please refer this one I have an abstract method calls Public abstract List getMapPlotPoints(); MapPlotPoint class contains getters and setters of following objects Private Double lat; Private Double longi; Private String caption; Private ILink link; I added that to Map like this Map symbols = new HashMap(); Symbols.put("mapPlotPoints", getMapPlotPoints()); Below codings appear in my script DTD Var varCap = ${item.caption}; I want to get lat,longi,caption and link value of all the instances of MapPlotPoint class to the javascript Please help me Kushan Jayathilake Member - Java Community Process (http://jcp.org)
in scriptDTD
Hi all i have an abstract method calls public abstract List getMapPlotPoints(); MapPlotPoint class contains getters and setters of following objects private Double lat; private Double longi; private String caption; private ILink link; I added that to Map like this Map symbols = new HashMap(); symbols.put("mapPlotPoints", getMapPlotPoints()); below codings appear in my script DTD var varCap = ${item.caption}; i want to get lat,longi,caption and link value of all the instances of MapPlotPoint class to the javascript Please help me Kushan Jayathilake Member - Java Community Process (http://jcp.org)
Re: How to pass a List to a component
Thank you very much it works now Errror was the "type" attribute as you said Thank you very much Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 3:27:30 PM To: Tapestry users Subject: Re: How to pass a List to a component sorry C&P mistake: default-value="ognl:new java.util.List()" On 5/16/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > >required="no" > default-value="Java.lang.Object"> > >MapPlotPoint Object > > > > --- > type is not defined for parameter !ELEMENT into dtd > > kiuma > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > Home.java is the sample web page class file > > > > TapMap files are belongs to the component, > > > > Kushan Jayathilake > > Member - Java Community Process (http://jcp.org) > > *---Original Message---* > > > > *From:* Andrea Chiumenti <[EMAIL PROTECTED]> > > *Date:* 5/16/2007 3:05:04 PM > > *To:* Tapestry users > > *Subject:* Re: How to pass a List to a component > > > > cuould not parse may be an xml validation exception > > > > anyway try to attach the jwc > > > > kiuma > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > Thankyou very much for considering my problem, but it gives the same > > error > > > > > > > > > "Org.Apache.hivemind.ApplicationRuntimeException" is > > > > > > Could not parse specification > > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc. > > > > > > and > > > > > > "Org.Apache.tapestry.util.xml.DocumentParseException" is > > > > > > Unable to read > > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > > > Attribute "type" must be declared for element type "parameter" > > > > > > it highlights this line "default-value="ognl: new java.util.List()">" > > > > > > Kushan Jayathilake > > > Member - Java Community Process (http://jcp.org) > > > ---Original Message--- > > > > > > From: Andrea Chiumenti > > > Date: 5/16/2007 2:37:40 PM > > > To: Tapestry users > > > Subject: Re: How to pass a List to a component > > > > > > so try > > > default-value="ognl: new java.util.List()" > > > > > > kiuma > > > > > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > > > Plz don't mention about case of the syntaxes and keywords, wht > > should I > > > > put > > > > there > > > > > > > > I already tried java.util.List by putting there but it gives me > > same > > > > error > > > > > > > > Kushan Jayathilake > > > > Member - Java Community Process (http://jcp.org) > > > > ---Original Message--- > > > > > > > > From: Andrea Chiumenti > > > > Date: 5/16/2007 1:45:03 PM > > > > To: Tapestry users > > > > Subject: Re: How to pass a List to a component > > > > > > > > Hi, > > > > type="Java.util.List" + default-value="Java.lang.Object" ??? > > > > > > > > two thigs Java must be lowercase > > > > and > > > > java.lang.Object is not an instance, and neither a java.util > > > > List > > > > instance! > > > > > > > > kiuma > > > > > > > > > > > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi > > > > > > > > > > i want to pass a "List"( java.util.List ) that contains several > > > > > objects(DTO) to my component > > > > > > > > > > at my samplepage class file im returning a list that contains > > those > > > > > objects > > > > > > > > > > My sample page codings(codings im my web application) > > > > > > > > > > public List getMapPlotPoints() > > > > > { > > > > > List list = new ArrayList(); > > > > > MapPlotPoint mapPlotPoint = new MapPlotPoint(); > > > > > mapPlotPoint .setCap
Re: How to pass a List to a component
i tried this Default-value="ognl:new java.util.List()" but its not working Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 3:27:30 PM To: Tapestry users Subject: Re: How to pass a List to a component sorry C&P mistake: default-value="ognl:new java.util.List()" On 5/16/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > >required="no" > default-value="Java.lang.Object"> > >MapPlotPoint Object > > > > --- > type is not defined for parameter !ELEMENT into dtd > > kiuma > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > Home.java is the sample web page class file > > > > TapMap files are belongs to the component, > > > > Kushan Jayathilake > > Member - Java Community Process (http://jcp.org) > > *---Original Message---* > > > > *From:* Andrea Chiumenti <[EMAIL PROTECTED]> > > *Date:* 5/16/2007 3:05:04 PM > > *To:* Tapestry users > > *Subject:* Re: How to pass a List to a component > > > > cuould not parse may be an xml validation exception > > > > anyway try to attach the jwc > > > > kiuma > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > Thankyou very much for considering my problem, but it gives the same > > error > > > > > > > > > "Org.Apache.hivemind.ApplicationRuntimeException" is > > > > > > Could not parse specification > > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc. > > > > > > and > > > > > > "Org.Apache.tapestry.util.xml.DocumentParseException" is > > > > > > Unable to read > > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > > > Attribute "type" must be declared for element type "parameter" > > > > > > it highlights this line "default-value="ognl: new java.util.List()">" > > > > > > Kushan Jayathilake > > > Member - Java Community Process (http://jcp.org) > > > ---Original Message--- > > > > > > From: Andrea Chiumenti > > > Date: 5/16/2007 2:37:40 PM > > > To: Tapestry users > > > Subject: Re: How to pass a List to a component > > > > > > so try > > > default-value="ognl: new java.util.List()" > > > > > > kiuma > > > > > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > > > Plz don't mention about case of the syntaxes and keywords, wht > > should I > > > > put > > > > there > > > > > > > > I already tried java.util.List by putting there but it gives me > > same > > > > error > > > > > > > > Kushan Jayathilake > > > > Member - Java Community Process (http://jcp.org) > > > > ---Original Message--- > > > > > > > > From: Andrea Chiumenti > > > > Date: 5/16/2007 1:45:03 PM > > > > To: Tapestry users > > > > Subject: Re: How to pass a List to a component > > > > > > > > Hi, > > > > type="Java.util.List" + default-value="Java.lang.Object" ??? > > > > > > > > two thigs Java must be lowercase > > > > and > > > > java.lang.Object is not an instance, and neither a java.util > > > > List > > > > instance! > > > > > > > > kiuma > > > > > > > > > > > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi > > > > > > > > > > i want to pass a "List"( java.util.List ) that contains several > > > > > objects(DTO) to my component > > > > > > > > > > at my samplepage class file im returning a list that contains > > those > > > > > objects > > > > > > > > > > My sample page codings(codings im my web application) > > > > > > > > > > public List getMapPlotPoints() > > > > > { > > > > > List list = new ArrayList(); > > > > > MapPlotPoint mapPlotPoint = new MapPlotPoint(); > > > > > mapPlotPoint .setCaption("Caption String"); > > > > > mapPlotPoint.setLat(37.4419); > > > > > mapPlotPoint.setLongi(-122.1419); > > > > > //mapPlotPoint.setLink(arg0); > > > > > List.add(mapPlotPoint); > > > > > System.out.println("returning List : "+list); > > > > > return list; > > > > > } > > > > > below codings are in my component's specification > > > > > > > > > type="Java.util.List" > > > > >required="no" > > > > > default-value="Java.lang.Object"> > > > > > > > > > > MapPlotPoint Object > > > > > > > > > > > > > > > > > > > > Component's class > > > > > > > > > > public abstract List getMapPlotPoints(); > > > > > > > > > > But when it running it gives me errors saying > > > > > > > > > > Unable to read > > > > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > > > > > Attribute "type" must be declared for element type "parameter". > > > > > > > > > > Plz anyone can help me on this > > > > > > > > > > > > > > > Kushan Jayathilake > > > > > Member - Java Community Process (http://jcp.org) > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
Re: How to pass a List to a component
Home.java is the sample web page class file TapMap files are belongs to the component, Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 3:05:04 PM To: Tapestry users Subject: Re: How to pass a List to a component cuould not parse may be an xml validation exception anyway try to attach the jwc kiuma On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > Thankyou very much for considering my problem, but it gives the same error > > > "Org.Apache.hivemind.ApplicationRuntimeException" is > > Could not parse specification > classpath:/Com/providence/tapestry/components/map/TapMap.jwc. > > and > > "Org.Apache.tapestry.util.xml.DocumentParseException" is > > Unable to read > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > Attribute "type" must be declared for element type "parameter" > > it highlights this line "default-value="ognl: new java.util.List()">" > > Kushan Jayathilake > Member - Java Community Process (http://jcp.org) > ---Original Message--- > > From: Andrea Chiumenti > Date: 5/16/2007 2:37:40 PM > To: Tapestry users > Subject: Re: How to pass a List to a component > > so try > default-value="ognl: new java.util.List()" > > kiuma > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > Plz don't mention about case of the syntaxes and keywords, wht should I > > put > > there > > > > I already tried java.util.List by putting there but it gives me same > > error > > > > Kushan Jayathilake > > Member - Java Community Process (http://jcp.org) > > ---Original Message--- > > > > From: Andrea Chiumenti > > Date: 5/16/2007 1:45:03 PM > > To: Tapestry users > > Subject: Re: How to pass a List to a component > > > > Hi, > > type="Java.util.List" + default-value="Java.lang.Object" ??? > > > > two thigs Java must be lowercase > > and > > java.lang.Object is not an instance, and neither a java.util > > List > > instance! > > > > kiuma > > > > > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > > > Hi > > > > > > i want to pass a "List"( java.util.List ) that contains several > > > objects(DTO) to my component > > > > > > at my samplepage class file im returning a list that contains those > > > objects > > > > > > My sample page codings(codings im my web application) > > > > > > public List getMapPlotPoints() > > > { > > > List list = new ArrayList(); > > > MapPlotPoint mapPlotPoint = new MapPlotPoint(); > > > mapPlotPoint .setCaption("Caption String"); > > > mapPlotPoint.setLat(37.4419); > > > mapPlotPoint.setLongi(-122.1419); > > > //mapPlotPoint.setLink(arg0); > > > List.add(mapPlotPoint); > > > System.out.println("returning List : "+list); > > > return list; > > > } > > > below codings are in my component's specification > > > > > type="Java.util.List" > > >required="no" > > > default-value="Java.lang.Object"> > > > > > > MapPlotPoint Object > > > > > > > > > > > > Component's class > > > > > > public abstract List getMapPlotPoints(); > > > > > > But when it running it gives me errors saying > > > > > > Unable to read > > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > > > Attribute "type" must be declared for element type "parameter". > > > > > > Plz anyone can help me on this > > > > > > > > > Kushan Jayathilake > > > Member - Java Community Process (http://jcp.org) > > > > > > TapMap.jwc Description: unknown/unknown TapMap.java Description: unknown/unknown Home.java Description: unknown/unknown Home.page Description: unknown/unknown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to pass a List to a component
Thankyou very much for considering my problem, but it gives the same error "Org.Apache.hivemind.ApplicationRuntimeException" is Could not parse specification classpath:/Com/providence/tapestry/components/map/TapMap.jwc. and "Org.Apache.tapestry.util.xml.DocumentParseException" is Unable to read classpath:/Com/providence/tapestry/components/map/TapMap.jwc: Attribute "type" must be declared for element type "parameter" it highlights this line "default-value="ognl: new java.util.List()">" Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 2:37:40 PM To: Tapestry users Subject: Re: How to pass a List to a component so try default-value="ognl: new java.util.List()" kiuma On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > Plz don't mention about case of the syntaxes and keywords, wht should I > put > there > > I already tried java.util.List by putting there but it gives me same > error > > Kushan Jayathilake > Member - Java Community Process (http://jcp.org) > ---Original Message--- > > From: Andrea Chiumenti > Date: 5/16/2007 1:45:03 PM > To: Tapestry users > Subject: Re: How to pass a List to a component > > Hi, > type="Java.util.List" + default-value="Java.lang.Object" ??? > > two thigs Java must be lowercase > and > java.lang.Object is not an instance, and neither a java.util > List > instance! > > kiuma > > > On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > i want to pass a "List"( java.util.List ) that contains several > > objects(DTO) to my component > > > > at my samplepage class file im returning a list that contains those > > objects > > > > My sample page codings(codings im my web application) > > > > public List getMapPlotPoints() > > { > > List list = new ArrayList(); > > MapPlotPoint mapPlotPoint = new MapPlotPoint(); > > mapPlotPoint .setCaption("Caption String"); > > mapPlotPoint.setLat(37.4419); > > mapPlotPoint.setLongi(-122.1419); > > //mapPlotPoint.setLink(arg0); > > List.add(mapPlotPoint); > > System.out.println("returning List : "+list); > > return list; > > } > > below codings are in my component's specification > > > type="Java.util.List" > >required="no" > > default-value="Java.lang.Object"> > > > > MapPlotPoint Object > > > > > > > > Component's class > > > > public abstract List getMapPlotPoints(); > > > > But when it running it gives me errors saying > > > > Unable to read > > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > > Attribute "type" must be declared for element type "parameter". > > > > Plz anyone can help me on this > > > > > > Kushan Jayathilake > > Member - Java Community Process (http://jcp.org) > >
Re: How to pass a List to a component
Plz don't mention about case of the syntaxes and keywords, wht should I put there I already tried java.util.List by putting there but it gives me same error Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 1:45:03 PM To: Tapestry users Subject: Re: How to pass a List to a component Hi, type="Java.util.List" + default-value="Java.lang.Object" ??? two thigs Java must be lowercase and java.lang.Object is not an instance, and neither a java.util List instance! kiuma On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: > > Hi > > i want to pass a "List"( java.util.List ) that contains several > objects(DTO) to my component > > at my samplepage class file im returning a list that contains those > objects > > My sample page codings(codings im my web application) > > public List getMapPlotPoints() > { > List list = new ArrayList(); > MapPlotPoint mapPlotPoint = new MapPlotPoint(); > mapPlotPoint .setCaption("Caption String"); > mapPlotPoint.setLat(37.4419); > mapPlotPoint.setLongi(-122.1419); > //mapPlotPoint.setLink(arg0); > List.add(mapPlotPoint); > System.out.println("returning List : "+list); > return list; > } > below codings are in my component's specification > type="Java.util.List" >required="no" > default-value="Java.lang.Object"> > > MapPlotPoint Object > > > > Component's class > > public abstract List getMapPlotPoints(); > > But when it running it gives me errors saying > > Unable to read > classpath:/Com/providence/tapestry/components/map/TapMap.jwc: > Attribute "type" must be declared for element type "parameter". > > Plz anyone can help me on this > > > Kushan Jayathilake > Member - Java Community Process (http://jcp.org)
How to pass a List to a component
Hi i want to pass a "List"( java.util.List ) that contains several objects(DTO) to my component at my samplepage class file im returning a list that contains those objects My sample page codings(codings im my web application) public List getMapPlotPoints() { List list = new ArrayList(); MapPlotPoint mapPlotPoint = new MapPlotPoint(); mapPlotPoint .setCaption("Caption String"); mapPlotPoint.setLat(37.4419); mapPlotPoint.setLongi(-122.1419); //mapPlotPoint.setLink(arg0); List.add(mapPlotPoint); System.out.println("returning List : "+list); return list; } below codings are in my component's specification MapPlotPoint Object Component's class public abstract List getMapPlotPoints(); But when it running it gives me errors saying Unable to read classpath:/Com/providence/tapestry/components/map/TapMap.jwc: Attribute "type" must be declared for element type "parameter". Plz anyone can help me on this Kushan Jayathilake Member - Java Community Process (http://jcp.org)
Problem about deprecated methods
Hi All Can anyone support me on this PageRenderSupport pageRenderSupport = TapestryUtils getPageRenderSupport(cycle, this); GetTapMapScript().execute(cycle, pageRenderSupport, symbols); String path = "http://maps.google Com/maps?file=api&v=2&key=ABQITksKrRgRqRI7G3NrSa3eEhTwM0brOpm-All5BF6PoaK xRWWERSBSP05QF605GhTmNEsJ_YuTjTO2Q"; PageRenderSupport.addExternalScript(new ExternalResource(path, null)); "execute" and addExternalScript methods are deprecated in version 4.1.1 so wht should i used instead of them Regards Kushan Jayathilake Member - Java Community Process (http://jcp.org)