I'm a Struts newbie, trying to use Struts2 and DOJO. Here's my problem.
Now, I'm getting parameter information through a form I made with the Struts taglib. I see there's a <s:url> tag with the taglib, and it even takes parameters as a property or some such. I think I need to use this to make my URL in a Struts-happy way, so the ParametersInterceptor doesn't have problems, and I can access my parameters? Assuming this is true, it leads to two issues:
1. I can create this in the JSP with something like:
2. Question 2: In the DOJO TreeRPCController implementation, you give it a base URL, and then it 'automagically' appends these two parameters to it when it calls that URL. That code is in the library, more or less untouchable. But I need it to attach parameters in such a way that it doesn't get the Struts2 ParametersInterceptor upset. How do I do this?
Joined: Jul 23, 2007
Okay, replying to my own post, a sure sign of madness.
My ParametersInterceptor problem was because I was passing two attributes via parameters (data and action) and needed the corresponding methods on my action, which extended ActionSupport. So I just set up a little setData() and setAction() and life was much happier. And hey. I didn't have to track down my parameters, spiffy.
So should I be worrying about URL rewrites, or no?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: ParametersInterceptor doesn't understand my parameters