Believe me. Annotations makes your life easier then configuring zillions xml
configuration files.
On 5/9/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
All the appfuse classes use Hibernate Annotations. How can I completely
remove Hibernate Annotations dependency or is that too hard to do. Thanks
Woah! I figured it out. My problem was in the integration of Maven and
Eclipse.
The local maven repository on Windows is in my home folder: C:\Documents and
Settings\[username]\.m2\repository
All is well now!
Thank you,
Olaf
oschroeder wrote:
>
> Yes - I am using Eclipse (3.2.2). However Ec
FYI...
http://community.java.net/projects/top.csp
Interesting to see how we're now ranked in the top 10 for membership
too - that's a first. ;-)
Thanks to everyone in the community for using AppFuse and making it so popular!
Matt
--
http://raibledesigns.com
--
Why do you want to remove the annotations? You could use AppFuse
1.9.4 which uses XDoclet and .hbm.xml files? You might also be able
to use Mapping files, but AMP will rely on annotations being present
for code generation.
Matt
On 5/8/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
All the appfus
You want a table-based system, rather than the current "label over the
field" setup? Just so you're aware, the current setup in AppFuse is
recommended by experts for usability purposes:
http://raibledesigns.com/rd/entry/label_placement_in_web_forms
That being said, you can probably remove the cu
Thanks for posting the solution back to this list.
Matt
On 5/8/07, André Faria <[EMAIL PROTECTED]> wrote:
I resolved that from this way:
Thank's
André Faria
Nathan Anderson escreveu:
> I believe the Struts 2 recommended practice is to put your number [and
currency and date/time] formats in
The bug you reference was to add a convenience method to get the
user's username. However, since it's easy enough to get with
request.getRemoteUser(), I didn't add it.
Does this answer your question?
Matt
On 5/8/07, tibi <[EMAIL PROTECTED]> wrote:
i just stumlbed upon this bug report:
http:/
You can use an "addResources" parameter and set it to false if you
want to use your own CSS. However, in my experience, customizing the
entire CSS is kinda messy because there's so many files involved.
I think it's better to override the things you want to in your own
stylesheet. For example, h
I believe if you delete all your cookies associated with the test
machine it will function properly. If it doesn't, then it may have
something to do with your environment setup. Are you using Tomcat
standalone or behind Apache?
Matt
On 5/8/07, tibi <[EMAIL PROTECTED]> wrote:
thanks matt for t
It looks like it might not be picking up your sql-map-config.xml.
It's possibly loading the one from AppFuse instead. Make sure
sql-map-config.xml is excluded in the warpath plugin settings in
pom.xml.
You could also look in the appfuse-ibatis.jar to see if there's a
sql-map-config.xml in it (in
Running the test from the menu run as junit test will not call the
necessary DBUnit step. This is my point.
tibi wrote:
from eclipse you can also run the test from the menu run as junit test.
but you need to install the classes using:
mvn integration-test
mvn war:inplace
rm -r src/main/webapp/W
Ok, I'm on the last step on this page and still having trouble! Yes, I made
my own person object but my package name is different than the examples.
That could be the source of my latest problem. I use com.craig as my root
package. Now when I run mvn test I get:
Running com.craig.dao.PersonDaoTest
If you changed dependencies (or the dao.framework property), you'll
need to regenerate the project files using "mvn idea:idea". If that's
missing from the tutorial, let me know and I'll add it.
Matt
On 5/8/07, Cliff <[EMAIL PROTECTED]> wrote:
Oh wait! I see the problem! I'm running the test f
from eclipse you can also run the test from the menu run as junit test.
but you need to install the classes using:
mvn integration-test
mvn war:inplace
rm -r src/main/webapp/WEB-INF/lib
rm src/main/webapp/WEB-INF/classes/struts.xml
mvn install eclipse:eclipse
tibi
Philip Barlow wrote:
I haven't
I haven't used intelliJ but in eclipse you can create external tools. I
have created an external tool that calls things like mvn test or mvn
compile, effectively you are making command line calls from within your
IDE...
Cliff wrote:
Oh wait! I see the problem! I'm running the test from my IDE
There is a good chance it is something to do with database population,
carried out by DBUnit This is not called from inside your IDE
Cliff wrote:
Oh wait! I see the problem! I'm running the test from my IDE (IntelliJ)
instead of from Maven. When run from Maven the error matches the tutorial
Oh wait! I see the problem! I'm running the test from my IDE (IntelliJ)
instead of from Maven. When run from Maven the error matches the tutorial.
Is there no way to launch the test accurately from the IDE? Obviously
there's some paths missing from the classpath. What's missing? I ask because
I do
did you make a Person class??
you are reffering to this one:
org.appfuse.tutorial.model.Person
and you probly made your own Person no?
tibi
Cliff wrote:
I'm following the Spring/iBatis tutorial and I'm at the step where you run
the PersonDaoTest using the GenericDao. The error I get is differe
did you make a Person class??
you are reffering to this one:
Cliff wrote:
I'm following the Spring/iBatis tutorial and I'm at the step where you run
the PersonDaoTest using the GenericDao. The error I get is different from
the error the tutorial expects. I get:
AbandonedObjectPool is used
([EMA
I'm following the Spring/iBatis tutorial and I'm at the step where you run
the PersonDaoTest using the GenericDao. The error I get is different from
the error the tutorial expects. I get:
AbandonedObjectPool is used
([EMAIL PROTECTED])
LogAbandoned: false
RemoveAbandoned: true
RemoveAban
thanks matt for the reply
yes and yes i think (i'm at home now)
the strange thing is locally everything is fine working.
and without the remeber me option it is working fine both on the test
server as locally.
tibi
Matt Raible wrote:
Do you have a logout.jsp in your project (or the target d
Do you have a logout.jsp in your project (or the target directory
after running "mvn package") or are you using the logoutFilter in
security.xml?
Matt
On 5/8/07, tibi <[EMAIL PROTECTED]> wrote:
i'm comparing the logs and when loging out after loging in with remember
me option i have hits:
local
I read some other postings about this issue but no answer yet.
How can we force in popup (js) mode to use a specified
styleLocation="pathToCss/mystyle.css" ??
It seems to ignore that statement receiving its style information from
somewhere ??
Since there is not much documentation about using to
I am using Eclipse 3.1.1 and attached Weblogic 8.1 SP5 server to it. When I
try to deploy and start my weblogic server, the following exception is
displayed. And deployment is failing. I have log4j.properties file created
in WEB-INF/classes for the myreports projects. Also my WEB-INF/lib has
commo
Hello everyone,
I have an application that groups different objects using a Category entity.
Of course, with Java5 Generics it is possible :
*** START CODE **
public class Category extends BaseObject
{
private String categoryName;
The only classes that should be using Hibernate annotations are:
org.appfuse.model.User
org.appfuse.model.Role
Of course the annotations trigger other things to happen like generating the
DDL, Hibernate's hbm files, etc. So you would need to replace that
functionality as well.
HTH,
Natha
Hi Matt,
I too would like to use panelGrid functionality, specifically columns="3" so
that I can have my prompts to the left of my fields, which should all align.
What would you suggest?
mraible wrote:
>
> The panelGrid in AppFuse overrides the default elements in
> favor of elements. That
Hi,
All the appfuse classes use Hibernate Annotations. How can I completely
remove Hibernate Annotations dependency or is that too hard to do. Thanks
for your help. I appreciate it!
nmal
--
View this message in context:
http://www.nabble.com/Removing-Hibernate-Annotations-use-tf3710730s2369.h
I resolved that from this way:
value="%{getText('format.number',{cliente.salario})}"/>
Thank's
André Faria
Nathan Anderson escreveu:
I believe the Struts 2 recommended practice is to put your number [and currency
and date/time] formats into your ApplicationResources*.properties files. Like
i just stumlbed upon this bug report:
http://issues.appfuse.org/browse/APF-650
as i understand it the first user is saying that
the method setCurrentUser should be reneamed to setCurrentUserName
because you are not setting the user but only his or her name.
and the getCurrentUser should be c
i'm comparing the logs and when loging out after loging in with remember
me option i have hits:
local (where all is fine):
[topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) | processing outbound
url for /mainMenu.html
[topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) | processing outbound
url
hi,
a strange thing and maybe known.
i login with rember me option with tomcat/tomcat
i click logout and nothing happens. i stay loged in and go to the
mainMenu.html
when i remove the cookies i can offcourse logout fine.
when i do this with the same war on my local system all is fine. (using
32 matches
Mail list logo