GithubHelp home page GithubHelp logo

gigazhang / struts2-jquery Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 65.8 MB

Automatically exported from code.google.com/p/struts2-jquery

Java 20.61% CSS 9.94% JavaScript 40.84% HTML 28.60% ApacheConf 0.01%

struts2-jquery's People

Watchers

 avatar

struts2-jquery's Issues

How do I use the validator?

I want to use the form validator before submit. (jquery.validate.js)
How do I use the validator?
Ajax Forms Validation sample submission, please add to Sign up

Which struts2 version?
Struts 2.1.8.1

Which struts2-jquery plugin version?
struts2-jquery-plugin-1.7.3
Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Dec 2009 at 9:27

Datepicker: Text after selection does not work

What steps will reproduce the problem?
Text after selection does not work

What is the expected output? What do you see instead?
See Showcase 1.6.2 --> Datepicker


Original issue reported on code.google.com by johgep on 12 Nov 2009 at 2:05

It is not considering context path of the application

when i include <sj:head> tag it is generating code like below:

 <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery-1.3.2.min.js"></script>
  <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery.form.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery-ui-1.7.2.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery.cookie.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="struts/js/jquery.bgiframe.min.js"></script>
        <link rel="stylesheet" href="struts/themes/cupertino/ui.theme.css" 
type="text/css"/>


with out considering the context path of the application and it is not 
working as expected .

I have manually added the above code in my JSP as below then it is working 
fine.
 <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery-1.3.2.min.js"></script>
  <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery.form.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery-ui-1.7.2.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery.cookie.min.js"></script>
    <script language="JavaScript" type="text/javascript" 
src="/customReports/struts/js/jquery.bgiframe.min.js"></script>
        <link rel="stylesheet" 
href="/customReports/struts/themes/cupertino/ui.theme.css" 
type="text/css"/>

I don't know whether i am missing some configuration here or bug in the 
component itself.Plzz guide me through.

Original issue reported on code.google.com by [email protected] on 18 Jun 2009 at 6:53

gridModel parameter is compulsory, but not used

What steps will reproduce the problem?
1. Write an action that load a collection an expose it with a getter:
    public List<Serializable> getMyCollection() { return ...}
2. Create a JSP page with a sj:grid component
3. Set the gridModel attribute to 'youCollectionName':
    <sj:grid id="gridtable" caption="Customer Examples" dataType="json" 
        href="%{remoteurl}" pager="true" gridModel="myCollectionName"
        rowList="10,15,20" rowNum="15" rownumbers="true">
        ...
    </sj:grid>

What is the expected output? What do you see instead?
With any name (having the corresponding getter on my page) the grid is 
supposed to be rendered;
The only way to have the grid loaded is to have the getter getGridModel()

Which struts2 version?
2.1.8.1


Which struts2-jquery plugin version?
1.8.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Jan 2010 at 6:14

draggableContainment stops draggable object from working

What steps will reproduce the problem?
1. When adding the draggableContainment attribute to a <sj:div which is
draggable it creates and error and stops working. 
2.
3.

