Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Did you change the form definition to enctype=multipart/form-data yet? Yes, that is set correctly. Here's what it renders as HTML: form name=pollForm method=post action=/mafo2-dev/editPollSubmit.do enctype=multipart/form-data id=theForm Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
. Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID 808F4A8E * Encrypted Messages Preferred | Peace comes not from an absence of strife and conflict, but from| | our ability to cope with it. - Unknown

File Upload and DynaActionForm?

2004-02-17 Thread Carl-Eric Menzel
the following from the tile: [ServletException in:/pages/editor/editPoll.jsp] No getter method for property tickets of bean org.apache.struts.taglib.html.BEAN' Any ideas on what I might be doing wrong? Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID 808F4A8E * Encrypted Messages Preferred

Passing Objects to a Tiles Context, Tiles-EL

2003-11-23 Thread Carl-Eric Menzel
Hello, I have two questions. First, is it possible to pass an object from one tile to another (with tiles:insert and tiles:put)? So far I have only managed to pass strings, but it would really be useful to pass an object reference that the inserted tile could work on. Second, is there a way to

Getting Messages in an Action?

2003-09-16 Thread Carl-Eric Menzel
Hello, is it possible to retrieve a message from the application resources (like bean:message key=.../) inside an Action? How can I get to the current localized messages? Thanks Carl-Eric - To unsubscribe, e-mail: [EMAIL

Re[2]: Getting Messages in an Action?

2003-09-16 Thread Carl-Eric Menzel
MessageResources resources = getResources(request); java.util.Locale locale = getLocale(request); String yourString = resources.getMessage(locale, yourString); Duh. I should read the docs more carefully (and sleep more, probably). Thank you! Carl-Eric

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
On Wed, 27 Aug 2003 21:55:36 -0400, Bill Chmura wrote: If you are using the Sysdeo plug in for tomcat, you *should* be able to set a breakpoint in the jsp-java code in the work directory. Its not like debugging an actual JSP, but it could help. I will try and figure that out today. In the

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
An interesting update: I played around a bit with my tiles-defs. When I change the tiles-defs to this: --- tiles-definitions definition name=.editor.master.layout page=/pages/editor/master/layout.jsp put name=title value=empty/ put name=menu

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
On Thu, 28 Aug 2003 17:53:43 +0300, Cameron Hickey wrote: I don't have enough time right now to review the docs to figure out what the difference is with the usages of these two tags, but I don't have a problem using the get instead of the put at all. I'll have a look at that, thanks. Also,

Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
Hello, I have the following problem with Struts1.1 and the included Tiles package. I have a master definition, which I want to extend for the other pages. Now the problem is that the sub-tiles' content doesn't get inserted, and the content of the master tile is cut off. Here is how I do it

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
Oops, a typo. The tiles-defs should be changed thus: definition name=.editor.login extends=.editor.master.layout put name=title value=editor.login.title/ put name=editArea value=/pages/editor/master/empty.jsp/

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
Can you post some more info on the version of struts and the container. Sure: My app is running on a Debian woody system, using Java 1.3.1 (Blackdown-1.3.1-02b-FCS) and the Debian-packaged Tomcat 4.0.4-4. The Struts and Tiles files are the ones right out of the jakarta-struts-1.1.zip on

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
On Wed, 27 Aug 2003 19:52:33 +0200, Carl-Eric Menzel wrote: My app is running on a Debian woody system, using Java 1.3.1 (Blackdown-1.3.1-02b-FCS) and the Debian-packaged Tomcat 4.0.4-4. The Struts and Tiles files are the ones right out of the jakarta-struts-1.1.zip on the Jakarta site