how to access new javascript struts2 templates/xhtml/validation.js

2008-07-06 Thread webdev2
Validation.js is available in the struts core jar file. There was a fix in Aug 2007 that I would like to have working. I have the download, and I think I have found the patch too. Now how do I apply the update so that my project uses the fix, and not the file currently in the core jar? Than

Struts2 taglib problem

2008-07-06 Thread Chris Miles
Hi folks. I have an EAR which contains my web app, and a business layer JAR, and my struts JARs (all added by maven). I reference struts both in the business app JAR and also in my web app WAR, so I have added the struts dependencies into the EAR's lib directory. Every deploys ok to JBoss, bu

Re: REST plugin URL syntax

2008-07-06 Thread Mike Watson
The trick (I believe) is that the url should be parsed from right to left, not left to right. I don't think it's a hijack; for the application I'm working on context is very important so knowing that a given resource is being accessed in the context of another resource has a big part to play in dic

Re: [S2] Checking current month using struts 2 tags

2008-07-06 Thread Roger
On Sunday 06 July 2008 04:25:45 dusty wrote: > > <% > Calendar cal = Calendar.getInstance(); > cal.setTime(new Date()); > int monthNow = cal.get(Calendar.MONTH); > cal.setTime(date); //fruit.getDate() > int monthFruit = cal.get(Calendar.MONTH); > if(monthNow == monthFruit){ > %> > de

Re: Firefox 3 and render issues

2008-07-06 Thread Kibo
Hi I have the same problem in my office on localhost domain. I dont know to solve it, but when I deploy the project in us product server and call the pages from normal internet adress: http://www.usserver.cz, Pages work correct. tomas jurman thogau wrote: > > I noticed this problem and it s

Re: [S2] Checking current month using struts 2 tags

2008-07-06 Thread dusty
Yes. Milan Milanovic wrote: > > O.K. Thank you. > > Should getExpired() method return boolean ? > > -- > Thx, Milan > > > dusty wrote: >> >> >> <% >> Calendar cal = Calendar.getInstance(); >> cal.setTime(new Date()); >> int monthNow = cal.get(Calendar.MONTH); >> cal.setTime(date);

Re: [S2] Checking current month using struts 2 tags

2008-07-06 Thread Milan Milanovic
O.K. Thank you. Should getExpired() method return boolean ? -- Thx, Milan dusty wrote: > > > <% > Calendar cal = Calendar.getInstance(); > cal.setTime(new Date()); > int monthNow = cal.get(Calendar.MONTH); > cal.setTime(date); //fruit.getDate() > int monthFruit = cal.get(Calendar.M

[Semi-OT] Loading resources/files with wildcards

2008-07-06 Thread Antonio Petrelli
Hi all, I would like to know if in S1 or in S2 there is a mechanism to load resources (from classpath) and/or files using wildcards. I really would like to use it inside Tiles. I noticed that there such a mechanism in Spring: http://static.springframework.org/spring/docs/2.5.x/api/org/springframewo

Re: [S2] Preserving messages across a Redirect in Struts 2

2008-07-06 Thread Chris Pratt
Greg, great work, I'd love to see that replace the store interceptor, I think it's a lot clearer and easier to use. For that matter it could be put in the default stack since it doesn't require any parameters to make it work. Thanks for the post. (*Chris*) On Wed, Jul 2, 2008 at 12:29 PM, Greg

Re: Firefox 3 and render issues

2008-07-06 Thread thogau
I noticed this problem and it seems to happen more often for tags and when the network speed is high. I got it more than 20% when I load pages from my home but in my company, the network speed sucks and I can't reproduce it... weird... - http://conticabase.org thogau -- View this message