What is the expected output? What do you see instead?
It should add the code "containment: 'document' " to the options but
instead appears to add an extra (')quote to the from of the "document" text
so that it looks like "containment: ''document' "

Which struts2 version?
2.1.8

Which struts2-jquery plugin version?
1.7.3

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 2:41

Lable is not generated

When using the datepicker tag with label attribute, no label is generated.
This tag
<sj:datepicker id="startDate" name="x.startDate" displayFormat="dd.mm.yy"
label="Date" labelposition="left" />

generates following output:

<input id="startDate" class="hasDatepicker" type="text" name="x.startDate"/>
<button class="ui-datepicker-trigger" type="button">
<img src="/MyApp/struts/js/calendar.gif" alt="..." title="..."/>
</button>
<script type="text/javascript">
$(document).ready(function () {
 $('#xxx').datepicker({
 showOn: 'both', buttonImage: '/MyApp/struts/js/calendar.gif',
 dateFormat: 'dd.mm.yy' });
});
</script>

But I would expect the "Date" label to be generated. Can that be consistent
with Struts 2 (I mean the distance of label and the input element)?

I'm using version 0.9.1

Original issue reported on code.google.com by stoupa91 on 17 Jul 2009 at 7:10

Default indicator

Not a bug, a sugestion instead:

Could be created an atribute like "defaultIndicator" in <sj:head> tag?
So we could set a div to be default indicator of the project (like happens
in gmail, hotmail...), so we would not need to set the "indicator"
attribute at all <sj:a> and <sj:div> tags.

Original issue reported on code.google.com by jyoshiriro on 9 Nov 2009 at 4:18

<sj:div reloadTopics="topic"/> does not work

What steps will reproduce the problem?
1. Create JSP page with <sj:div reloadTopics="topic"/> tag
2. Try call JS code: $.publish('topic');

What is the expected output? 
<sj:div> content must be reloaded

What do you see instead?
jquery doesn't send any ajax request to the server.

What version of the product are you using? On what operating system?
1.5.0 / WinXP / WLS 10.1

Please provide any additional information below.
I see that this logic implemented in jquery.struts2.js through Source 
Browser at this site, but I cann't find this logic in jquery.struts2.js 
from struts2-jquery-plugin-1.5.0.jar. 

Original issue reported on code.google.com by [email protected] on 13 Oct 2009 at 1:36

Grid doesnt show the data..

What steps will reproduce the problem?
1.O only tried to follow the instructions to create a grid.
2.I have this in my jsp:
<s:url id="remoteurl" action="proveedorGrid"/>
            <sj:grid
                id="gridtable"
                caption="Lista de Proveedores"
                dataType="json"
                href="%{remoteurl}"
                pager="true"
                gridModel="gridModel"
                rowList="10,15,20"
                rowNum="10"
                rownumbers="true"
            >
                <sj:gridColumn name="idproveedor" index="idproveedor" 
title="ID" formatter="integer" sortable="false"/>
                <sj:gridColumn name="nombrecompania" 
index="nombrecompania" title="Nombre" sortable="true"/>
                <sj:gridColumn name="direccion" index="direccion" 
title="Direccion" sortable="false"/>
                <sj:gridColumn name="telefono" index="telefono" 
title="Telefono" sortable="false"/>
                <sj:gridColumn name="nombrecontacto" 
index="nombrecontacto" title="Nombre" sortable="false"/>
                <sj:gridColumn name="apellidocontacto" 
index="apellidocontacto" title="Apellido" sortable="false"/>
                <sj:gridColumn name="website" index="website" 
title="WebSite" sortable="false"/>
            </sj:grid>

3.in struts.xml i have sth like this:

<package name="struts2" extends="struts-default,json-default">

        <action name="proveedorGrid" class="proveedorAdminAction">
            <result name="success" type="json"/>
        </action>

Im integrating struts with spring to the inyeccion of dependences.
The action im send you too.


What is the expected output? What do you see instead?
The grid without any data.I checked the action and it gets the data 
correctly. The problem is that in the grid there is nothing.

Which struts2 version?
2.1.8

Which struts2-jquery plugin version?
1.8.1

Please provide any additional information below.
days ago, I had tried to do this:
First Select: <sj:select id="firstSelect" name="firstSelect" 
onChangeTopics="firstSelectChanged" src="firstSelect.action"/>
         Second Select: <sj:select id="secondSelect" 
reloadTopics="firstSelectChanged" src="secondSelect.action" 
elementIds="firstSelect"/>

and i couldnt :(. Please help me.

Original issue reported on code.google.com by [email protected] on 9 Jan 2010 at 2:58

Attachments:

Dynamic select tag

What steps will reproduce the problem?
1. Having a two linked select tag in jsp file 
2. Put in sj:head tag into jsp

What is the expected output? What do you see instead?

For the generated jsp page update the contents of a second select box when
the value in a first one changes, using onChangeTopics and reloadTopics 

What version of the product are you using? On what operating system?

Struts2 jquery plugin v. 1.5.0
Struts 2.1.8

Windows xp SP2

Please provide any additional information below.

When first select box change no remote ajax call.

Original issue reported on code.google.com by [email protected] on 13 Oct 2009 at 12:58

Missing context path when "jquerytheme" attribute used in head tag

When I specify <sj:head jqueryui="true" />, following link is generated 
<link type="text/css" href="/MyApp/struts/themes/smoothness/ui.theme.css"
rel="stylesheet">, which is ok.

But when I specify the jquerytheme in the head element <sj:head
jqueryui="true" jquerytheme="smoothness" /> the context path is missing
<link type="text/css" href="struts/themes/smoothness/ui.theme.css"
rel="stylesheet">

I'm experiencing in the version 0.9

Original issue reported on code.google.com by stoupa91 on 2 Jul 2009 at 8:07

sj:select render others tr and td before it

What steps will reproduce the problem?
1. I write a select in a table in the jsp, like this:
    <tr>
        <td><p>Asociado a</p></td>
        <td colspan="3">
        <sj:select 
        reloadTopics="reloadlist"
        href="%{remoteurl}" name="asociado" headerKey="0"   
headerValue="Laboratorio"
        list="personalList" listKey="id" listValue="descripcion" />
        </td>
    </tr>

What is the expected output? What do you see instead?
The output that I expeted:

    <tr>
        <td><p>Asociado a</p></td>
        <td colspan="3">
               <select reloadtopics="reloadlist" 
                href="json/listarPersonalJSON.action"       
class="_struts2_jquery_bound" id="select_1124272545" jqueryaction="select" 
listvalue="descripcion" listkey="id" list="personalList" 
headervalue="Laboratorio" headerkey="0" datatype="json" name="asociado">
<option value="0">Laboratorio</option></select>
</td>
</tr>



But I only see:

    <tr>
        <td><p>Asociado a</p></td>
        <td colspan="3">

        </td></tr><tr>
    <td class="tdLabel"/>
    <td>
<select reloadtopics="reloadlist" href="json/listarPersonalJSON.action" 
class="_struts2_jquery_bound" id="select_1124272545" jqueryaction="select" 
listvalue="descripcion" listkey="id" list="personalList" 
headervalue="Laboratorio" headerkey="0" datatype="json" name="asociado">

<option value="0">Laboratorio</option></select>
</td>
</tr>




Which struts2 version?
2.1.6


Which struts2-jquery plugin version?
1.6.0

Please provide any additional information below.

the sj:select insert before it when render the page:

</td></tr><tr>
    <td class="tdLabel"/>
    <td>

I don't use the label attribute because I need to use td's colspan 
attribute, the sj:select don't have theme attribute for specifing the 
theme (kind of render).



Original issue reported on code.google.com by [email protected] on 24 Nov 2009 at 3:02

since version 1.6. I can not use, there is a problem of lib java-script

What steps will reproduce the problem?
1. Load ajax page with target in div
2.
3.

What is the expected output? What do you see instead?
In the render of Head, there is a problem of lib java-script

What version of the product are you using? On what operating system?

since version 1.6 I can not use, there is a problem of lib java-script.
Because this problem i´m using 1.5 version.

Please provide any additional information below.
'defaultIndicator' is not define in jquery.struts2.js in the IE
in the Firefox only appears lib jquery.struts2.js not set

Original issue reported on code.google.com by [email protected] on 16 Nov 2009 at 1:01

AutoCompleter

Not a Bug, an improvement suggestion:

What about an "autocompler" component like the struts-dojo autocompleter?

Original issue reported on code.google.com by jyoshiriro on 23 Sep 2009 at 8:00

ParentTheme has no effect

What steps will reproduce the problem?

Use an self created Parent Theme.

What is the expected output? What do you see instead?

parent them was not used

Which struts2 version?
2.1.8.1

Which struts2-jquery plugin version?
1.8.0

Please provide any additional information below.

Original issue reported on code.google.com by johgep on 6 Jan 2010 at 3:51

submit tag with theme

Not a bug, a sugestion:

The "submit" tag could have a "theme" attribute. Some times we want this
out of a "<tr><td>" structure still inside a xhtml form. So a
'theme="simple"' would help a lot...

Original issue reported on code.google.com by jyoshiriro on 18 Nov 2009 at 2:55

Script Error when no default indicator is defined

What steps will reproduce the problem?
Use plugin with no defaultIndicator

What is the expected output? What do you see instead?
Script Error


Original issue reported on code.google.com by johgep on 16 Nov 2009 at 12:41

<sj:div formsIds="userForm"/> does not work

What steps will reproduce the problem?
1. Create JSP page with <sj:div formsIds="userForm"/> tag

What is the expected output? 
ajax request must add form parameters to request.

What do you see instead?
jquery doesn't add parameters to ajax request.

What version of the product are you using? On what operating system?
1.5.0 / WinXP / WLS 10.1 

Original issue reported on code.google.com by [email protected] on 13 Oct 2009 at 2:13

Struts2 + Ajax + back button / History / apend URL

What steps will reproduce the problem?
1.This a feature request not a bug.
2.We want to change dojo to jquery in struts2
3.

What is the expected output? What do you see instead?
Browser back button to work.
bookmarking to work
separate # name for Ajax based page calls.

What version of the product are you using? On what operating system?


Please provide any additional information below.
is there any example how url can be appended, history can be set and back
button on browser can work?

Original issue reported on code.google.com by [email protected] on 16 Sep 2009 at 1:29

Two ajax form in the same page - only first one does ajax call

Thanks for creating this plugin. It is very useful one and I am currently
using this in a project and it works like a charm. Please keep up the good
work.

What steps will reproduce the problem?
1. Create two separate forms with <sj:submit formIds="enquiryxx".. 
2. Click on submit button for the second form..
3. It does a regular http post, not a ajax call

What is the expected output? What do you see instead?
An Ajax call for the second form is expected.

What version of the product are you using? On what operating system?
struts2-jquery-plugin-1.5.0
struts-2.1.7


Please provide any additional information below.
It looks like the second submit button in the second form is not doing a
_struts2_jquery.bind()

Thanks
-Kumar

Original issue reported on code.google.com by [email protected] on 19 Oct 2009 at 3:29

Format time for GridColumnTag

What steps will reproduce the problem?
1.A time column in database need to format it in HH:MM:SS. By default it is
formatting to dd-mm-yyyy HH:MM:SS.
2.A date column in database need to format it in dd/mm/yyyy. By default it
is formatting to dd-mm-yyyy HH:MM:SS.
3.

What is the expected output? What do you see instead?
Time column in HH:MM:SS format and Date column in dd/mm/yyyy

Which struts2 version?
2.1.8.1

Which struts2-jquery plugin version?
1.8.0

Please provide any additional information below.
Im using new Grid tag and need to format date column in dd/mm/yyyy and time
column in HH:MM:SS. I have given the formatter options as date and time but
still it's formatting in dd-mm-yyyy HH:MM:SS. Earlier i've used OGNL and
Class.properties file to format time and date. But how to do it in this
column tag.

Original issue reported on code.google.com by [email protected] on 17 Dec 2009 at 8:01

Tabbed panel is always remote

This is more of an enhancement, but I was wondering if maybe you could slap
in an attribute to specify if tabs are to be loaded via ajax or not.

Excellent plugin by the way!

Original issue reported on code.google.com by [email protected] on 10 Aug 2009 at 1:34

Using plugin with tiles

What steps will reproduce the problem?
1. Having a layout.jsp file for tiles implementation
2. Put in sj:head tag into layout.jsp
3. Having a sj:submit button on a jsp page that extends the tiles layout
does not submit the form. Even though the button has a formId attribute and
the form has an id value. The submit button also has an Id attribute

What is the expected output? What do you see instead?

For the generated jsp page to be displayed in the target div once the
button is clicked. Instead, the button does not submit the form. When the
button is put inside the form, the form submits but I'm redirected to the
action specified instead of the information showing up in the target div.

What version of the product are you using? On what operating system?

Struts2 jquery plugin v. 1.0.1
Struts 2.1.6

Windows xp SP3

Please provide any additional information below.

I'm not able to submit the form using the sj:submit tag. The button is
outside of the form that has an Id and the button has a formId attribute
along with its own Id attribute. 

Since i'm using tiles perhaps the .js files are not being read (even though
they are in the source when I look at it) 

I'm basing this off of the forms sample in the showcase but the main
difference is that I'm using a namespace "/home" instead of the "/". 

Original issue reported on code.google.com by [email protected] on 1 Sep 2009 at 1:23

Modal Dialog and Browser memory

What steps will reproduce the problem?
1. on struts2-jquery showcase clicking on Modal Dialog
2. Watch the memory of process grow (IE 8 - iexplore.exe)
3. IE8 and FireFox (propably other browsers too) don't clean their memory

What is the expected output? What do you see instead?
The problem is in transparency behind Modal Dialog (browsers cache those
transparent images propably). Especially IE doesn't clean those transparent
"backgrounds" behind. 

Please provide any additional information below.
The possible solution would maybe be to remove the transparency behind it
and just make that div without any color or background.

Original issue reported on code.google.com by [email protected] on 4 Nov 2009 at 12:50

Attachments:

form submit does not work

form submit does not work when the submit button is not directly under the
form element.

A workaround is to give the form element an id and use the formId attribute
in sj:submit.

Original issue reported on code.google.com by johgep on 18 Jun 2009 at 1:32

datepicker has no maxlength attribute

What steps will reproduce the problem?
1. use datepicker tag normally
2.
3.

What is the expected output? What do you see instead?
can add maxlength attribute to datepicker tag
cause default textfield size seems too big for input date value

Or

default textfield size will be decent one (10 digits or so)

What version of the product are you using? On what operating system?
1.6.1
Windows XP Home Edition

Please provide any additional information below.
struts2 s:textfield tag has maxlength attribute

Original issue reported on code.google.com by [email protected] on 13 Nov 2009 at 11:33

Datepicker localized format

What steps will reproduce the problem?
1. Create a localized web application (e.g. <sj:head locale="en,it">)
2. Switch from a language to the other
3. Select a date from the picker

What is the expected output? What do you see instead?

The expected output shold be a date formatted according to the specified 
locale (e.g. the short format for '03 Jan 2010' in England is 01/03/2009, 
in Italy is 03/01/2009)

What i see instead is a date with a "fixed" format (the one specified with 
the parameter displayFormat) 

Which struts2 version? 2.1.8.1


Which struts2-jquery plugin version? 1.8.0


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Jan 2010 at 3:20

anchor does not work with 2 or more param

Example:

<s:url id="url" action="manterestande!editEstande">
                                <s:param name="id"><s:property
value="id"/>
                                </s:param>
                                <s:param name="idCentro"><s:property
value="idCentro"/>
                                </s:param>
                            </s:url>
                            <sj:a href="%{url}" theme="simple"
targets="main" indicator="indicator">

client the html render...
<a jqueryaction="anchor" id="anchor_581613725"
class="_struts2_jquery_bound" targets="main" href="#"
hrefparameter="id=1&amp;amp;idCentro=1" indicatorid="indicator">

the problem is here **** hrefparameter="id=1&amp;amp;idCentro=1" ****
must be
hrefparameter="id=1&;idCentro=1" 

Original issue reported on code.google.com by johgep on 23 Oct 2009 at 7:29

add new components

please, add the following components to the project

Accordion
BreadCrumb
DragDrop
Editor (important)
Effects
FileUpload
HotKey
Keyboard
Masked Input
Media
Menu (important)
Menubar (important)
Messages
PickList
Printer
Tooltip
Tree

Congratulations
thanks.

Original issue reported on code.google.com by [email protected] on 5 Jan 2010 at 2:06

Using base tag with sj:a causes page to reload

What steps will reproduce the problem?
1. Specify base tag in head:
    <base href="http://localhost:8080/bob/"/>
2. Use the sj:a to create an anchor on the page - template/jquery/a.ftl
then generates <a href="#" ...
3. Click the link.

What is the expected output? What do you see instead?
Clicking on the link causes the page to reload (after the ajax has run)
since the # link goes to http://localhost:8080/bob/#.  Without the base tag
the # link will go to http://localhost:8080/bob/joe.action#, so the page
doesn't get refreshed.

What version of the product are you using? On what operating system?
1.0. Windows XP.

Please provide any additional information below.
I have worked around the bug locally by overriding
template/jquery/a-close.ftl so that it does a 'return false;' at the end of
the click function - meaning that the href won't be followed by the browser.

Great plugin by the way - saved me hours and hours of trying to fix the
dojo plugin!

Original issue reported on code.google.com by [email protected] on 29 Jul 2009 at 9:24

struts tag <s:param ....

What steps will reproduce the problem?
see the upload image

What is the expected output? What do you see instead?


Which struts2 version?


Which struts2-jquery plugin version?
Struts2.1.8.1 
struts2-jquery1.7.2
Windows XP Home 

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Nov 2009 at 8:50

Attachments:

Grid with parent columns

Order (id,total,date)
OrdeItem (description,price,amount,Order)

Grid for OrderItem
...
<sj:gridColumn name="description" index="description"
title="Description"/>
<sj:gridColumn name="price" index="price" title="Price"/>
<sj:gridColumn name="order.id" index="order.id" title="Order(ID)"/>
...

the column name order.id is not valid. I think is because these lines

options_gridtable_colmodels_order.id = {};
options_gridtable_colmodels_order.id.name = "order.id";
options_gridtable_colmodels_order.id.jsonmap = "order.id";
options_gridtable_colmodels_order.id.index = "order.id"; 

Original issue reported on code.google.com by johgep on 4 Jan 2010 at 3:45

parentTheme does not exist for datePicker control

What steps will reproduce the problem?
        <table class="datatable sortable" >
            <thead>
                <s:form id="filterForm" action="my-action" namespace="/"
theme="css_xhtml" >
                    <tr>
                        <td style="border: 1px solid silver;">
                            Bob
                            <sj:datepicker labelSeparator=""
labelposition="left" name="activityDate" displayFormat="yy-mm-dd"
showButtonPanel="false" />
                            Fred
                        </td>
                        <td style="border: 1px solid silver;">
                            <select name="endpoint" >
                            </select>
                        </td>


What is the expected output? What do you see instead?
The sj:datepicker should not output ANY table constructs (no td or tr).
The actual result is a mess (the "Fred" gets moved outside the table, new
cells get added):
Fred
<div id="wwgrp_filterForm_0" class="wwgrp">
</div>
<table class="datatable sortable">
<thead>
<form id="filterForm" method="post" action="..." name="filterForm"/>
<tr>
<td style="border: 1px solid silver;"> Bob </td>
</tr>
<tr>
<td class="tdLabel"/>
<td>
<input id="datepicker_1399424516" class="hasDatepicker" type="text"
value="" name="activityDate"/>
<button class="ui-datepicker-trigger" type="button">
</button>
</td>
</tr>



Which struts2 version?
2.1.8

Which struts2-jquery plugin version?
1.7.3

Please provide any additional information below.
The problem is that datepicker.ftl explicitly includes
xhtml/controlheader.ftl and xhtml/controlfooter.ftl.
I think these should be controlled by the parentTheme attribute, but that's
not valid for datePickers.

Original issue reported on code.google.com by [email protected] on 25 Nov 2009 at 10:49

Example for dynamically update jfreechart

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Which struts2 version?
2.1.8

Which struts2-jquery plugin version?
1.7.3

Please provide any additional information below.
Need to reload charts based on different search parameters on same page.

Original issue reported on code.google.com by [email protected] on 14 Dec 2009 at 7:00

Datepicker population adds 1 month to value

What steps will reproduce the problem?
1. <sj:datepicker value="2004-08-14" id="date6" name="date6" displayFormat="d 
M, yy" label="String Value" />
2.
3.

What is the expected output? What do you see instead?
2004-08-14, but the calendar is populated with 2004-09-14. You can see this 
in the show case example.

What version of the product are you using? On what operating system?
Struts 2.1.8 and stuts2-jquery-plugin-1.6.0

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 5 Nov 2009 at 8:51

spinner for tabbed panel is not set

What steps will reproduce the problem?
the spinner attribute is not working

Which struts2 version?
2.1.8

Which struts2-jquery plugin version?
since 1.7.0


Original issue reported on code.google.com by johgep on 20 Nov 2009 at 4:50

The sj:head tag declares that it accepts dynamic attributes but does not implement the required interface

pls let me know how can i get out of the below error

javax.servlet.ServletException: javax.servlet.ServletException:
org.apache.jasper.JasperException:
/WEB-INF/pages/usr/maps/mapview.jsp(20,4) The sj:head tag declares that it
accepts dynamic attributes but does not implement the required interface
    inens.HibernateFilter.doFilter(HibernateFilter.java:76)

root cause

javax.servlet.ServletException: org.apache.jasper.JasperException:
/WEB-INF/pages/usr/maps/mapview.jsp(20,4) The sj:head tag declares that it
accepts dynamic attributes but does not implement the required interface
    org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
    org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
    inens.HibernateFilter.doFilter(HibernateFilter.java:50)

root cause

org.apache.jasper.JasperException:
/WEB-INF/pages/usr/maps/mapview.jsp(20,4) The sj:head tag declares that it
accepts dynamic attributes but does not implement the required interface
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
    org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:775)
    org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)

