struts-community-plugins / struts2-jquery

Struts2 jQuery Plugin
Apache License 2.0
83 stars 49 forks source link

Issue on sj:datepicker tag on Struts2 6.0.x version #321

Closed Mori0005 closed 1 year ago

Mori0005 commented 1 year ago

It seems i cannot get /struts/js/calendar.gif image when i use

tag. Would anyone help on this ?
lukaszlenart commented 1 year ago

I already answered your question in https://lists.apache.org/thread/j1gjsz942ko0l8g5g1glwm17boh06ml8

Mori0005 commented 1 year ago

Hi, Thanks for your advice. I understand Static content is served from /static path now. However, the issue is sj:datepicker tag tries to get calendar.gif from /struts/js/calendar.gif. My Struts2-jquery version is latest 5.0.1 How can I avoid this issue ?

lukaszlenart commented 1 year ago

As far I see the problem is already fixed, but not released yet e49cbea88f5a40a135bf85a5ed1074820b21fd24 - you can define buttonImage attribute pointing to ./static/js/calendar.gif (depending on your context use a proper prefix) https://github.com/struts-community-plugins/struts2-jquery/wiki/DatePickerTag

Mori0005 commented 1 year ago

Great, thx!