1 - Add the dojo directory under WEB-INF/scripts (you can download it from
http://dojotoolkit.org/)
2 - Exclude pattern in decorators.xml
/resources/*
/scripts/dojo/*
3 - in the default jsp change the order and add the dojo.
Now you can see your date
On 5/16/07, chino fish <[EMAIL PROTECTED]> wrote:
>
>
>
>
> 1. the test is function test, not unit test. Isn't it ? b/c it uses
> real service object, but mock objects.
Yes.
>
> 2. the method followed is a bit of useless..b/c personManager andd
> person are not used by other test a
You should remove the old hibernate xdoclet tags and use the new JPA
annotations. The Person Class and the Address Class should be marked as
@Entity.
paulie wrote:
I have been looking through the forum and user guides trying to piece
together the code for putting together a one-to-many relat
Do you want to debug it when running in Jetty, Tomcat (via Cargo) or
when running tests? I generally set a MAVEN_OPTS environment variable
with my debug settings, and then setup a remote debugging
configuration in Eclipse or IDEA that matches.
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler
Hi,
I am having a hard time debugging my appfuse project. I think my confusion
is twofold:
1) I'm familiar how to debug an old time struts 1 application with Eclipse
WTP and tomcat. What I'm struggling with in appfuse is (what I perceive as)
a disconnect between eclipse and maven/jetty.
2) I'm
On 5/16/07, chino fish <[EMAIL PROTECTED]> wrote:
1. the test is function test, not unit test. Isn't it ? b/c it uses
real service object, but mock objects.
Yes.
2. the method followed is a bit of useless..b/c personManager andd
person are not used by other test at all.
It'
welldoes anyone can help me...
does anyone get the "datetimepicker" tag working?
--
View this message in context:
http://www.nabble.com/a-few-struts2.x-tag-don%27t-work-within-appfuse2.0M4-tf3756059s2369.html#a10658152
Sent from the AppFuse - User mailing list archive at Nabble.com.
---
Have you tried the following?
/attributePicker.html*
On 5/16/07, Will Berger <[EMAIL PROTECTED]> wrote:
oops.
My decorators.xml file looks as follows.
/attributePicker.html
/resources/*
/scripts/dojo/*
/*
Hi,
I a struts 2 action tha
Please enter this as a minor issue in JIRA and we'll remove it when we
get a chance.
http://issues.appfuse.org/browse/APF
Thanks,
Matt
On 5/16/07, chino fish <[EMAIL PROTECTED]> wrote:
In every method of PersonManagerImplTest, there is a line
dao.verify();
but it seems that the
Can you post your code for MyThirdEntityClassManagerImpl? Also,
what's your setMyThirdEntityClassManager() method look like?
Matt
On 5/16/07, sparqle <[EMAIL PROTECTED]> wrote:
I am using Appfuse 2.0M4. Following the online documentation, I created my
own daos and associated managers for my a
The first error is likely because you're navigating to the JSP
directly, rather than going through a SimpleFormController. As for the
2nd issue, what is your Controller named? The
ControllerClassNameHandlerMapping determines how URLs are created for
controllers:
http://tinyurl.com/3ce2zn
Matt
O
Try:
private Set addresses = new HashSet();
HashSets cannot contain duplicates and are generally a better fit. One thing to
note when using HashSets, always implement hashCode in objects that may end up
inside a hashSet, this is how they are checked for uniqueness. I learned this
the hard way
I see you have used commonclipse to generate the hashcode, great plugin,
apologies for not reading all of your post :)
paulie wrote:
I have been looking through the forum and user guides trying to piece
together the code for putting together a one-to-many relationship. In my
code, a Person can
I am using Appfuse 2.0M4. Following the online documentation, I created my
own daos and associated managers for my application. It worked fine for the
first two entities. I followed the same pattern for the third entity, and I
get the following error message in Eclipse.
The Constructor GenericMan
Forgot to say, I'm using Spring MVC with Hibernate. Url has its own
daos and managers whilst company uses the generic stuff just for crud.
Cheers
Aled
Aled Rhys Jones wrote:
Hi everyone
I've started developing with appfuse and so far its been great. I've
created two services, url and compan
Hi everyone
I've started developing with appfuse and so far its been great. I've
created two services, url and company, and all the tests pass including
the webb ones.
I think there's a problem with my jsp's however, as when I click on a
url in my url list page (urls.jsp) to go to the urlForm
Send the action class too and I will tell the exact problem. Anyway I will
try to help without action method.
First change the name of the combobox to "licence.type.id". If there is an
object in the action class "Licence licence" the licence.type.id will be
populated automaticly. Than you can cal
1. the test is function test, not unit test. Isn't it ? b/c it uses
real service object, but mock objects.
2. the method followed is a bit of useless..b/c personManager andd
person are not used by other test at all.
protected void onSetUpBeforeTransaction() throws Exception {
oops.
My decorators.xml file looks as follows.
/attributePicker.html
/resources/*
/scripts/dojo/*
/*
Hi,
I a struts 2 action that is mapped to url /attributePicker.html and a
exclude entry in my decorator file. Since it is a popup, i d
Hi,
I a struts 2 action that is mapped to url /attributePicker.html and a
exclude entry in my decorator file. Since it is a popup, i don't want it
decorated. It needs to look different.
When i type in the url /attributePicker.html, it does what i expect does
not decorate the url
If I put re
I'm trying to create 2 objects LicenceType and Licence. Licence have one type
and one type belongs to many licenses.
http://www.nabble.com/file/8456/LicenceType.gif
http://www.nabble.com/file/8457/Licence.gif
And i implement an combobox in my licenceForm.jsp to be able to modify or
selec
Hi Chris,
Christian Giese wrote:
>
> Hi Matthias,
>
> check out Appfuse Light: https://appfuse-light.dev.java.net/
>
> quote:
> " The major differences between AppFuse and AppFuse Light are that AppFuse
> has
> the following features:
>
> * User Management
> * Code generation for
Hi,
we are having loads of trouble setting up the project generated by AppFuse
with the Sysdeo Tomcat plugin in Eclipse. When running the webapp with a
Tomcat 5.5 started by the plugin, we constantly run into Jasper compilation
errors. The error message is:
java.lang.NoSuchMethodError:
javax.ser
The plugin seemed to work fine for me on mac and linux, but gave me some
hiccups on Windows. Anyone else getting this to work, or having problems?
Ashkan Roshanayi wrote:
Hi all,
This is the Nth time that I try candy4Appfuse with no success in
creating appfuse projects. I tried different ve
In every method of PersonManagerImplTest, there is a line
dao.verify();
but it seems that the line is not necessary, super class MockObjectTestCase
will do the verify job automatically !
chinofish
The variable M2_REPO is set inside Eclipse. You can set M2_HOME if you want
to, but it is not really necessary if mvn works from the command line. To
set the M2_REPO variable you need to run the mvn command:
mvn -Declipse.workspace= eclipse:add-maven-repo
See http://maven.apache.org/plugins/mave
Hi Matt,
I did use maven to create the project but I have a feeling that I had only
a MAVEN_HOME variable set. Should I be able to set the M2_HOME and run
this mvn eclipse:eclipse again?
I'd just like to take the opportunity to say a personal thanks for
appfuse. I used the 1.x versions on various
I have been looking through the forum and user guides trying to piece
together the code for putting together a one-to-many relationship. In my
code, a Person can have many Addresses. The error I am getting is
MappingException: Could not determine type for: java.util.List, for columns:
[org.hiber
Hi Marty
I had the same problem. I'm guessing your eclipse build hasn't imported all
the libraries in the maven repository. It's not 100% clear in the tutorial
where the maven repository is if you're a windows user.
http://appfuse.org/display/APF/Eclipse
The ~ equates to your user home, so the m
Did you create your Eclipse project files with "mvn eclipse:eclipse".
If so, you'll need to make sure you have a M2_REPO classpath variable
setup.
Matt
On 5/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Aled,
Thanks for the assist.
I have the imports but on closer examination it seem
Hi Aled,
Thanks for the assist.
I have the imports but on closer examination it seems that eclipse cannot
resolve them. Could this be a problem with the src folder setup?
Are the javax.persistence classes part of the jdk?
eclipse seems to also have a problem reolving org.appfuse.
I'm sure I ca
Are you importing javax.persistence.Entity in your class?
Same goes for Id and Generated value. They are part of javax.persistence.
If importing this doesn't seem to work, make sure you're using the maven
repository correctly.
You don't have to extend BaseObject, but if you do you must override m
I'm having a play around with Appfuse 2 but have run into a problem.
When I try to compile I get :
.
.
[INFO]
[ERROR] BUILD FAILURE
[INFO]
[INFO] Compi
That works for "mvn clean test" (BUILD SUCCESSFUL), but I still see
"locked by other process" errors (and BUILD ERROR) for "mvn clean
integration-test".
Steve
On 5/16/2007 8:19 AM, Matt Raible wrote:
You could try removing the 2nd execution that dbunit has - the one
that populates the databas
You could try removing the 2nd execution that dbunit has - the one
that populates the database after tests are run:
test-compile
test-compile
operation
It looks like you have an object (member) on your form and you're
trying to save it. Does your form render correctly? If you comment
out the form field that refers to member, does it work?
Matt
On 5/16/07, Jolly <[EMAIL PROTECTED]> wrote:
When I save one form I get these errors. I'm using app
The build fails. Surefire reports all tests pass:
> Results :
> [surefire] Tests run: 57, Failures: 0, Errors: 0
then maven reports build failure:
> [INFO] [dbunit:operation {execution: test}]
> [INFO]
> [ERROR] BUILD
AppFuse 1.x and 2.x use Velocity for e-mail templates as well as
Struts Menu templates. If you'd like to use it for your view, you'd
have to do some work. If you're using Spring MVC, you might look at
AppFuse Light - there's a version that uses Velocity for its view.
https://appfuse-light.dev.ja
Hi all,
This is the Nth time that I try candy4Appfuse with no success in creating
appfuse projects. I tried different versions but all of them failed in
creating a simple JSF appfuse project.
Is there anybody successful using this plugin?
-Thanks
Hello to everyone,
I made an Image.hbm.xml and save it to src/dao/*/model. The contents of
the file is like this:
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
and my src/dao/
When I save one form I get these errors. I'm using appfuse 1.9.4 with Jboss.
In this form I used drop down box. It shows name and I want to get that
Id(primary key).
In UI I get this error:
-
javax.servlet.ServletException: BeanUtils.populate
at org.apache.stru
Hi Matthias,
check out Appfuse Light: https://appfuse-light.dev.java.net/
quote:
" The major differences between AppFuse and AppFuse Light are that AppFuse has
the following features:
* User Management
* Code generation for CRUD-based applications
* File Upload
"
IIRC Equinox is
Use appfuse lite or Equinox.
matthias_k wrote:
Hi,
honestly, being new to AppFuse and all that, I found the default projects
generated by "ant new" to be slightly confusing and overloaded, as they
contain loads of stuff I don't actually need. For example I absolutely
positively need no controll
Hi,
honestly, being new to AppFuse and all that, I found the default projects
generated by "ant new" to be slightly confusing and overloaded, as they
contain loads of stuff I don't actually need. For example I absolutely
positively need no controller handling file uploads, I also don't need user
Hi,
I was wondering: I have read a couple of threads about 1.9.4 not having
support for Velocity templates. I also found that Wiki-page on the AppFuse
Wiki describing how to set up AppFuse to work with Velocity (manual
intervention required). On the other hand I spotted a velocity-1.4.jar in
the
45 matches
Mail list logo