[appfuse-user] Appfuse Xfire Performance (OTA)

2007-06-04 Thread Thomas Ramapuram
Hi Matt, Is it possible to implement xfire with XmlBeans instead of JAXB? I generated stubs of the OTA (Open Travel Alliance) xsd files in JAXB but the intital request response takes almost 30 Seconds (which would be unacceptable) subsequent request response in the same client call is muc

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-06-04 Thread jiaguo
GBSGBSGBS wrote: > > i'v solved this problem yet... > i mistake a struts tag in my jsp pages(tag) > thank u Eric > i hava the same problem.. can you tell me detailed how does you solved that?? -- View this message in context: http://www.nabble.com/one-to-many-problem-on-appfuse2.0-m

Re: [appfuse-user] Running integraiton-test after appfuse:full-source

2007-06-04 Thread fadhli
Hi Matt, Just for the sake of testing the appfuse full source, I decided to start a new fresh project for it. So what I did was creating a new Spring MVC Basic project.. mvn archetype:create -DarchetypeGroupId=org.appfuse-DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories= http://st

[appfuse-user] Dbunit + Blob issue

2007-06-04 Thread Daniel.Rodriguez
Hi guys, Need help with the following: I declared an Entity that contains a blob, and I need to include the file (a img) inside the dbunit file (the app is an online image handler for a advertisement company, so it is necessary). I alredy checked the dbunit site and they claim that they added s

[appfuse-user] Appfuse 2.0 M5 Hibernate Issue using Person?

2007-06-04 Thread Sandhu
I setup appfuse 2.0 M5 with Hibernate. I was testing in one directory say test and everything was working ok. I copied the working directory test to test-new. If I run the application and try to add person, I am getting the following exception in the appfuse 2.0 (Spring MVC modular) Only chang

Re: [appfuse-user] Running integraiton-test after appfuse:full-source

2007-06-04 Thread Matt Raible
Did you do this on a brand new M5 project, or one you developed previously? Can you provide the steps to reproduce, starting from "mvn archetype:create"? Thanks, Matt On 6/3/07, fadhli <[EMAIL PROTECTED]> wrote: I'm getting these warning after I had done appfuse:full-source and running the in

Re: [appfuse-user] AjaxAnywhere and Tomcat 6

2007-06-04 Thread jvosloo
Ok - I found the culprit - it wasn't Tomcat 6 at all. It was the upgrade from MyFaces 1.1.4 to MyFaces 1.1.5 that caused the issue. Tomcat 6 merely seems to be logging warnings about parameters which Tomcat 5.5. didn't do - that caused me to incorrectly suspect Tomcat 6. I tested this by downg

Re: [appfuse-user] import appfuse 1.9.4 to eclipse

2007-06-04 Thread Matt Raible
Have you tried searching the archives at http://appfuse.org/forums? http://tinyurl.com/2b4c4y Matt On 6/4/07, Ding, Qin <[EMAIL PROTECTED]> wrote: I tried to import appfuse 1.9.4 project to eclipse. After import, I check the project by clicking the project property, it is shown as "Type: proj

[appfuse-user] import appfuse 1.9.4 to eclipse

2007-06-04 Thread Ding, Qin
I tried to import appfuse 1.9.4 project to eclipse. After import, I check the project by clicking the project property, it is shown as "Type: project". How can I import the project as a "web project"? Right now I can't use "IBM Websphere studio Application developer (WSAD)" to debug the applicati

Re: [appfuse-user] AjaxAnywhere and Tomcat 6

2007-06-04 Thread Matt Raible
On 6/4/07, jvosloo <[EMAIL PROTECTED]> wrote: According to your post you got an error in the log like this: WARNING: Parameters: Character decoding failed. Parameter skipped. It's not quite the same as mine: WARNING: Parameters: Invalid chunk ignored. I don't actually get an error - but my f

Re: [appfuse-user] AjaxAnywhere and Tomcat 6

