Re: [appfuse-user] Updating User problem

2007-07-11 Thread Mel Pison
I am using appfuse 1.9x and webwork as the web framework Regarding my problem, I'm using the same object (User) from the example on appfuse. I cant update the information of the User object on the database on my application and throws some errors. Heres some part of those errors in tomcat after

Re: [appfuse-user] Updating User problem

2007-07-11 Thread Mel Pison
I am using appfuse 1.9x and webwork as the web framework Regarding my problem, I'm using the same object (User) from the example on appfuse. I cant update the information of the User object on the database on my application and throws some errors. Heres some part of those errors in tomcat aft

Re: [appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-11 Thread Dale Newfield
Matt Raible wrote: Does this same behavior happen if you turn off JavaScript? Or if you just pull the network cord from the client machine? -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: [appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-11 Thread Matt Raible
Does this same behavior happen if you turn off JavaScript? On 7/11/07, Robin1982 <[EMAIL PROTECTED]> wrote: I extended the Appfuse Basic Spring MVC archetype. I have modified the app to do what i want to do: parse a certain website, modify the data from this website and then persist it locall

[appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-11 Thread Robin1982
I extended the Appfuse Basic Spring MVC archetype. I have modified the app to do what i want to do: parse a certain website, modify the data from this website and then persist it locally. I'm using a web form that the user (me) fills out saying how much of the site I want parsed. It parses the s

Re: [appfuse-user] Error executing appfuse:full-source

2007-07-11 Thread Msarda
Hello, I have changed subversion,but still i am getting exception as [INFO] java.net.UnknownHostException: appfuse.dev.java.net [INFO] [INFO] Trace java.net.UnknownHostException: appfuse.dev.java.net at org.apache.t

Re: [appfuse-user] Error executing appfuse:full-source

2007-07-11 Thread Matt Raible
You may have to modify your Subversion settings so it goes through a proxy server. I believe if you search this mailing list archives, there's some information on doing this. Matt On 7/11/07, Msarda <[EMAIL PROTECTED]> wrote: Yes i am. mraible wrote: > > Are you behind a proxy server? > > On

Re: [appfuse-user] Error executing appfuse:full-source

2007-07-11 Thread Msarda
Yes i am. mraible wrote: > > Are you behind a proxy server? > > On 7/11/07, Msarda <[EMAIL PROTECTED]> wrote: >> >> >> Hi all, >> >> I am getting following error when running appfuse:full-source. >> >> >> [ERROR] 175002 : svn: PROPFIND request failed on >> '/svn/appfuse/tags/APPFUSE_2.0_M5/data

Re: [appfuse-user] Error executing appfuse:full-source

2007-07-11 Thread Matt Raible
Are you behind a proxy server? On 7/11/07, Msarda <[EMAIL PROTECTED]> wrote: Hi all, I am getting following error when running appfuse:full-source. [ERROR] 175002 : svn: PROPFIND request failed on '/svn/appfuse/tags/APPFUSE_2.0_M5/data/common/src' [ERROR] 175002 : svn: appfuse.dev.java.net:

[appfuse-user] Error using PDF functionality

2007-07-11 Thread Msarda
Hi all, I have a textarea field in my jsp. When i am inserting text around 1000 characters,it saves this properly. When i go back to jsp which shows all the rows in table.it shows all data entered in textarea field properly there,but when i click in PDF link(generated by appfuse),i am getting jas

[appfuse-user] Error executing appfuse:full-source

2007-07-11 Thread Msarda
Hi all, I am getting following error when running appfuse:full-source. [ERROR] 175002 : svn: PROPFIND request failed on '/svn/appfuse/tags/APPFUSE_2.0_M5/data/common/src' [ERROR] 175002 : svn: appfuse.dev.java.net: appfuse.dev.java.net [INFO]

Re: [appfuse-user] Problem with date validation

2007-07-11 Thread Msarda
Thanks a lot Mike. :) It's now working. Michael Horwitz wrote: > > If I remember correctly you are using Spring MVC? If you are displaying > the > dates in a form, and you are using the Spring form tags to bind them to > the > form, then you need to register a customised instance of the > Cus

Re: [appfuse-user] Update User from another Manager

2007-07-11 Thread Dale Newfield
Dale Newfield wrote: I have an action that's calling a manager that's calling another manager that then fails to lazily load a collection on a model object because "no session or session was closed". Is there some gotcha regarding manager-calling-manager and session management? Does the order

Re: [appfuse-user] Update User from another Manager

2007-07-11 Thread Dale Newfield
Matt Raible wrote: It should be OK to call one manager from another So I tried this again, and again I'm having problems. (This is why I had earlier concluded this was not a good practice.) I have an action that's calling a manager that's calling another manager that then fails to lazily l

Re: [appfuse-user] taglibs in ww:textfield values

2007-07-11 Thread Bron
Ha, I can't catch a break. Apparently since I am in Servlet 2.3 and have to use the tag around an EL expression, I am again in the same boat with nested custom tags. I will switch to 2.4 and try again without the mraible wrote: > > ${pageContext.request.remoteUser} should give you the

Re: [appfuse-user] taglibs in ww:textfield values

2007-07-11 Thread Matt Raible
${pageContext.request.remoteUser} should give you the user's name. Matt On 7/11/07, Bron <[EMAIL PROTECTED]> wrote: Thanks Matt, It doesn't look like my version will accept the body of as the value. I think that is only in very recent versions of WebWork - http://64.233.167.104/search?q=cac

Re: [appfuse-user] taglibs in ww:textfield values

2007-07-11 Thread Bron
Thanks Matt, It doesn't look like my version will accept the body of as the value. I think that is only in very recent versions of WebWork - http://64.233.167.104/search?q=cache:BYU5Sia9efQJ:jira.opensymphony.com/browse/WW-1435+%3C/ww:set%3E&hl=en&ct=clnk&cd=4&gl=us&client=firefox-a http://64.

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-11 Thread Matt Raible
You have to add /dwr/* to the StaticFilter in web.xml and you should also use http://localhost:8080/dwr/ if you're running using the Jetty plugin. Matt On 7/11/07, cdtm <[EMAIL PROTECTED]> wrote: I've just seen that my last post isn't rendered properly. Basically I just removed the comments in

Re: [appfuse-user] taglibs in ww:textfield values

2007-07-11 Thread Matt Raible
You can't set a tag within a tag - that's something that JSP doesn't allow. You could try using and then grabbing the value from the set variable. Matt On 7/11/07, Bron <[EMAIL PROTECTED]> wrote: I'm using Appfuse 1.9.3 and can't figure out how to escape a taglib within the value property of

[appfuse-user] taglibs in ww:textfield values

2007-07-11 Thread Bron
I'm using Appfuse 1.9.3 and can't figure out how to escape a taglib within the value property of a Web Work tag. Every combination of quotes and double quotes or %{} syntax I try results in Javax.servlet.ServletException: Could not execute action. I am trying to get the logged in username from t

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-11 Thread cdtm
I've just seen that my last post isn't rendered properly. Basically I just removed the comments in dwr.xml. Is there anything else to do to get dwr running? cdtm wrote: > > Hi, > > I tried to get the dwr running. I uncommented the part in the dwr.xml. It > looks like that: > > "-//GetAh

[appfuse-user] Appfuse Developer needed in Austin, TX!!

2007-07-11 Thread Vaughn, Jamie
Hello Appfuse Community! TEKsystems has a client in Austin, TX that is in urgent need of 2 developers for a 2 month+ consulting engagement. We need a Web Tier Developer and a Database Tier Developer. PLEASE let me know if any of you or anyone you know would be interested and available for this

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-11 Thread cdtm
Hi, I tried to get the dwr running. I uncommented the part in the dwr.xml. It looks like that: http://getahead.ltd.uk/dwr/dwr20.dtd";> Now I tried to find the webpage that describes the functions provided. It should

Re: [appfuse-user] screen size

2007-07-11 Thread Matt Raible
http://appfuse.org/display/APF/CSS+Framework On 7/11/07, Fan <[EMAIL PROTECTED]> wrote: I am using 2.0m-5 with struts as web framework and with simplicity as csstheme. I feel like the screen size is a bit small, there are lot of empty spaces around the content. How could I enlarge the screen

[appfuse-user] screen size

2007-07-11 Thread Fan
I am using 2.0m-5 with struts as web framework and with simplicity as csstheme. I feel like the screen size is a bit small, there are lot of empty spaces around the content. How could I enlarge the screen size ? -- View this message in context: http://www.nabble.com/screen-size-tf4062881s2

Re: [appfuse-user] Set up local mirror of AppFuse 2 (http://www.appfuse.org/)

2007-07-11 Thread reddeagle9
Keralduk wrote: > > Is it possible to set up local mirror of AppFuse 2 home page > (http://www.appfuse.org/)? > I have used a firefox plugin called scrapbook to take a local copy of the same site, works great for me and so simple. -- View this message in context: http://www.nabble.com/Set

Re: [appfuse-user] The state pattern with JPA

2007-07-11 Thread Matt Raible
Please don't double post to this list. If you haven't received a reply, it's likely because no one knows the answer. I do try to answer all the e-mails this list receives that I know the answer too. Sometimes it takes me 3-4 weeks, but usually other users step up and answer by then. Sorry we don't

Re: [appfuse-user] Selenium vs. Canoo

2007-07-11 Thread Matt Raible
I've been recommending and using Selenium on most of my projects lately. Here's a blog post I wrote up that talks about migrating: http://raibledesigns.com/rd/entry/canoo_webtest_vs_selenium The biggest problem I haven't solved is how to distribute the tests. Since they're all in Java code, they'

Re: [appfuse-user] AOP Question : Make all Objects update a field in their table on save()

2007-07-11 Thread syg6
Thanks for the quick reply Matt, as usual u r da man. I'll look into both of your suggestions! Bob mraible wrote: > > If you're using Hibernate, you can probably use its Event Listeners to > listen for onSave changes: > http://www.hibernate.org/hib_docs/reference/en/html/events.html > > Usin

Re: [appfuse-user] AOP Question : Make all Objects update a field in their table on save()

2007-07-11 Thread Matt Raible
If you're using Hibernate, you can probably use its Event Listeners to listen for onSave changes: http://www.hibernate.org/hib_docs/reference/en/html/events.html Using interceptors is probably more appropriate: http://hibernate.javabeat.net/articles/2007/05/interceptors-in-hibernate-introduction

[appfuse-user] AOP Question : Make all Objects update a field in their table on save()

2007-07-11 Thread syg6
Hello, I am playing around with AOP and have a simply Advice class being called when I call the save() method of a certain Dao, using an Advisor I have defined in my applicationContext.xml. I want to expand this so it is called when the save() method of ANY Dao is called. I know I have to use Aut

Re: [appfuse-user] Does CSS replaces the SiteMesh and Tiles technically?

2007-07-11 Thread tibi
besacly you have two options 1 make a pages which pulls stuff in like header footer etc 2 make a pages which gets decorated with a header and footer both will work i like option 2 because my page stays very clean. it will not know anything about headers or footers. it just needs to know stuff a

Re: [appfuse-user] Does CSS replaces the SiteMesh and Tiles technically?

2007-07-11 Thread Ashkan Roshanayi
Tnx tibi, In fact my header and footers are static (images and ...) so CSS fits like a glove for me. Otherwise what are the drawbacks of simply importing JSP snippets as header and footer with their own styling? --Ashkan On 7/11/07, tibi <[EMAIL PROTECTED]> wrote: if you don't have ellements w

[appfuse-user] Selenium vs. Canoo

2007-07-11 Thread Ashkan Roshanayi
Hi again, I've used Canoo web test (thanks Matt and appfuse!) for a while. No experience in Selenium. Is there any selenium support in appfuse? What are the pros & cons of these tools? I should emphasize I am pretty happy with Canoo and don't think to migrate if there is no considerable benefit wa

Re: [appfuse-user] Does CSS replaces the SiteMesh and Tiles technically?

2007-07-11 Thread tibi
if you don't have ellements which will be needed on more pages than you don't need SiteMesh but i think you will need somehting like that... like a header a menu and afooter?! tibi Ashkan Roshanayi wrote: Hi all, I am just wondered using quite decent CSS files for styling and decorating,

[appfuse-user] Does CSS replaces the SiteMesh and Tiles technically?

2007-07-11 Thread Ashkan Roshanayi
Hi all, I am just wondered using quite decent CSS files for styling and decorating, is there any room left for SiteMesh? I feel using SiteMesh in my new JSF project is an overkill so maybe I can just skip it :-p --Thanks

AW: [appfuse-user] Set up local mirror of AppFuse 2 (http://www.appfuse.org/)

2007-07-11 Thread Tobias Vogel
I should add, the path behind "-P" has to be a absolute path, to get this to work. Kind regards, Tobias -Ursprüngliche Nachricht- Von: Tobias Vogel [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 11. Juli 2007 14:06 An: users@appfuse.dev.java.net Betreff: AW: [appfuse-user] Set up local m

AW: [appfuse-user] Set up local mirror of AppFuse 2 (http://www.appfuse.org/)

2007-07-11 Thread Tobias Vogel
Hi, you can do it with wget (on Linux or use cygwin), example: $ mkdir appfuse_site $ cd appfuse_site $ wget --mirror -w 2 -p --html-extension --convert-links -P appfuse.org-2007-07-11 http://www.appfuse.org/ See http://www.jim.roberts.net/articles/wget.html for a detailed explanation Kind reg

[appfuse-user] The state pattern with JPA

2007-07-11 Thread Leo Barrientos C
Hello, does anybody know how to implement the State Pattern with JPA using only em.find and @tags? I need to get a Object with a concrete state object only doing em.find , The entity table has a id name and id_state fields; so if the id_state is 0 i need the ConcreteStateA loaded in actualState a

Re: [appfuse-user] Updating User problem

2007-07-11 Thread Michael Horwitz
Which version of AppFuse and which web frontend are you using? Some more details on the exact nature of the problem would also be useful: when you say can't update, do you mean the data does not appear in the database or is an exception raised? Have you got unit tests for each tier and are they pa

[appfuse-user] Updating User problem

2007-07-11 Thread Mel Pison
Hi All, Good Day everyone! I'm new here and I'm just starting in j2ee. I'm currently creating the same application from the tutorials(Person and User objects). I followed the steps from the tutorial and I already have a User object and I want to manipulate this object but I'm still encounteri

Re: [appfuse-user] Time out problem

2007-07-11 Thread Michael Horwitz
The simplest way to solve this is to set the alwaysUseDefaultTargetUrl property on the authenticationProcessingFilter to true. You will find the configuration for the authenticationProcessingFilter in security.xml. Just be warned that once set, all un-authenticated requests will always go to the

[appfuse-user] Time out problem

2007-07-11 Thread jithesh
Hi, I am using appfuse 1.9x.I am facing a problem with session timeout. When session timeout comes, "login.jsp" is called. Once user enters the username and password appfuse takes him to the last page he visited before timeout. Is it possible to prevent it? In my application users are not al

Re: [appfuse-user] Appfuse with Sysdeo

2007-07-11 Thread Abel Muiño
Yeah, that's right :) However, we're working on integrating with Web Tools Project to allow deployment and debugging in any supported container. syg6 wrote: > > I've also played around with Candy but it seems to do nothing more than > allow you to execute the Appfuse Maven goals within Eclipse

Re: [appfuse-user] Problem with date validation

2007-07-11 Thread Michael Horwitz
If I remember correctly you are using Spring MVC? If you are displaying the dates in a form, and you are using the Spring form tags to bind them to the form, then you need to register a customised instance of the CustomDateEditor to convert to/from your chosen format. If you are displaying the da

Re: [appfuse-user] AppFuse with NO Database

2007-07-11 Thread Michael Horwitz
It's simply a matter of replacing the DAO layer in Spring and providing your own UserDAO implementation that can provide ACEGI with the user object. The former are configured in the normal applicationContext-*.xml files, and the latter is configured in the security.xml files (look for the dao auth

Re: [appfuse-user] Conditional Validation

2007-07-11 Thread Msarda
I got it,it's working now. :) Thanks. mraible wrote: > > From > https://springmodules.dev.java.net/docs/reference/0.8/html_single/#commons-validator > : 17.1.2. Use a dedicated validation-rules.xml > > The file *validation-rules.xml* must contain Commons Validator elements > based on classes

Re: [appfuse-user] Conditional Validation

2007-07-11 Thread Msarda
I am not getting how to follow second approch of using validators property. Could you please give me some example. Thanks. mraible wrote: > > You may be able to use Commons Validator's ValidWhen: > > http://struts.apache.org/1.3.8/faqs/validator.html > > If that doesn't work, you can change y

Re: [appfuse-user] Localization using unicode fonts problem font not displaying

2007-07-11 Thread Matt Raible
If you're adding the raw text into ApplicationResources.properties and it needs native2ascii to process it, then that's the source of your problem. If you look in build.xml for "native2ascii", you should see that some ApplicationResources*.properties files are processed, and some are not (because

Re: [appfuse-user] Localization using unicode fonts problem font not displaying

2007-07-11 Thread Sanath Kodikara
I am testing this on Appfuse 1.9.4(the stable relese and am using spring MVC) and i am concerned with the rendered text on the UI not able to properly display the added unicode characters in the property file. thanx Matt Raible wrote: What version of AppFuse are you using? Which web framew