I'm trying to follow the wiki guide for using wtp with appfuse 2
# Under "myproject", create a new dir called pom. Copy myproject/pom.xml to
myproject/pom/pom.xml.
# Modify myproject/pom.xml to change the artifactId to "myproject-pom".
# Modify core/pom.xml and web/pom.xml to change the parent po
I believe adding xalan and xerces to Tomcat's common/endorsed
directory will fix this. Or upgrading to Tomcat 5.x.
http://xml.apache.org/xalan-j/faq.html#faq-N10109
Matt
On 7/5/07, Ding, Qin <[EMAIL PROTECTED]> wrote:
I am using appfuse 1.9.4, JSF and DB2.
After I follow the tutorial to
Hi Tobias,
Thank you very much for your response. I am a little confused here.
'Register your Manager Implementation' section in
http://appfuse.org/display/APF/Services for reference says
Open your src/main/webapp/WEB-INF/applicationContext.xml file and replace
the personDao bean w
I tried populating "webSystemImpacted" in EngagementformFormController in
following method ,but i am getting jasper exception.
protected Map referenceData(HttpServletRequest request) throws Exception {
Map model = new HashMap();
model.put("webSystemImpacted",webappssystemManag
Thanks Mike.
It's working now after using property editor class.
But still there is one problem.I am not able to populate the list of areas
and webSystemImpacted in the jsp.
In the engagementformform.jsp i am doing like this...
Aled - Rather than having setCountryManager method, pass the CountryManager
referene in CountryEditor's constructor.
--
View this message in context:
http://www.nabble.com/Add-ManyToOne-relationship-between-user-and-a-new-pojo-tf3993393s2369.html#a11454095
Sent from the AppFuse - User mailing
Any ideas with this one guys? I can't work out why the custom editor's
setAsText and getAsText aren't being called...
Aled Rhys Jones wrote:
Seems I spoke too soon. Although the list of countries displays
correctly, it never gets saved.
I have a CountryEditor that has the methods required.
p
I am using appfuse 1.9.4, JSF and DB2.
After I follow the tutorial to expose service bean via DWR, and key in
http://localhost:8080/appfuse/dwr
I got an error:
javax.servlet.ServletException: Servlet.init() for servlet dwr-invoker
threw exception
at
org.apache.catalina.core.StandardWrappe
Hi, all:
I developed my application using appfuse.
After I have finished my model object and passed Dao and Manager Layer
Test, then in *FormControllerTest, I got testSave() Error like this:
java.lang.Exception Out of heap error.
At the same time testEdit() testDelete methods are test
You don't have a personDao configured in your applicationContext.xml. You
either have to define one, or construct it on the fly:
See http://appfuse.org/display/APF/Services for reference.
Kind regards,
Hello Friends
My working environment is
AppFuse 2
JDK - 1.6
Maven - 2.0.7
OS - Windows 2003
I am new to AppFuse, I have successfully completed the following part of
the tutorial
1. Create a Person Entity.
2. Create a PersonDao in Hibernate, iBATIS or JPA.
3. Create a Perso
I have found a solution :-) !
After a little investigation in the displaytag source code, I can say there
is no way to export a CSV file encoded with a different charset from the
JSP.
But I make it possible with the help of this little path :
First I have written a custom Excel specific CSV view
Here is what I have in club POJO:
@OneToMany(targetEntity=org.appfuse.model.User.class,
cascade=CascadeType.ALL, mappedBy="club", fetch = FetchType.LAZY)
public Set getUsers()
{
return users;
}
Here is what I have in User POJO
@ManyToOne(optional=fal
When two model class has reference to each other. objectToRequestParameters()
method in BaseControllerTestCase has a bug.
The demo model I used has two Entities: Employee and Desk. They are OneToOne
Bidirectional mapping.
Here are the code snipet:
@Entity
public class Employee extends BaseObje
Mike:
I've this in dispatcher-servlet ...
And this in applicationContext-validation ...
And web.xml
contextConfigLocation
classpath*:/applicationContext-resources.xml
Any ideas guys?
mbrz2477 wrote:
>
> I'm wondering if there is a good site out there that describes how to
> setup SSL with Appfuse/Jetty. I found this link through Google:
> http://docs.codehaus.org/display/JETTY/How+to+configure+SSL, but I'm
> unsure as to which file I should be editing in St
Looks like somthing has changed around the Role or User object?
ArrayStoreException is normally thrown when an attempt is made to populate
an array with the wrong type of object, e.g. trying to put an Integer into a
String array.
Mike.
On 7/5/07, Devpradhangr <[EMAIL PROTECTED]> wrote:
Hi,
Hi,
I have created one struts application based on appfuse and it was working
fine. Recently, iam getting login problem.
JBoss stack trace is as follows:
java.lang.ArrayStoreException
at java.util.AbstractCollection.toArray(AbstractCollection.java:176)
at
org.hibernat
Could be done, especially if the plugin dependencies are commented out by
default. I guess the real question is what proportion of sites need all the
plugins, or even need any plugin aside from those already included?
If you want to see them included by default, I would suggest you raise a
Jira t
Ok I will include each plugin seperately. I haven't done this before, so
will checkout the maven site. Funny enough, maven did not complain with
the dependency as I had it.
Should the struts plugins not all be included in the final version of
Appfuse 2 and let users do exclusions of unwanted st
I took a quick look in the repository, and struts2-plugins is a pom file
only. Including it as you have below should make Maven throw an error - by
default all dependencies are taken to be jar files. You are going to need to
include each plugin you want to use as a separate dependency.
On the sub
Here is refference about JPA annotation
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html#OneToMany
here is example:
@Entity
@Table(name="app_user")
public class User extends BaseObject implements Serializable, UserDetails {
...
protected Set e
Have you defined a validator in your controller?
Mike.
On 7/5/07, David Whitehurst <[EMAIL PROTECTED]> wrote:
I can turn off javascript and I see no validation.
Still perplexed,
David
David Whitehurst wrote:
>
> Has anyone seen where a popup window will appear in your browser with
> error
You should not need to open any ports - by default Maven uses HTTP to
download its dependencies. If you are behind /using a proxy then you will
need to configure maven to use the proxy:
http://maven.apache.org/settings.html#Proxies
Mike.
On 7/5/07, mmaia <[EMAIL PROTECTED]> wrote:
Hi,
I´m t
Thanks Mike
I include the following in my project pom.xml
org.apache.struts
struts2-plugins
${struts.version}
It does not do anything with regards to downloading the plugins (mvn
integration-test). I notice in the m2 local reposi
hai guys,
I am using Appfuse 1.9.x for building the application. I want to make
all my pages through SSL. So I had given all my urls in the
"channelProcessingFilter" to go through ssl. The problem what i was facing
is , if the user clicks on the logout button, and again login, The seesion
is
26 matches
Mail list logo