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
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
4
votes
2 answers

Struts2 jQuery plugin java.lang.ClassNotFoundException: org.apache.struts2.views.TagLibrary

The issue is related to Struts v2.3.16 and Struts2 jQuery plugin v3.6.1. It seems like Struts project doesn't support third party plugins like Struts2 jQuery plugin. How to fix an incompatibility of above versions? This is an exception thrown on…
Roman C
  • 49,761
  • 33
  • 66
  • 176
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

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

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

load parts of a JSON in many divs + Struts2

I need load the content of a Object JSON in many divs, but in parts. For example, My JSON structure: {"Example": { "Hi": "hi", "Bye": "bye" } } Assuming that the JSON string successfully load my JSP page. I am trying to load the contents of…
Ivan
  • 231
  • 1
  • 5
  • 14
3
votes
2 answers
2
votes
0 answers

jQuery - businessHours Plugin, always initiates days as isActive:true while they're false

I'm trying to use a jQuery plugin called businessHours See Github documentation There's an initialise option from JSON array, like this: /* initial data */ var operationTime = [ {"isActive":false,"timeFrom":null,"timeTill":null}, …
DuliNini
  • 181
  • 2
  • 14
2
votes
3 answers

Struts2 Jquery Multiple Select Value

I'm having a hell of a time with something that should be extremely simple. I'm using the Struts2 Jquery plugin, and I have an on my page. It's set to multiple. I have an array of values that I want to be pre-selected, but nothing is…
2
votes
0 answers

Struts 2 jquery grid default column template

The jGrid supports the column templates. Which can be used as the default template for all columns. Some explanation is at Stopping columns resizable in jqgrid An the sample code from there: var myDateTemplate = {sorttype:'date', formatter:'date', …
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173
2
votes
1 answer

simplePagination preventDefault on page click

I'm using this plugin to create a pagination. On page click I have my function but I don't want the page to add #page-1 to the URL. How can I prevent that? preventDefault not working because I can't catch the event. $('#pagination').pagination({ …
user2587454
  • 903
  • 1
  • 19
  • 44
2
votes
0 answers

edit inline control navigator buttons to display

Using the below sjg:grid with edit inline. This displays the edit navigator buttons Add New Row, Edit selected row, Save, Cancel row editing. I don't want to show the Add new row button in the navigator. How to do this?
2
votes
0 answers

How to pass option key and value as an object from jsp to Struts 2 action class?

I have a scenario where I want to send SelectOption object to action class on change of struts jQuery dropdown, but it seems like it`s not possible. Is there any workaround or any way out to get this done? JSP code:
2
votes
1 answer

DatePicker Tag default value in specific timezone

My JVM is running in US/Pacific Timezone but the client accesses the application from India; for the first time Struts jQuery datepicker tag is loaded into browser with the default value of time as per JVM timezone. I want it to be in clients…
1
2 3 4 5 6