Re: [S2] Action tag along with param tag

2007-12-29 Thread Laurie Harper
Justin Frost wrote: Am I writing this correctly? maxlength="20" /> My FillSelectBoxes action only does work in the preparable method. And there is a private String myString and private LocationDTO location in this action. I only implemen

Re: Display tag and target div

2007-12-29 Thread Raghuveer Rawat
Hi, Looks like this issue can be resolve with s:div tags listenTopics like below.. But how should I publish this topic for my DisplayTag Table... Any thought..If someone has resolve this issue then please let me know..how? Thanks Raghu On 12/27/07, Raghuveer Rawat <[EMAIL PROTECTED

RE: Character encoding problems with Struts 2 and Freemarker or Velocity

2007-12-29 Thread Martin Gainty
http://www.opensymphony.com/webwork/wikidocs/WebWork%20Freemarker%20Support.html default-encoding needs to be set to ISO-8859-1 in freemarker.properties more specifically: default_encoding=ISO-8859-1 template_update_delay=5 locale=no_NO HTHMartin__Dis

RE: form submission doesn't work with ajax theme

2007-12-29 Thread Martin Gainty
JVM? TC version? Struts version? implemented DWR? pleas display servlet configurationalso it would be helpful to see contents of dwr.xml display the contents of JS functions available athttp://localhost:8080/[YOUR-WEBAPP]/dwr/ This troubleshhooting page may help somewhat with possible environm

Character encoding problems with Struts 2 and Freemarker or Velocity

2007-12-29 Thread Jonny Cavell
I am setting default_encoding=UTF-8 in freemarker.properties, and leaving the struts encoding in default.properties untouched (i.e. struts.i18n.encoding=UTF-8). When I use a struts action to forward to a test page with Spanish text, without specifying the type (thus defaulting to jsp), it outputs

Re: OGNL and action property

2007-12-29 Thread stanlick
I think this is a cleaner way to do this. Scott Stanlick

form submission doesn't work with ajax theme

2007-12-29 Thread Jeancarlo
Hello, I'm using struts version 2.0.11 and dwr. The field validation and form submission and everything work fine (I'm using the tag without any parameters). It did work until I wanted to use the autocomplete struts tag. To use that I need to add theme="ajax" in the s:head tag, right? However, wh

Re: Global Values and the Value Stack

2007-12-29 Thread Chris Pratt
On Dec 28, 2007 8:56 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > Just out of curiosity, why wouldn't you just put them in the application > context? > They're not global to the application. (*Chris*) - To unsubscribe, e-mail:

Internationalization - identification of client request by request header - accept-language ??

2007-12-29 Thread Raghuveer
How the struts framework does identifies the client language and there by uses the Message Resources for Internationalization.. request.getHeader("accept-language") is giving the string as below accept-language-pl,en-us;q=0.7,de;q=0.3 I need to identify if my request is from polish /E