my pojo is very very simple as follows:
and i am sure there is no problem about it ;-)
@Entity
public class Teacher {
private Long id;
private String name;
@Id @GeneratedValue(strategy = GenerationType.AUTO)
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
Yes,
I executed command as
C:\work>mvn install:install-file
-Dfile=C:\work\repository\HROnline\SML_PeoplePickerControls.jar
-DgroupId=au.com.suncorp.PeoplePi
cker -DartifactId=PeoplePicker -Dversion=1.0 -Dpackaging=jar
-DgeneratePom=true
The jar is at
C:\work\repository\au\com\suncorp\PeoplePic
Is there an error if you run "appfuse:gen"? If not, do you get the
same error if you run "appfuse:install" after it?
Thanks,
Matt
On 7/20/07, chinofish <[EMAIL PROTECTED]> wrote:
my pojo is very very simple as follows:
and i am sure there is no problem about it ;-)
@Entity
public class Tea
Is it a bidirectional or a unidirectional one-to-one association?
On 7/20/07, Doug Pham <[EMAIL PROTECTED]> wrote:
Hi All,
I am having a hard time writing a one-to-one annotation for two
classes User and UserInfo. Every User will have a UserInfo where it have a
foreign key from User. If y
If Eclipse is not resolving the JAR, I'd suggest you add it manually
by navigating to the JAR. Maybe that will help you figure out if
you're overlooking something.
Matt
On 7/20/07, Msarda <[EMAIL PROTECTED]> wrote:
Yes,
I executed command as
C:\work>mvn install:install-file
-Dfile=C:\work\repo
What class does EngagementformDaoHibernate extend?
Matt
On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
Hi all,
I have created EngagementformDaoHibernate and also made entry in
application-context.xml for it.
as
But i am getting null pointer exception at..
List engagement
It looks like you have invalid XML in faces-config.xml.
Matt
On 7/19/07, snehalsao <[EMAIL PROTECTED]> wrote:
Hi, I am using AppFuse 1.9.3. I am trying to add the Trinidad-1.2.1. I
downloaded all files and modified some existing files based on the following
installation instructions at:
http:/
i tried it again, the situation is the same.
when i run appfuse:gen, there is no error.
but when i run appfuse:install, there is error:
[INFO] [appfuse:install]
[INFO] [AppFuse] Installing generated files (pattern: **/*.java)...
[INFO] [AppFuse] Installing sample data for DbUnit...
[INFO] -
To Mr Raible, my name RV from Indonesia i have many dificulty implementing
Appfuse, i have try it for one week and never succeed, the OS that i use are
Linux cetOS & Windoes Xp, of course i have already read the tutorial created
by you but i still don't understand please give me enlightment
- I us
I tried it adding manually also,but .. :(
mraible wrote:
>
> If Eclipse is not resolving the JAR, I'd suggest you add it manually
> by navigating to the JAR. Maybe that will help you figure out if
> you're overlooking something.
>
> Matt
>
> On 7/20/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
Hi RV, what is your Java version in your machine?
What exactly is the ant command you're executing to get that error? Maybe
you can tell us the step to get that problem.
On 7/20/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote:
To Everyone who can help.., my name RV from Indonesia i have many
di
my java version 1.6.0_01, and the step on eclipse 3.2 is like usually, i run
the build.xml as Ant.
and error 404 came when i proceed http://localhost:8080/appfuse/ note: i
already put the appfuse folder into webapps folder
thx again for the response Mr. fadhil
fadhlirahim wrote:
>
> Hi RV, wha
Hi All,
I tried to implement a database driven Menu list using struts Menu but had
some issues. I get the following
exception: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getMessage' in class
net.sf.navigator.displayer.VelocityMenuDisplayer threw exception class
Ok, have you set up your environment for your tomcat? CATALINA_HOME?
On 7/20/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote:
my java version 1.6.0_01, and the step on eclipse 3.2 is like usually, i
run
the build.xml as Ant.
and error 404 came when i proceed http://localhost:8080/appfuse/ note:
not yet, but is it important ?, because i thought that's enough to setup
JAVA_HOME, because i'm quite curious what is the reason that i can proceed
liferay meanwhile i can't proceed AppFuse?, but i will try to setup the
CATALINA_HOME like you said, very-very thank you for your suggest. if i fail
o
Hi everyone,
I've read in the article in Appfuse1.9x regarding integration with DWR.
I'm a newbie to DWR and I'm asking whether we have to make a different
interface and a different implementation class just for DWR. Or we can use
the existing service managers?
Really appreciate the help.
--
Thanks Matt,
I added the url to the jsp
/ajax/*
/WEB-INF/ajax/companyList.jsp
and now it works.
- Original Message
From: Matt Raible <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Thursday, July 19, 2007 6:54:24 PM
Subject: Re: [appfuse-user] Cannot
Oh, you just need to specify you tomcat home environment. I'm familiar with
windows xp, so in windows xp, you just need to specify CATALINA_HOME in your
windows environment exactly the same way you specify your JAVA_HOME
environment.
Senang aja sih ;-)
On 7/20/07, Arkumik Raneas <[EMAIL PROTECTE
Hmm.. I've dwelt with liferay before and usually their run command has
already set the CATALINA_HOME environment at the root of the project
(Because they ship the product including with tomcat).
So right now, the ant build file in appfuse1.9 needs you to specify the
tomcat home environment. So it
so can you give me a tutor, how to specify my ant bulid file to my tomcat
home environtment? if you don't mind on linux or on windows xp
fadhlirahim wrote:
>
> Hmm.. I've dwelt with liferay before and usually their run command has
> already set the CATALINA_HOME environment at the root of the pr
Ok thnx's so i can't try it now, because my computer in my office using linux
centOS :)
klo gitu biar saya coba di rumah aja deh, terima kasih ya soalnya saya
newbie di J2EE, ikutan JUG-Indonesia?, tapi klo saya berhasil, mau- nggak
mau njawabnya menggunakan bahasa Indonesia :
ini email saya : [E
I need to execute an sql request on a instanciated object of my model. Do I
need to use a manager ? Is that possible to use a manager with an BaseObject
?
My case is :
I have 2 BaseObjects "Project" and "Tool". One Tool is connected at one
Project.
When i deals with a Project, i want to be able t
You're welcome. Glad to help.
Hehe.. sebenarnya saya orang Malaysia. Tp banyak nonton sinetron heheh ;-)
On 7/20/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote:
Ok thnx's so i can't try it now, because my computer in my office using
linux
centOS :)
klo gitu biar saya coba di rumah aja deh, ter
Hi list,
i have this message:
[topnet] WARN [main] Settings.getLocale(143) | Settings: Could not parse
struts.locale setting, substituting default VM locale
which i can take away when i add a
struts.properties file to my resources and adding:
struts.locale=nl_nl
maybe its a good idea to add t
It's working :)
I created new instance of EngagementformDaoHibernate in testcase instead of
creating
setEngagementformDaoHibernate () method.
mraible wrote:
>
> What class does EngagementformDaoHibernate extend?
>
> Matt
>
> On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> I
You can access your Tool object simply by using a getter and an JPA
Hibernate annotation.
Read the hibernate documentation, all relationships mapping are explained.
Example :
@OneToMany(cascade=CascadeType.ALL,
mappedBy="project",targetEntity=Tool.class)
private List tools = new A
hi i have the same problem.
anyone?
my appfuse is a upgraded m4 to m5 struts base project
thanks,
tibi
tweibel wrote:
Hi!
I wanted to execute `mvn appfuse:full-source' in a newly created Appfuse
application with `JSF Basic' archetype and get the following error:
--8<--
+ Error stacktraces
even mvn jetty:run will not run any more.
i had to retrieve my project as was before the full-source command to
get things working again.
tibi
tibi wrote:
hi i have the same problem.
anyone?
my appfuse is a upgraded m4 to m5 struts base project
thanks,
tibi
tweibel wrote:
Hi!
I wanted
I have issues with eclipse not picking up library files all the time
using maven. Try closing the project and reopening it and disable and
enable the dependencies. A lot of times I just don't even bother as
long as the maven commands still work from command line. I don't
believe the maven ec
hi list,
i want to make some minor changes to the user object.
(add one field 'department' and make some fields not mandatory)
i added the user source in my project.
i added the department field with getters and setters but it is not
added to the database.
i have a feeling my changed user is
Hi All,
a newbie to appfuse/struts/hibernate so have what is probably a stupid
questiom.
I noticed this comment in my DaoHibernate class.
/*
Remove the line above and uncomment this code block if you want
to use Hibernate's Query by Example API.
*/
I have about 4 fields in this table I wou
The default language for JSTL is set in web.xml, so you might need to
set the default there as well. When I had struts.locale set, it didn't
allow me to change the user's locale using LocaleFilter, so I removed
the setting. AFAICT, setting "struts.locale" makes it impossible to
change the user's l
There's no question in this message. ;-)
Matt
On 7/20/07, Fred Forester <[EMAIL PROTECTED]> wrote:
Hi All,
a newbie to appfuse/struts/hibernate so have what is probably a stupid
questiom.
I noticed this comment in my DaoHibernate class.
/*
Remove the line above and uncomment this code block
I'd make sure you run "mvn clean" so the old User object is not
getting picked up from your classpath. If that doesn't work, it's
likely you need to do some exclusions on appfuse-hibernate or
appfuse-service for appfuse-data-common.
Matt
On 7/20/07, tibi <[EMAIL PROTECTED]> wrote:
hi list,
i w
i have struts.local set and still am able to change the language
tibi
Matt Raible wrote:
The default language for JSTL is set in web.xml, so you might need to
set the default there as well. When I had struts.locale set, it didn't
allow me to change the user's locale using LocaleFilter, so I
I'd try to use the existing ones and if they don't work for some
reason, work on a new implementation then.
Matt
On 7/20/07, fadhli <[EMAIL PROTECTED]> wrote:
Hi everyone,
I've read in the article in Appfuse1.9x regarding integration with DWR.
I'm a newbie to DWR and I'm asking whether we ha
thanks
i did a clean so i think i need to do the excluding
is there an example or howto?
again thanks,
tibi
Matt Raible wrote:
I'd make sure you run "mvn clean" so the old User object is not
getting picked up from your classpath. If that doesn't work, it's
likely you need to do some exclusions
Hi,
what always works for me is the following:
- mvn eclipse:clean eclipse:eclipse
- Mark the root dir of the project and press F5 to refresh
After that, all depencencies are correct for Eclipse. If not, I always made a
mistake in the maven pom.
HTH,
Tobias
-Ursprüngliche Nachricht-
V
I'm sorry, there's not enough information for me to figure out what's
causing the problem. The only thing I can think of is to check your
project into source control, check it out on another machine and try
it there.
Matt
On 7/20/07, chinofish <[EMAIL PROTECTED]> wrote:
i tried it again, the
You could always try creating an archetype with 2.0-rc1-SNAPSHOT and
see if that problem is fixed. Most issues with full-source seem to be
caused by SVN and proxy issues.
Matt
On 7/20/07, tibi <[EMAIL PROTECTED]> wrote:
even mvn jetty:run will not run any more.
i had to retrieve my project as
After playing around with this problem a while longer I am starting to
suspect that 'exploding' Appfuse has caused my tests to stop working.
In previous threads we talked about how Appfuse 'breaks' after running:
1. 'mvn war:inplace'
2. 'mvn appfuse:full-source'
3. 'mvn eclipse:eclipse'
... t
There should be some existing in your pom.xml you can use
as an example. This page may help as well:
http://appfuse.org/display/APF/AppFuse+Core+Classes
Matt
On 7/20/07, tibi <[EMAIL PROTECTED]> wrote:
thanks
i did a clean so i think i need to do the excluding
is there an example or howto?
a
Sorry about that.
I guess the question is this.
is there a write up on how to implement the Query By Example. i.e. front
ending the list with a search form and have the DaoHibernate class use
the QBE API using the criteria specified on the search form.
Thanx
Fred
Matt Raible wrote:
There'
You should make sure you don't have 2 hibernate.cfg.xml files in your
classpath. The M5 version of full-source adds a file to your
"src/test/resources" directory that shouldn't be there. This is fixed
in RC1.
Matt
On 7/20/07, syg6 <[EMAIL PROTECTED]> wrote:
After playing around with this probl
I don't believe there's a tutorial. However, with the code in the DAO,
it shouldn't be too difficult. Just populate the object in your
Controller (from your form) and then pass it down to your DAO layer.
Worst case, you can just use request.getParameter() to populate your
object manually. Getting
Could you give consultations about using Emma and PMD?
I'm working with AppFuse 2.0 M5 and Maven 2.0.7.
PMD generates report for model but nothing for test. Using Emma gives
nothing :(
Is it problem of Maven2 and these plug-ins or possible there should be some
configurations in AppFuse ?
Thanks
What version of the EMMA plugin are you using? As far as I know, the
best one to use hasn't been released yet:
http://jira.codehaus.org/browse/MOJO-762
Did Corbertura not work for you?
Matt
On 7/20/07, Volodymyr Petrushkevych <[EMAIL PROTECTED]> wrote:
Could you give consultations about using
fadhli,
It can be any! I trying to work with the bidirectional at the moment.
Thanks,
Doug
fadhli <[EMAIL PROTECTED]> wrote: Is it a bidirectional or a unidirectional
one-to-one association?
On 7/20/07, Doug Pham <[EMAIL PROTECTED] > wrote:Hi All,
I am having a hard time writing a one-
Great tip. That worked great for me. Thanks
-Fitz
On 7/20/07, Tobias Vogel <[EMAIL PROTECTED]> wrote:
Hi,
what always works for me is the following:
- mvn eclipse:clean eclipse:eclipse
- Mark the root dir of the project and press F5 to refresh
After that, all depencencies are correct for Ecl
Hi,
I am using Appfuse 1.9. We have an application which
uses XSL to generate menus and we have around 1500
submenus in there generated with XSL.
The problem I am having is that the xsl transformation
is working fine for SP1 but is messing up in SP2. We
are converting XML to HTML. While xml is g
Ok Matt. I'll check it out. Unfortunately ... actually, fortunately, I am off
on a week's vacation so I won't be able to check until I get back.
Cheers and thanks again,
Bob
mraible wrote:
>
> You should make sure you don't have 2 hibernate.cfg.xml files in your
> classpath. The M5 version of
Can we please put this thing in the documentation? Matt i've been trying to
get appfuse started since last year. I mean it gives errors, i give up now i
want to use appfuse-light, and the first thing was missing this information
from the readme file of the documentation. It just said conveniently
The easiest way to search for dependencies is using mvnrepository.com.
Please form what you'd like to see in the form of a FAQ and I'll try
to answer it and add it to the documentation.
Matt
On 7/20/07, Saeed Iqbal <[EMAIL PROTECTED]> wrote:
Can we please put this thing in the documentation? M
Hi All,
While experimenting with JPA & Annotations, I am working on a project using
an existing database. Once I completed the reverse engineering of the schema
(*.java and *.xml) files and moved them to the project accordingly. What part
of the pom.xml do I have to removed or added to use
What do you mean by "the code generation part"? AppFuse 1.x does code
generation with XDoclet, but not 2.x. Which version are you using?
Matt
On 7/20/07, Doug Pham <[EMAIL PROTECTED]> wrote:
Hi All,
While experimenting with JPA & Annotations, I am working on a project
using an existing data
Matt,
I am using the 2.0.5m, once you created the annotation java file, I am
assuming in the pom somewhere it creates the tables according to the file and
also generate the xml file for hibernate?
Thanks,
Doug
Matt Raible <[EMAIL PROTECTED]> wrote: What do you mean by "the code generation
Alright will do. Can we have a db creation script please?
I searched for it on google and found this guy asking the same question
http://www.logemann.org/2007/04/25/tapestry-quickstart-with-appfuse-light/
Hope to get started with appfuse light soon.
Thanks,
-saeed
mraible wrote:
>
> The ea
The link to FAQ page http://wiki.sourcebeat.comdisplay/SPL/FAQ on this page
https://appfuse-light.dev.java.net/#setup is not working.
So i hope i can ask questions that may have existed on FAQ ;)
--
View this message in context:
http://www.nabble.com/Link-to-FAQ-page-down-tf4119757s2369.html#a1
I have the same problem and that is why i gave up and thought of moving to
appfuse light.
Can anyone help me get 1 decent JSF/iBatis app started with Appfuse please?
i am struggling since last year !. :(
Sorry if i sound frustrated because i am more of what i sound
-saeed
tweibel wrote:
>
>
Hello,
I have a working Appfuse project. I need to create a new project that
shares much of the dao and service layers but not much of the web layer.
Does anyone have any tips on a strategy for dealing with this? I'm
currently using Appfuse 1.9.4
TIA
Brett Knights
--
Do you think adding the folder where /classes reside for all the packages you
mentioned into the build path of your other project would help.
Personally i have not gotten any appfuse project working. breaking my head
still but yea to answer your question find out where the .class files are
for th
http://static.appfuse.org/downloads/appfuse.sql
On 7/20/07, Saeed Iqbal <[EMAIL PROTECTED]> wrote:
Alright will do. Can we have a db creation script please?
I searched for it on google and found this guy asking the same question
http://www.logemann.org/2007/04/25/tapestry-quickstart-with-appfu
Do we have a bad link? It should be:
http://wiki.sourcebeat.com/display/SPL/FAQ
Can you please enter an issue in JIRA? Otherwise, I'll forget. ;-)
http://issues.appfuse.org/browse/EQX
Matt
On 7/20/07, Saeed Iqbal <[EMAIL PROTECTED]> wrote:
The link to FAQ page http://wiki.sourcebeat.comdisp
I am trying a very simple Ajax call in jsp but I cannot get it to
work..delaying my friday beer session:)
I have in head and following in my jsp body
loading content...
My ajax action is spitting some static content, but I never get that on this
page, but if I type in
http://issues.appfuse.org/browse/EQX-149 Just created my first issue. I feel
very confident today LOL.
-saeed
mraible wrote:
>
> Do we have a bad link? It should be:
>
> http://wiki.sourcebeat.com/display/SPL/FAQ
>
> Can you please enter an issue in JIRA? Otherwise, I'll forget. ;-)
>
> htt
65 matches
Mail list logo