We recently started website development in health care domain. It was really
a good start point for us to use Appfuse to kickstart. We use 1.9 and
WebWork option.
However, we have problems when adding validators.
1. We read the Tutorial Part III. But I cannot generate personForm.jsp in
extras/ap
Hi Matt,
Sorry for being not detailed. My real problem is that the version of
CAS that I am using is not supporting "Single Sign Out" . (CAS Server
3.1 M2) . I understood that CAS Server 3.1 release has successfully
implemented Single Sign out protocol.
Matt Raible wrote:
I don't believ
Hello,
I'm writing a persistence test (ProjectDaoTest) and I need to get
current user's id into a @ManyToOne Author field.
I was wondering what the correct way to do the following would be:
1. get current user during test
2. get current user during runtime (this one i'm sure can be figured
Hello everyone,
I'm just want to know whether you guys use ajaxanywhere in your web app. The
thing that I found out is that it won't work when GzipFilter is turn on.
Any solutions? Right now, I just simply comment the GzipFilter part in my
web.xml. I'm not sure whether that's a good thing to do o
You need to create the POJO, add it to the hibernate.cfg.xml file in the
resources directory
and run hibernate3:hbm2ddl plugin as described in the documentation
Lee Meador-3 wrote:
>
> Warning - I'm brand new to appfuse and may betray my ignorance with the
> following questions.
>
> I've read
Hi all,
this is probably not a question for the appFuse list but I figure
someone might know.
what is the proper way to handle these kinds of queries in the
DaoHiberante class and still manage to have a list of valid pojos? for
example, how is the count field handled? and should a callback b
When you compile with M5, the hibernate3 plugin is run as part of the
"process-test-resources" phase. If you don't want this behavior, you
have to 1) remove the plugin or 2) change
${maven.test.skip} to true in the plugin's
configuration.
haha yes thats what happens i always 'forget' to cha
If we upgrade to JSF 1.2, we may be able to use @PostConstruct:
http://weblogs.java.net/blog/jhook/archive/2007/05/jsf_12_ri_backi.html
Matt
On 7/30/07, Safurudin <[EMAIL PROTECTED]> wrote:
> With pure JSF, no, with Facelets, it is possible.
>
> http://www.alyssar.nl/faceletsactionhandler.html
>
With pure JSF, no, with Facelets, it is possible.
http://www.alyssar.nl/faceletsactionhandler.html
But as I said, JSF is strange in many ways. The designers of
JSF probably had very outdated browsers with no support for bookmarks,
and never used Google at the time the spec landed, back in the da
On 7/30/07, tibi <[EMAIL PROTECTED]> wrote:
> ok clear. only the tables which do not exist and new columns i guess.
>
> but then is that not working in m5? i think i'm using that. all my
> tables are getting created and expanded with my developing.
> or is that because of the integration-test which
ok clear. only the tables which do not exist and new columns i guess.
but then is that not working in m5? i think i'm using that. all my
tables are getting created and expanded with my developing.
or is that because of the integration-test which i run?
when there are two options
1) add tabels
On 7/30/07, tibi <[EMAIL PROTECTED]> wrote:
> but in which case will you build against your life database??
> my usual setup is;
> a local developer database on my developer machine
> i run mvn jetty:run most times and when i get cluttered test data i run
> mvn integration-test te clear everything
but in which case will you build against your life database??
my usual setup is;
a local developer database on my developer machine
i run mvn jetty:run most times and when i get cluttered test data i run
mvn integration-test te clear everything and check my app.
a build database on the coninuum t
strange
in my appfuse 2.0m5 when i run integration-test i get the database with
tables and test data.
after running the appfuse:gen/install i get more default data in my
database.
i'm not aware that i turned anything on.
tibi
Matt Raible wrote:
There's two things:
1. The hibernate3 plu
Warning - I'm brand new to appfuse and may betray my ignorance with the
following questions.
I've read a bunch of the docs on appfuse:gen but some basic stuff seems to
be missing. I used mvn to create an appfuse struts 2 basic application. I
think the version was 2.0-m5 but I didn't make a note la
There's two things:
1. The hibernate3 plugin runs an hbm2ddl goal to create database
tables from POJOs.
2. There's a hibernate setting you can add to the sessionFactory bean
to create tables as well.
#1 runs for modular projects when you run tests in the "core" module.
It also runs for basic proj
just to make it clear. is hbm2ddl the part which will create a new
database when i run integration-test (or test)?
tibi
Matt Raible wrote:
I'm inclined to leave it *off* by default. Why? Because it's been off
for the last several releases and no one has complained about it. I
also don't want t
I was successfully able to reproduce this bug - can you please enter
an issue in JIRA?
http://issues.appfuse.org/browse/APF
Thanks,
Matt
On 7/29/07, arvinder <[EMAIL PROTECTED]> wrote:
>
> Here are the screenshots
>
>
> mraible wrote:
> >
> > Can you attach a screenshot?
> >
> >
> > On 7/28
How do you execute the action when the page loads? This is not
possible with JSF 1.1.
Matt
On 7/30/07, Safurudin <[EMAIL PROTECTED]> wrote:
> There seems to be a consensus in the JSF community that the best way to
> do this is to invoke
> an action which takes care of actually fetching the data,
I don't believe the CAS limitation you describe. Can you point me to
the documentation that states this? A good SSO solution should support
an infinite number of applications (only limited by hardware and
bandwidth).
Matt
On 7/30/07, Sanath <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
> I am implement
Not that I know of.
Matt
On 7/30/07, john kola <[EMAIL PROTECTED]> wrote:
>
> is there anyway to use hbm2ddl in appfuse to have audit field for every
> object without adding attribute to the object.
>
>
> - Original Message -
> From: "Travers Snyman" <[EMAIL PROTECTED]>
> To:
> Sent: Mon
is there anyway to use hbm2ddl in appfuse to have audit field for every
object without adding attribute to the object.
- Original Message -
From: "Travers Snyman" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 30, 2007 11:21 AM
Subject: RE: [appfuse-user] Turning Off hbm2ddl
My vote is f
My vote is for leaving it off. I have dba's creating my ddl and more
than often, use cases depend on actual data (static things) even in test
environment.
Travers
-Original Message-
From: tibi [mailto:[EMAIL PROTECTED]
Sent: 30 July 2007 04:50 PM
To: users@appfuse.dev.java.net
Subject:
I'm inclined to leave it *off* by default. Why? Because it's been off
for the last several releases and no one has complained about it. I
also don't want to ship a version of AppFuse that auto-upgrades
database tables w/o developers being aware of it. In most real-world
environment, the database up
please leave it on by default.
i use it for testing and building.
in deployment its is not in the way as long as you will not build
against your life database.
and it is easier to turn of than on ;)
good luck
tibi
Martin Homik wrote:
As a newbie, I also vote for turning on by default. On
As a newbie, I also vote for turning on by default. Once you get familiar
with AppFuse and/or application frameworks, people will figure out how to
turn off the hibernate plugin either be checking the mailing list or by
having a look into the FAQ. The latter is one of my first sources I check
once
There seems to be a consensus in the JSF community that the best way to
do this is to invoke
an action which takes care of actually fetching the data, making the
getter merely a POJO-style
getter.
Eg.
public class UserList extends BasePage implements Serializable {
private static final long
Hi Mike,
Thank for your fast reply, so pleasant...
Yes, this is my exception message. I'll try to upgrade to M5 release, and
tell you the result as soon as possible. Thanks for your help.
David Johannot
Michael Horwitz wrote:
>
> Is the exception message "Access Denied: Only administrators
Is the exception message "Access Denied: Only administrators are allowed to
modify other users."? If so your problem is in the UserSecurityAdvice class
which is hard coded to only allow the administrator to change other users.
If you are going to change role names you may want to look at upgrading
I'm OK with changing UserList to be a better example. What do you
suggest we change it to?
Matt
On 7/30/07, Safurudin <[EMAIL PROTECTED]> wrote:
> According to Veniamin Goldins and Ed Burns on the following thread:
>
> http://forum.java.sun.com/thread.jspa?threadID=550485&messageID=3919330
>
> o
According to Veniamin Goldins and Ed Burns on the following thread:
http://forum.java.sun.com/thread.jspa?threadID=550485&messageID=3919330
one shoudn't expect getters of managed-beans only to be invoked once
per request/lifecycle
In Appfuses eg. UserList.java following happens;
public L
hello,
I've add and change the appfuse roles name. I've made the change in
menu-config.xml (this part is ok, i see only the authorized pages), in the
sample-data.xml and in security.xml.
The problem is that when i try to add a new user, i've the
AccessDeniedException of ACEGI thrown.
In the se
Hello everyone,
We're using the Spring version of appfuse and we're using validators to
validate our textbox inputs. When we try to enter characters or empty values
to textboxes requiring int values, we got this error :
Warning Failed to convert property value of type [java.lang.String] to
1.9.5 will most likely be a bug-fix only release with no new features.
Since most developers on this project are interested in using maven
over ant - it doesn't make a lot of sense to keep supporting it.
The good news is this is an all-volunteer project and we're more than
happy to accept new cont
Hi,
I've been trying without success to get an Axis webservice server generated
form a pre-existing wsdl integrated into a small appfuse application
(struts2-basic). In fact, apart from managing to add axis to the pom file, I
am unable to make any progress. Is there anyone who has managed to g
Hi Matt,
I am implementing SSO on a project. I have 4 .war files created by 4
different web applications and I need to implement SSO on this. I heard that
CAS supports only up to 2 .war files . Is it a good idea to implement SSO on
Tomcat? Is it secure enough? please advice me
thnx
--
View this
Hi Mike,
I am aware that AppFuse 2 has Maven Jetty support, however at this
moment we are not totally convinced by Maven. (It is a bit too abstract
for me. In addition, we have other Ant scripts that call targets in
build.xml. Would not know where to start if there is no build.xml
around!)
We
Jetty is supported in AppFuse 2.0.x using Maven. If you decide Maven is the
route you want to follow, then you should look into upgrading to AppFuse
2.0.x.
Mike.
On 7/30/07, Jon Loken <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Using Jetty is a great time saver, circumventing repeated deployments
Hi all,
Using Jetty is a great time saver, circumventing repeated deployments to
local webserver.
As we are using AppFuse Spring MVC v 1.9.3 there is no ready available
Jetty functionality.
I looked into Jetty over the weekend, but did not manage to integrate it
into AppFuse:
-ECLIPSE Jetty
I had my problems too, especially finding a "business key" for every
entity, as the hibernate team proposes. Finally, I picked up the idea of
implementing equals and hashcode using the obect's id, and a random
identifier on newly created objects.
For this purpose I have a base class for all object
I have had a lot of problems in impelementing equals/hashcode, particularly
on entities that I wanted to include in a set. I found at one stage that
hibernate was instantiating the entity, adding it to the set, and only then
setting its properties. The net result is that the hashcode changed betwee
If you can successfully execute maven goals from the command line, then you
should be able to run them from eclipse if you are running it with a JDK (by
default, Eclipse chooses to use a JRE).
You can verify that in configuration details (Help | About | Configuration
Details).
If you haven't tri
42 matches
Mail list logo