Re: [appfuse-user] Export Table in JSF version

2007-10-10 Thread Matt Raible
Here's what Google turned up: http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel Matt On 10/10/07, Ron Anderson <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > Looks like you went with dataTable rather than display:table in the JSF > version so no built in export is available. This migh

[appfuse-user] Export Table in JSF version

2007-10-10 Thread Ron Anderson
Hi Matt, Looks like you went with dataTable rather than display:table in the JSF version so no built in export is available. This might be the motivation to learn Struts 2 for a new project if no easy export solutions are available. Any suggestions? thanks, Ron -- View this message in contex

Re: [appfuse-user] Solution: Individual links in displaytag table cells

2007-10-10 Thread gederer
Jira added :) Greg gederer wrote: > > Hi, > > The highlightTableRows function in global.js causes an entire row of a > table to link to the href of the first anchor in the first cell in the row > if the first cell contains an anchor. So, if the table looks like: > > > > mylink.html

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-10 Thread Matt Raible
On 10/10/07, Ealden Escañan <[EMAIL PROTECTED]> wrote: > Hi Matt, > > On 10/11/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Is this something that only happens in 2.0? > > Yes, 2.0-m5. Haven't had the chance to move to 2.0-final. > > > If so, it could be related to the following change: > > > >

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-10 Thread Ealden Escañan
Hi Matt, On 10/11/07, Matt Raible <[EMAIL PROTECTED]> wrote: > Is this something that only happens in 2.0? Yes, 2.0-m5. Haven't had the chance to move to 2.0-final. > If so, it could be related to the following change: > > http://tinyurl.com/ysot66 > Hmmm perhaps. I'll remove the lines as spe

Re: [appfuse-user] Solution: Individual links in displaytag table cells

