Struts 2 - radio inside iterator

2007-08-26 Thread new2you
Hi, I've seen tons of similar posts here, but no solution: I want to create a table of users, each row represents 1 user and has 3 radio buttons, which determine the user's role in the application. A user can only have 1 role. So I created the following code(shortened): ... ... ...

Weird s:iterator behavior

2007-03-31 Thread new2you
Hi! I've got quite the strange problem, in particular with the "iterator"-tag Outline: I'm having a arraylist of objects in the session; accessing this list via the iterator-tag; within the iterator, accessing some attributes of the objects; the following happens: Sometimes, the list is not itera

RE: Struts 2 - Action writing to response output stream

2007-03-31 Thread new2you
Exactly what I was looking for... returning null was a good practice in Struts 1 when there were no resulttypes, dunno if there's not a better way to do it in S2... One thing one could do is write a null-return method for each kind of byte-result which can be placed in the ActionSupport class so t