Certainly not the strongest protection, but a fast one:
Add a time cheking code snippet to the StartUpListener or add a custom
spring ApplicationListener listenening for the ContextRefreshedEvent. (
http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#context-functionality-even
I never used it, but maybe Hibernate Shards is the solution to your problem:
http://www.hibernate.org/414.html
Bye,
Peter
2009/3/24 sudhakargupta
>
> Thanks for your reply if you got the solution on this type of multiple
> database connections in one application please help me.
>
> Sudhakar
Hi Mark!
The negative IDs are not created by the DB, these are default values
inserted via dbunit during the maven test phase.
See sample-data.xml for these entries
Bye,
Peter
2008/10/6 md10024 <[EMAIL PROTECTED]>
>
>
> Hi,
> I am getting started with Spring MVC Basic on a WinXP development pl
I could take a look at the german I18N files.
My username for 99translations is "petersm"
Bye,
Peter
2008/10/2 Marcello Teodori <[EMAIL PROTECTED]>
>
> Hi Matt, if I should submit any corrections for the italian translation,
> where's the place to go now, a JIRA issue with the new ApplicationR
Here's the documentation:
http://static.appfuse.org/plugins/appfuse-maven-plugin/full-source-mojo.html
Bye,
Peter
2008/10/1 Bjornen <[EMAIL PROTECTED]>
>
> Im having trouble finding the documentation. What is full-source and why
> should I use it?
> --
> View this message in context:
> http://
Please read the documentation of displaytag
1. You need to implement DisplaytagColumnDecorator, not TableDecorator (See
my last email)
2. You need to tell displaytag to use this decorator (see
http://displaytag.sourceforge.net/11/tut_decorators.html, part "Column
decorator") -> You need to add the
If web-side-test means canoo web test,
i would suggest to copy the login.xml and modify the username / password.
Then include the newly created xml in the web-tests.xml.
Some links:
web-tesst.xml in trunk:
https://appfuse.dev.java.net/svn/appfuse/trunk/web/struts/src/test/resources/web-tests.xml
l
stand where i can write my decorator.
> should I write a new class to extends some default decorators? I actually
> tried to write but I even couldnt find any useful and extensible classes.
> What are the basic steps??? Thanks
>
> Regards
>
>
>
>
>
> Peter Schneid
I would suggest to add the "roles" attribute to the display:table in
userList.jsp.
Add a custom decorator on the roles column to tell displaytag how to
renderer a collection of roles (See
http://displaytag.sourceforge.net/11/tut_decorators.html for more details)
Bye,
Peter
2008/9/29 overseastars
As far as I know, appfuse 2.0.2 has switched from acegi to spring security
(spring security = acegi)
2008/9/26 Greenhorn2005 <[EMAIL PROTECTED]>
>
> Hello all,
>
> After reading all the old queries and articles , I still find problem. I
> am
> using Appfuse 2.0.2 with Struts 2 integration. I hav
Spring security documentation is your friend:
http://static.springframework.org/spring-security/site/reference/html/authorization-common.html#authorization-taglibs
Bye,
Peter
2008/9/26 Greenhorn2005 <[EMAIL PROTECTED]>
>
>
>
> hello all,
>
> some info here. I am using Struts 2 , appfus
I would check to transaction settings, as the DB gets slower and slower when
doing long running transactions (due to undo logs getting bigger and bigger)
As far as I experienced, it's not the best idea to import a lot of data in 1
transaction.
Try to devide the import in smaller steps (e.g. 1-1000
Please send the stactrace, so we can possibly identify your issue...
2008/9/10 dengqf <[EMAIL PROTECTED]>
>
> I have a problem about appfuse2!
> I create a project with command
> "mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-spring
> -Dremot
Hi!
See http://appfuse.org/display/APF/Web+Services for more Details.
Bye,
Peter
2008/7/23 Mauri Ferreyra <[EMAIL PROTECTED]>:
> Hi, I want invoke a Webservices (eg: PersonManager) from other application.
> How I do this?
>
>
>
Hi!
mvn test -Dtest is correct (See
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#test)
Bye,
Peter
2008/5/8 Richard G. Reyes <[EMAIL PROTECTED]>:
> Hi All,
>
>
>
> I am trying to follow this…
>
>
>
> http://appfuse.org/display/APF/Using+Hibernate
>
>
>
> Shouldn't …
>
>
Hi Attila,
Maybe its because "/cal/*.html*" doesn't match "frame.xhtml" (take a look at
the "xhtml" ending)
Bye,
Peter
2008/5/6 Attila <[EMAIL PROTECTED]>:
>
> I have the line /cal/*.html*=... in security.xml. The frameset page
> (frame.xhmtl) is located in "cal" folder. And all other frame pa
Hi Marcelo!
> Firt thing I noted was the amount of errors and warnings...
Add the Classpath variable "M2_REPO":
In Eclipse: -> Window -> Preferences ->Java -> Buildpath-> Classpath
variable-> New...
Name: "M2_REPO", Folder: "/.m2/repository", e.g.
something like "c:\documents and settings\marcelo
Hi!
I've extended my pom.xml with the following part:
...
maven-clean-plugin
src/main/webapp/WEB-INF
lib
classes
f
have been with .asp pages. Yes, I did .asp dev once. I needed the
> money. I am ashamed.
> -D
>
> On Apr 8, 2008, at 9:02 AM, Peter Schneider-Manzell wrote:
>
> Hi!
>
> I made something similar in one of my last web apps:
>
> - Store the last 10 pages the user visit
Hi!
I made something similar in one of my last web apps:
- Store the last 10 pages the user visited in a list in the Session (By
using your interceptor). Make sure that only your max amount of entries are
stored in the list (By replacing the least relevant entry).
- Implement a HttpSessionListene
Hi Kay!
Maybe you should check the encoding of your sources.
Make sure all text files (e.g. xml / java) are encoded with utf8.
Bye,
Peter
2008/3/26, Kai Moritz <[EMAIL PROTECTED]>:
>
> Hi Folks,
>
> I have this really strange problem with german umlauts in my testcases.
>
> On my development sy
And make sure to set the "uid" attribute in the display:table tag. The value
is required for displaytag to make a difference between more than 1
displaytag table on a single JSP page (Paging etc...)
See http://displaytag.sourceforge.net/11/displaytag/tagreference.html#tablefor
more details.
Bye,
Hi!
By searching "dispalytag" in google, you find the following link:
displaytag.sourceforge.net/
How to add different decorators to a column:
http://displaytag.sourceforge.net/11/tut_decorators.html
You can also use normal JSP, e.g.
How to configure the paginator:
http://displaytag
Hi!
Maybe these links can help you:
http://maven.apache.org/plugins/maven-war-plugin/usage.html
in combination with
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
Maybe the parameter "warName" is the parameter you are looking for**
Bye,
Peter
2008/2/24, Uditha <[EMAIL PROTECTE
Maybe the FCKEditor is the type of editor you are looking for:
http://www.fckeditor.net/
This project also provides java integration files (e.g. taglibs to ad the
editor to your JSP pages)
Bye,
Peter
2008/1/29, Leo Barrientos C. <[EMAIL PROTECTED]>:
>
> I need a wyswyg editor for a jsp. Any id
If you want to receive an email every time an error occurs,
i recommend to use the smtp appender of log4j:
Bye,
Peter
2008/1/11, Ding, Qin <[EMAIL PROTECTED]>:
>
> Mike: thank you. I'll take a look at th
Maybe this forum entry can help you:
http://forum.springframework.org/showthread.php?t=22155
Bye,
Peter
2007/12/17, BruceLee <[EMAIL PROTECTED]>:
>
>
> Dear Team,
>
> We want to send Asian character email with UTF-8 encoding. But receiver
> gets
> all ??
> Our env: appfuse 1.9.4 with WebWor
Yes, you need a expectation for every call on a mock executed during a test.
I would recommend to use EasyMock instead of JMock.
It's very easy to use, e.g. creating a mock:
GameDAO gameDAO = EasyMock.createStricktMock(GameDAO.class);
If you call a method e.g. public Game getGame(Long id) on gam
Maybe these links can help you:
http://jcaptcha.sourceforge.net/multiproject/jcaptcha-module-acegi/index.html
http://weblog.morosystems.cz/spring/Spring-Acegi-JCaptcha-integration
Bye,
Peter
2007/11/7, Flavio Froes <[EMAIL PROTECTED]>:
>
> heheehehe...
>
> You are right. Acegi handles the login
Do you get error messages or exceptions?
2007/10/30, jithesh <[EMAIL PROTECTED]>:
>
>
> Hi,
>
>I am working with java in linux environment. I have to execute a shell
> script through my java class.
>
> I used runtime object to execute the script but its not executing.
> my code is
>
> Runtime
You need to change your test values.
Take a look at src\test\resources\login.xml
You need to modify the line
to match the title of your new page
Bye,
Peter
2007/10/15, ttux <[EMAIL PROTECTED]>:
>
>
> Following Mike advice, here is what I did:
>
> I put in index.jsp: instead of the
> mainMe
Hi!
Maybe you need to change
to
Bye,
Peter
2007/10/12, George.Francis <[EMAIL PROTECTED]>:
>
>
> Hello,
> I have just moved on from the tutorials and I'm having trouble creating an
> association in my Spring MVC WebApp between a 'Customer' bean and an
> 'Application' bean. In my datamodel an
Take a look at http://appfuse.org/display/APF/FAQ#FAQ-jettyrunlocked
Bye,
Peter
2007/10/11, Gert Vanthienen <[EMAIL PROTECTED]>:
>
>
> L.S.,
>
>
> I'm using Eclipse to develop my web application (modular JSF project), but
> I
> really like 'mvn jetty:run' for testing purposes. There is only one
Simply add the attribute ... readonly="true" ... (or maybe disabled="true")
For more options see
http://static.springframework.org/spring/docs/2.0.x/reference/spring-form.tld.html#spring-form.tld.input
Bye,
Peter
2007/10/10, John Kwon <[EMAIL PROTECTED]>:
>
> In your tutorial you have:
>
>
The app server tries to validate the validation.xml with a DTD defined in
the given xml.
If the server cannot download this DTD, the webapp will not start up.
Remove the DTD entry, and you should be able to startup your server even if
you are offline. (Maybe you should check the other validation r
Normally, dbunit is triggered by the maven target "test-compile" in AppFuse
Try "mvn jetty:run -Dmaven.test.skip=true" to skip this target and the
connected db-load
Bye,
Peter
2007/9/26, p7k <[EMAIL PROTECTED]>:
>
>
> it was difficult to find a definitive answer through other posts...
>
> how c
Simply add a dependency to your maven descriptor (pom.xml).
e.g. pom.xml of project1:
.
groupIdOfProject2
artifactIdOfProject2
versionOfProject2
.
Make sure that you have installed project2 before compiling project1
Bye,
Peter
2007/9/26, Ömer Başar <[EMAIL PROTE
This is already integrated in appfuse.
Simply itnegrate the link to the password protected page, and if a user
clicks on this link, appfuse / spring / acegi will make sure that the user
logs in first.
If you use the struts-menu, simply remove the ...roles="" part from the
menu entry (file menu
Here's a test I use to verify a csv upload:
public void testCSVUpload()
{
log.debug("testing csv upload...");
MockHttpServletRequest request = new
MockHttpServletRequest("POST","/importData.html");
List fileItems = new ArrayList();
//Create the test upload (Type, content-type, filename, content o
Hi!
Take a look at the springframework docu:
http://www.springframework.org/docs/reference/scheduling.html
Bye,
Peter
-Ursprüngliche Nachricht-
Von: benoit moraillon [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 16. August 2007 11:00
An: users@appfuse.dev.java.net
Betreff: [appfuse-
Or take a look at this code sample from our app:
public class LoginListener implements ApplicationListener
{
protected Log log = LogFactoryImpl.getLog(getClass());
private UserManager userManager;
/**
* @param userManager the userManager to set
*/
public void setUserManager(UserMan
Fullname is generated out of the attributes user.firstname+" "+
user.lastname
So if the user "admin" has no firstname / lastname set, the getFullname()
method will return "null null".
Bye,
Peter
-Ursprüngliche Nachricht-
Von: acao [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 10. Augus
It is possible to write a list of objects to the request in order to use
this values to populate a drop down.
Here a short example code:
SpringController:
@Override
protected Map referenceData(HttpServletRequest request) throws
Exception {
Map model =
Hi Bob!
I think the problem is the part ... path="inspectors"... It seems that your
command object of the type "PackageInspection" has no property "inspectors"
(or no method "getInspectors()")
There are many ohter possibilities how to generate an "select" tag with the
new Spring Taglib.
For more
It is possible to use a collection of objects generated in the referenceData
method, I don't think that this the problem in your code.
I think that you have a wrong value in your "path" attribute:
If your command object has a setter called "setInspector(String inspector)",
your form tag would look
Hi Sudheer,
Take a look at the Hibernate / Xdoclet documentation:
http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED]
any-to-one__0__1_
You need a many to one tag in your Atuhor class.
The join is automatically created by hibernate.
So if you want to display the country an author has
Hi!
It's not possible to use annotations in sdk <1.5 out of the box.
Maybe this project can help: http://backport175.codehaus.org/
Bye,
Peter
_
Von: j2ee dodo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 2. März 2007 21:49
An: users@appfuse.dev.java.net
Betreff: [appfuse-user] us
One thing to mention:
Be carefull with the generated equals() / hashCode() or toString() methods.
If you have bidirectional mappings (e.g. user->roles and role->users) you
can run into a stackoverflow caused by infinit calls of e.g. the hashCode()
methods.
(user.hashCode() calls role.hashCode()
Hi Dean!
Normally this exception occurs if you don't wrap your manager with an
appropriate interface.
The $Proxy object is the Proxy generated by Spring and wrapped around your
manager to execute AOP related stuff like transaction management etc.
It's normally hidden behind the interface...
Bye
oblem with german version of AppFuse
Peter - can you enter an issue for this in JIRA so we can track it in the
release notes?
HYPERLINK
"http://issues.appfuse.org/browse/APF"http://issues.appfuse.org/browse/APF
Thanks,
Matt
On 2/9/07, Peter Schneider-Manzell mailto:[EMAIL PROTECT
Hi!
Theres a wrong translation in the german version of Appfuse 2.0-m3 and 1.9.4
In "ApplicationResources_de.properties"
"menu.admin.reload=Optionen für erneutes Laden"
Should be changed to
"menu.admin.reload=Optionen neu laden"
Added Issue http://issues.appfuse.org/browse/APF-638
Bye,
Pet
Hi!
There seems to be a small style problem with the german version of AppFuse
in the navbar (Text for key "menu.user" si too long). See the image
attached.
Problem can be reproduced with all demos (Only the Struts demo looks a
little bit different due to the other CSS file) and german as default
My friend had the same problem, the bug fix mentioned in Jira (filter =
true) does not help...
He renamed the jdbc.properties and used this file to open up the
datasource...
Bye,
Peter
-Ursprüngliche Nachricht-
Von: Matt Raible [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 26. Januar 2
Hi all!
For everyone, who tried to download the acegi acl tutorial files:
I fixed the download at the tutorial page
(http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAcegiACL)
Bye,
Peter
-
To unsubscribe, e-mail: [EMAIL PROT
If you want to resize an image, take a look at this taglib:
http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/intro.html
Bye,
Peter
-Ursprüngliche Nachricht-
Von: Jonathan Tse [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. Januar 2007 11:11
An: users@appfuse.dev.java.net
Betref
d of the file.
looks like this:
i did this according the turotial...
greetz
bernd
Original-Nachricht
Datum: Fri, 5 Jan 2007 15:39:01 +0100
Von: "Peter Schneider-Manzell" <[EMAIL PROTECTED]>
An: users@appfuse.dev
It seems that you dont have defined a bean named "cN_AccountInformationDao"
in your applicationContext-hibernate.xml
Bye,
Peter
-Ursprüngliche Nachricht-
Von: cosmonate cosmo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 5. Januar 2007 15:35
An: users@appfuse.dev.java.net
Betreff: [appfu
Hi!
I am responsible for the Acegi ACL tutorial, but unfortunately our own
server (which contained the source code example) crashed and we are still
trying to recover the files from our backups.
Bye,
Peter
-Ursprüngliche Nachricht-
Von: Richard Oss [mailto:[EMAIL PROTECTED]
Gesendet:
58 matches
Mail list logo