Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-06 Thread Martin Cooper
On Wed, Jun 6, 2012 at 9:18 AM, s wrote: > > I have a form with java.util.Date (createTimestmp) and it has both date & > time. > createTimestmp is an hidden field on the form. When I fetch record from > database it has "5/17/12 12:58:33 PM.688" as value. This is a question about using Struts, a

Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-06 Thread Dave Newton
And the JSP? On Wed, Jun 6, 2012 at 12:18 PM, s wrote: > > I have a form with java.util.Date (createTimestmp) and it has both date & > time. > createTimestmp is an hidden field on the form. When I fetch record from > database it has "5/17/12 12:58:33 PM.688" as value. > > If I change something o

Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-06 Thread s
I have a form with java.util.Date (createTimestmp) and it has both date & time. createTimestmp is an hidden field on the form. When I fetch record from database it has "5/17/12 12:58:33 PM.688" as value. If I change something on the form and if validation is GOOD, then creatTimestmp value is re

RE: Editing a plugin announcement doesn't work

2012-06-06 Thread Martin Gainty
possibly version mismatch on one of your dependent jars..i would try contacting1)atlassian 2)maven users group Martin- ___ ...extensive disclaimer goes here... > Date: Wed, 6 Jun 2012 10:20:58 -0400 > Subject: Re: Editing a plugin announcement doesn't work > From: davelnew...@gmail

Re: Editing a plugin announcement doesn't work

2012-06-06 Thread Dave Newton
Hmm, my off-the-top-of-my-head guess is this is due to a Confluence upgrade, but I neither know anything about that, nor could I do anything about it if I did. Anyone? d. For reference: java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost cannot be cast to com.atlassian.conflue

Re: Editing a plugin announcement doesn't work

2012-06-06 Thread Rees Byars
Sure Dave, sorry I didn't include better information before. I've attached a screenshot of the page that is generated. As far as my permissions go, I don't know what they are exactly, but I know that I can edit most other pages, and I created the announcement. The steps to recreate the error are:

Re: Editing a plugin announcement doesn't work

2012-06-06 Thread Dave Newton
Generates "an error"? What error? Do you have edit rights? Please provide actionable information. Dave On Wed, Jun 6, 2012 at 7:59 AM, Rees Byars wrote: > From the plugin page (https://cwiki.apache.org/S2PLUGINS/home.html), if I > click on an announcement blog post and then click edit, it gener

Editing a plugin announcement doesn't work

2012-06-06 Thread Rees Byars
>From the plugin page (https://cwiki.apache.org/S2PLUGINS/home.html), if I click on an announcement blog post and then click edit, it generates an error. I wanted to edit an announcement, but it doesn't seem possible for me. Not a major issue to me, so no worries if it doesn't get addressed. Reg