Questions tagged [struts2-jquery]

A Struts 2 plugin that provides Ajax UI widgets based on jQuery and jQuery UI.

Johannes Geppert's Struts 2 jQuery plugin.

392 questions
7
votes
2 answers

How to use jQuery .subscribe()?

I've been trying to use $.subscribe but it doesn't seem to work. I downloaded a WAR project where it does work but when I use this function in my project it doesn't work. Do I have to download an extra plugin? Because I couldn't find info about…
Diego Ramos
  • 989
  • 4
  • 16
  • 35
5
votes
2 answers

Using a drop-down list in an editable grid column using Struts2-jQuery-grid plugin

I'm trying to populate a drop down list in a grid column using the Struts2-jQuery-grid-3.7.0 plugin as follows.
Tiny
  • 27,221
  • 105
  • 339
  • 599
5
votes
3 answers

How to implement a pagination in Struts 2

How can I implement paging in Struts 2 for the client side display and Hibernate as the persistence layer. Here is the code that I have done so far:
edaklij
  • 4,121
  • 11
  • 31
  • 43
4
votes
1 answer

How to reload sj:tab in struts2-jquery 3.3.3?

I need to relaod a sj:tab in struts2-jquery 3.3.3, so far i tried: Add a listenTopic to sj:tab, didn't work as i read it wasn't yet implemented in that version Upon any event, reload the tab like: $('#myPanel').tabs("load", "#myTab"); It works…
user311174
  • 1,738
  • 1
  • 18
  • 17
4
votes
1 answer

How to get values of the rows of a table that are filled in the jsp in the Action class in Struts 2?

I have the following jsp in which I have an option of adding and deleting rows of the table and in each row of the table which have the same fields I have to fill in the options and submit the form. In the action class how do I retrieve the values…
user2077648
  • 951
  • 7
  • 27
  • 42
4
votes
1 answer

delete user from a list using ajax and refresh list only using struts 2

my list is like:- UserName action ================= abcd delete 1234 delete my jsp code is like:-
Sandeep vashisth
  • 1,040
  • 7
  • 20
  • 40
4
votes
2 answers

Action errors in struts2-jquery grid view

I wanted to display action errors on top of the grid after doing some server side validations on the values of struts 2 jQuery grid. Any help would be appreciated. here is my action error. addActionError("You can not delete this data"); But…
4
votes
2 answers

Prevent page reloading in Struts 2

I am currently working on a small web app and this is the first time i am using Struts2. Here is what i am trying to achieve. A Struts2 JSP page on form post, calls a struts action. Once this action completes it task, I need to return to the calling…
edaklij
  • 4,121
  • 11
  • 31
  • 43
4
votes
3 answers

Hiding a datepicker using jQuery

I am using struts2 jquery plugin s datepicker as below I want to hide this on certain coditions.I have written a jquery like…
3
votes
1 answer

Send JSON object to Struts 2 action by using strut2 jquery plugin tags

We can send JSON to Struts2 actions by json interceptor. There is good sample at http://tech.learnerandtutor.com/send-json-object-to-struts-2-action-by-jquery-ajax/. The json interceptor requires that the requests content type be application/json or…
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
3
votes
1 answer

How to use getText in grid name of Struts 2 jquery grid pluing

Consider that I have a List of AccountVO object which must be displayed in grid AccountVO{ bankCode; //which could be HSB,CITY amout; ... } In resource bundle I have bank.name.HSB = The HSB Bank bank.name.CITY = The CITY…
3
votes
1 answer

Struts2 jquery tabbed panel on timeout not firing events

Have a on a page. After session timeout trying to click on another tab of tabbed panel should redirect the user to login poage. panel not firing the onErrorTopics. Please see below and guide me on how to fix this…
user3761541
  • 157
  • 2
  • 20
3
votes
1 answer

What is the difference between Struts 2 and Struts 2 jQuery tags?

I am new to Struts 2. I wanted to know the difference between Struts 2 and Struts 2 jQuery tags?
3
votes
0 answers

Struts 2: How to add dynamically inputs in jsp from the action?

I'm trying to create a select that for each option of that select I will have specified inputs. For example select has A,B,C options; if I select A, one textfield and one file upload field will appear; if I select B instead, two textfields will…
3
votes
1 answer

Struts2 autocompleter of struts jquery tag not taking another value other then of list after setting forceValidOption to false

I have a jsp file in which i have a struts autocompleter box of struts jquery plugin. This box is not taking any other value which is not in the autocomplete list after setting forceValidOption to false. What is the problem ?
Amit Das
  • 1,077
  • 5
  • 17
  • 44
1
2 3
26 27
UserName Action