Re: [appfuse-user] problem about renaming a webapp name

2007-05-24 Thread Matt Raible
You shouldn't need * on the end of your URLs. We use that in Acegi's configuration to include any query strings that might be passed in. Matt On 5/3/07, Haotian Sun <[EMAIL PROTECTED]> wrote: The following is the old menu-config.xml, basically I removed the "roles" from each menu item and use

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Haotian Sun
Furthermore, I think it would be useful for you to know that I changed the filterInvocationInterceptor in the security.xml, the following is my beans definitions. class="org.acegisecurity.intercept.web.FilterSecurityInterceptor"> ref="resourceDefinitionSource"/>

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Haotian Sun
*The following is the old menu-config.xml, basically I removed the "roles" from each menu item and use "url" as a reference to retrieve entitled roles for each menu item. The reason why I have "*" at the end of each URL is that I noticed in security.xml, when you denfie a URL, you have to follo

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Matt Raible
If you compare your new menu-config.xml to your old one, what's changed? Also, why do you end some URLs with *? Matt On 5/3/07, Haotian Sun <[EMAIL PROTECTED]> wrote: well, I don't touch anything in web.xml but changed something in the other two. The following is the menu-config.xml

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Haotian Sun
well, I don't touch anything in web.xml but changed something in the other two. The following is the menu-config.xml type="net.sf.navigator.displayer.VelocityMenuDisplayer"/> page="/mainMenu.html" url="/mainManu.html"/> forward="editProfile" url="/editProfil

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Matt Raible
There's 3 places it's configured: web.xml: MenuListener menu-config.xml menu.jsp I'd check to see if something looks out of whack in those files after you change everything. Matt On 5/3/07, Haotian Sun <[EMAIL PROTECTED]> wrote: right, I'll try that later. But for my question about why the st

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Haotian Sun
right, I'll try that later. But for my question about why the struts menu disappears in the case that I described previously, do you have any idea? Thanks Haotian Matt Raible wrote: You might be able to look at the "new" target and change it's logic so it doesn't apply it to **/*.java files.

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Matt Raible
You might be able to look at the "new" target and change it's logic so it doesn't apply it to **/*.java files. Matt On 5/3/07, Haotian Sun <[EMAIL PROTECTED]> wrote: Hi Matt, Regarding to "it changes my current source code package structure", I mean it change the package name in my source code

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Haotian Sun
Hi Matt, Regarding to "it changes my current source code package structure", I mean it change the package name in my source code, for example if my old project is called AAA and new one is named BBB, it changes from something like "org.AAA.dao" to "org.BBB.dao". What I want is to keep the old

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Matt Raible
What do you mean by "it changes my current source code package structure"? What does it change it from/to? Matt On 5/3/07, James Sun <[EMAIL PROTECTED]> wrote: Well, if I do ant new , it will satisfy my goal but changes my current source package structure, which I'm not willing to see. So stil

Re: [appfuse-user] problem about renaming a webapp name

2007-05-03 Thread James Sun
Well, if I do ant new , it will satisfy my goal but changes my current source package structure, which I'm not willing to see. So still needs suggestions... Cheers Haotian Haotian Sun wrote: Hello guys, I've developed a webapp using Appfuse 1.9.4 with Struts for sometime, now I just want t

[appfuse-user] problem about renaming a webapp name

2007-05-03 Thread Haotian Sun
Hello guys, I've developed a webapp using Appfuse 1.9.4 with Struts for sometime, now I just want to change the name of my webapp rather than touching anything in my src package structure so far. What I think the easitest way to test is to copy everything that is working in the current webapp