Questions tagged [struts2-jquery-plugin]

A Plugin for the Struts2 web framework that provides Ajax functionality and UI Widgets based on the jQuery JavaScript framework.

A Plugin for the Struts2 web framework that provides Ajax functionality and UI Widgets based on the jQuery JavaScript framework.

Features:

  • The Plugin easily integrates the Ajax and Widgets into Struts2 web framework .
  • The current Struts2 Dojo Plugin (that was used before) is deprecated.
  • jQuery is one of the most popular JavaScript frameworks.

The old Project Home Page.

The new Project Home page.

90 questions
1
vote
1 answer

Struts2 Jquery jqGrid beforeShowForm Example

I'm looking for a way to use the beforeShowForm event when opening the edit dialog on a struts2-jquery grid. I want to be able to add custom fields to the edit dialog.
1
vote
0 answers

Struts Jquery Select tag sometimes not get data. ()

I use some times it get data. sometimes it will not, then I need to refresh the page for populate select box. Please help me... for populating category
1
vote
1 answer

Struts 2 jquery plugin sj:select and jquery.select2

We have used struts 2 jquery plugin. We have changed all selects to jquery select2. $('select:visible:not').select2() The are lots of sj:selects selects which reload via ajax like:
1
vote
1 answer

How to manipulate the list of a Struts2 before it is loaded?

I have implemented Struts2-jQuery . This select box is populated fetching a JSON object coming from an AJAX call. How can I access this JSON object before the loading of the SelectBox in javascript in order to do some processing on it?
1
vote
1 answer

Some doubts related to the meaning of Struts 2 UI tag library. What gives me more the Struts 2 UI tags?

I am very new in Struts 2 world and I have the following doubt related to the Struts 2 UI tag library, this: https://struts.apache.org/docs/ui-tag-reference.html From what I have understand using it, it wrap some standard html tag and some common…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
1
vote
1 answer

How do I correctly repopulate a ?

I'm using the Struts2-jQuery Datepicker with the Timepicker Addon. Assuming that a java.util.Date object is returned form an Action getMyDate() getter method:
Andrea Ligios
  • 49,480
  • 26
  • 114
  • 243
1
vote
1 answer

Struts2 JQuery DatePicker: enable only particular dates in calendar

I need to enable only particular dates in a calendar, disabling all the other dates. I tried with onCompleteTopics and onBeforeShowDayTopics using Struts2-jQuery DatePicker without success. With raw jQuery I am able to do it as shown in this Fiddle…
1
vote
0 answers

Struts2 action with stream result type and input result to targets

Hi I would like to know how can I define the targets of based on the action result. I have the next action: struts.xml:
1
vote
0 answers

dropdown reselection not working

I am using in my jsp page; whenever I select an element from dropdown list first time and click on submit then it works fine but when I again try to select an element from the list then, I am not able to select an element .
1
vote
1 answer

Implementing in Struts2

I am currently working with a project, I have multiple select box in my application, each values should change according to the previous value selected in the first list, here is my code, i did not get the second select list. Here is my jsp.
Jinesh P
  • 13
  • 1
  • 5
1
vote
0 answers

Struts2 jQuery Plugin issue with Double Select

I have a little (I hope) issue trying to use Doubleselect element from Struts2 jQuery plugin and after searching the internet I found nothing about it so I come here to get your help. I have a jsp with two struts2 jQuery Plugin selects to get the…
1
vote
1 answer

jQuery .load duplicating div

I'm attempting to refresh a div and am ending up with a duplication of the div ie; one inside of the other. I'm currently using jQuery, Struts2, and the Struts2 jQuery plugin for my view. what it is currently doing:
gcalex5
  • 1,091
  • 2
  • 13
  • 23
1
vote
0 answers

When to use ajax cache

Please consider below sample with struts 2 jquery plugin, ( but this could be happen with jquery) In struts 2 jquery plugin set head tag to cache ajax calls: ajaxcache="true" The html head is ( do not cache any thing):
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
1
vote
0 answers

struts2 jquery autocompleter with runtime parameters

I'm trying to use Struts2 jQuery autocompleter tag. Documentation is here. A tag that is like: What I have is a…
Srini
  • 1,014
  • 8
  • 9
1
vote
2 answers

jqGrid: conditionally hide / show column content **per row**

Is there any way to target a column in a jqGrid (in my case, Struts2-jQuery-Grid Plugin 3.7.0) on certain rows only ? For example, I want to show the content of the 2nd column only if the 1th column value is Movie: …