Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread phamvubinh
I tried your advice, it works. But when I tried to persist a large charater object (about 1 A4 page data). I met a bug. Have you ever seen the following bug? I find out the CLOB property in my database has only 4000 bytes in data_length. How can I persist a large character object? =

Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread Jason Thrasher
Allan is correct, you need a CLOB, or a LOB. If you are using Hibernate you won't need to worry about which of the Clob data structures you'll use, as hibernate will choose it for you based on your database's dialect. The annotations for a String object like this might look like: @Lob

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-19 Thread Nathan Anderson
Just to let you folks know what I discovered about this error [now that I know what the error is ;)]. I did some googling and I found some other people had very similar problems and they fixed it by removing: ${CATALINA_HOME}/common/endorsed/xml-apis.jar This fixed my startup problem as well

Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread phamvubinh
When I get the model from my database, how can I parse the property which has CLOB datatype into String datatype in Java. Allan Ang wrote: > > well you could set the property in your model object as String and set the > datatype in Oracle as CLOB. That will work. > > > -- View this messag

Re: [appfuse-user] Spring MVC, looking for UI elements

2007-11-19 Thread Sib
Mostly JSP and servlets http://www.servletsuite.com/index.html JSP tags: http://www.servletsuite.com/jsp3.htm HTH On Nov 19, 2007 4:19 PM, Carlos Ortiz <[EMAIL PROTECTED]> wrote: > Hi you all > > I am looking for good open source or free UI elements to use in JSP like > calendars, tabs

[appfuse-user] Spring MVC, looking for UI elements