Original issue reported on code.google.com by [email protected] on 27 Oct 2009 at 7:06

datepicker don't format the date when return o render

What steps will reproduce the problem?
In action has field 
import java.util.Date;
private Date dateTest; //value i.e. 04 dec 2009

JSP has tag:
<sj:datepicker parentTheme="simple"  name="dateTest" displayFormat="dd-mm-
yyyy"/>

What is the expected output? What do you see instead?

espected:
<input type="text" value="12/4/09" name="dateTest"/>

instead:
<input type="text" value="04-12-2009" name="dateTest"/>



Which struts2 version?
2.1.8

Which struts2-jquery plugin version?
1.8.0

Please provide any additional information below.

I don't now if this is a datapicker's bug or is how render type 
java.util.Date . When submit a form wich this submit correctly, but when 
recover data form action and populate the field this fail in format.

Original issue reported on code.google.com by [email protected] on 16 Dec 2009 at 1:17

problem with special characters

What steps will reproduce the problem?
1. When using a form with ajax submit

What is the expected output? What do you see instead?
When I use special characters like "é", "ç", "ã" in ajax submits, they are
replaced by crazy ones ("é", "ç" and "ã", respectively). Still using
"charset=ISO-8859-1" in the JSP (both jsp page directive and HTTP meta
tag). The same task usgin dojo plugin do not change the characters.
See attached images.

