Struts 2 Browser Caching

2010-06-14 Thread RogerV
Hi While building the functionality of my web-app served up by Apache Tomcat, I use meta http-equiv=expires content=0 meta http-equiv=cache-control content=no-cache meta http-equiv=pragma content=no-cache in all my pages to ensure that requests to the pages with dynamic content (most

RE: Struts 2 Browser Caching

2010-06-14 Thread James Cook
I two would like to hear about solutions to this, after a quick Google, I found most people have it the other way with their JS files being cached and not reflecting there changes. How are you constructing your url's for the resources Roger? Do they end up with a dynamic element in them, that

[Struts 2.1.8.1 and JBoss 6.0.0 M3] cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'

2010-06-14 Thread Celinio Fernandes
Hi, I already had this error in the past (with Struts 2.1.8 and Jboss 6.0.0 M1). And I know there is a JIRA issue about it : https://issues.apache.org/jira/browse/WW-3299 And I already asked about this error in the past. I fixed it by extracting the struts-tag.tld file from the library

RE: Struts 2 Browser Caching

2010-06-14 Thread RogerV
James Cook-13 wrote: I two would like to hear about solutions to this, after a quick Google, I found most people have it the other way with their JS files being cached and not reflecting there changes. I think that either I haven't explained clearly or we're misunderstanding each other

RE: Struts 2 Browser Caching

2010-06-14 Thread James Cook
Nope, no misunderstanding. All I was saying was that people seem to experience the opposite to what you are experiencing. Like you said, they have what you want... -Original Message- From: RogerV [mailto:roger.var...@googlemail.com] Sent: 14 June 2010 11:52 To: user@struts.apache.org

RE: Struts 2 Browser Caching

2010-06-14 Thread RogerV
James Cook-13 wrote: Nope, no misunderstanding. All I was saying was that people seem to experience the opposite to what you are experiencing. Like you said, they have what you want... I don't suppose that you happen to have one of your google searches to hand do you? I'm obviously

RE: Struts 2 Browser Caching

2010-06-14 Thread James Cook
Unfortunately they don't say how they managed it, it is mostly people complaining that when they change their JS file, without modification to the url that accesses the resource the user would have to ctrl+f5 it... Sorry :( -Original Message- From: RogerV

Re: tag attributes evaluation

2010-06-14 Thread Dale Newfield
On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriate. -Dale

Re: tag attributes evaluation

2010-06-14 Thread Emi Lu
On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are

Re: tag attributes evaluation

2010-06-14 Thread Dale Newfield
On 6/14/10 4:25 PM, Emi Lu wrote: On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the

RE: tag attributes evaluation

2010-06-14 Thread Martin Gainty
admittedly the doc isnt perfect but i should point out.. the available docs are ALOT more comprehensive and ALOT easier to navigate than many apache sites.. that said since you have all the build scripts you *have* the ability to create your own javadocs and post them..just remember to put

Re: tag attributes evaluation

2010-06-14 Thread Lukasz Lenart
2010/6/13 Oleg Mikheev mi...@bigfoot.com: Guys, It took me some quite some time to understand how to pass a dynamic value to a textfield label. It appeared that I needed to use this strange notation: %{#var} like this: c:set var=ro value=qwe scope=request/ s:textfield name=username