2007-11-19 Thread Carlos Ortiz
Hi you all I am looking for good open source or free UI elements to use in JSP like calendars, tabs, and others (this is the list I have in mind these days. I know of DisplayTag for tables or presenting a list of items. Thank you for your help

Re: [appfuse-user] Spring Live Practice

2007-11-19 Thread Richard Nduka
This happens even though i have the file in my web/WEN-INF folder. On Nov 19, 2007 5:43 PM, Richard Nduka <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks a lot for your mail. I replaced the spring jar file i had with > an older version 1.x actually and the issue disappeared. Now i get the > error belo

Re: [appfuse-user] Spring Live Practice

2007-11-19 Thread Richard Nduka
Hi, Thanks a lot for your mail. I replaced the spring jar file i had with an older version 1.x actually and the issue disappeared. Now i get the error below: [junit] Testcase: testGetUsers(com.softforce.schoolnet.controller.UserControllerTest):Caused an ERROR [junit] IOException parsing X

Re: [appfuse-user] ID Passed as Parameter

2007-11-19 Thread Michael Horwitz
Another option is to implement something in line with AppFuse's UserSecurityAdvice which acts as a security interceptor on the save() method of the UserManager - it prevents anyone who is not an Administrator from modifying user details other than their own. Has the advantage that you do not need t

Re: [appfuse-user] ID Passed as Parameter

2007-11-19 Thread Rob Hills
Hi Phillip, Philip Barlow wrote: I'm just wondering is there a general solution to the following example: I pass a TeamId as a request parameter to a PersonAction to list all people in a team with Person.TeamId=TeamId. However I want to stop a logged in user being able to manually change the T

[appfuse-user] ID Passed as Parameter

2007-11-19 Thread Philip Barlow
Hi, I'm just wondering is there a general solution to the following example: I pass a TeamId as a request parameter to a PersonAction to list all people in a team with Person.TeamId=TeamId. However I want to stop a logged in user being able to manually change the Team Id and look up people they

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-19 Thread Rob Hills
Hi Mike, Michael Horwitz wrote: On 11/19/07, *Rob Hills* <[EMAIL PROTECTED] > wrote: Thanks for the reply. [..] I've been doing quite a bit of tracing through the code (via Eclipse) but am having a bit of trouble understanding what I'm looking at.

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-19 Thread Michael Horwitz
Hi Rob, On 11/19/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > Thanks for the reply. > > Michael Horwitz wrote: > > > > On 11/19/07, *Rob Hills* <[EMAIL PROTECTED] > > > wrote: > > > > > > After chipping away at this all weekend I'm still stuck. To > >

Re: [appfuse-user] Spring Live Practice

2007-11-19 Thread Michael Horwitz
Which release in particular? Mike. On 11/19/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > > It seems like i am using version 2 of Spring. > > On Nov 19, 2007 4:28 PM, Michael Horwitz <[EMAIL PROTECTED]> wrote: > > It looks like your Spring dependency may be of the wrong version. Which > > versio

Re: [appfuse-user] Spring Live Practice

2007-11-19 Thread Richard Nduka
It seems like i am using version 2 of Spring. On Nov 19, 2007 4:28 PM, Michael Horwitz <[EMAIL PROTECTED]> wrote: > It looks like your Spring dependency may be of the wrong version. Which > version of Spring are you using? > > Mike. > > > On 11/19/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > > >

Re: [appfuse-user] Spring Live Practice

2007-11-19 Thread Michael Horwitz
It looks like your Spring dependency may be of the wrong version. Which version of Spring are you using? Mike. On 11/19/07, Richard Nduka <[EMAIL PROTECTED]> wrote: > > Hi, > > I was just trying to read through Spring Live and follow along with > the practice examples and on running the UserContr

Re: [appfuse-user] Spring Live Practice

2007-11-19 Thread Richard Nduka
Hi, I was just trying to read through Spring Live and follow along with the practice examples and on running the UserControllerTest in chapter 4 i get the error below: [junit] Testcase: testGetUsers(com.softforce.schoolnet.controller.UserControllerTest):Caused an ERROR [junit] org.spring

Re: [appfuse-user] Sitemesh question

2007-11-19 Thread Carlos Ortiz
Hope to see facelets someday when it comes to it. Well, but this does not reply to my original question. I need to know if Sitemesh or Tiles as is, can be used using JSF per se (no facelets --besides, I am newbie to JSF). On Nov 16, 2007 3:51 PM, Ryan Scott <[EMAIL PROTECTED]> wrote: > What func

Re: [appfuse-user] Spring MVC in action, does anyone...

2007-11-19 Thread Michael Horwitz
There is something of a list here: http://www.springhub.com/component/option,com_weblinks/catid,36/Itemid,56/ Mike On 11/19/07, Carlos Ortiz <[EMAIL PROTECTED]> wrote: > > No, those sites are not build upon Spring MVC. What I am intended to know > is to get sites build with Spring MVC web framewo

Re: [appfuse-user] Spring MVC in action, does anyone...

2007-11-19 Thread Carlos Ortiz
No, those sites are not build upon Spring MVC. What I am intended to know is to get sites build with Spring MVC web framework. On Nov 18, 2007 2:29 PM, Michael Horwitz <[EMAIL PROTECTED]> wrote: > Don't know for sure but I would assume http://www.springframework.org/ and > http://www.interface21.

Re: [appfuse-user] Spring MVC in action, does anyone...

2007-11-19 Thread Carlos Ortiz
Oh, that is good, plenty of applications using Spring MVC. Well, if no URL can be given, could you tell me your experience about this fact. How do you see Spring MVC future? How do you manage view presentation, which visual components do you use? On Nov 16, 2007 4:17 PM, John Kwon <[EMAIL PROTECTE

Re: [appfuse-user] Appfuse 2.0 & Hibernate Tools Console Configuration issue

2007-11-19 Thread WernerL
Hi For those having the same issues, I got this solved: - Replaced the log4j-1.2.11.jar with log4j-1.2.12.jar. Also edited the MANIFEST.MF to reflect this & restarted eclipse with the -clean option (I'm not sure I did that before...) - Created a new Hibernate Console Configuration with follow

Re: [appfuse-user] Beginner Problem

2007-11-19 Thread Michael Horwitz
If you could give us an indication of what you are trying to do/any steps to reproduce the error it would help us help you? Mike On 11/19/07, adityawijanarko <[EMAIL PROTECTED]> wrote: > > > i keep having this error > please help me > > java.lang.InstantiationException: org.apache.tools.ant.Main

[appfuse-user] Beginner Problem

2007-11-19 Thread adityawijanarko
i keep having this error please help me java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Class.newInstance0(Class.java:335) at java.lang.Class.newInstance(Class.java:303) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:245) at or

Re: [appfuse-user] running jetty with appfuse 1.9.4

2007-11-19 Thread mrcyril
Rizwan The company I am working for are currently using AppFuse 1.9.4 and we are using both Jetty Launcher and the Sysdeo Tomcat plugin, with Eclipse. We are able to use dynamic class reloading (no need for deployment and stop/start for most code changes ) with both setups. With some mionor cha

Re: [appfuse-user] Appfuse DateConverter not working?

2007-11-19 Thread Josef Cacek
Hello Bruce, On Nov 16, 2007 7:03 AM, BruceLee <[EMAIL PROTECTED]> wrote: > Dear Team, > > I digged days, tried to search on this forum, got some good info for my > question, but still puzzles. We use 1.9.4 with WebWork. > > We want default conversion from string on JSP to Date in model using Appf

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-19 Thread Rob Hills
Hi Michael, Thanks for the reply. Michael Horwitz wrote: On 11/19/07, *Rob Hills* <[EMAIL PROTECTED] > wrote: After chipping away at this all weekend I'm still stuck. To summarise the problem (detailed previously in this thread), I have a form that si

Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread phamvubinh
I tried your advice before. I set the property as String and the hibernate generated this property as nvarchar into database. Then I modify this property into CLOB datatype but the data_length of this property just is 4000. I don't how to persist my data over 4000 characters. Allan Ang wrote: >

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-19 Thread Michael Horwitz
On 11/19/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi All, > > After chipping away at this all weekend I'm still stuck. To summarise the > problem (detailed previously in this thread), I have > a form that simultaneously edits a Parent record and its related child > records (I'm calling the POJ

Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread Allan Ang
well you could set the property in your model object as String and set the datatype in Oracle as CLOB. That will work. -- View this message in context: http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13830060 Sent from the A

Re: [appfuse-user] Running from Eclipse

2007-11-19 Thread Michael Horwitz
On 11/18/07, Frank Lawlor <[EMAIL PROTECTED]> wrote: > > > The directions in http://appfuse.org/display/APF/Eclipse say (not very > helpfully) "After configuring Eclipse, you should be able to compile your > project and run tests from within your IDE". > > In AppFuse 1 this was a less-than-simple t

Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread phamvubinh
There are many clob type in java: - java.sql.Clob. - oracle.sql.Clob. - com.mysql.jdbc.Clob. - org.hibernate.type.ClobType. Which one can I use. I have tried some types of Clob, but the data_length in database just is 4000. It's not enough for my data. Allan Ang wrote: > > CLOB > --

Re: [appfuse-user] How to insert a large character object into Oracle database from Appfuse.

2007-11-19 Thread Allan Ang
CLOB -- View this message in context: http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13829317 Sent from the AppFuse - User mailing list archive at Nabble.com. --