What version of the product are you using? On what operating system?
Jquery plugin 1.6.1 + Struts 2.1.8

These characters are often used at "pt" and "es" locales.

Original issue reported on code.google.com by jyoshiriro on 16 Nov 2009 at 5:28

Attachments:

onSuccessTopics bug

What steps will reproduce the problem?
1.When using the attribute onSuccessTopics 

What is the expected output? 
Notify the related topics if the request status=200

What do you see instead?
Freemaker error (see image attached)


What version of the product are you using? On what operating system?
1.7.2


Original issue reported on code.google.com by jyoshiriro on 18 Nov 2009 at 12:00

Attachments:

date rage support

What steps will reproduce the problem?
1. use datepicker tag normally
2.
3.

What is the expected output? What do you see instead?
only year range is supported

What version of the product are you using? On what operating system?
1.6.1
Windows XP Home Edition

Please provide any additional information below.
Original jQuery UI Datepicker supports date range by minDate and maxDate

Original issue reported on code.google.com by [email protected] on 13 Nov 2009 at 10:04

Javascript error when JSON result is null

What steps will reproduce the problem?

select box with json list.
jsonlist is null

What is the expected output? What do you see instead?

JavaScript Error in Console "object is null"

Which struts2 version?
2.1.8.1

Which struts2-jquery plugin version?
1.8.0