2007-06-04 Thread jvosloo
According to your post you got an error in the log like this: WARNING: Parameters: Character decoding failed. Parameter skipped. It's not quite the same as mine: WARNING: Parameters: Invalid chunk ignored. I don't actually get an error - but my fields are nonetheless not being submitted - very

Re: [appfuse-user] AjaxAnywhere and Tomcat 6

2007-06-04 Thread Matt Raible
I got this error too - the first comment is from one of the Tomcat committers: http://raibledesigns.com/rd/entry/upgrading_to_tomcat_6 Matt On 6/4/07, jvosloo <[EMAIL PROTECTED]> wrote: I recently upgraded my JSF 1.9.3 based app to Tomcat 6 and Java 6. Besides some minor issues with the buil

Re: [appfuse-user] Re: JSF 1.2 port

2007-06-04 Thread Matt Raible
I believe Seam supports JSF 1.2. http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamWithJSF1.2 http://jira.jboss.org/jira/browse/JBSEAM-156 Have you thought about using it instead of AppFuse? Here's a Mavenized version (AFAICT): http://vyzivus.host.sk/maven2-seam.html Matt On 6/4/07, Steve Tynor <

Re: [appfuse-user] current url

2007-06-04 Thread tibi
jep that will work.. i was looking for a struts tag but this is fine! thanks tibi Matt Raible wrote: You mean something like request.getRequestURL()? Note that this doesn't get the query string. On 6/4/07, tibi <[EMAIL PROTECTED]> wrote: hi, in struts I can't find the tag for getting a lin

[appfuse-user] Re: JSF 1.2 port

2007-06-04 Thread Steve Tynor
I've decided to try a different approach: use the Sun reference implementation instead of the myfaces 1.2 snapshot. I'm having a h*ll of a time getting the maven dependencies to work however properly. I've found and am using the java.net maven repository dev.java.net

[appfuse-user] AjaxAnywhere and Tomcat 6

2007-06-04 Thread jvosloo
I recently upgraded my JSF 1.9.3 based app to Tomcat 6 and Java 6. Besides some minor issues with the build file etc. everything seemed fine and I took the upgrade to production. I noticed the following in the log from time to time (but because everything seemed to work - I ignored it): 2007/

Re: [appfuse-user] Appfuse2-m5 Struts2 Radio

2007-06-04 Thread ganine
thanks guys, thats the point. =) David Michael Q. Nelson wrote: > > It seems that your manager (personManager) as been declared as > GenericManager, and as it doesn't have a getAllGender method it´s throwing > this exception. You should write an interface ( PersonManager ) that > extends > Gene

Re: [appfuse-user] Appfuse2-m5 Struts2 Radio

2007-06-04 Thread David Michael Q. Nelson
It seems that your manager (personManager) as been declared as GenericManager, and as it doesn't have a getAllGender method it´s throwing this exception. You should write an interface ( PersonManager ) that extends GenericManager, and implement it in your PersonManagerImpl. Then change you "Generi

Re: [appfuse-user] webtest cant verify dhtml ?

2007-06-04 Thread ros
Yes, but at decorator level. I found if I place javascript links on a page directly it works. But, anyway Initial Text still not changed to "New text" Michael Horwitz wrote: > > $ is part of scriptaculous - are you improting the scriptaculous > javascript > libraries on that

Re: [appfuse-user] Appfuse2-m5 Struts2 Radio

2007-06-04 Thread Arvinder Brar
looks like the method is not there in the interface but only in implementation --- ganine <[EMAIL PROTECTED]> wrote: > > I'm trying insert a field gender in my personForm, > but I got a error after > insert the field and the methods.. > > personForm.jsp > > scope="request" /> > requi

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread sxm
there is only one hibernate.cfg.xml which looks like this Stage.java is in src/main/java/com/dtr/model and compile fine. This file is annotated (that shouldnt be a problem) -sxm mraible wrote: > > I've seen this happen when the mapping in hibernate.cfg.x