2007-10-10 Thread Matt Raible
Can you enter this as an issue in JIRA? Attaching a patch would make it even better. ;-) http://issues.appfuse.org/browse/APF Thanks! Matt On 10/10/07, gederer <[EMAIL PROTECTED]> wrote: > > Ooops! Found a bug. > > Here's the corrected code: > > function highlightTableRows(tableId) { > var

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-10 Thread Matt Raible
Is this something that only happens in 2.0? If so, it could be related to the following change: http://tinyurl.com/ysot66 Matt On 10/10/07, Ealden Escañan <[EMAIL PROTECTED]> wrote: > On 10/10/07, Ealden Escañan <[EMAIL PROTECTED]> wrote: > > > > Hi Sanath, > > > > Yes, I've seen this problem an

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-10 Thread Ealden Escañan
On 10/10/07, Ealden Escañan <[EMAIL PROTECTED]> wrote: > > Hi Sanath, > > Yes, I've seen this problem and with the same setup. Unfortunately, > that's the only thing I can tell you as I brushed the error off by > refreshing the page (as you've mentioned). I have autoReconnect set > to true though

Re: [appfuse-user] Run mvn integration-test Canoo Web test Error!!!

2007-10-10 Thread kerryland
I've run into the "dangling meta character" issue again. I again followed the "quickstart" tutorial but this time I'm on my Ubuntu Linux box, rather than my XP box. Login: [INFO] [ERROR] BUILD ERROR [INFO] --

Re: [appfuse-user] Solution: Individual links in displaytag table cells

2007-10-10 Thread gederer
Ooops! Found a bug. Here's the corrected code: function highlightTableRows(tableId) { var previousClass = null; var table = document.getElementById(tableId); var tbody = table.getElementsByTagName("tbody")[0]; var rows; if (tbody == null) { rows = table.getElementsBy

[appfuse-user] Solution: Individual links in displaytag table cells

2007-10-10 Thread gederer
Hi, The highlightTableRows function in global.js causes an entire row of a table to link to the href of the first anchor in the first cell in the row if the first cell contains an anchor. So, if the table looks like: mylink.html My Link Something here myOtherLink.html My Other

Re: [appfuse-user] Data Archive pattern in AppFuse

2007-10-10 Thread Nathan Anderson
Wow.. I guess we created these a while ago... they are all MyISAM tables, so there are no relationships enforced by MySQL, only Hibernate is enforcing the relationships. Nathan - Original Message - From: "Rob Hills" <[EMAIL PROTECTED]> To: "Nathan Anderson" <[EMAIL PROTECTED]>, users@

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread mxb
Thanks for your help. it works with Tomcat 6. mraible wrote: > > It looks like you're trying to run on Tomcat 5.5.x - you need Tomcat 6 > in order to run MyFaces 1.2 since it has a dependency on JSP 2.1. > > On 10/10/07, mxb <[EMAIL PROTECTED]> wrote: >> >> here's the entire error >> >> [INFO

Re: [appfuse-user] has anyone got the basic-jsf to work and imported to eclispe

2007-10-10 Thread Ron Anderson
I just went through the entire process for basic-jsf from start to finish and didn't have any problems. Using Java 5, Tomcat 5.5 and Eclipse 3.2 Was able to import the project to eclipse, make changes and see them with a mvn jetty:run-war. I do miss the old ant window in eclipse though. Nice

Re: [appfuse-user] Data Archive pattern in AppFuse

2007-10-10 Thread Rob Hills
Hi Nathan, On 10 Oct 2007 at 12:42, Nathan Anderson wrote: > We are currently not working with a huge data set. The two tables we are > auditing have 5,800 and 1,400 records. And the audit tables have 29,000 and > 8,200 records. Ah, but you have separate audit tables though, so operations on

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread Matt Raible
It looks like you're trying to run on Tomcat 5.5.x - you need Tomcat 6 in order to run MyFaces 1.2 since it has a dependency on JSP 2.1. On 10/10/07, mxb <[EMAIL PROTECTED]> wrote: > > here's the entire error > > [INFO] [talledLocalContainer] 10-Oct-2007 21:26:18 > org.apache.catalina.core.Stan >

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread mxb
here's the entire error [INFO] [talledLocalContainer] 10-Oct-2007 21:26:18 org.apache.catalina.core.Stan dardService start [INFO] [talledLocalContainer] INFO: Starting service Catalina [INFO] [talledLocalContainer] 10-Oct-2007 21:26:18 org.apache.catalina.core.Stan dardEngine start [INFO] [talled

Re: [appfuse-user] Getting DisplayTag to support multiple parameters

2007-10-10 Thread Matt Raible
Yes On 10/10/07, John Kwon <[EMAIL PROTECTED]> wrote: > So would the first name, last name be as follows? > > href="whateveryoulike.html?lastName=${foo.lastName}&firstName=${foo.firstName}">{foo.lastName} > > with only the last name displayed, but first and last name passed in the > url? > > > On

Re: [appfuse-user] Getting DisplayTag to support multiple parameters

2007-10-10 Thread John Kwon
So would the first name, last name be as follows? {foo.lastName} with only the last name displayed, but first and last name passed in the url? On 10/10/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > You can give a column a nested body to do this: > > > > > > ${foo.lastName > } > > > > Matt >

[appfuse-user] has anyone got the basic-jsf to work and imported to eclispe

2007-10-10 Thread mxb
Hi, I have never been able to get the basic-jsf build to work to the point where i can import the project into eclipse. does anyone have a positive experience in doing a problem free basic-jsf install. -- View this message in context: http://www.nabble.com/has-anyone-got-the-basic-jsf-to-work-

Re: [appfuse-user] editing bean associations

2007-10-10 Thread George.Francis
This gave me the error: org.apache.jasper.JasperException: /WEB-INF/pages/applicationform.jsp(29,9) PWC6131: Attribute labelValue invalid for tag options according to TLD I tried changing it to: and I get the error: javax.servlet.jsp.JspException: Type [java.lang.String] is not valid for opti

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread mxb
have you been able to run install eclipse:eclispe . mraible wrote: > > If you deploy your application to an existing running version of > Tomcat, does it startup correctly? What if you run "mvn > jetty:run-war"? > > Matt > > On 10/10/07, mxb <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I am ab

Re: [appfuse-user] Getting DisplayTag to support multiple parameters

2007-10-10 Thread Matt Raible
You can give a column a nested body to do this: ${foo.lastName} Matt On 10/10/07, John Kwon <[EMAIL PROTECTED]> wrote: > Let's say I have a display that shows a list where three attributes of each > object in the list are shown. > > Let's say, first name, last name, middle initial. > > So,

Re: [appfuse-user] editing bean associations

2007-10-10 Thread Matt Raible
http://www.springframework.org/docs/reference/spring-form.tld.html#spring-form.tld.options Matt On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote: > > Sorry, can you be more specific regarding what I need to change? > > > mraible wrote: > > > > I believe it should be a Map unless you specif

Re: [appfuse-user] Getting DisplayTag to support multiple parameters

2007-10-10 Thread John Kwon
Let's say I have a display that shows a list where three attributes of each object in the list are shown. Let's say, first name, last name, middle initial. So, I want to do a url= to take me to the next page/controller, and I need to pass first name and last name with the link. Is this even poss

Re: [appfuse-user] editing bean associations

2007-10-10 Thread George.Francis
Sorry, can you be more specific regarding what I need to change? mraible wrote: > > I believe it should be a Map unless you specify label and value > properties. > > Matt > > On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote: >> >> I tried the following in my JSP: >> >> >> >

Re: [appfuse-user] Getting DisplayTag to support multiple parameters

2007-10-10 Thread Matt Raible
What do you mean by multiple parameters? On 10/10/07, John Kwon <[EMAIL PROTECTED]> wrote: > The googling I did gives me various results - back in 2004, someone added > something to get it to support multiple params, the current version doesn't > support them, someone says the AJAX enabled version

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread mxb
i ran appfuse-full-source which worked ok and then when i ran install eclipse:eclipse i got this error. I haven't yet managed to install the basic-jsf whereas the basic-struts seems to work ok. [INFO] [ERROR] BUILD ERROR

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread mxb
it works when i run jetty:run-war and i can login. mraible wrote: > > If you deploy your application to an existing running version of > Tomcat, does it startup correctly? What if you run "mvn > jetty:run-war"? > > Matt > > On 10/10/07, mxb <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I am abl

[appfuse-user] Getting DisplayTag to support multiple parameters

2007-10-10 Thread John Kwon
The googling I did gives me various results - back in 2004, someone added something to get it to support multiple params, the current version doesn't support them, someone says the AJAX enabled version supports multiple params, etc. Does anyone have the clear scoop on this?

Re: [appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread Matt Raible
If you deploy your application to an existing running version of Tomcat, does it startup correctly? What if you run "mvn jetty:run-war"? Matt On 10/10/07, mxb <[EMAIL PROTECTED]> wrote: > > Hi, > > I am able to download the Basic JSF-Struts archetype however i get an error > when i run mvn to dow

Re: [appfuse-user] editing bean associations

2007-10-10 Thread Matt Raible
I believe it should be a Map unless you specify label and value properties. Matt On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote: > > I tried the following in my JSP: > > > > > > > > > > and I get: > > [ismid] ERROR [btpool0-7]

[appfuse-user] error when running mvn JSF-Struts build

2007-10-10 Thread mxb
Hi, I am able to download the Basic JSF-Struts archetype however i get an error when i run mvn to download other jars etc. the error i get is as follows, can anyone help. [INFO] Executing tasks [mkdir] Created dir: C:\cabrillo\target\webtest-data [echo] Testing 'cabrillo-1.0-SNAPSHOT' w

Re: [appfuse-user] editing bean associations

2007-10-10 Thread George.Francis
I tried the following in my JSP: and I get: [ismid] ERROR [btpool0-7] OptionsTag.doStartTag(80) | Type [java.lang.String] is not valid for option items mraible wrote: > > What's the problem? What are you using and what's not work

Re: [appfuse-user] Recreating db

2007-10-10 Thread Matt Raible
Remove true your pom.xml and change pom.xml to use REFRESH instead of CLEAN_INSERT. Matt On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote: > > Hi, > Every time i run "mvn jetty:run-war" allt he tables in my database get > dropped and recreated from scratch. How do I retain the data in my DB

Re: [appfuse-user] editing bean associations

2007-10-10 Thread Matt Raible
What's the problem? What are you using and what's not working? Are you seeing an error? Matt On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote: > > Hello, > I have made a SpringMVC application and defined two beans, Customer and > Application. One of the members of the Application bean is a

[appfuse-user] Recreating db

2007-10-10 Thread George.Francis
Hi, Every time i run "mvn jetty:run-war" allt he tables in my database get dropped and recreated from scratch. How do I retain the data in my DB between runs? -- View this message in context: http://www.nabble.com/Recreating-db-tf4602868s2369.html#a13142630 Sent from the AppFuse - User mailing

[appfuse-user] editing bean associations

2007-10-10 Thread George.Francis
Hello, I have made a SpringMVC application and defined two beans, Customer and Application. One of the members of the Application bean is a Customer. I'm having trouble getting the applicationform.jsp page to display a list of existing Customers to associate with the Application. Is it simply a

Re: [appfuse-user] Howto use Derby instead of MySQL?

2007-10-10 Thread Matt Raible
This may help: http://raibledesigns.com/rd/entry/database_profiles_in_appfuse_2 Matt On 10/10/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote: > Hi, > > I've just downloaded appfuse 2.0. > > I run > > mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-modul

[appfuse-user] Howto use Derby instead of MySQL?

2007-10-10 Thread Thai Dang Vu
Hi, I've just downloaded appfuse 2.0. I run mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-jsf -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0 -DgroupId=home -DartifactId=hproject for a JSF modular. Then I ru

Re: [appfuse-user] Implementing a second web-service

2007-10-10 Thread George.Francis
For anyone facing the same issue, the description of how to do this is here http://xfire.codehaus.org/Spring+Remoting As well as creating interface and implementation, you have to add appropriate mappings in xfire-servlet.xml and of course define the bean in the application context. fadhlirahim

Re: [appfuse-user] Question about the appfuse:label and form

2007-10-10 Thread Peter Schneider-Manzell
Simply add the attribute ... readonly="true" ... (or maybe disabled="true") For more options see http://static.springframework.org/spring/docs/2.0.x/reference/spring-form.tld.html#spring-form.tld.input Bye, Peter 2007/10/10, John Kwon <[EMAIL PROTECTED]>: > > In your tutorial you have: > >

[appfuse-user] Question about the appfuse:label and form

2007-10-10 Thread John Kwon
In your tutorial you have: I would like to have the lastName in this example be read-only. Is there a way to do this?

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-10-10 Thread Ealden Escañan
On 10/10/07, Sanath <[EMAIL PROTECTED]> wrote: > > Dear Ealden, > > > This is Appfuse 2.0 M5 > My DB is mysql > Java version is 5 > Is this due to not setting autoReconnect=true in the db connection URL > > All ur help and advices highly appreciated. > Hi Sanath, Yes, I've seen this problem and w

Re: [appfuse-user] I want to contribute Facelets stuff to appfuse

2007-10-10 Thread Scott Ryan
I have completed the conversion from sitemesh to facelets. It is merely a matter of substituting the proper templates for the sitemesh stuff. It is more akin to tiles than sitemesh. I also created a number of reusable components for layout and other items. I have blogged about the code

Re: [appfuse-user] Web services index not working

2007-10-10 Thread Michael Horwitz
I think there is an issue with the GZip filter and this page. See the following thread for more info: http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12777689 Mike On 10/9/07, George.Francis <[EMAIL PROTECTED]> wrote: > > > Hi, > I created a basic Spring MVC App using the m