DateTimePicker not showing

2013-07-02 Thread Fabian Richter
Hi, I am still trying to migrate our application from Webwork to Strut2. The site uses sitemesh with freemarker templates and used a ww:datepicker.../ from Webwork. This tag was replaced in struts2 with sx:datetimepicker but doesnt show up in my application. I added sx:head ... in the

Re: DateTimePicker not showing

2013-07-02 Thread Antonios Gkogkakis
Hi Fabian, since you are migrating your application now, I would recommend not to use the sx tags which are backed by the dojo plugin. This plugin is based on a very old version of dojo (you will be having problems with IE9) and I think that it's going to be deprecated in the next struts major

Re: DateTimePicker not showing

2013-07-02 Thread Lukasz Lenart
2013/7/2 Fabian Richter frich...@mtg.de: Then I excluded pattern/struts/dojo/*/pattern pattern/struts/ajax/*/pattern Maybe change to /struts/* ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: DateTimePicker not showing

2013-07-02 Thread Fabian Richter
Hi, very good idea Antonios, just tried it with the struts2 jquery plugin and it works out of the box! Thank you for the hint! Best Fabian Am 02.07.2013 10:29, schrieb Antonios Gkogkakis: Hi Fabian, since you are migrating your application now, I would recommend not to use the sx tags

Re: DateTimePicker not showing

2013-07-02 Thread Antonios Gkogkakis
You're welcome Fabian. I still believe that for the simple jquery ui stuff the struts plugin is an overkill :D Antonios On 2 July 2013 10:13, Fabian Richter frich...@mtg.de wrote: Hi, very good idea Antonios, just tried it with the struts2 jquery plugin and it works out of the box!

accessing an external file in the struts.xml

2013-07-02 Thread Omar Ngarigari
Hello, Is it possible to access a file that is located in the local drive or server side folder from struts.xml? as follow: result name=success type=jasper param name=locationC:/Folder/jasperReport.jasper/param or param name=location%{filename}/param where the filename is avariable in the

Re: accessing an external file in the struts.xml

2013-07-02 Thread Maurizio Cucchiara
Much of the answer depends on what your application server is. In any case, I don't think this is a good practice. IMO you should include the file with your webapp and find a way to access to it. Twitter :http://www.twitter.com/m_cucchiara G+

Re: accessing an external file in the struts.xml

2013-07-02 Thread Omar Ngarigari
Thanks for responding to my question. However, JBoss server does not explode the war deployed to it. Unlike tomcat, it does explode the war file, and this is why it is easy to access files within a war file. Here's is my code private HttpServletRequest servletRequest; @Override     public

Re: accessing an external file in the struts.xml

2013-07-02 Thread Dave Newton
You have at least one extra layer in your file path, normally you'd keep files like this under WEB-INF, and start the file path from there. Dave On Jul 2, 2013 1:14 PM, Omar Ngarigari ngarigar...@yahoo.com wrote: Thanks for responding to my question. However, JBoss server does not explode the

Re: accessing an external file in the struts.xml

2013-07-02 Thread Omar Ngarigari
I moved the file placed under /WEB-INF directory, but the action class still cannot located the path to the file. Please help... From: Dave Newton davelnew...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, July 2, 2013 1:26 PM

Re: class has set member, how s:iterator to access it?

2013-07-02 Thread john lee
I use Lucas's suggestion, but still can not get value out please advise how to get list member of an class from stack. thanks in advance john     s:iterator id=partxref value=partxrefs                           s:property value=xref_type_code/      /s:iterator

Re: class has set member, how s:iterator to access it?

2013-07-02 Thread CRANFORD, CHRIS
In your example, make sure you have an exposed getter for partxrefs in the action. -chris Sent from my Verizon Wireless BlackBerry -Original Message- From: john lee sh_thorn_b...@yahoo.com Date: Tue, 2 Jul 2013 15:39:05 To: Struts Users Mailing Listuser@struts.apache.org Reply-To:

Re: class has set member, how s:iterator to access it?

2013-07-02 Thread Lukasz Lenart
2013/7/3 john lee sh_thorn_b...@yahoo.com: I use Lucas's suggestion, but still can not get value out please advise how to get list member of an class from stack. thanks in advance john s:iterator id=partxref value=partxrefs s:property value=xref_type_code/