Hi Björn,
I think it is general problem with naming attributes in local languages.
Best practice for Java (and other programming languages) is use only
some characters (that means a - z, numbers and underscore).
Why didnt use for attribute "stra*ß*e" its equivalent like "strasse"? It
saves y
Why don't use Struts tag s:date for date formatting?
in Action:
public GregorianCalendar getMyDate() {
return new GregorianCalendar();
}
in jsp:
Michal
Hi all,
i do it like that:
in my POJO GregorianCalendar field,
on my jsp text field + jquery calendar.
If You want to create date i
In that case you must use own converter like this:
public class DateTimeConverter extends StrutsTypeConverter {
@Override
public Object convertFromString(Map context, String[] values,
Class toClass) {
try {
return DateUtil.getConvertedDate(values[0],
DateUt
Hi Ryan,
for getting translated text as label of select tag (and other tags) use
"key" attribute. Usage is same as .
Best regards,
Michal
Ryan Beckes wrote on 28.7.2010 20:16:
Hi All,
I'm working my way through properties and I'm kind of stuck. I have a
properties file (package.propertie
Hi Franz,
you can use tag for text
translation (where "title" is name of your variable).
Best regards,
Michal
Franz Wong wrote on 9.8.2010 5:14:
Hi group,
In the jsp page, I have a page scope variable "title". This variable stores
the key of the resource bundle. I can print the value by
Hi,
in class CountryAction you need assign retreived values from database to
countryList attribute, not list (you have in jsp ... list="countryList"
...).
vinodh r wrote on 27.8.2010 7:04:
Hi,I cant load Select box dynamically. I am new to struts2, but i can do it
statically in action page
eply.
Thanks in advance.
Vinodh .R--- On Fri, 8/27/10, Michal Ciasnocha wrote:
From: Michal Ciasnocha
Subject: Re: I cant load Select Box dynamically
To: "Struts Users Mailing List"
Date: Friday, August 27, 2010, 3:14 AM
Hi,
in class CountryAction you need assign retreived value
Check this, it can help you
http://struts.apache.org/2.1.8/docs/strutsxml-examples.html
Satheesh Kannan A B wrote on 2.9.2010 16:50:
Hi,
I think it's a existing and resolved issues in struts 2.1.8, since I have
googled and searched here but am not able to resolve this.
Currently am config
Hi Greg,
I use in my code @SkipValidation annotation for method which I don't
want to validate. For me it is easier than use interceptors.
@SkipValidation
public String cancel() {
return SUCCESS;
}
The second part - redirect - I hope is correct.
Regards, Michal.
Greg Akins wrote on 9.1
Hi,
the problem of validation through annotations is they are applied every
time the action is called. You can try use method which you call from
your form. For example, if you want to validate only execute method,
write your own method with name validateExecute(). The principle is same
for a
Hi Massimo,
it might be similar problem with combination JPA and GWT. Read something
about this on google code
http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
(section Why Hibernate Objects ...). One solution is use own Data
Transfer Objects.
Regards,
Michal
Mass
11 matches
Mail list logo