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
.
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
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
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
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
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
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
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
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,
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
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/
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
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
13 matches
Mail list logo