using multiple action forms in one action. Best practice?

2004-11-12 Thread Martin Kindler
Hi, in my application I have a rather complex object to deal with. I have split the process in several jsps (JSP1, ..., JSPn) using different ActionForms (AF1, ..., AFm) with them. I need information collected in one JSPi (using AFi) in another JSPj (using AFj). How can I access both Afi and Afj i

using multiple action forms in one action. Best practice?

2004-11-12 Thread Martin Kindler
Hi, in my application I have a rather complex object to deal with. I have split the process in several jsps (JSP1, ..., JSPn) using different ActionForms (AF1, ..., AFm) with them. I need information collected in one JSPi (using AFi) in another JSPj (using AFj). How can I access both Afi and Afj i

AW: using multiple action forms in one action. Best practice?

2004-11-15 Thread Martin Kindler
ne action. Best practice? > > > Martin Kindler wrote: > > >in my application I have a rather complex object to deal > with. I have > >split the process in several jsps (JSP1, ..., JSPn) using different > >ActionForms (AF1, ..., AFm)... > > > >2. merge all

AW: AW: using multiple action forms in one action. Best practice?

2004-11-16 Thread Martin Kindler
Hi Bill, so you say, it is good practice to use the two forms in one action as I do in my current solution? Sure, one has to hide the internals from AF1 to an action primarily designed to use AF2 to keep the address module generic. Perhaps I should make the calling ActionForms implement a specific

AW: AW: AW: using multiple action forms in one action. Best practice?

2004-11-17 Thread Martin Kindler
rm-dialog ActionForm would contain both the region > information > and the list of stores. Thus I would only use one ActionForm per > Action, and I wouldn't use session variables. > > Bill > > Martin Kindler wrote: > > >Hi Bill, > > > >so you say, it

AW: Struts Wireless Question

2005-02-09 Thread Martin Kindler
Brandon, the easiest way I can think of is using http headers. You may have a look on http://wurfl.sourceforge.net. They strive to build a list of the capabilities of mobile phones. There is even a standard (I think) for manufacturers of mobile phones to give access to the capabilities of their de

best practices for creating output for different clients

2004-07-31 Thread Martin Kindler
re to add the hook? possible problems when upgrading to newer versions of Struts). What is the common approach to this problem? Martin Kindler - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

A question of style (newbie)

2004-09-02 Thread Martin Kindler
ich do the conversion with another "field"-name (starttimestr). This works. The question is: is this considered good style? Are there any problems to be aware of? I am new to Java and Struts, so I think I better ask. Martin ------- Martin Kindler eM

AW: Struts and displaytag

2005-11-10 Thread Martin Kindler
Thomas, in my decorators I typically take the current context path from the PageContext like this: PageContext pc = getPageContext(); HttpServletRequest request = (HttpServletRequest)pc.getRequest(); String contextPath = request.getContextPath(); Martin > -Ursprüngli

AW: STRUTS PHP

2005-11-15 Thread Martin Kindler
Hi Jim, like you, I am looking for a solution to embed PHP components in my JSP pages. Therefore I was glad to learn by your mail of the existence of this php/Java bridge. But looking at the web site I see only the other way round: integration of Java backend classes with the PHP frontend. Am I ri

AW: AW: STRUTS PHP

2005-11-15 Thread Martin Kindler
what I try. I tried withou the controller class also. > > Jim > > > > > > >From: "Martin Kindler" <[EMAIL PROTECTED]> > >Reply-To: <[EMAIL PROTECTED]> > >To: "'Struts Users Mailing List'" > >Subject: AW: STRUTS PHP > >

[OT]AW: AW: STRUTS PHP

2005-11-16 Thread Martin Kindler
Re: AW: STRUTS PHP > > > On 11/16/05, Martin Kindler <[EMAIL PROTECTED]> wrote: > > I googled a bit for a taglib providing a tag to include any > > http-sources in my jsp-pages (as you know I want to include > > PHP-generated pages) and found the Jakarta IO-tagli

AW: Debuging Struts Application with Eclipse

