I override the test method in my managers. When testing, I get a
ClassCastException. There is no problem in production state, that is
jetty:run-war runs perfectly well. So, the problem must be related to the
mocks in test classes.
Here is my manager class:
public class SurveyValueManagerImpl
I know that I can get text from application resource using
getText() in Action class.
My question is how to access text from application resource in
Service class ? I need similar method as ActionSupport.getText()
Many thanks,
--
Ernas M. Jamil
-
Hi
Have changed it to
Please select Question
But it is still not working now it is not showing the any error even on -
Select One - which it was showing earlier
Regards
Anshu
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent
I believe the easiest solution is to import the core classes into your
project and customize them there.
http://appfuse.org/display/APF/AppFuse+Core+Classes
If that doesn't work for you, full-source your project and customize
to your heart's content.
Matt
On Sun, Jun 1, 2008 at 3:45 PM, mschipp
Hi all,
it looks like, I'm definitely having troubles w dbunit CLEAN_INSERT
operation, because
mvn hibernate3:hbm2ddl -Poracle runs successfully. The problem is in the
test-compile phase where is configured dbunit operation goal.
It looks like it "expects" the usual User class properties (w the
Hi
Does anybody know where to look for examples of
SimpleFormController.onFormChange?
I want to understand this method. I cannot understand fully the Javadocs .
Please help
http://raibledesigns.com/rd/entry/remotely_debug_your_app_in
On Mon, Jun 9, 2008 at 9:17 AM, Ding, Qin <[EMAIL PROTECTED]> wrote:
> What about eclipse 3.2 for debugging appfuse project? Thanks
>
> -Original Message-
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 09, 20
What about eclipse 3.2 for debugging appfuse project? Thanks
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2008 10:15 AM
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] help appfuse 1.9.4 on DB2/Websphere eclipse
WTP
Unfortunately, I've
Unfortunately, I've never used WTP so I can't offer much help.
Matt
On Mon, Jun 9, 2008 at 9:03 AM, Ding, Qin <[EMAIL PROTECTED]> wrote:
> Matt:
>
> I tried to use eclipse WTP to run and debug my appfuse based
> application. I have some difficulties to deploy and debug the app using
> WTP. I fo
Matt:
I tried to use eclipse WTP to run and debug my appfuse based
application. I have some difficulties to deploy and debug the app using
WTP. I found the following entry but I could not find the instruction
for doing that. Would you please help me with some pointers or
instructions on how-to?
Hi Matt,
I take the chance and thank you for helping me so far...
mraible wrote:
>
> Does it look like your schema is successfully created by
> hibernate3:hbm2ddl?
>
> Matt
>
As long as I can see, hibernate3:hbm2ddl creates successfully the
schema...weird about it, is that yesterday I could
Hi All,
I have a question regarding the use of onSetupBeforeTransaction. This will
be called before the transaction is created and will therefore not be rolled
back when the test is done. I know one can implement the
onTearDownAfterTransaction to remove the data added in
onSetupBeforeTransaction.
Does it look like your schema is successfully created by hibernate3:hbm2ddl?
Matt
On Mon, Jun 9, 2008 at 8:03 AM, Daniele De Francesco
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have added some properties in the User class. I run on an Oracle XE
> instance.
> Now, no matter the data type of the
Hi all,
I have added some properties in the User class. I run on an Oracle XE
instance.
Now, no matter the data type of the properties added,when I issue
mvn -e clean test-compile hibernate3:hbm2ddl -Poracle
I get an
org.dbunit.dataset.NoSuchColumnException: app_user.
I Attach my sample-da
On Mon, Jun 9, 2008 at 7:42 AM, Ben Avery <[EMAIL PROTECTED]> wrote:
>
> I'm also writing some tests for the web services I've deployed, but am
> struggling to get the tests running at the right point.
> I've written them as junit tests, but don't want them to run in the test
> lifecycle phase, but
On Mon, Jun 9, 2008 at 4:36 AM, Anshu Dhamija
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I have forgot password screen which I would be accessing before
> login for this I have wrote the following into security.xml
>
> /forgotPassword*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
>
> Now the problem is th
I believe the logic should be not equal rather than equal. I know it's
confusing as it's the opposite of what you'd expect - but I believe
that's how it works.
Matt
On Sun, Jun 8, 2008 at 11:42 PM, Anshu Dhamija
<[EMAIL PROTECTED]> wrote:
>
> Hi
>I have applied the conditional validation
I'm also writing some tests for the web services I've deployed, but am
struggling to get the tests running at the right point.
I've written them as junit tests, but don't want them to run in the test
lifecycle phase, but rather run during the integration-test phase, when the
webapp is running via
mraible wrote:
>
> On Wed, Jun 4, 2008 at 1:43 AM, Campa <[EMAIL PROTECTED]>
> wrote:
>> mraible wrote:
>>>
>>> I would use a profiler and some load testing tool to try to reproduce
>>> the problem locally.
>>> Matt
>>>
> You should be able to use something like JProfiler or YourKit. Both
> all
I believe I solved it myself.
The mappedBy error was due to mapping the wrong thing. The real
problem was due to the following error message:
[INFO] Use of @OneToMany or @ManyToMany targeting an unmapped class
It was possible to solve this by starting to generate the class acting
as the "owner"
I've specified two model POJOs that I would like to run appfuse:gen
on. They are associated with each other through a @ManyToOne and
corresponding mappedBy @OneToMany.
When I run mvn appfuse:gen I get a fatal error (after entering entity name):
[INFO] mappedBy reference an unknown target entity p
I've used the Spring Web Service client instead, where the class
WebServiceTemplate does all the work.
here's a basic test method using basic auth on a secured service. you'll
probably want to check what comes back more thoroughly, I was just testing
the security on it.
public void testGetA
Hi
I have forgot password screen which I would be accessing before
login for this I have wrote the following into security.xml
/forgotPassword*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER
Now the problem is that I am not able to apply struts taglib into this
screen
Can anybody help me
Rega
Well Leo,
I just wanted to thank you for the help,
I have got it fixed... using security.xml
thanks...
Philip
--
View this message in context:
http://www.nabble.com/Access-Denied-..-need-help-tp17727913s2369p17729623.html
Sent from the AppFuse - User mailing list ar
Mmm, the user has the role? (i know ... stupid question) - check it in
the admin section.
I dont know more tricks,
Greenhorn2005 schrieb:
Leo Barrientos C. wrote:
Ok, just ideas:
a) ROLE must be Uppercase always in the DB and the config. Like:
roles="ROLE_USER, ROLE_TA"
b) Play with
Leo Barrientos C. wrote:
>
> Ok, just ideas:
>
> a) ROLE must be Uppercase always in the DB and the config. Like:
> roles="ROLE_USER, ROLE_TA"
>
> b) Play with the spaces roles="ROLE_A,ROLE_B" or "ROLE_A, ROLE_B"
>
> c) mvn clean
>
> Hope helps.
>
>
Hello Leo,,
thanks for the quick r
Ok, just ideas:
a) ROLE must be Uppercase always in the DB and the config. Like:
roles="ROLE_USER, ROLE_TA"
b) Play with the spaces roles="ROLE_A,ROLE_B" or "ROLE_A, ROLE_B"
c) mvn clean
Hope helps.
Greenhorn2005 schrieb:
hello Leo,
No, i have already added Role_TA to them (i mean
hello Leo,
No, i have already added Role_TA to them (i mean in particular menus
plus I added to menu containing logout, main menu and usermenu)
So it has to do something with security I think... I am
a fresher..
thanks..
Philip
--
View this messag
In menu-config.xml ?
Greenhorn2005 schrieb:
Hi,
I am using Maven and appfuse version 2.0.7. I have added a new role
in the sample data besides ROLE_ADMIN and ROLE_USER. (a new one is ROLE_TA).
so a total of three roles.
When I create a new user having role ROLE_TA and logs in
Hi,
I am using Maven and appfuse version 2.0.7. I have added a new role
in the sample data besides ROLE_ADMIN and ROLE_USER. (a new one is ROLE_TA).
so a total of three roles.
When I create a new user having role ROLE_TA and logs in using its
password and username, I get Access D
30 matches
Mail list logo