Re: validation and action names with slashes

2008-06-22 Thread Roberto Nunnari
Hi Martin. I must admit that I have not thought about it at all, but I'll try here to come up with something, and to tell you how I use tiles. I usually end up with a moderate long struts.xml a *very long* tiles.xml (maybe that's not the best way to use tiles, but it's the way I use it.

Re: validation and action names with slashes

2008-06-22 Thread Jeromy Evans
Roberto Nunnari wrote: Maybe the convention plugin should look into the tiles.xml file, or check to see if the tiles plugin or tiles listener are in the game.. Most probably, the definition names in tiles.xml should follow the conventions, so that definition name=auctionView.. becomes

Using Struts2 Template

2008-06-22 Thread Doug Pham
Hi All, Do I have to include anything special to use the Freemarker templates? Thanks, Doug

Re: [OT] What slows you down?

2008-06-22 Thread Dave Newton
--- On Sat, 6/21/08, Jeromy Evans wrote: Internet Explorer +1 What a pile. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] What slows you down?

2008-06-22 Thread Antonio Petrelli
2008/6/22 Jeromy Evans [EMAIL PROTECTED]: Internet Explorer Ok let's start a flame war: Windows, Websphere, RAD :-D Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using Struts2 Template

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Doug Pham [EMAIL PROTECTED] wrote: Do I have to include anything special to use the Freemarker templates? The FreeMarker templates? Do you mean FreeMarker results? If so, no. If not, not sure what you mean. Dave

Struts Themes Problem - help

2008-06-22 Thread Narayana S
Hi, i am new to struts 2, developed sample application that is using resource bundle, i could configure application and labels are perfectly displayed with the values retrived from the resource bundle. The problem is here struts 2 is applying it's own styles to my page, i want to give my

Re: Struts Themes Problem - help

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Narayana S [EMAIL PROTECTED] wrote: The problem is here struts 2 is applying it's own styles to my page, i want to give my own styles instead of using struts default styles, The easiest answer is to just supply your own CSS styles. You can also extend an existing, or

Re: [OT] What slows you down?

2008-06-22 Thread Martin
Greg- RhinoScript only works with JS files (not ftl or jsp) Your Best option is to configure in jspc task thru ant using the compiler option http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html a must have for the build engineer who will want to assure clean jsp pages before deploying

Re: [OT] What slows you down?

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Martin [EMAIL PROTECTED] wrote: RhinoScript only works with JS files (not ftl or jsp) RhinoScript? I must have gotten a truncated version of Greg's post; I didn't see anything about JavaScript at all. Dave Your Best option is to configure in jspc task thru ant using

Re: Using Struts2 Template

2008-06-22 Thread Doug Pham
Dave, Do you have to add anything to the web.xml file or what libraries to include.  If I am using Sitemesh, anything different I have to do? Doug Pham --- On Sun, 6/22/08, Dave Newton [EMAIL PROTECTED] wrote: From: Dave Newton [EMAIL PROTECTED] Subject: Re: Using Struts2 Template To:

Validation

2008-06-22 Thread Doug Pham
I have an action that have multiple methods that I mapped to.  Only one action that I need validation for, the rest I don't need.  Where can I get information to set this up or how do I set it up using the XML file? Thanks, Doug

Re: Using Struts2 Template

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Doug Pham [EMAIL PROTECTED] wrote: Do you have to add anything to the web.xml file or what libraries to include. I still don't know what templates you're talking about, so I don't know. S2 is already dependent on FreeMarker; you don't need to do anything special other

Re: Validation

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Doug Pham [EMAIL PROTECTED] wrote: I have an action that have multiple methods that I mapped to.  Only one action that I need validation for, the rest I don't need.  Where can I get information to set this up or how do I set it up using the XML file?

Anyone know what happened to ArcTechSoftware?

2008-06-22 Thread stanlick
I am trying to reach David Gorrell and can't get any response. Also, his site is down and I am worried something might have happened to him. You may know him as the guy who was selling the complete Struts 2 Tutorial. If anyone has any information, I would appreciate it. I got to know him over

Re: Rest plugin and binary data

2008-06-22 Thread Mike Watson
Hi Jeromy, Thanks for the response, that's really helpful. Could you possibly provide a little bit more detail though as I haven't been able to get this working yet. This might seem like a stupid question, but in your code snippet below where you have: // create the stream Where does the output

[S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Pierre Thibaudeau
I would love to get to the bottom of a problem that has cropped up a number of times on this list: * On April 29, 2008, I reported that XmlConfigurationProvider was trying to access the internet. (At the time, I thought the problem might be due to an incompatibility with a specific version of

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Chris Pratt
When validating the XML files, the system has to load the DTD's or XSD's that are housed at apache.org and opensymphony.org. There's probably a way to disable the XML validation of those files, I haven't had the need to look for it yet. (*Chris*) On Sun, Jun 22, 2008 at 7:36 PM, Pierre

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Pierre Thibaudeau
Thanks, Chris, for the info! It doesn't make sense to me that the DTD's should be compared to the ones stored remotely (rather than locally), but at least it explains why the system fails to start up when the internet is unavailable! May I suggest to the Powers That Be that this should be made

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Wendy Smoak
On Sun, Jun 22, 2008 at 7:53 PM, Chris Pratt [EMAIL PROTECTED] wrote: When validating the XML files, the system has to load the DTD's or XSD's that are housed at apache.org and opensymphony.org. There's probably a way to disable the XML validation of those files, I haven't had the need to

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Pierre Thibaudeau
Hello Wendy, As far as I know, the DTDs definitely are on the classpath. At least, Eclipse considers they are. (It's easy to check: if I modify the header of the DTD by (say) changing the DTD's version number, Eclipse gives a warning that it cannot anymore find the corresponding mock DTD on the

Re: Struts Themes Problem - help

2008-06-22 Thread Narayana S
Hi Dave, thanks for your reply, but when i use simple theme, my application is not getting any values from resource bundle.. will this problem be solved by extending theme ? can you provide any best link to extend a theme if it is the solution... ? On Sun, Jun 22, 2008 at 8:25 PM, Dave

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Pierre Thibaudeau
As a matter of fact, the DTD for struts.xml that corresponds to http://struts.apache.org/dtds/struts-2.0.dtd; is found inside struts2-core-2.1.2.jar which IS on the classpath. 2008/6/22 Pierre Thibaudeau [EMAIL PROTECTED]: As far as I know, the DTDs definitely are on the classpath. At least,

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-06-22 Thread Chris Pratt
If you look at the !DOCTYPE of the struts.xml file it explicitly states that the location of the DTD is http://struts.apache.org/dtds/struts-2.0.dtd. Since there is no way to put something like this on the CLASSPATH, the only way I know of to stop the XML libraries from loading this DTD remotely