2005-11-23 Thread Martin Kindler
If you are using Tomcat I would suggest you use the Sysdeo Plugin (www.sysdeo.com). With it one can smoothly debug web apps in Eclipse. I do it all the time. Martiin > -Ursprüngliche Nachricht- > Von: R. Markham [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 23. November 2005 14:40 > An

AW: What JDK version are you using?

2006-01-23 Thread Martin Kindler
I'm using 1.4.2 and would like to switch to 1.5. I am also using the Validator. Martin > -Ursprüngliche Nachricht- > Von: Niall Pemberton [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 23. Januar 2006 12:37 > An: Struts Users Mailing List > Betreff: What JDK version are you using? > > >

AW: How to access string resources (.properties entries) from inside a servlet ?

2006-01-28 Thread Martin Kindler
Look at the org.apache.struts.util.MessageResources class. It has a method getMessage(Locale, String) which retrieves the resource. You can get the instance of the MessageResources from the request in your Struts action. It has the key "org.apache.struts.action.MESSAGE". Martin > -Ursprüngli

AW: Struts application WAR file creation.

2006-02-09 Thread Martin Kindler
You can set it in the project properties, which you find parallel to the Tomcat submenu). Martin > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 9. Februar 2006 17:56 > An: Struts Users Mailing List > Betreff: Struts application WAR

Re: [s2] strange (for me) OGNL behavior

2009-05-30 Thread Martin Kindler
ly. Looking a bit into the problem I found that the form tries to transfer plzs_submit.x and plzs_submit.y and this causes the problem. I am puzzled. Any explanation and hint for stopping this will be greatly appreciated. Martin +------- Dipl. inf.

Re: [s2] strange (for me) OGNL behavior

2009-05-31 Thread Martin Kindler
ill be greatly appreciated. Martin +------- Dipl. inf. Martin Kindler Julius-Leber-Str. 8 D-76448 Durmersheim Tel. +49 (0)7245 80 48 774 GSM +49 (0)160 977 636 14 - To unsubscribe, e-mail: user-unsubscr.

Which release to use for production?

2005-05-03 Thread Martin Kindler
n which is definitely no longer beta, but is 1.2.4 therefore the right choice? Any remarks are welcome! martin --- cityExperience.net Dipl. Inf. Martin Kindler Kaulbachstr. 20a D-12247 Berlin Deutschland eMail [EMAIL PROTECTED] Tel. +49 (030) 260 78 48 2 Fax

AW: JSTL tag libs

2005-06-22 Thread Martin Kindler
/WEB-INF/tld/c.tld" prefix="c" %> (I put all my TLDs under the WEB-INF/tld directory) Any hints? Martin --- cityExperience.net Dipl. Inf. Martin Kindler Kaulbachstr. 20a D-12247 Berlin Deutschland eMail [EMAIL PROTECTED] > -Ursprüngli

Displaytag and Struts problem

2005-06-23 Thread Martin Kindler
information about the selected items in the page with the link on (as the ActionForm associated with the action is resetted). Is there an easy way to keep the information until finally the form is submitted? Martin --- cityExperience.net Dipl. Inf. Martin Kindler

AW: Displaytag and Struts problem

2005-06-24 Thread Martin Kindler
have to build the "page parameters" that display tag > uses for paginate, manually it is possible but very ugly > from my point of view... > > that´s all I can say, wish it helps you... and if you find > another solution, please tell me!... > > Lucas > >

AW: isUserInRole - how it works

2005-06-28 Thread Martin Kindler
Hi , with isUserInRole you can check whether the the current remote User has the role you specified. There is also an method //check authentication assuming that user needs the role "editor" for the action if (!request.isUserInRole("editor")) { throw new Exception("user not authenticated fo

AW: [OT] Stinking IDEs

2005-06-29 Thread Martin Kindler
Hi guys, I think this lovely discussion is losing focus. Remember there have been great programmers and programs before any of us was born. Do you think the guys creating e. g. Unix had Emacs or an IDE ? And we (well, some of us) today are great programmers using better tools. It is the (wo)m

[OT]WebHoster in Germany

