Closed ZhigunovSemen closed 1 year ago
Hi,
The problem is when using <@sj.datepicker> the link of buttom image (usually calendar.gif) refers to a non-existing place.
In my case (i do not use buttonImage tag and image should be default) it's /struts/js/calendar.gif - but correct path is /static/js/calendar.gif
/struts/js/calendar.gif
/static/js/calendar.gif
generated html looks like this:
<button type="button" class="ui-datepicker-trigger"> <img src="/struts/js/calendar.gif" alt="..." title="..."> </button>
The most illustrative example is this case reproduced in Struts2 jQuery Plugin Showcase page https://struts.jgeppert.com/struts2-jquery-showcase/index.action You will found same problem on Widgets -> Datepicker
See attached screenshot for details.
Is this a configuration problem or bug ?
See #321 - the issue is fixed but not released yet
Hi,
The problem is when using <@sj.datepicker> the link of buttom image (usually calendar.gif) refers to a non-existing place.
In my case (i do not use buttonImage tag and image should be default) it's
/struts/js/calendar.gif
- but correct path is/static/js/calendar.gif
generated html looks like this:
The most illustrative example is this case reproduced in Struts2 jQuery Plugin Showcase page https://struts.jgeppert.com/struts2-jquery-showcase/index.action You will found same problem on Widgets -> Datepicker
See attached screenshot for details.
Is this a configuration problem or bug ?