Re: [appfuse-user] menu-config.xml show/hide menu item with roles

2007-08-27 Thread Matt Raible
On 8/28/07, ros <[EMAIL PROTECTED]> wrote: > > In security.xml there is > class="org.acegisecurity.providers.anonymous.AnonymousProcessingFilter"> > > > > and if in menu-config.xml set roles="anonymous,ROLE_ANONYMOUS,ROLE_USER" > menu item is hidden for anonymous user. >

Re: [appfuse-user] menu-config.xml show/hide menu item with roles

2007-08-27 Thread ros
In security.xml there is and if in menu-config.xml set roles="anonymous,ROLE_ANONYMOUS,ROLE_USER" menu item is hidden for anonymous user. When user is not authenticated its roles not visible to menu roles reader? mraible wrote: > > The anonymous role name is what

RE: [appfuse-user] how to Change the href vaue to a column property in List page

2007-08-27 Thread Srini Bobbala
Thanks Matt, It's working 100% -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: 27 August 2007 05:07 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] how to Change the href vaue to a column property in List page What does you

Re: [appfuse-user] Ajax FileUpload DWR Error in Tomcat 5.5

2007-08-27 Thread Matt Raible
It's probably caused by the clause in web.xml. This flag makes you aware of issues you might experience in a clustered environment. Matt On 8/27/07, fadhli <[EMAIL PROTECTED]> wrote: > I noticed that but why does it work on jetty and not tomcat? Does tomcat > enforce everything to be serializabl

Re: [appfuse-user] Ajax FileUpload DWR Error in Tomcat 5.5

2007-08-27 Thread fadhli
I noticed that but why does it work on jetty and not tomcat? Does tomcat enforce everything to be serializable? On 8/28/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > It looks like you're trying to put something in the session (the > uploaded file?) that's not serializable. > > Matt > > On 8/27/07

Re: [appfuse-user] Ajax FileUpload DWR Error in Tomcat 5.5

2007-08-27 Thread Matt Raible
It looks like you're trying to put something in the session (the uploaded file?) that's not serializable. Matt On 8/27/07, fadhli <[EMAIL PROTECTED]> wrote: > Hello Matt, I manage to create an ajax file upload using dwr and > commons-upload base on your tutorial posted at the appfuse1.x wiki. It'

[appfuse-user] Ajax FileUpload DWR Error in Tomcat 5.5

2007-08-27 Thread fadhli
Hello Matt, I manage to create an ajax file upload using dwr and commons-upload base on your tutorial posted at the appfuse1.x wiki. It's working fine in jetty but it's not working in tomcat 5.5. This is the stack trace. I'm wondering if you have any idea what's causing it. org.springframework.web

Re: [appfuse-user] Embedded Jetty under Java Web Start

2007-08-27 Thread Bron
Turned out to be a Web Start permissions issue. The tag in the JNLP did not cover code contained within the .war file. Adding the following to my jetty startup class made it work. Policy.setPolicy( new Policy() { public PermissionCollection getPermissions(CodeSource code

Re: [appfuse-user] Unicode rendering in javascript's with appfuse-1.4.9

2007-08-27 Thread Matt Raible
This issue has been documented in JIRA. http://issues.appfuse.org/browse/APF-705 Thanks for confirming that 1.1.12 fixes the problem. Matt On 8/1/07, javadiahad <[EMAIL PROTECTED]> wrote: > > hi > I use jsf and facelet validatorScript .that was a bug in facelet xml parser > and have solved in

Re: [appfuse-user] AW: Add new function after login

2007-08-27 Thread Matt Raible
They should be saved for your by Acegi and available on a ThreadLocale. UserSecurityAdvice has an example: http://static.appfuse.org/appfuse-service/xref/org/appfuse/service/UserSecurityAdvice.html User user = (User) SecurityContextHolder.getContext().getAuthentication().getPrinciple(); Matt O

Re: [appfuse-user] AW: Add new function after login

2007-08-27 Thread BruceLee
Basically I want to save username, id and some data in session for being referred in other modules. Is any other way to get and set them, such as Security module Authentication class? How to do it? -Bruce mraible wrote: > > You might try registering Spring's RequestContextListener in your > we

Re: [appfuse-user] AW: Add new function after login

2007-08-27 Thread BruceLee
Thank Matt. However, in the enclosed link it is API description. Do anybody have sample code for it? Thank you! -Bruce mraible wrote: > > You might try registering Spring's RequestContextListener in your > web.xml. That way, you can get the request from a ThreadLocal and get > the session from

[appfuse-user] How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions?

2007-08-27 Thread Matt Raible
Anyone on this list solved this problem? http://tinyurl.com/yoh8bp Thanks, Matt -- http://raibledesigns.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] how to Change the href vaue to a column property in List page

2007-08-27 Thread Matt Raible
What does your current syntax produce? This may help you figure out how to have full control over the URL produced: http://displaytag.sourceforge.net/11/tut_implicitobjects.html Matt On 8/27/07, Srini Bobbala <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > I got URL column in database which stores

Re: [appfuse-user] AJAX Implementation!

2007-08-27 Thread Matt Raible
Are you using Struts 2's Ajax theme? http://struts.apache.org/2.0.9/docs/ajax-theme.html Matt On 8/27/07, Imran Amajd <[EMAIL PROTECTED]> wrote: > > Hello Everybody! > > I am using Dojo Framework in Struts 2 Application. > > when i inject an AJAX request into server, the Action class prepare a >

Re: [appfuse-user] appfuse2.0 m5 bug

2007-08-27 Thread Matt Raible
Sounds like a bug in the Tomcat plugin. If you run "mvn -Dcargo.wait=true", it'll start Tomcat via Cargo (after downloading it) and those links work fine then. They also work fine if you create a WAR and deploy it to a pre-installed Tomcat. Matt On 8/27/07, dev dev <[EMAIL PROTECTED]> wrote: > Th

[appfuse-user] AJAX Implementation!

2007-08-27 Thread Imran Amajd
Hello Everybody! I am using Dojo Framework in Struts 2 Application. when i inject an AJAX request into server, the Action class prepare a response but send me either same page or different page [depends on choice..] having HTML contents. The default pages [header footer] are included and respon

[appfuse-user] how to Change the href vaue to a column property in List page

2007-08-27 Thread Srini Bobbala
Hi, I got URL column in database which stores the path of the "pdf" documents, When I click the row in list page, it supposes to open the pdf document. How can I change the href value to url column value, itried with $interConnectReport.url for href but its not working, Here the code

Re: [appfuse-user] [Spring mvc] problem with form:select multiple

2007-08-27 Thread Julien C.
oups! I've done a mistake. I had not deleted "mappedBy..." It's working fine now. Thank you Michael. Julien. Michael Horwitz a écrit : Could you post your modified annotations? On 8/24/07, *Julien C.* <[EMAIL PROTECTED] > wrote: It's not better. Michael Ho