2005-07-01 Thread Martin Kindler
Hi list, does someone know a good (and not expensive) webhosting service in Germany who is experienced in hosting Struts-based apps using Tomcat? My current provider seems to have some problems and I will probably have to change. Any hints are welcome. Another OT issue (but it is Friday and I pr

AW: log4j log

2005-07-04 Thread Martin Kindler
Where is the path to the log file specified? Something like this: log4j.appender.AccessLog.File= Martin > -Ursprüngliche Nachricht- > Von: Vijay K Anand [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 4. Juli 2005 14:48 > An: user@struts.apache.org > Betreff: log4j log > > > Hi > Here

AW: paging tables?

2005-09-07 Thread Martin Kindler
Try Displaytag (www.displaytag.org). It is a taglib which handles everything (paging, sorting). The only problem I encountered was with multiple row selections spanning several pages. Martin > -Ursprüngliche Nachricht- > Von: S³awek Tuleja [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch,

AW: Problem with characters

2005-09-07 Thread Martin Kindler
David, could you please be a bit more specific? Just now I have a very similar problem as LuKe. I am using MySQl 4.1.10 and all tables are UTF-8. Struts is configured to use UTF 8 (i. e. the controller element in struts-config.xml says contentType="text/html;charset=UTF-8"). This seems to work.

AW: Upload: strange characters in german filename

2005-09-07 Thread Martin Kindler
Bart, looks like a character encoding problem. The mangled character in the filename (ï¿œ) is meant to be a german u-umlaut. I can't offer any more advice to resolve the problem as I am working on this type of problem myself :-( Martin > -Ursprüngliche Nachricht- > Von: Bart Frackiewicz

AW: Problem with characters

2005-09-07 Thread Martin Kindler
TED] > Betreff: RE: Problem with characters > > > Make sure the jsp doing the posting has > > <%@ page language="java" contentType="text/html; charset=UTF-8" %> > > Dave. > > -Original Message- > From: Martin Kindler [mail

AW: AW: Problem with characters

2005-09-07 Thread Martin Kindler
, 7. September 2005 17:34 > An: Struts Users Mailing List > Betreff: Re: AW: Problem with characters > > > Martin Kindler wrote: > >... > > at last I installed a little filter on my container (Tomcat 5.0.x) > >which explicitly sets the encoding for each reque

AW: AW: Problem with characters

2005-09-07 Thread Martin Kindler
r in your Actions with > response.setContentType("text/html;charset=UTF-8"). I found on some > browsers that the meta tag in the HTML won't override the > value in the > HTTP header. > > Just suggestions. I haven't actually dealt with this problem >

AW: A nice easy question

2005-09-09 Thread Martin Kindler
I would use an int (whether cents or tenth of cent if you are in the oil business depends on your application). No rounding problems, no parsing problems. Martin > -Ursprüngliche Nachricht- > Von: Murray Collingwood [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 9. September 2005 09:15 >

Again: I18n problems

2005-09-21 Thread Martin Kindler
I've got a problem with using non-ISO-8859 characters (they are UTF-8) in my Struts application. When I am using property-Strings in the resource bundle with cyrillic letters and use them they get mangled. They are mangled when I use the JSTL fmt:message tag as well as when I am importing them in m

AW: Again: I18n problems

2005-09-21 Thread Martin Kindler
Thanks Michael, that works! Martin > -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 21. September 2005 18:34 > An: Struts Users Mailing List; [EMAIL PROTECTED] > Betreff: Re: Again: I18n problems > > > On

AW: Looking for a table library

2005-09-26 Thread Martin Kindler
Richard, take a look at the Displaytag library (http://www.displaytag.org). Martin > -Ursprüngliche Nachricht- > Von: R. Markham [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 26. September 2005 15:14 > An: 'Struts Users Mailing List' > Betreff: Looking for a table library > > > > >

AW: Looking for a table library

2005-09-26 Thread Martin Kindler
> RadioButton) in a column. It seems to me that I only can use > the cells as output string. I already use the table of > http://www.displaytag.org) in my Application but I am looking > how to put a checkbox in a cell. > > Regards > > Richard Markhham. > > -Urs

AW: Serializable

2005-09-30 Thread Martin Kindler
Good point! But (this is OT): how do you stop Tomcat from doing so? I looked in the Tomcat 5.0.x doc and just found nothing really helpful. Martin > -Ursprüngliche Nachricht- > Von: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 30. September 2005 10:03 > An: Struts Users

AW: installing Display tags

2005-11-07 Thread Martin Kindler
You just need the displaytag-12.tld (without el). The other version (I think) contains code to evaluate expression language expressions. In your case this should be automatic. Martin > -Ursprüngliche Nachricht- > Von: fea jabi [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 7. November 20

Re: OT- need some help

2007-05-21 Thread Martin Kindler
. Any help will be appreciated. Thanks. Vikas. -- -- Martin Kindler Kaulbachstr. 20a D-12247 Berlin Deutschland E-Mail: [EMAIL PROTECTED] Tel. +49 (030) 260 78 48 1 Fax +49 (030) 260 78 48 3 GSM +49 (0160) 977 636 14 Skype martin.kindler

Re: OT- need some help

2007-05-21 Thread Martin Kindler
h goes like: Now, if I need the inputDir value inside my program, how do I do it? Sorry that this is off topic from struts, but i cant seem to find some sensible help. Any help will be appreciated. Thanks. Vikas. -- ------ Martin Kindler Kaulbachstr.

How to POST data to an external site from an action?

2006-05-02 Thread Martin Kindler
Hi all, I'm kind of stuck with a little problem. perhaps someone can help! I want to include a payment service into my Struts Action 1.2.x based shop. The payment service needs the information via http POST. The user (my customer) will authorize the transaction on the site of the payment service.

AW: How to POST data to an external site from an action?

2006-05-03 Thread Martin Kindler
Thank you all for answering! But I seem not to have stated my problem clearly: I know how I can POST to an uri using Java. My problem is that I want the user to be redirected (or forwarded) to the page my action has posted the data to. The easy way to handle this is: put a button on my page by wh

AW: How to POST data to an external site from an action?

2006-05-03 Thread Martin Kindler
Michael, > -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 3. Mai 2006 19:31 > An: Struts Users Mailing List; [EMAIL PROTECTED] > Betreff: Re: How to POST data to an external site from an action? > > > O

AW: urgent

2006-05-24 Thread Martin Kindler
add a field (if you do not want users to edit it, use type hidden) to your form. Martin > -Ursprüngliche Nachricht- > Von: Abhimanyu Koul [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 24. Mai 2006 13:27 > An: Struts Mailing list > Betreff: urgent > > > hi all! > I use to display som

AW: urgent

2006-05-24 Thread Martin Kindler
The documentation is your friend. See http://displaytag.sourceforge.net/11/tut_style.html The even and odd CSS classes allow you to do what you want. Martin > -Ursprüngliche Nachricht- > Von: Abhimanyu Koul [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 25. Mai 2006 07:56 > An: Struts

AW: Struts with Eclipse 3.1

2006-05-25 Thread Martin Kindler
I have not really followed this stream, but just to develop a Struts (action 1.x) based app with Eclipse 3.x does not require something special. Just create the project, add the Struts jars to it (do not forget the build path) and go. If you want to have integrated debugging with Tomcat you can us

AW: Struts with Eclipse 3.1

2006-05-25 Thread Martin Kindler
> particular way. > > > -Original Message- > > From: Martin Kindler [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 25, 2006 12:59 PM > > To: 'Struts Users Mailing List' > > Subject: AW: Struts with Eclipse 3.1 > > > > > > I

AW: How o display a hashtable in jsp

2006-06-26 Thread Martin Kindler
Hi Pankaj, if you use JSTL you can have a java.util.Map as the collection type you are iterating over. The only trick is that the item you operate on in each iteration is a java.util.Map.Entry, i.e. you must access its key/value accordingly. The same is true, if you are using Struts logic tags. M

AW: xhtml-mobile with Struts?

2006-06-30 Thread Martin Kindler
I do not know, if there is a tool for XHTML MP, but we have done our mobile site with ordinary Struts and a set of XHTML MP JSPs. Very easy. If you want to look: http://www.cityexperience.net/. If you do use a "normal" browser and would like to see the mobile version, start at http://www.cityexperi

AW: xhtml-mobile with Struts?

2006-06-30 Thread Martin Kindler
[mailto:[EMAIL PROTECTED] Gesendet: Freitag, 30. Juni 2006 09:33 An: [EMAIL PROTECTED] Cc: 'Struts Users Mailing List' Betreff: Re: AW: xhtml-mobile with Struts? El vie, 30 de 06 de 2006 a las 09:12, Martin Kindler escribió: I do not know, if there is a tool for XHTML MP, but we hav

Sorry wrong url (xhtml mp)

2006-06-30 Thread Martin Kindler
Sorry I posted the wrong url. If you are interested, try http://www.cityexperience.net/cxpCat/Welcome.do?ua=MOBILE Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Eclipse-Struts configuration.

2006-07-04 Thread Martin Kindler
For me Eclipse is marvelous for Struts development (Struts 1.2.x). I use the Sysdeo tomcat plugin (www.sysdeo.com) and have Struts Console from James Holmes (http://www.jamesholmes.com/struts/console/installed). The first gives you integration of Tomcat for debugging and support for the creation of

AW: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-13 Thread Martin Kindler
Do you need any of the new features in 1.2.x vs. 1.1? If not, I would wait for 1.3.x or even 2.0.x as 1.2.x is a dead end (I am developing for 1.2.x and happy with it, but if getting up-to-date is the most important reason: wait) Martin > -Ursprüngliche Nachricht- > Von: Garner Shawn [mai

AW: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-14 Thread Martin Kindler
Shawn, I do not know whether any bug fixes in the 1.2.x releases fix bugs in the 1.1.x releases. I would read the release notes of the releases newer than your currently used release. The same for security patches. And you should also check whether the problems fixed in a newer release are releva

AW: struts wml

2006-07-24 Thread Martin Kindler
Hi, why don't you use just plain jsp? WML ist just an XML application. I do not know, if there are taglibs available for creating the WML specific tags. If not, it should not be difficult to create the code without. This is the road I wanted to go, if I would ever be forced to support WML. At the

AW: [FRIDAY][OT] Slogan for Open Source

2006-07-28 Thread Martin Kindler
from wikipedia: "idiot is a word derived from the Greek ιδιωτης, idiōtēs ("layman," "person lacking professional skill," "a private citizen," "individual") ... It was originally used in ancient Greek city-states to refer to people who were overly concerned with their own self-interest and ignor

AW: Problem with message property files in russian language

2006-07-31 Thread Martin Kindler
Hi Dmitry as far as I know the Java properties files must be in ASCII code. (so much to the Unicode support in Java :-)). I had the same problem (well I tried to use UTF-8 in the properties file). After changing to the \uxxx codes it worked. Martin > -Ursprüngliche Nachricht- > Von: Dmi

AW: Model 3?

2006-09-06 Thread Martin Kindler
Hi Artem, this is an interesting question. Some years ago I was involved in the design of a system which used a XML and XSLT to translate the content to various output formats (not only XML-based). It was an elegant solution but also a hard way to go. I have been developing a multiclient site for

AW: Model 3?

2006-09-06 Thread Martin Kindler
Michael, > What about translets? The work has to be done somewhere, so it takes time. Perhaps translets play in the same league as JSP compilers? > But the gain of different (and more convenient for some) programming model may overweight extra effort. Sure. Although I do not see so much of a diff

Action output in new window without menu/toolbar

2006-09-20 Thread Martin Kindler
Hi I am using Struts 1.2.x and try to achieve the following: on a page I have a form whose action calls a Struts action. The result shall be displayed in a new window. No problem so far. But: The new window should have no menu- and toolbar. Is this possible? and if, how? Martin ---

AW: Action output in new window without menu/toolbar

2006-09-20 Thread Martin Kindler
ut menu/toolbar > > > Martin Kindler wrote: > > >Hi > > > >I am using Struts 1.2.x and try to achieve the following: > >on a page I have a form whose action calls a Struts action. > The result > >shall be displayed in a new window. No problem so

AW: AW: Action output in new window without menu/toolbar

2006-09-20 Thread Martin Kindler
Re: AW: Action output in new window without menu/toolbar > > > Martin Kindler wrote: > > >Thanks, > >but how do I use it with a form? > > > >I have in my html-code > > > > > >Martin > > > > > > > >>-Ursp

AW: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Martin Kindler
I am not really a Java Guru, but have made the experience that in effect the name "Bean" is - in the context of Struts-based Webapps - really nothing more than a POJO following the naming conventions of JavaBeans for getters/setters. With respect to the "middle layer", it really pays off to separa

AW: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Martin Kindler
> First, I am going to design a database, then build a bunch of > beans that > more or less represent the data in the database by going > mostly one bean > for each table. There will likely be a few cases where one bean will > represent two tables (1:n relationship, where the attributes in the > '

AW: FRIDAY #1 JavaBeans/Model

2006-10-07 Thread Martin Kindler
eived this communication in error and that any review, > disclosure, dissemination, distribution or copying of it or its > conte > - Original Message - > From: "Martin Kindler" <[EMAIL PROTECTED]> > To: > Sent: Friday, October 06, 2006 10:43 AM >

AW: Java mail

2006-10-14 Thread Martin Kindler
That depends on what your needs are. For just sending mails mail.jar from the JavaMail distribution (http://java.sun.com/products/javamail) should be sufficient. If you also want to receive mails you need additional jars from that distribution. Martin > -Ursprüngliche Nachricht- > Von: Ra

AW: display only mode using struts tags

2006-10-20 Thread Martin Kindler
I do not see any sensible way to do it without changing the JSPs. The user must see somehow that the fields are readonly and this must be done in the frontend. You could of course just choose to not evaluate the ActionForm in the "readonly"-case, but this would be not very user-friendly. But the S

AW: Is the Struts Project Still Going On?

2006-11-27 Thread Martin Kindler
Caroline, why do you ask? I am no insider of the project, but as far as I can see there are many activities going on: v 1.3.x (in the strain of old "Struts Action") being developed, v2.x coming soon (the merge with WebWorks), and Shale (the JSF variant) being developed in parallel. For me there ar