How do I get wibble[0][something]=blah to parse into an action?

2010-09-03 Thread Andy Chapman
I've got a 3rd party javascript tool that posts parameters like: wibble[0][something] = /babble wibble[0][foo] = 3 wibble[0][bar] = seventeen wibble[1][something] = /bloop wibble[1][foo] = 12 wibble[1][bar] = Only on Wednesdays I can't figure out how to get the ParametersInterceptor to put the

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Allen Lee
We use the paramsPrepareParams stack for this (see http://struts.apache.org/2.x/docs/interceptors.html for an example). Basically the flow is: (1) params get applied first but the primary use of this is to set the database entity ID that you want to update (2) the prepare() method is invoked, this

Re: Please reply to my e-mail

2010-09-03 Thread Vikash Singh
h On 9/3/10, Vitaly Selivanov wrote: > > I have a good news for you. I bought an apple IPAD, and the BlackBerry 9000. > Prices are amazing! > > Check Here -- Vikash Singh +91-99-60-79-3612 ---

Please reply to my e-mail

2010-09-03 Thread Vitaly Selivanov
I have a good news for you. I bought an apple IPAD, and the BlackBerry 9000. Prices are amazing! Check Here

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Rahul Mohan
Nicolas, I use the scope plugin ( https://cwiki.apache.org/S2PLUGINS/scope-plugin.html) for this. A bit heavy on the session memory, but suits my purpose. Put @InOut annotation on your model with scope set as session. This outjects the object loaded from DB into session just before forwarding t

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Robert Taylor
Hi Nicolas, I'ld also be interested in hearing about an elegant solution to this problem as well. Ideally it would be nice if we all had nice simple models where we could reuse our hibernate objects for both persistence and web binding. However, if have found, this is often not the case. A

RE: org.xml.sax.SAXParseException: The content of element type "package" must match

2010-09-03 Thread Satheesh Kannan A B
Hi, I tried that all the things are in order and I implemented also. Now its working fine. Mistake is not in order what they have mentioned result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action. I resolved

Re: org.xml.sax.SAXParseException: The content of element type "package" must match

2010-09-03 Thread Dave Newton
On Thu, Sep 2, 2010 at 9:24 AM, Satheesh Kannan A B wrote: > I think it's a existing and resolved issues in struts 2.1.8, since I have > googled and searched here but am not able to resolve this. Really? > The content of element type "package" must match > "(result-types?,interceptors?,default-

AW: AW: Question about Usage of Tasks

2010-09-03 Thread Tim Dellas
Hi Daniel! We have the same setup here. I originally went into this mailing list asking if there was a possibility to un-set the applicationContext name. There's no possiblity to do this I believe. With Apache proxying to the tomcat application name you'll run into more problems as the also pr

Re: AW: Question about Usage of Tasks

2010-09-03 Thread Daniel Rindt
Am Freitag, den 03.09.2010, 10:24 +0200 schrieb Tim Dellas: > Use the includeContext="false" attribute like so: > Thank you Tim, that is working. But i run in a different problem now. Local Debugging is done here with Tomcat 5.5 in Eclipse. So there the Context is needed. On the Production Machin

Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Nicolas Kopp
Hi there, We (Team of two developers) use Hibernate integrated in a Struts2 web application. If we want to perform an update to our objects on the database we fetch the data and load the resulting object into a web form where the user can edit the data. In this web form not all the object's att

Spring Roo plugin?

2010-09-03 Thread MB
Are any of you guys aware of any projects started or planned to start for writing a Struts plugin for Spring Roo? From a productivity standpoint Spring Roo seems too good to avoid. I'm still lightweight within Struts, but I'd try and contribute to such a plugin. /MB/MB

experience of nbstruts2support plugin?

2010-09-03 Thread MB
Are any of you using the Struts plugin for Netbeans: nbstruts2support? If so, how is it working for you? /MB/MB - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apach

AW: Question about Usage of Tasks

2010-09-03 Thread Tim Dellas
Use the includeContext="false" attribute like so: -Ursprüngliche Nachricht- Von: Daniel Rindt [mailto:dri...@visetics.com] Gesendet: Freitag, 3. September 2010 09:36 An: user@struts.apache.org Betreff: Question about Usage of Tasks Hello, the Tag prefixes all used URL's with the Ap

Question about Usage of Tasks

2010-09-03 Thread Daniel Rindt
Hello, the Tag prefixes all used URL's with the Application Name. This is in my case not wanted, so i am looking for a Solution to avoid the Prefixing. Thanks in Advance Daniel signature.asc Description: This is a digitally signed message part

org.xml.sax.SAXParseException: The content of element type "package" must match

2010-09-03 Thread Satheesh Kannan A B
Hi, I think it's a existing and resolved issues in struts 2.1.8, since I have googled and searched here but am not able to resolve this. Currently am configuring interceptors in my struts 2.1.8 application using websphere 6.0.1. What I have coded is right I think so and u all please verify it