Hi,
I am using appfuse 1.9. I have a problem with file upload. When a user
click on the browse button it should display on the pdf files in that
particular directory. How can i make it possible? Is there any way to
display a default text in (eg:*.pdf) the browse field while loading the
page?
On Mon, 18 Jun 2007 00:15:05 -0700 (PDT), jithesh wrote
>I am using appfuse 1.9. I have a problem with file upload. When a
> user click on the browse button it should display on the pdf files
> in that particular directory. How can i make it possible? Is there
> any way to display a default
Something happened with my generation, I was adding in a few tables from an
existing DB (which is the same one I used to create the project, hopefully
this is not a problem). I am now getting this error. I have not modified
anything by hand. Any ideas why this may have happned?
org.springframewor
I tried deleting the application and rebuilding it. I am now getting this
error:
ERROR [Thread-1] DispatcherServlet.initServletBean(229) | Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'transactionController' defined in Servle
Removing the decorator tags from 404.jsp does not make a difference.
Repeating using mvn appfuse:gen works. Only difference, I can see with
my hand generated application is I am not using the generic dao and
service dao implementations - the applicationContext entries are
different. I must be doing
That seems incorrect. There is a pattern where one gets an extra record only
to determine if we're on the last page of data but then return pageSize
records to the user, but this doesn't seems to be the case in the wiki
article. See
http://www.jroller.com/page/sjivan?entry=hibernate_and_oracle_pag
Cool Sanjiv. Thanks. The forum shud have more ppl like u. ;)
Sam,
- Original Message -
From: Sanjiv Jivan
To: [email protected]
Sent: Monday, June 18, 2007 10:58 PM
Subject: Re: [appfuse-user] hibernate pagination question
That seems incorrect. There is a pattern
Hi gang,
Just to make myself useful. The workaround for the common problem of using the
same Criteria
object to get both paged data and total results count of all pages through
projection for pagination in
Hibernate 3.2 seemed to be
http://forum.hibernate.org/viewtopic.php?t=956564&highlight
I believe the following will do what you're looking for. I haven't
tried implementing it myself, but it looks pretty cool:
http://ajaxian.com/archives/fancyupload-with-mootools
Matt
On 6/18/07, Trent <[EMAIL PROTECTED]> wrote:
On Mon, 18 Jun 2007 00:15:05 -0700 (PDT), jithesh wrote
>I am u
Do you need to re-use anything from your current web project? If not,
just create a new directory, add it to the root pom.xml and then copy
web/pom.xml to your new project and change it accordingly. You could
also copy/paste the entire web directory to start your new project
with.
Matt
On 6/17/
Sorry to reopen this for discussion. This is very important to the migration
of my application.
It seems like @prepersist works just fine in a JPA project
I took my entity POJO Catalog to a separate JPA Hibernate enabled project
with these dependencies
org.hibernate
hibernate
I believe you can solve this by downloading Xerces and installing its
jars in $CATALINA_HOME/common/endorsed.
Matt
On 6/17/07, lim xu <[EMAIL PROTECTED]> wrote:
Hey all,
At work, our production server use jdk 1.4/Websphere 5.1, to make our life
easier, on local machine, we are developing appfu
Ok, if I take out the transactionController I am back to this validation
error.
Do I need to add a validation required for my controller? This doesn't make
sense to me but adding validation to my pojo fixed a similar exception.
/**
* @spring.validator type="required"
*/
ERROR [Thread-1] Disp
Yes, unfortunately, you need at least one validation rule for your
POJO - or you need to remove the validator from the Controller's bean
definition.
As far as why transactionManager failed - there's already a bean with
that name and it's used for transactions. If you rename it to
txManager (or so
Using Projections.rowCount() does not get the count in the same query, it
issues a separate count query.
http://raibledesigns.com/wiki/Wiki.jsp?page=HibernatePagination
On 6/18/07, j2ee dodo <[EMAIL PROTECTED]> wrote:
Hi gang,
Just to make myself useful. The workaround for the common proble
I'm using appfuse 1.9.3 with webwork. I've replaced the 3.0-beta version of
urlrewrite with version 3.0.4.
I'm running in tomcat 5.5.23
My first issue is that I cannot get urlrewrite filter to forward
/webwork/css_xhtml/validation.js to the modified version in
/template/css_xhtml/validation.js.
It seems to work on the demo site with Struts 2:
http://demo.appfuse.org/appfuse-struts/struts/css_xhtml/validation.js
The primary reason for modifying the file was there was JavaScript
errors with the tr/td -> ul/li changes.
http://forums.opensymphony.com/thread.jspa?messageID=63938
You shoul
I got the same error on Windows using Eclipse 3.2.2. Copying junit.jar to the
ANT_HOME\lib alone did not help as I kept getting that error. So, this is
what fixed my problem.
Go to windows>preferences>Ant>runtime>Classpath>Ant Home Entries and add
junit.jar here. That solved my problem.
Hope thi
Matt,
(First of all Im using Appfuse 1.8.3)
I can't go through the easiest way because I am using a generated id as
username in order to keep privacy of users. So I have to keep the email
attribute in it's own column. To login in the user I changed the
ApplicationContextSecurity.xml to ask in the
I'm currently editing the mainMenu.xhtml page to include some links for my
application, but the problem I'm having is that some of the links only need
to be visible and accessible by users with the 'ROLE_ADMIN' role. I know
how to do this in the menu-config.xml file, but that only controls the li
The reason you're likely getting logged out is because of the
session-timeout in web.xml. I'd suggest boosting it from 10 minutes to
30 or 60 minutes. If one is not specified, the default is 30 minutes.
Matt
On 6/18/07, Tomas Barrios <[EMAIL PROTECTED]> wrote:
Matt,
(First of all Im using App
You might try the acegijsf tags that are included in AppFuse:
http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/
I believe they work, but some people have reported problems with them
on this list. If you get them to work, please let us know.
Matt
On 6/18/07, jeremiah.l
You'll need to load more than just applicationContext.xml. If you look
at any of the Base*TestCase classes, you should get a good idea of
what files you'll need. Here's what you should need at a bare minimum:
applicationContext-resources.xml
applicationContext-dao.xml
applicationContext-service.x
Any instruction as to how to configure the filter? Also, you said that this
jar is included in the AppFuse bundle, so I'm assuming I won't need to
download this.
Thanks,
Jeremiah
mraible wrote:
>
> You might try the acegijsf tags that are included in AppFuse:
>
> http://cagataycivici.wordpre
What version of AppFuse are you using?
On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote:
Any instruction as to how to configure the filter? Also, you said that this
jar is included in the AppFuse bundle, so I'm assuming I won't need to
download this.
Thanks,
Jeremiah
mraible wrote:
>
>
2.0-M5
mraible wrote:
>
> What version of AppFuse are you using?
>
> On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote:
>>
>> Any instruction as to how to configure the filter? Also, you said that
>> this
>> jar is included in the AppFuse bundle, so I'm assuming I won't need to
>> download
Here's how to add Acegi JSF support to your project:
1. Add the acegijsf dependency to your pom.xml (I've uploaded this to
AppFuse's repository):
net.sf.jsfcomp
acegijsf
${acegijsf.version}
2. Add the property to your pom.xml:
1.1.2
3. Create a
Hi All,
I am working on a web application where the administrator have the option
of choosing which authentication method they would like. I like to keep the
current one as is but would like to add SSO and LDAP. Our institution us
currently using SSO where where we have an apache module th
You mention CAS - are you using it for your SSO solution? If so, Acegi
supports integrating with CAS.
http://acegisecurity.org/docbook/acegi.html#cas
Matt
On 6/18/07, Doug Pham <[EMAIL PROTECTED]> wrote:
Hi All,
I am working on a web application where the administrator have the
option of c
Whoa, Matt. That worked great and was exactly what I was looking for.
Thanks!
mraible wrote:
>
> Here's how to add Acegi JSF support to your project:
>
> 1. Add the acegijsf dependency to your pom.xml (I've uploaded this to
> AppFuse's repository):
>
>
> net.sf.jsfcomp
I have just found out that we are not using the JA-SIG CAS but our system works
similar to it. I'll try to see if it works or not :-)
Thanks Matt,
Doug
Matt Raible <[EMAIL PROTECTED]> wrote: You mention CAS - are you using it for
your SSO solution? If so, Acegi
supports integrating with CAS.
Matt, my session-timeout is set to 10 minutes, but I noticed that after doing
this changes (using email to login instead of username) after 2 minutes of
inactivity the session ends... ¿?
Tomas
mraible wrote:
>
> The reason you're likely getting logged out is because of the
> session-timeout i
Unfortunately, I don't know what could be causing this problem.
Matt
On 6/18/07, Tomas Barrios <[EMAIL PROTECTED]> wrote:
Matt, my session-timeout is set to 10 minutes, but I noticed that after doing
this changes (using email to login instead of username) after 2 minutes of
inactivity the sess
My software environment:
os ubuntu 7.0.4 linux core 2.6.20-16-generic
local zh
jdk Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Maven version: 2.0.6
database:postgreSQL 8.2
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-Dre
The following error message seems to explain everything:
[m5] WARN [btpool0-5] UserAction.save(157) | User '朱立勋' already
exists!
Matt
On 6/18/07, zhulx <[EMAIL PROTECTED]> wrote:
My software environment:
os ubuntu 7.0.4 linux core 2.6.20-16-generic
local zh
jdk Java HotSpot(TM) Client VM
Framework: Struts 2.x/Hibernate/Spring
Problem:
In one of my form while is edit mode I just want to save 2 or 3 fields
whereas on form I've more 30/40 fields. When I use Save method on model it
saves all fields. Is it possible for me to ignore certain fields while
saving an object?
--
View thi
You could provide getters and setters for the properties you want to
edit on your action, then manually set them on your domain object
before saving.
Matt
On 6/18/07, yogeshk <[EMAIL PROTECTED]> wrote:
Framework: Struts 2.x/Hibernate/Spring Problem: In one of my form while is
edit mode I just
I'm planning to install Subversion and Trac on Fedora and new to this so
just wondering if anyone has written a easy to follow instructions on how to
do this. Thanks much.
dev
On Mon, 18 Jun 2007 22:47:43 -0700, dev dev wrote
> I'm planning to install Subversion and Trac on Fedora and new to
> this so just wondering if anyone has written a easy to follow
> instructions on how to do this. Thanks much.
I imagine it would be much like this:
sudo yum -y update
sudo yum i
39 matches
Mail list logo