RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-23 Thread Frans Thamura
we use resteasy also here but we still develop with html output result to html from action with rest url naming resteasy is different approach, output only json. we use the same Service for both. and want a smiliar url for rest On Aug 24, 2012 9:22 AM, "Martin Gainty" wrote: > > Frans > > gr

RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-23 Thread Martin Gainty
Frans grab what you need from https://resteasy.svn.sourceforge.net/svnroot/resteasy/trunk/jaxrs cd jaxrs-api mvn -e -X compile mvn -e -X package mvn -e -X install:install-file mvn -e -X deploy:deploy-file add the dependency to your dependencies list org.jboss.resteasy jaxrs-api 2.3

Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-23 Thread Frans Thamura
any idea to use resteasy with s2? esp to use the url pattern of rest (blabla/blabla) with Action On Aug 23, 2012 12:53 PM, "Lukasz Lenart" wrote: > But I think you can always use RESTeasy and get the same value without > needs for custom plugin. I don't see a point to have another JAX-RS > imple

Re: Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-23 Thread CyberCom
On Thursday 23 August 2012 14:33:14 Davis, Chad wrote: > > > class="org.easymock.EasyMock" > > factory-method="createStrictMock"> > > > > > > > > > > How do you control the correct injections for the various deployments? Do > you automate that with the build? Scripted? I use these

RE: Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-23 Thread Davis, Chad
> class="org.easymock.EasyMock" > factory-method="createStrictMock"> > > > How do you control the correct injections for the various deployments? Do you automate that with the build? Scripted? - To unsubscribe,

RE: Injecting Static/Mock Resources into my Struts 2 Actions

2012-08-23 Thread Davis, Chad
> I do this all the time. Then I'm not crazy ;) > > Not sure what experiences you're looking for; if the data is _very_ complex it > may be easier to just embed a DB and load it up with DBUnit or something > like that. > It's not the data that's complex so much as the whole distributed syste

RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-23 Thread Martin Gainty
JBoss or Tomcat? Martin __ ..place longwinded disclaimer here... > From: jmoc...@velti.com > To: user@struts.apache.org > Subject: Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins > Date: Thu, 23 Aug 2012 18:06:24 + > > �I agree, don't quite unders

Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-23 Thread Joseph Mocker
I agree, don't quite understand when you could use RESTeasy or Jersey in conjunction with Struts in the same web app. I had written previously that we have a Jersey + Struts2 app running nicely. --joe Joseph Mocker | Velti | Senior Software Architect t +1.650.566.7033 m +1.408.676.

Re: sample struts JSP for dependency validation among user input fields..

2012-08-23 Thread Dave Newton
Validators aren't intended to prevent values from being changed, and it doesn't do anything for the UI side--why allow a field to be changed if it's not legally changeable? Dave On Thu, Aug 23, 2012 at 10:28 AM, al so wrote: > alternatively, how about using > com.opensymphony.xwork2.validator.v

Re: sample struts JSP for dependency validation among user input fields..

2012-08-23 Thread al so
alternatively, how about using com.opensymphony.xwork2.validator.validators? On Thu, Aug 23, 2012 at 7:05 AM, Dave Newton wrote: > This would be all via JavaScript. > > There's no tag library that would do this declaratively, out of the box. > The JavaScript would be standard JavaScript, example

Re: sample struts JSP for dependency validation among user input fields..

2012-08-23 Thread Dave Newton
This would be all via JavaScript. There's no tag library that would do this declaratively, out of the box. The JavaScript would be standard JavaScript, examples of things like this abound. Dave On Thu, Aug 23, 2012 at 10:01 AM, al so wrote: > Assuming one wants to build a simple UI with follow