Please provide any additional information below.

Original issue reported on code.google.com by johgep on 6 Jan 2010 at 3:03

AJAX form submission with href paramteres

What steps will reproduce the problem?
1. Create a from with some inputs and more than one AnchorTags with the 
both attributes formId and href set;
The href attribute specifies some parameters (e.g. href="my.action?
param1=value1")
2. Submit the form clicking on the anchor
3. Check the parameters sent on the request

What is the expected output? What do you see instead?
The parameters specified on the href attribute should be sent together with 
the inputs of the from, instead only the inputs values are sent


Which struts2 version?
2.1.8.1

Which struts2-jquery plugin version?
1.8.0

Please provide any additional information below.
the handler '_s2j_form_submit' doesn't take into consideration the 
event.date.hrefparameter even if it is valued;

Original issue reported on code.google.com by [email protected] on 5 Jan 2010 at 11:35

Remote Tabs does not work in IE 6

What steps will reproduce the problem?
1. See Showcase

Original issue reported on code.google.com by johgep on 21 Oct 2009 at 6:49

dialog tag text is exposed

What steps will reproduce the problem?
1.dialog tag text (<sj:dialog>text</sj:dialog>) is exposed since struts2-
jquery1.7.0
2.
3.

What is the expected output? What do you see instead?
dialog tag text shouldnt be exposed

What version of the product are you using? On what operating system?
Struts2.1.8 
struts2-jquery1.7.0
Windows XP Home 

Please provide any additional information below.
everything is fine when simply back to struts2-jquery1.6.1

Original issue reported on code.google.com by [email protected] on 17 Nov 2009 at 6:02

Datepicker value is not formatted

If this component get a value from valuestack or one of the "web scopes"
(page, session, ...) the value is not formatted! Displays something like
"Wed Jul 01 00:00:00 GMT-03:00 2009" intead "01/07/2009" still using
"dd/mm/yy" as "displayFormat".

Original issue reported on code.google.com by johgep on 23 Jul 2009 at 7:59

head tag wiki out of date

The "head" tag wiki
http://code.google.com/p/struts2-jquery/wiki/HeadTag
is out of date, because do not talk about the "defaultIndicator" attribute.

Original issue reported on code.google.com by jyoshiriro on 16 Nov 2009 at 11:30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.