Re: [OT] Setting up mail server on Linux?

2014-01-07 Thread Per Pascal Grube
Do you need to use postfix? I use msmtp as mailserver when only sending mail. Cheers, Pascal Paul Benedict schrieb: >Anyone experienced with installing/configuring mail servers on Linux? I >have chosen Postfix as my tool but I'll take any working solution. I don't >need to

Re: Issues with Struts Tiles

2013-10-06 Thread Per Pascal Grube
One thing, that I saw while looking at your code is that I have a different taglib: <%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %> and that I use to include fragments. Maybe this helps. Regards, Pascal On Saturday 05 October 2013 11:04

Re: how to enable client side validations?

2013-09-26 Thread Per Pascal Grube
I think you have to find somthing else. The client side validation code is created by the struts tags. I don't think there is a way to get the client side validation code without the tags. Regards, Pascal On Thursday 26 September 2013 18:54:55 Yaragalla Muralidhar wrote: > Any possi

Re: json result type not parse OGNL expressions in params

2012-10-21 Thread Per Pascal Grube
ame="excludeNullProperties">true > true > ${errorCode} > I don't know if it makes a difference, but I use %{ } in the param tag to get the values from my actions. Regards, Pascal - To unsubscribe, e-mail:

Re: Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-22 Thread Per Pascal Grube
Hi I use easymock to mock service in the action classes. In the spring context I add: Hope thats enough to give you a idea how it could work Regards, Pascal On Wednesday 22 August 2012 15:33:26 Davis, Chad wrote: > I would like to deploy my app to a UI testing / d

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Per Pascal Grube
will be created as singeltons, which can cause issues, if you don't expect this behavior. Regards, Pascal On Wednesday 29 February 2012 07:52:03 Puneet Babbar 2 wrote: > Thanks for replying to my post, I have already checked that link but still > no clue as to how to make spring

Re: Struts, spring integration while using struts annotations

2012-02-29 Thread Per Pascal Grube
will be created as singeltons, which can cause issues, if you don't expect this behavior. Regards, Pascal On Wednesday 29 February 2012 07:52:03 Puneet Babbar 2 wrote: > Thanks for replying to my post, I have already checked that link but still > no clue as to how to make spring

Re: [Struts2] Upgrading a Struts2 Application that uses Tiles2.

2012-01-24 Thread Pascal Grube
Hi, I upgrade our webapp to struts 2.3.1.2 with tiles 2.2.2 and it did not cause any issues so for. Regards, Pascal On Tuesday 24 January 2012 17:13:15 Hernán wrote: > Thank you! I will try it and inform you about this. > > On Tue, Jan 24, 2012 at 5:00 PM, Steve Higham wrote: >

Re: 2-dimensional array.

2009-07-27 Thread Pascal
Maybe you wanted to do this? String cat_sections[] = {"IP6-Calling-Card"}; String cat_items_sections[][] = { cat_sections }; I'm really not sure if you should use arrays here, though. Especially for storing string constants you should really consider using enums. Pascal On Mon,

Re: s2 and default locale/language

2009-07-23 Thread Pascal
Hm, ok. Could you post your resource bundle initialization/usage? Pascal On Thu, 23 Jul 2009 04:18:50 -0700 (PDT), Marsman wrote: > I've tried the browser language detection page and as I expected only the > language code "da-DK" was listed. I had already removed the langua

Re: s2 and default locale/language

2009-07-23 Thread Pascal
Are you sure your browser settings are correct? I bet it's on the client side, not a struts/config error. Try using some page to detect your language setting, like http://aruljohn.com/lang.php Hope this helps, Pascal On Thu, 23 Jul 2009 03:24:50 -0700 (PDT), Marsman wrote: > Hi! >

Re: Tags as template parameters?

2009-07-19 Thread Pascal
I just had a look at Sitemesh and it looks like what I want. There is one thing that disturbs me, though, it looks as if sitemesh will build the page every request, which causes quite some overhead, or am I mistaken there? Pascal On Fri, 17 Jul 2009 20:44:59 -0400, Wes Wannemacher wrote: >

Tags as template parameters?

2009-07-17 Thread Pascal
like which I also don't want because I would have an extra (unnecessary) page. So, is it possible to pass whole XML-Structures to templates? Maybe you have some reasons why I shouldn't want what I'm suggesting here, I would be eager to he

