More package weirdness
How can this JSP code s:url id=chartUrl action=questionChart namespace=*charts*/ img src=s:property value=%{chartUrl} // which resolves to be: img src=charts/questionChart.action/ be generating this exception? 11:28:45,271 ERROR org.apache.struts2.dispatcher.Dispatcher.serviceAction():512 - Could not find action or result There is no Action mapped for namespace */quiz* and action name questionChart. - [unknown location] Here is my def for the chart: package name=charts namespace=/charts extends= starter,jfreechart-default result-types result-type name=chart class=org.apache.struts2.dispatcher.ChartResult default=true/ /result-types action name=questionChart class=acme.action.QuizGrader result param name=width400/param param name=height300/param /result /action /package -- Scott [EMAIL PROTECTED]
Re: More package weirdness
[EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More package weirdness
The questionChart action exists in a different namespace than the JSP. Try - namespace=/charts The leading / is significant. -Wes On 3/3/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can this JSP code s:url id=chartUrl action=questionChart namespace=*charts*/ img src=s:property value=%{chartUrl} // which resolves to be: img src=charts/questionChart.action/ be generating this exception? 11:28:45,271 ERROR org.apache.struts2.dispatcher.Dispatcher.serviceAction():512 - Could not find action or result There is no Action mapped for namespace */quiz* and action name questionChart. - [unknown location] Here is my def for the chart: package name=charts namespace=/charts extends= starter,jfreechart-default result-types result-type name=chart class=org.apache.struts2.dispatcher.ChartResult default=true/ /result-types action name=questionChart class=acme.action.QuizGrader result param name=width400/param param name=height300/param /result /action /package -- Scott [EMAIL PROTECTED] -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More package weirdness
Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED]
Re: More package weirdness
Thanks Wes! I had a bald moment. On Mon, Mar 3, 2008 at 2:38 PM, [EMAIL PROTECTED] wrote: Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED]
Re: More package weirdness
Posted what? :) On Mon, Mar 3, 2008 at 9:38 PM, [EMAIL PROTECTED] wrote: Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More package weirdness
Why is there no UnSend button? On Mon, Mar 3, 2008 at 2:40 PM, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: Posted what? :) On Mon, Mar 3, 2008 at 9:38 PM, [EMAIL PROTECTED] wrote: Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED]
Re: More package weirdness
At one company I did consulting, they had an ancient mail system where this was possible. The rumours had it that they were betting on sending insults to their boss, and then betting on who could wait the longest before hitting the unsend button :) Nils-H On Mon, Mar 3, 2008 at 9:43 PM, [EMAIL PROTECTED] wrote: Why is there no UnSend button? On Mon, Mar 3, 2008 at 2:40 PM, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: Posted what? :) On Mon, Mar 3, 2008 at 9:38 PM, [EMAIL PROTECTED] wrote: Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More package weirdness
We used to be able to send cancel messages, but teh intarwebs are way too fast for them to have much effect anymore. --- Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: At one company I did consulting, they had an ancient mail system where this was possible. The rumours had it that they were betting on sending insults to their boss, and then betting on who could wait the longest before hitting the unsend button :) Nils-H On Mon, Mar 3, 2008 at 9:43 PM, [EMAIL PROTECTED] wrote: Why is there no UnSend button? On Mon, Mar 3, 2008 at 2:40 PM, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: Posted what? :) On Mon, Mar 3, 2008 at 9:38 PM, [EMAIL PROTECTED] wrote: Doh! Can we pretend I didn't post this? On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: which resolves to be: img src=charts/questionChart.action/ The namespace is /charts, but you use charts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Scott [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]