[s2]checkboxlist problem

2007-05-18 Thread climbingrose
Hi there, I'm having problem with checkboxlist in Struts 2. Here is my jsp fragment: Now "attributes" is a list of Attribute objects. Attribute class look like: class Attribute { private Integer id; private String name; ... (getters & setters) } The "test" property is a list of String an

Re: usage of

2007-06-18 Thread climbingrose
From your JSP code: There are two things worth noting: 1)Because you're not using includeParams='none', any parameters from your current page will be appended to the url generated by s:url tag. 2)If %{id} can't be found in the stack, has no effects. So I think the code goes wrong because:

Re: Action state

2007-06-24 Thread climbingrose
You can either use a hidden field to resubmit the parent id to the child action: In child action: public Integer getParentId() { return parentId; } public void setParentId(Integer parentId) { this.parentId = parentId; } Or you can store parent id in session and retrieve it in subsequent r

Struts 2 performance

2007-07-09 Thread climbingrose
Hi all, I've been developing Struts 2 webapp for nearly a year now and have a great deal of experience with it. Personally, the architecture of Struts 2 is much cleaner than its predecessor. However, recently I converted one of my Struts 2 pages into Servlet + JSP solution and it turns out that S

Re: Struts 2 performance

2007-07-10 Thread climbingrose
Well, I prefer using Javascript library like JQuery or Mootools for Ajax rather than Dojo. With JQuery I only have 10kB after compressing with gzip. On 7/11/07, Lionel <[EMAIL PROTECTED]> wrote: climbingrose wrote: > Dojo just seems to be to heavy weight for most purposes. I mean if &

Re: Struts 2 performance

2007-07-10 Thread climbingrose
r and javassist.jar and start up. I've done it here and it hasn't really changed my perception of my webapp but YMMV climbingrose wrote: > > Hi all, > > I've been developing Struts 2 webapp for nearly a year now and have a > great > deal of experience with it. Persona