jQuery query

2016-06-29 Thread Patrick Kelly
Hi - I have a struts2 system (version 2.3.16) that contains many forms that look like kind of like the example below. I want to use jquery to add some interactively to the the forms so the user can click a link to show/hide all the fields within a field grouping so that the heading is still vi

Re: jQuery query

2016-06-29 Thread Anamika Chourasiya
Hi As per my understanding about the requirement, if the user clicks on the "Field Group 1" field 1 and field 2 textboxes should get visible and if he again click on the same link they should get disappear. Same functionality for "Field Group 2". Am I right? On Wed, Jun 29, 2016 at 12:39 PM, Pat

Re: jQuery query

2016-06-29 Thread Patrick Kelly
correct Patrick Kelly PatrickKelly PrincipalConsultant *River**Dynamics* E: patrick.ke...@riverdynamics.com W: www.riverdynamics.com On 29/06/2016 5:48 PM, Anamika Chourasiya wrote: Hi As per my understanding about the

Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Christoph Nenning
> From: Adam Brin > To: Struts Users Mailing List , > Date: 29.06.2016 07:39 > Subject: tiles, sitemesh, velocity and other template engines > > Hi All, > I've been reviewing our templating implementation (currently sitemesh2) > and noticed that it seems like the three main template engines

Re: jQuery query

2016-06-29 Thread Anamika Chourasiya
You need to put both textboxes of each group in one div, give this div an id and than user JQUEry inbuild function to toggle it something like this $("#fieldGroup1").toggle(); on click event of "Field Group 1" link. $("#fieldGroup2").toggle(); on click event of "Field Group 2" link.

RE: jQuery query

2016-06-29 Thread Martin Gainty
> From: anamika.chouras...@gmail.com > Date: Wed, 29 Jun 2016 13:57:56 +0530 > Subject: Re: jQuery query > To: user@struts.apache.org > > You need to put both textboxes of each group in one div, give this div an > id and than user JQUEry inbuild function to toggle it > > something like this >

Re: struts2-rest-plugin issues getting non-restful urls to cooperate

2016-06-29 Thread Ken McWilliams
I have not forgotten about this but in setting up a project I like everything to work well, the restful urls and non-restful urls are more less happy. My issue was with POST and PUT requests. The Action uses model-driven, and with POST which calls create() all is well, while PUT which calls update(

2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Emi
Hello, Upgrade 2.3.28.1 to 2.5.1. Tried to start tomcat7.0.70, and got the following msg. Can someone let me know which jar(s) are missing/wrong version please? SEVERE: Exception starting filter struts2: java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z at c

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Emi
Hello, Upgrade 2.3.28.1 to 2.5.1. Tried to start tomcat7.0.70, and got the following msg. Can someone let me know which jar(s) are missing/wrong version please? SEVERE: Exception starting filter struts2: java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z at

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Christoph Nenning
> > Hello, > > > > Upgrade 2.3.28.1 to 2.5.1. > > > > Tried to start tomcat7.0.70, and got the following msg. Can someone > > let me know which jar(s) are missing/wrong version please? > > > > > > SEVERE: Exception starting filter struts2: > > java.lang.NoSuchMethodError: > > ognl.SimpleNode.isOp

Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Adam Brin
Hi Christoph & Łukasz, Thanks. This is useful. We’ll stay with Sitemesh2 and Freemarker for now. thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 29, 2016, at 1:19 AM, Christoph Nenning >

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Adam Brin
Hi, Emi, do you have a maven pom that shows dependencies? It might be that you’ve got multiple copies of XWork, Struts2 (somehow) or another conflict. Probably need more information to help debug. best, adam -- _ Adam Brin Director of Te