This would be the place to look for:
http://struts.apache.org/2.x/docs/i18n-interceptor.html
btw... There are some broken links at
http://struts.apache.org/2.x/docs/localization.html
Especially the link to sitemesh plugin ought to be:
http://struts.apache.org/2.x/docs/sitemesh-plugin.html
instea
Hi List,
I am new to struts2. I iterate over a list of strings. Every string in
that list is supposed to be executed by a custom tag. I tried it in many
fashions but its not working. I am only able to give over the whole list
as a string with:
How to I get the value into my custom tag?
K
Hi,
I figured it out. I used for this. Thanks.
regards
Kropp, Henning schrieb:
Hi List,
I am new to struts2. I iterate over a list of strings. Every string in
that list is supposed to be executed by a custom tag. I tried it in
many fashions but
Dale Newfield schrieb:
Kropp, Henning wrote:
I figured it out. I used for this. Thanks.
That will only work if the value you're trying to pass is a string.
It might also add whitespace to either end of that value (due to the
whitespace inside
Thank you Dale!
Dale Newfield schrieb:
Kropp, Henning wrote:
I must add that s:set printed out the string as well. I am not quit
sure if its supposed to, but it did.
I glossed over this--I wouldn't use s:set here, but rather c:set.
Neither one should print the value (are you sure you d
Hi List,
the ParameterIntercepter throws the following exception at my page:
ERROR [btpool0-1] ParametersInterceptor.setParameters(204) |
ParametersInterceptor - [setParameters]: Unexpected Exception caught
setting 'button.regi
ster' on 'class com.webapp.action.SignupAction: Error setting expr
Dale Newfield schrieb:
Jonny Cavell wrote:
So that brings me back to the original problem - getting all these Error
setting expression 'xxx' with value '[Ljava.lang.String;@19a82ee'
messages
for every single parameter that doesn't have an associated setter
method on
the action. How do I stop
Hi Sharath,
I am not quit sure, but I think it might help if you simply remove the
tag. You see dojo is already configured inside of struts
(inside the core jar and static folder or so) to be used with it's tags
http://struts.apache.org/2.x/docs/tag-reference.html . Since you are not
using a
Chen Chunwei schrieb:
Hi all,
Is there any tag can be used to display message icons? I mean icons like alert,
error, info and etc.
Talos
Appfuse has implemented it in a way I think is very nice. Might consider
to check it out.
kropp
-
Wes Wannemacher schrieb:
I've been quiet on this one, but since I finally had a breakthrough
today, I feel like talking about it :)
I started a pet project that I've been toying around in my head for a
while. As a parent, I coach a few elementary and junior high sports. It
is a volunteer thing,
Hi,
I am trying to implement a hibernate UserType for all the monetary
amounts in my application. I follow the example given in "Manning - Java
Persistence with Hibernate" Chapter 5.3 .
I am having difficulties to set and retrieve the value from a jsp due to
a lack of understanding how this is
Lukasz Lenart schrieb:
( also tried: key="bid.amount.amount" /> )
This is correct
public Monetary getAmount() { return amount; }
and Monetary beeing:
public class Monetary implements Serializable{
private final BigDecimal amount;
private final Currency currency;
public Moneta
Hi,
I am a little stuck here. A action loads a jsp into a div. For this I
use the ajax theme (dojo) and a form submit with target. Works fine. The
Problem ist, that the jsp returned by the action has javascript in it.
Its the jcalendar. Having this jsp load normally the calendar works
fine, b
--- Begin Message ---
Dear Gainty,
vielen Dank for your reply. I am very sorry but I cant supply you with a
url. What I load into the div is the following:
<%@ include file="/common/taglibs.jsp"%>
..
src="${ctx}/scripts/calendar/calendar.js">
src="${ctx}/scripts/cale
Hello,
I am trying a common scenario, where I want to dynamically create form
fields and either add or remove some fields. The fields are a List of
objects. I using the following approach described in short:
AddObjectAction:
List myObjectList;
prepare(){if == null (3x) add ... el
Hello Gainty,
thanks for your reply and effort!
I do specify the href as />. Sorry I left that out. This calls the AddObjectAction, which
populates the List of objects in the prepare method. This works greate!
But I simply cant target the div with the action in the div.
In your doc you use a
16 matches
Mail list logo