Re: Setting up 2.2.1 in maven for testing

2010-07-27 Thread Lukasz Lenart
Thanks for your comments! Please register a ticket and I try to put some love with the docs ;-) Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e

Re: REST URLs

2010-07-27 Thread Zoran Avtarovski
Another option that doesn¹t tie you down to the REST plugin is to use the URL Rewrite Filter ( www.tuckey.org/urlrewrite/) We¹ve been using this for a while without any issues. Z. > > Is there anyway we can use /client/{clientId}/business/{businessId} kind of > URLs in Struts 2.0? > > -- AB

Re: Display GregorianCalendar Objects

2010-07-27 Thread Michal Ciasnocha
Why don't use Struts tag s:date for date formatting? in Action: public GregorianCalendar getMyDate() { return new GregorianCalendar(); } in jsp: Michal Hi all, i do it like that: in my POJO GregorianCalendar field, on my jsp text field + jquery calendar. If You want to create date i

Re: Display GregorianCalendar Objects

2010-07-27 Thread Paweł Wielgus
Hi all, i do it like that: in my POJO GregorianCalendar field, on my jsp text field + jquery calendar. If You want to create date in some kind of predefined format You can use Conventer for GregorianCalendar for your app. Best greetings, Paweł Wielgus. 2010/7/27 Reeshi Agrawal : > Same problem w

Re: Display GregorianCalendar Objects

2010-07-27 Thread Reeshi Agrawal
Same problem with me... I want (through Struts 2 tags), a way to display date as three adjacent (side-by-side) drop-down menus, one each for date,month and year. Normally what will happen is: the three drop-down menus will be displayed in three separate consecutive rows in the HTML table generated

Display GregorianCalendar Objects

2010-07-27 Thread Ken
This seems like it should be beyond easy yet I still find my self asking... I my POJO has several GregorianCalendar objects. In my JSP what is the best way to display a simple (year, month, day) format? Use Java in the JSP it self? Is there a good struts 2 tag for this... I think if the field we

NullPointerException at struts2 LocalizedTextUtil

2010-07-27 Thread Rubén khanser
Hi, I'm having this strange error. When I'm trying to read a property from my properties file with the "getText" @ ActionSupport method I get this NPE and this message: DEBUG com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor - Error calling method through OGNL: object: [org.gestor.actio

Re: Setting up 2.2.1 in maven for testing

2010-07-27 Thread java . rgm
Thank you Łukasz, I'm able to move forward now. I should point out that the Sitemesh Plugin page (linked below) lacks information about decorators.xml, which DOES seem to be required in order for the plugin to function. The decorators.xml file can simply contain "" but it seems that it must

Re: Setting up 2.2.1 in maven for testing

2010-07-27 Thread Lukasz Lenart
Hi, You must define it in repository section of your pom -> http://maven.apache.org/pom.html#Repositories struts-staging https://repository.apache.org/content/repositories/orgapachestruts-014 default Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.p

Setting up 2.2.1 in maven for testing

2010-07-27 Thread java . rgm
I'd like to test the Sitemesh / FreeMarker "full integration" configuration available in Struts 2.2.1, detailed on this page: http://struts.apache.org/2.x/docs/sitemesh-plugin.html BUT I'm new to using maven and can't seem to figure out how to modify my pom.xml such that maven downloads the pre-