Re: Javascript CSS obfuscator and packing

2009-05-27 Thread alvins
Use packtag. David Canos wrote: Hi guys I'm looking for a plugin or a lib that packs my Javascript and CSS in everydeploy, Google gives nothing useful. if there's nothing done I would be happy to do it but I cant do it alone. -- View this message in context:

S2 + Ajax Validation + JQuery

2009-02-11 Thread alvins
Hi guys, We recently implemented the above and it is quite funky. If anyone is interested I can post some of the pieces needed. You can see some of it in action here - http://www.truelocal.com.au/secure/submissions/submission-addBusiness.do. Cheers, Alvin -- View this message in context:

Re: [S2] Plugin architecture

2008-11-18 Thread alvins
Hi Don, Can you point me over to where the Atlassian plugins source is available? Thanks, Alvin Don Brown-5 wrote: FWIW, I'm working with James to port the OSGi parts of the Atlassian Plugins framework over to Apache Archiva, which recently moved to Struts 2. We are planning on

Re: [S2] dynamic row in STRUTS2

2008-11-11 Thread alvins
You can do something similiar to the following - In your action create - ListString textFields = new ArrayListString(); In your jsp you do the following - s:textfield name=textFields[0] / s:textfield name=textFields[1] / s:textfield name=textFields[2] / etc. sivamIsha wrote: dear

Re: IDE for Tiles 2?

2008-09-28 Thread alvins
You can split up the tiles xml file. In your web.xml just list the seperate files csv style. e.g. context-param param-nameorg.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name param-value /WEB-INF/tiles.xml,

Re: Preparable influence hibernate transaction management when using OpenSessionInViewFilter

2008-09-28 Thread alvins
OSIV is never suppose to flush/commit? Gabriel Belingueres-2 wrote: I suspect that in case A) you are just creating a new POJO in memory (never linked to the Hibernate's Session), that's why the OpenSessionInViewFilter does nothing. In case B), you are loading into the Session the POJO

Re: [S2] REST Plugin + Validation

2008-09-02 Thread alvins
Thanks for the response Jeromy. I am actually already using that setting actually - I have two sets of different validations - one on the create method and one on the update method. However the problem is that when validation fails - I need an input result which is specific for each method. I

Re: [S2] RestfulActionMappers and Namespace

2008-09-02 Thread alvins
I've added comments to the REST plugin wiki - not sure if these want to get filed as Jira's? Alvin -- View this message in context: http://www.nabble.com/-S2--RestfulActionMappers-and-Namespace-tp10090004p19268677.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: [S2] REST Plugin + Validation

2008-09-02 Thread alvins
Hmm I might just have to do that. I am guessing alot of people will run into this issue with the REST plugin - might be an idea to get some annotation into conventions or rest plugin (not sure where it would go) to allow for method specific result for validation failure? How do these things get

Re: [S2] RestfulActionMappers and Namespace

2008-08-29 Thread alvins
I just tried it with latest struts and is still a problem - is there a Jira for this or maybe its been fixed and I am using it wrong? Alvin Kyle Adams wrote: Musachy Barroso wrote: Does it work with only zero conf? (no RestfulActionMapper) Yup. Works if I turn off

Re: [S2] RestfulActionMappers and Namespace

2008-08-29 Thread alvins
namespace - e.g. /v1 - you must ensure your namespace has prefixed slash i.e. /v1 otherwise it will not work. Alvin alvins wrote: I just tried it with latest struts and is still a problem - is there a Jira for this or maybe its been fixed and I am using it wrong? Alvin Kyle Adams wrote

Re: [S2] RestfulActionMappers and Namespace

2008-08-29 Thread alvins
More notes - - If you are using tiles or even jsp (I think) and have the same name folder as a namespace your rest urls will not execute the action alvins wrote: Sorry guys this has been fixed - just some notes on behavior which may help others (should maybe be added to wiki) - - If you

[S2] REST Plugin + Validation

2008-08-29 Thread alvins
Hi guys, I have been wrestling with the REST plugin for the last couple of days and have posted some notes in another thread. I have hit a problem which I need a little help with. Basically in my REST controller I have a create and update method as per the REST guidelines. I need separate

Re: S2 + REST urls

2008-08-26 Thread alvins
Hi guys, Sorry to bring up an old thread but we really should get this patched - I am testing out the latest struts with rest and this causes quite a-bit of a head-ache. I have resorted to extending Struts FilterDispatcher and putting some code to chain the request if it matches prefixes set