Re: [appfuse-user] button style in IE

2007-06-04 Thread Fan
Well done Matt, it works !!! mraible wrote: > > Try adding theme="simple": > > theme="simple"/> > > If this works, maybe we need to update the tutorial? > > Matt > > On 6/4/07, Fan <[EMAIL PROTECTED]> wrote: >> >> the submit buttons tag in Appfuse 2.0-m5 >> >> e.g. >> >> >> will render dif

Re: [appfuse-user] current url

2007-06-04 Thread Matt Raible
You mean something like request.getRequestURL()? Note that this doesn't get the query string. On 6/4/07, tibi <[EMAIL PROTECTED]> wrote: hi, in struts I can't find the tag for getting a link to the current url. should be simple but just can;t find an example... tibi -

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread Matt Raible
I've seen this happen when the mapping in hibernate.cfg.xml is wrong or doesn't exist. Maybe you edited the wrong file? Matt On 6/4/07, sxm <[EMAIL PROTECTED]> wrote: I tried it with Spring Modular project and created a pojo and included it in the hibernate.cfg.xml Now, appfuse:gen finishes si

[appfuse-user] current url

2007-06-04 Thread tibi
hi, in struts I can't find the tag for getting a link to the current url. should be simple but just can;t find an example... tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread sxm
I tried it with Spring Modular project and created a pojo and included it in the hibernate.cfg.xml Now, appfuse:gen finishes silently but doesn't generate any files in target/appfuse Here is the output of "mvn appfuse:gen -Dentity=Stage" [INFO] [compiler:compile] [INFO] Nothing to compile - all cl

Re: [appfuse-user] button style in IE

2007-06-04 Thread Matt Raible
Try adding theme="simple": If this works, maybe we need to update the tutorial? Matt On 6/4/07, Fan <[EMAIL PROTECTED]> wrote: the submit buttons tag in Appfuse 2.0-m5 e.g. will render differently in firefox & IE In IE, the save, delete, cancel buttons will be aligned to right hand side

[appfuse-user] button style in IE

2007-06-04 Thread Fan
the submit buttons tag in Appfuse 2.0-m5 e.g. will render differently in firefox & IE In IE, the save, delete, cancel buttons will be aligned to right hand side. And they are arranged in vertical order. i.e. How could I change the style so that the

Re: [appfuse-user] appfuse:gen

2007-06-04 Thread parthiban . subramaniam
apologies Ros, will keep that in mind thanks for the tip yep it works Regards, Parthi |> | Internet | | [EMAIL PROTECTED]| || |

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-06-04 Thread tibi
a change in the sitemash to this makes it working... the order is impartant! good luck class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/> class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/> class="com.opensymphony.module.sitemesh.parser.HTMLP

Re: [appfuse-user] acegi/menu problem

2007-06-04 Thread Bryan Noll
Thanks... I'll give it a try and report back. Matt Raible wrote: In 2.4.2 of Struts Menu, we changed to do the permission checking w/in the template itself. I tried to make it work in Java code, but was never successful. So rather than beating my head against the wall, I made that change. If yo

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-06-04 Thread tibi
still problems with the decorator. i want to make a print option of pages. the same data with different decoration. i like the parameter option: --| ParameterDecoratorMapp

[appfuse-user] Appfuse2-m5 Struts2 Radio

2007-06-04 Thread ganine
I'm trying insert a field gender in my personForm, but I got a error after insert the field and the methods.. personForm.jsp PersonAction private Map genderMap; public Map getGenderMap(){ return genderMap; } public String edit() { genderMap = person

Re: [appfuse-user] amp fails - java.lang.NullPointerException

2007-06-04 Thread Matt Raible
I haven't tested "appfuse:gen" on the appfuse-core archetype. It probably doesn't work because it's looking for a property or something like that. Matt On 6/4/07, Eric Fitzsimmons <[EMAIL PROTECTED]> wrote: Yes, you must create a persistable pojo and include it in the hibernate config file in