Re: Re: struts2 and dojo

2009-03-10 Thread pascal . gehring
element on the frontend depending on which tag you use. During rendering the page, needed dojo files are loaded and parsed. So please don't say that dojo-support is deprecated. This is wrong. Dojo just has moved!! Greeting Pascal - original Nachricht Betreff: Re: struts2 and d

Problem with using tag for file upload

2009-02-19 Thread pascal . gehring
f my application it did no longer work and I don't know why... Please help! Thanks in advance Pascal Gratis: Jeden Monat 3 SMS versenden- Mit freenetMail - Ihrer kostenlose E-Mail-Adresse http://email.freenet.de/dienste/emailoffice/produktuebersicht/basic/sms/index.html?pid=6830

Re: Accessing "id" bean-property (not tag attribute) in freemarker template

2008-09-29 Thread Pascal Lalonde
Is there a stack trace in the server console ? - Pascal Sven Grünewald wrote: I think it is stored on the value stack. As I said, I can get its other properties directly via e.g. ${name}... Only ${id} is not working :-( Gabriel Belingueres schrieb: Where is your bean stored? It is pushed

Re: two forms, two submits

2008-09-22 Thread Pascal Lalonde
I guess you should be more specific about the problem, what is the theme you are using ? The answer to your question is yes, it is working intuitively, as I use it in my own projects. - Pascal http://www.cameleon-sporting.com cpanon wrote: Hello I have two non-nested forms, each with

Re: value attribute on

2008-09-12 Thread Pascal Lalonde
The request is accessible with ognl this way: - Pascal Eric Hamacher wrote: Hello: I am in a situation where I need to populate a with a value in the request scope. It sounds anti-Struts but it can't be helped. Since the value attribute cannot take a runtime expression,

Re: [S2] client-side validation error message duplication

2008-09-12 Thread Pascal Lalonde
If you are using Spring into your projet, this may be related to the beans being singletons, we had this problem in the past, we actually were required to call cleanErrorsAndMessages method at each prepare call. - Pascal Kawczynski, David wrote: I'm using struts 2.1.2, and the xhtml the

Re: [S2]How can I get red error messages?

2008-09-09 Thread Pascal Lalonde
Didn't I read somewhere that one of the good practices was to copy the template folder in the project WEB-INF folder ? If this is true, then just directly edit the style sheet of the theme ? - Pascal Dave Newton wrote: --- On Tue, 9/9/08, Ylva Degerfeldt wrote: Just out of curiosity

Re: NullPointerException with Validation Messages

2008-09-09 Thread Pascal Lalonde
Have you tried this ? - Pascal Mark wrote: Hi all: I'm using Struts 2 validation and I'm getting a NullPointerException when the page is being displayed (before it is even being submitted or

S2 tag: mod_rewrite

2008-08-24 Thread Pascal Forget
ropertyTag [...] formatterClass com.ubeans.util.TimeElapedFormatter [...] encoder com.ubeans.struts2.views.jsp.PropertyTag [...] formatterClass com.ubeans.util.EnigmaEncoder [...] Can something like this be done? Thanks, Pascal _

Browser url & parameters

2008-07-31 Thread Pascal Lalonde
hanks, -- *Pascal Lalonde Programmeur Analyste*

Re: [Formatting data] - Format a number as currency

2008-01-22 Thread Pascal SEREMES-DAMAL
Thank you John. But How can I manage with the proprty file? 2008/1/22, John Koutros <[EMAIL PROTECTED]>: > > You can use the s:text struts tag. > > > > Where > > format.money = {0,number,#,##0.00} in a property file > > > -----Original Message- >

Re: [Formatting data] - Format a number as currency

2008-01-22 Thread Pascal SEREMES-DAMAL
Thanks to Martin for his answer. I had the idea of JSTL too Alberto. Thank you very much. 2008/1/22, Alberto A. Flores <[EMAIL PROTECTED]>: > > I'll recommend using using JSTL instead. > > > On Jan 21, 2008 8:11 PM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED

[Formatting data] - Format a number as currency

2008-01-21 Thread Pascal SEREMES-DAMAL
Hi everyone!!! I'd like to know if it is possible to format a number into a currency with the struts taglib. Thanks.

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
-INF. Enjoy. Pascal 2008/1/4, Frans Thamura <[EMAIL PROTECTED]>: > can we have the code also? > > F > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
How can I be sure that it is deployed? The file was in /META-INF/persistence.xml as described in the tutorial. I put it in WEB-INF/classes/META-INF/persistence.xml and it works. Thank both of you very much! Pascal 2008/1/4, Laurie Harper <[EMAIL PROTECTED]>: > Musachy is sugges

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
Did some one else encountered the same problem as mine when following the tutorial http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html ? 2008/1/4, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]>: > Do you mean it can come from a bad classpath..? Or maybe should I > speci

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
, Musachy Barroso <[EMAIL PROTECTED]>: > well, somehow the file is not getting there at runtime I guess, this > is from your stacktrace: > > "java.lang.IllegalStateException: No persistence units parsed from > {classpath*:META-INF/persistence.xml}" > > musachy >

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
version="1.0"> > > > > > musachy > > On Jan 4, 2008 11:26 AM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]> wrote: > > In fact in the tutorial > > (http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html > > ) they s

Re: Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
couldn't find META-INF/persistence.xml > > musachy > > On Jan 4, 2008 11:12 AM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]> wrote: > > Hello everyone!!! > > > > I hope you had fun during the end of year 2007 and I wish you a happy new > > year. > >

Struts 2 + Spring 2 + JPA + AJAX tutorial

2008-01-04 Thread Pascal SEREMES-DAMAL
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect

Re: Redirecting to the referring action

2007-07-24 Thread Pascal Lalonde
It may be worth looking at Spring Web Flow, I think it's design to fit that kind of needs. - Pascal Paul Benedict wrote: Mark, I had this same problem :-) One downside of action-based frameworks is that there is no sense of a "page" -- just actions. You need to somehow mar

Re: How to display the ' character from a .properties file

2007-07-12 Thread Pascal Lalonde
This should be the good solution, that's what we do ... [EMAIL PROTECTED] wrote: try to double the ' ex.: mylabel=I don''t know how If in my .properties file I have text with the ' character my.properties (file) mylabel=I don't know how ... The output doesn't display the ' character

Re: [S2] JAAS & redirection

2007-03-30 Thread Pascal Lalonde
What about internationalization ? James Mitchell wrote: This seems to be a bug in the Struts tags. For now, just use a jsp page that doesn't have any Struts tags in it. Not sure what else to tell you. -- James Mitchell http://jamesmitchell.us On Mar 29, 2007, at 10:43 AM, Pascal La

Re: [S2] JAAS & redirection

2007-03-29 Thread Pascal Lalonde
s Mitchell http://jamesmitchell.us On Mar 29, 2007, at 7:13 AM, Pascal Lalonde wrote: Us we have only elements. Prviously, with webwork, those tags were not problematic and we were also applying the decorator manually. James Mitchell wrote: I was getting the same error when trying to use a form (>

Re: [S2] JAAS & redirection

2007-03-29 Thread Pascal Lalonde
this happens in my app and in the mailreader. -- James Mitchell On Mar 28, 2007, at 3:18 PM, Pascal Lalonde wrote: Hi, We are currently trying to update from webwork to struts 2.0.6, everything looks fine except one thing. The application is deployed into JBoss 4.0.4 and JAAS is enabled

[S2] JAAS & redirection

2007-03-28 Thread Pascal Lalonde
Hi, We are currently trying to update from webwork to struts 2.0.6, everything looks fine except one thing. The application is deployed into JBoss 4.0.4 and JAAS is enabled into our web.xml configuration file. So when trying to access the secure namespace, it does its check and finds out

Re: ajax framework

2007-03-28 Thread Pascal Lalonde
You can take a look to this: http://struts.apache.org/2.x/docs/ajax-tags.html - Pascal temp temp wrote: I have to create highly interactive web page ie use of lot of java script. Are there open source java ajax frameworks where I code only in java and do not write any java

Re: Struts 2 newbie question

2007-03-12 Thread Pascal Lalonde
You'll have to modify the associated template within your project. The actual form template (from the default xhtml) is wrapping inputs into a table, each input is appended has a row into it. - Pascal King, Leon C wrote: How do you modify the alignment of a button? Currently I

redirect-action parameters

2006-11-23 Thread Pascal Lalonde
Based on this sample from the web site documentation: generateReport /genReport pie 100 100 How can I add dynamic parameters ? Here, values are fixed but what if I want to set a dynamic value from the action data ? Based