Encoding of french characters in s:property /

2010-03-11 Thread Ulf Liedén
Hi all, my first post to this list :-). I'm using Struts 2.1.6 and want to display a string that contains both HTML markup as well as french characters (i.e. é è ê etc) on a webpage. If I use s:property value=%{document.text} escape=true/ the french characters are correctly displayed, but the

Encoding of french characters in s:property /

2010-03-11 Thread Ulf Liedén
Hi all, my first post to this list :-). Sorry if I'm double posting, not sure if the first message reached the list. I'm using Struts 2.1.6 and want to display a string that contains both HTML markup as well as french characters (i.e. é è ê etc) on a webpage. If I use s:property

optiontransferselect and cssStyle

2010-03-11 Thread David Crespo Arroyo
Hi all, I want don't display the red area in my view (http://imagebin.ca/view/j6G3MClp.html) until I do click in a select of this view. My problem is I don't know how to don't show the red area, certainly it is a optiontransferselect. I tried it with:

Re: Encoding of french characters in s:property /

2010-03-11 Thread Alex Rodriguez Lopez
Hi Ulf, do you have your charset declared as utf8 like this? %@ page contentType=text/html; charset=UTF-8% Maybe you have to write the special characters in the string as html entities... Em 11-03-2010 09:10, Ulf Liedén escreveu: Hi all, my first post to this list :-). Sorry if I'm double

Re: Encoding of french characters in s:property /

2010-03-11 Thread Ulf Liedén
Hi Alex, I had characterset set to ISO-8859-1, but changing to UTF-8, according to your suggestion, did the trick! Thanks a lot! Cheers! On Thu, Mar 11, 2010 at 1:00 PM, Alex Rodriguez Lopez alo...@flordeutopia.pt wrote: Hi Ulf, do you have your charset declared as utf8 like this? %@

Re: Catching url for action not defined

2010-03-11 Thread Brian Thompson
Wildcard mapping should do the trick. See [1]. -Brian [1] - http://struts.apache.org/2.0.14/docs/action-configuration.html#ActionConfiguration-WildcardMethod On Thu, Mar 11, 2010 at 1:39 AM, Saeed Iqbal saee...@gmail.com wrote: Hi Guys How would I do http://localhost/some_name where

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-11 Thread Oscar Calderon
Sorry, i had a problem so i can't answer. The Struts version is 2.0.11 El 3/10/2010 11:58 AM, Lukasz Lenart escribió: 2010/3/10 Oscaroscar.kalde...@gmail.com: I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application):

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-11 Thread Lukasz Lenart
2010/3/11 Oscar Calderon oscar.kalde...@gmail.com: Sorry, i had a problem so i can't answer. The Struts version is 2.0.11 No problem, but I think you have to upgrade to latest version - 2.1.8.1 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: How to deploy struts on tomcat

2010-03-11 Thread Paweł Wielgus
Hi Abhishek, normaly just copying and pasting war should work on tomcat, i can't remeber if tomcat needs to be restarted or it will discover the war automaticaly - check the tomcat server.xml for that. War is a standard, it doesn't matter if it contains struts or spring application inside. As for

Struts2 Dojo Date Picker Locales

2010-03-11 Thread CRANFORD, CHRIS
We have an application where a user can override the language they login using by selecting it from a dropdown list on the login page. By doing so, I need to find a way that I can set the locale for my date time picker widget. How have others done this in the past when the browser's language and

Re: About the better way to implement a JSP in read/edit mode

2010-03-11 Thread Paweł Wielgus
Hi all, no one's right. One file need more presentation logic - which is bad and harder to maintain also presenting edit and view in one place might not be the most ergonomic way for users. On the other hand, one file is less than two which might be good. Also with one file you will never forget

Re: optiontransferselect and cssStyle

2010-03-11 Thread Dale Newfield
David Crespo Arroyo wrote: I want don't display the red area in my view (http://imagebin.ca/view/j6G3MClp.html) until I do click in a select of this view. So put that inside a span or div with display:none, and add javascript to change that when appropriate. -Dale

Re: About the better way to implement a JSP in read/edit mode

2010-03-11 Thread Frederik Minatchy
After having read several answers I think your right... it depends mainly on the peoples working on the project. If they are abble to implement the same kind of JSP. Regards Fred --- En date de : Jeu 11.3.10, Paweł Wielgus poulw...@gmail.com a écrit : De: Paweł Wielgus poulw...@gmail.com

Re: How to deploy struts on tomcat

2010-03-11 Thread Girish Naik
I think that for local dev -deployment we can configure tomcat in eclipse (the same should apply for MyEclipse), by telling the eclipse tomcat home location in the workspace preference. This would deploy ur app in the tomcat as context / xml files as u mention in preference. But for QA, prod or

Re: About the better way to implement a JSP in read/edit mode

2010-03-11 Thread Angelo zerr
Hi, IHMO I think the best solution is ONE JSP to manage any mode. When you have a lot of fields, it's very difficult to maintain your view. When you add/remove field into EDIT JSP you must add/remove filed into CREATE JSP, UPDATE JSP,...Imagine that you want manage roles too (display a field if

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-11 Thread Oscar Calderon
Ok, i'm going to do that and after that tell us if works. Regards. El 3/11/2010 8:52 AM, Lukasz Lenart escribió: No problem, but I think you have to upgrade to latest version - 2.1.8.1 -- Oscar Calderon JAVA Tutorials and How to's? Visit http://www.javahowto.net/

Locale based Type handler

2010-03-11 Thread Sundar Sankar
Hi I use Struts 2.0.11 for my web application. I have a text field that maps to a java.util.date in my pojo. When my Locale is English, the date seems to be set fine, But when my locale is es_CL, struts seems to be searching for a setDate(java.lang.String) instead. Am not sure why this is

struts-layout.tld

2010-03-11 Thread Yang, Senshan
Hi, Where to download struts-layout.tld? I searched many sites, but could not find it. Please help. Thanks, Senshan Yang Phone (o): 239-430-4151 Phone (c): 954-478-3927 email:sy...@micros.com