Re: [appfuse-user] webtest cant verify dhtml ?

2007-06-04 Thread Michael Horwitz
$ is part of scriptaculous - are you improting the scriptaculous javascript libraries on that particular page? Mike. On 6/4/07, ros <[EMAIL PROTECTED]> wrote: On mvn integration test there is error: Script error loading page executing webtest at: clickbutton TypeError: $ is not a function, it

[appfuse-user] Java 5 Enums Persistence :: How-to

2007-06-04 Thread celeraman+
If you need to map Java 5 Enums to Hibernate using JPA annotations this is you are looking for. First, a sample POJO from AppFuse Persistence tutorial to demo how to use the annotations. --- cut here - package org.appfuse.tutorial.model; @Entity @Table(name=

[appfuse-user] Struts2

2007-06-04 Thread Martin Ravell
Sorry if this is a little off topic but I figure there are a few people out there using the Struts2 version of appfuse and I'm needing some help. In a pretty simple list page created by an appfuse:gen / appfuse:install on a new pojo called Game. I have added an extra column to this gameList.jsp in

Re: [appfuse-user] webtest cant verify dhtml ?

2007-06-04 Thread ros
On mvn integration test there is error: Script error loading page executing webtest at: clickbutton TypeError: $ is not a function, it is null. Browser can execute javascript $ function.Any ideas why web test fails? ros wrote: > > Hi! > > Does canoo web test able to verify page html change wi

Re: [appfuse-user] appfuse:gen

2007-06-04 Thread ros
Please, post message to the root of the forum, rather as a reply to another post. For date usage try: @Column(nullable=false, name="date_starts") @DateBridge(resolution= Resolution.MINUTE) public Date getDateStarts() { return dateStarts; } parthiban.subramaniam wrote: >

[appfuse-user] appfuse:gen

2007-06-04 Thread parthiban . subramaniam
Just ran this command, the generated is fantastic, a small issue, i have a date column in one of the model object that i use, the sample data that gets generated is of type string, am i missing anything here? here is my annotation configuration for this column @Basic @Temporal(TemporalType.D

[appfuse-user] webtest cant verify dhtml ?

2007-06-04 Thread ros
Hi! Does canoo web test able to verify page html change with java script? Like this one: .. Initial text ... $("foo").innerHTML = "New text"; How I can trace with webtest the innerHtml text was changed? Thanks! -- View this message in context: http://www.nabble.com/webtest-cant-verify

Re: [appfuse-user] Editable Display Tag

2007-06-04 Thread Devpradhangr
Hi, How to wrap a struts form and what tags to use inside the display columns? Pls explain me.. As iam using javascript DOM Object to generate the textbox. How to get those text box values into the database and how to retrieve it..? -- View this message in context: http://www.nabble.com/Edit

Re[7]: [appfuse-user] Error while running integration-test

2007-06-04 Thread bUg.
Yes, of course. This a new instance of appfuse. there are no errors. > It sounds like login is failing in your tests? If you bring the application up as suggested by Matt earlier, and try and login using the credentials as configured in your web tests, can you login successfully?   Mike.

Re: Re[5]: [appfuse-user] Error while running integration-test

2007-06-04 Thread Michael Horwitz
It sounds like login is failing in your tests? If you bring the application up as suggested by Matt earlier, and try and login using the credentials as configured in your web tests, can you login successfully? Mike. On 6/2/07, bUg. <[EMAIL PROTECTED]> wrote: Can anybody help me? > Yes I can.

AW: [appfuse-user] Override applicationContext-service.xml

2007-06-04 Thread René Günther
Just found it out. WEB.XML had to be changed. I changed web-settings.xml to contextConfigLocation /WEB-INF/applicationContext-*.xml classpath*:META-INF/applicationContext-hibernate.xml classpath*:META-INF/applicationContext-service.