Hello all,
I have a List collection that I am displaying in an
and it is working great. The problem is that my
jsp page makes changes to that control via
javascript (adds new options, removes, etc). I would like these
changes to be saved back to the ActionForm, preferrably to the same
collecti
Parameters that aren't bound to an action property can be tricky... I
would try some of the following to see if you can figure out what's
going on ->
-Wes
On Mon, Mar 15, 2010 at 2:45 PM, Kusuma Haranath Atmakuri
wrote:
> By the way, I am using Struts 2.1.8.1. Actually it was a WebWork app a
By the way, I am using Struts 2.1.8.1. Actually it was a WebWork app and
converting that into Struts2. Referring a parameter was so easy in ww with just
'$paramName'. It's weird that I am stuck at such a simple thing. Any light on
this would be of great help.
Thank you!
___
It seems that the patch mentioned in WW-3296 would fix my problem,
however it lists:
sitemesh-freemarker
org.apache.struts2.sitemesh.FreemarkerDecoratorServlet
default_encoding
UTF-8
1
But that class doesn't exist in the 2.1.8.1 r
I am not decorating JSP with freemarker decorators, I am decorating
JSP with JSP, but I use the following filter -
sitemesh
com.opensymphony.sitemesh.webapp.SiteMeshFilter
The filter you are using might be buggy... I don't know if it has seen
any attention in a while. I
All of the code is listed in the stackoverflow question.
I'm using:
Struts 2.1.8.1
Struts-Sitemesh Plugin 2.1.8.1
Sitemesh 2.4.2
Freemarker 2.3.15
Currently, I just have a single index.action that returns index.jsp
which is decorated with a single main.ftl file.
The jsp just has the simplest
We'll probably need a little more info. In particular, I'd like to
know is which versions of struts, sitemesh and freemarker you are
using. Also, how do you have the various filters configured in your
struts.xml. Also, are you decorating freemarker results with
freemarker decorators?
-Wes
On Mon,
I've been working for a week now trying to get Struts2 + Sitemesh +
Freemarker to work.
I've followed many tutorials and read docs but I still can't get it to work.
Basically the decorator runs, but none of the variables get put into
scope and so I get literal ${body}, ${title} and ${head} prin
Solved, the list and name atributes of checkboxlist cannot have the same
name:
name="roles" list="roles"
this is what caused the problem.
Em 15-03-2010 13:16, Alex Rodriguez Lopez escreveu:
Hi all,
I ran into a strange error when using a checkboxlist, backed by a list
of usergroups (roles) o
I am using Struts 2.1.8.1 with the portlet plug-in, and my webapp, a
simple album database, is deployed on a tomcat 6 container.
When running this webapp stand-alone the cancel button action correctly
fires and calls the "cancelAlbum" action, but when running the same
webapp as a portlet in uPorta
Hi all,
I ran into a strange error when using a checkboxlist, backed by a list
of usergroups (roles) objects. The error shows not when the form is
displayed (it all works as expected) but when submitting the form with
the checkboxes on it. Using 2.1.8.1
Could somebody please tell me if this
Hi Manos, Lukasz,
and thanks for the replies. Setting the URIEncoding="UTF-8" in the
server.xml didn't do the trick for me, but so did an UTF8Filter in the
web.xml.
Best regards,
Ulf
On Mon, Mar 15, 2010 at 11:20 AM, Manos Batsis
wrote:
> Ulf Liedén wrote:
>
>> when my struts application receiv
Ulf Liedén wrote:
when my struts application receives form entries containing french character
(i.e. é è) they are converted to something else, like é è.
This has probably something to do with how the request is encoded. I've
tried to add
ServletActionContext.getRequest().setCharacterEncoding
Hi!
This might be related to the theme the form is using,
http://struts.apache.org/2.1.8.1/docs/themes-and-templates.html
This happened to me too, the default s2 theme adds table elements to
forms for layout, and trying to use fieldsets results in them being
rendered apart from the form elem
Hi friends,
Additional to the config file i also realized that the connection with my
server never ends when viewed on browser, i mean the status bar always says
that "Waiting for URL.",
Pl. help on the Error: Cannot get a connection, pool error Timeout waiting
for idle object,
thanks
abhish
2010/3/15 Ulf Liedén :
> to the JSP, but this doesn't help. Any suggestions?
Add encoding filter to web.xml
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
To unsubscribe, e-mail: us
Hi all,
when my struts application receives form entries containing french character
(i.e. é è) they are converted to something else, like é è.
This has probably something to do with how the request is encoded. I've
tried to add
ServletActionContext.getRequest().setCharacterEncoding("UTF-8");
17 matches
Mail list logo