Thanks Ron.
On 4/6/07, Ron Anderson <[EMAIL PROTECTED]> wrote:
You don't need managers for each object unless you have business logic you
want to add for the object that isn't handled by the generic manager.
You should first try to use the generic managers and dao's then if you need
add a mana
add this to your pom.xml (for a modular archetype use the pom in the
core module):
test
!nodb
and cut/paste the hibernate3-maven-plu
The "int -> long" issue likely lives in many parts of the code, and in some
third party libs as well. What is "-ve"?
Have you considered creating a signed applet that acts as an "upload
manager" on the client side. Many of the video-sharing websites use these
for large files. Google has one, t
Yeah i did modified the file to use "long" instead!, but as i said later
thread, i think it is browser issue, it some how sets content-length to -ve
and then this error !
thanks
PSI
thrasher wrote:
>
> I wonder in the AppFuse code, or your code, uses an "int" to count the
> number of bytes? 2^
I wonder in the AppFuse code, or your code, uses an "int" to count the number
of bytes? 2^32 = 4GB, unsigned. Signed it would be 2GB. Since int is
"signed" in Java, could you be going "negative" in length? Use a long to
get around it, if this is the problem.
-Jason
PSI wrote:
>
> Hi
>
I'm grasping at straws here... but have you tried a different browser then?
Nathan
PSI wrote:
Strange thing is there is no log, I think this is an issue with browser
content-length? maybe there is work-around to this...
cause problem is i get immediately "page-not-found" error page on browser,
Strange thing is there is log, I think this is an issue with browser
content-length? maybe there is work-around to this...
cause problem is i get immediately "page-not-found" error page on browser,
without hitting servlet at all!
melinate wrote:
>
> Without seeing any logs, I would have to gue
Without seeing any logs, I would have to guess it has something to do
with an environment limitation. Filesystem perhaps?
Nathan
PSI wrote:
Hi
I am using appfuse 1.9.4, and the requirement is that i need to upload file
of size @2.5 GB, everything works if file is 1.99GB but anything greater
i'm looking into overwriting the entity settings of the role object*
i have changed the hibernate.cfg.xml to:
and i made the role.hbm.xml:
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
hibernate
I just created a new project:
$ mvn archetype:create -DarchetypeGroupId=org.appfuse -
DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://
static.appfuse.org/repository -DarchetypeVersion=2.0-m4 -
DgroupId=com.versature.hellofuse -DartifactId=hellofuse
Then ran the integration
hi
i get this nullpointer. probably its a problem in struts2. the problem
is that my user has no role attached ( a bug i'm working on).
but the displaying of the error is not possible because this nullpointer
happens.
as matt ones told me this can be avoided if by removing:
<%@ include file="
Hi
I am using appfuse 1.9.4, and the requirement is that i need to upload file
of size @2.5 GB, everything works if file is 1.99GB but anything greater
than 2 GB throws weird exception!.
following is the setting in struts controller:
Any idea why this is happening?
Thanks,
PSI
--
View this
The 1.9.x branch has a way to have system/user specific properties like
database settings, but I believe it was tied closely to the way Ant
works. I don't know if this functionality is in 2.0 yet, but I expect
it will be if it isn't already [Matt, let me know if I should make a
JIRA issue on t
I believe the way to do that is to catch the Exception and then output
an i18n message. But since the Exception happens in the Model [DAO],
you probably need to catch the exception in your Manager class and throw
your own exception to the view layer. At least that would be the way to
maintain
Can you please give me an overview of how testing is achieved . Any similar
link would be much of help.
Some think like steps that appfuse is following to perform tests.
thanks
Hi,
I am just diving into URL rewrite as I want my app to have RoR style pretty
URLS.
I noticed there is an existing rule for users as below,
^/user/(.*).html$
/editUser.html\?username=$1
But when i type http://localhost:8080/user/tomcat.html , I get the
following,
http://
from which directory does ant takes test classes for testing.
I have compiled the tes classes and used this to copy them to test/data
ok sory i only read your post
i changed the database table names without any problem
as long as you add things i expect everything will koop working.
luckaly it there are tests ;)
tibi
nmall wrote:
Hi,
What if we want to change the column names in the table or add a few new
column names
When running "mvn jetty:run" on a fresh AppFuse project (both Struts 2 basic,
and modular) just like in the "struts2-crud.mov" demo, Jetty fails with this
error:
Cannot find class
[org.appfuse.webapp.interceptor.UserRoleAuthorizationInterceptor] for bean
with name 'adminInterceptor' defined in Se
did you look at this guide??
http://appfuse.org/display/APF/AppFuse+Core+Classes
tibi
nmall wrote:
Hi,
What if we want to change the column names in the table or add a few new
column names. I know we would need to change the Core classes that are
based on these definitions. Is it possible to
Hi,
What if we want to change the column names in the table or add a few new
column names. I know we would need to change the Core classes that are
based on these definitions. Is it possible to do this w/o breaking anything
else.
Thanks for your help
Niru
mraible wrote:
>
> If you want to c
mmm is everyone working allone??
tibi
tibi wrote:
hi
i have a project with two users, continuum and the life site.
all four need different database settings.
these settings are now in the pom file and i need to change them for
each.
is there a better way??
thanks
tibi
You don't need managers for each object unless you have business logic you want
to add for the object that isn't handled by the generic manager.
You should first try to use the generic managers and dao's then if you need add
a manager and/or dao for the object with most specialization required a
Thanks for the link Matt,
I still can't get what exactly we want to do with this
If silect="true" is removed , the test gives error: cannot find.
We did not define any package with name like dao-testcase or so
then why is it used.
I am writing test class for AddressDao . When I run the ant command ant
test-dao the following exception has occurred
[junit] Running AddressDaoTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Testsuite: AddressDaoTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Tim
Hi,
We have initiated our new project by extending AppFuse CRUD module with
Model driven implementation (exposing Hibernate as Model in action class).
It is working really well for us. Now we want to have following things
implemented. I would appreciate your thoughts on implementing it.
1) We wa
Rob,
I am not too clued into maven but how do I do this?
Rob van Oostrum-2 wrote:
>
> I worked around this by adding a profile to the pom and move the
> hibernate3 and dbunit plugins into it. The profile deactivates when I
> pass -Dnodb. So whenever I want to run the cobertura stuff I make it
Thanks for that, however all the examples I have seen specifically state NOT
to do that from the non-owning side of the relationship, instead
private Set users;
@ManyToMany(mappedBy="roles")
public Set getUsers(){
return users;
}
Perhaps if I cut and pasted my actual classes when I
28 matches
Mail list logo