Good Day, I decided to use UrlHelper.buildUrl(getChartUrl(), req, res, null); for the chart url because that probably won't change on a per Action basis but I can see that the data url should come from the Action so I will try to use the suggestion that you put forward for the data url.
Thanks. Regards, Mark P Ashworth http://www.connext.co.za newton.dave wrote: > > <s:url value="..." id="theUrl"/> > > <m:graph ... charturl="${theUrl}" .../> > > This should work assuming you're in a JSP 2.0 > container. > > d. > > --- Mark P Ashworth <[EMAIL PROTECTED]> wrote: > >> >> Good Day, >> >> Thank you for the reply. >> >> I am trying to configure the urls values that my tag >> should use, for >> example: >> >> <m:graph >> id="graph" >> width="600" >> height="200" >> align="middle" >> bgcolor="#FFFFFF" >> charturl="<s:url >> value=\"/flash/open-flash-chart.swf\" >> includeParams=\"none\" />" >> dataurl="<s:url value=\"/data.txt\"/>" >> /> >> >> But the problem is that the resulting HTML contains >> the <s:url /> tag and >> has not evaluated it. >> >> ?width=600&height=200&data=<s:url >> value="/data.txt"/>" /> >> >> In my GraphTag I call the super.start() and I assign >> the result and return >> that result at the end of the start method. Looking >> at the API, start's >> return value is true and therefore should evaluate >> the body of the tag. I am >> just not sure how to get it to evaluate the >> parameter values as well. >> >> Regards, >> Mark P Ashworth >> http://www.connext.co.za >> >> >> >> >> Antonio Petrelli-3 wrote: >> > >> > 2007/6/18, Mark P Ashworth <[EMAIL PROTECTED]>: >> >> I noticed that the struts tag library file is >> located in the META-INF of >> >> the >> >> struts core jar. I would like to create a tag >> library and would like to >> >> know >> >> what is the best place to put the tld file and >> should I loaded. >> >> >> >> The Struts 2 website does not seem to give any >> guidelines on this. >> > >> > This because it is not a Struts question. You can >> place your TLD file >> > anywhere under META-INF. For example, in Tiles we >> put it under >> > "META-INF/tld". >> > >> > Antonio >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> > http://www.nabble.com/-S2--Loading-tld-from-jar-tf3938475.html#a11183315 >> Sent from the Struts - User mailing list archive at >> Nabble.com. >> >> >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> > > > > > ____________________________________________________________________________________ > Be a better Globetrotter. Get better travel answers from someone who > knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545469 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Loading-tld-from-jar-tf3938475.html#a11183674 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]