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
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:
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 s:head / 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?
I think this is a cleaner way to do this.
s:hidden key=brand/
Scott Stanlick
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
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
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
Hi,
Looks like this issue can be resolve with s:div tags listenTopics like below..
s:div href=%{recMessages} theme=ajax label=Received Messages
id=1 listenTopics=/recMessagesNext
/s:div
But how should I publish this topic for my DisplayTag Table...
Any thought..If someone has resolve
Justin Frost wrote:
Am I writing this correctly?
s:form action=LocationAddNode validate=false id=LocationAddNode
name=LocationAddNode
s:textfield name=locationNode.location.id label=Location Id
maxlength=20 /
s:action name=FillSelectBoxes executeResult=true
s:param
9 matches
Mail list logo