at 3:53 PM, Justin Robbins
wrote:
> Hi folks,
>
> I have a POJO which has a field of type java.util.Set that is
> collection of domain objects. When I submit a form to my Action, all
> the POJO fields are populated with values from the form except the
> field which is the collect
://stackoverflow.com/questions/6443498/pojos-collection-not-populated-when-submitting-form
Many thanks for your input.
On Wed, Jun 22, 2011 at 3:53 PM, Justin Robbins
wrote:
> Hi folks,
>
> I have a POJO which has a field of type java.util.Set that is
> collection of domain objects. When I
gt;From the POJO:
private Set links = new HashSet(0);
public Set getLinks() {
return this.links;
}
public void setLinks(Set links) {
this.links = links;
}
--
Regards,
Justin Robbins
-
To unsubscribe, e-mail
wrote:
> Justin,
>
> Your error:
>> [java.lang.NoSuchMethodException:
>> org.robbins.flashcards.model.Tag.setTagId([Ljava.lang.String;)] <<STRING
>
>> public void setTagId(int tagId) { <-- INT
>> this.tagId = tagId;
>> }
> Eric Reed
> NYS Education Department
&g
Util=error
log4j.logger.com.opensymphony.xwork2.ognl.OgnlValueStack=error
On Mon, May 2, 2011 at 9:27 PM, Justin Robbins wrote:
> Nope, my bad. After a full refactor I get the same error. Below are
> snippets of the new code and most recently generated error.
>
> Stack Trace excerpt:
> 2011-
public int getTagId() {
return this.tagId;
}
public void setTagId(int tagId) {
this.tagId = tagId;
}
On Mon, May 2, 2011 at 8:53 PM, Justin Robbins wrote:
> I tested it just now and I do NOT get the error when I refactor the
> code from the POJO on down to the JSP to use &q
ot;?
>
> d.
>
> On Mon, May 2, 2011 at 8:32 PM, Justin Robbins
> wrote:
>> Anyone have any ideas on this one? I'd be most grateful for some advice.
>>
>> Someone suggested I use a newer version of the ognl jar. I was using
>> "ognl-3.0.jar&qu
t I'm
still receiving the same error.
Any help is greatly appreciated.
On Mon, May 2, 2011 at 11:26 AM, Justin Robbins
wrote:
> Hi folks,
>
> I have a working Action and JSP form that I'm using for creating new
> entities in my very basic Struts 2.2.1.1 app. I'm trying t
Hi folks,
I have a working Action and JSP form that I'm using for creating new
entities in my very basic Struts 2.2.1.1 app. I'm trying to modify
the app to re-use the JSP form with editing of entities. I added a
hidden "ID" tag and now I'm getting errors when I submit the form.
Can someone plea
Ah, ok. So the SourceForge one is not the one I'm using then. I'm
extending org.apache.struts2.StrutsTestCase in the test I'm having
problems with. Thanks for your input!
On Fri, Apr 29, 2011 at 1:47 PM, Dave Newton wrote:
> On Fri, Apr 29, 2011 at 1:35 PM, Justin Robbin
There's a tutorial page for using it with Struts 2 on
struts.apache.org but the SourceForge page
(http://strutstestcase.sourceforge.net/) for it hasn't been updated
since Struts 1.3 Also, what's the difference between StrutsTestCase
and MockStrutsTestCase
--
Regards,
Justin Ro
11 matches
Mail list logo