-is-the-documentation-for-Struts-tags--tp28413026p28457393.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
Em 05-05-2010 07:57, RogerV escreveu:
So if it's looking for a string, let's make sure you're giving it one,
and not the .toString of an empty map that it got from your prepare method:
s:checkboxlist name=%{'selectedroles'} list=%{availableroles}
value=%{preselectedroles}/
I must admit I
-translate a String of comma
seperated values into a ListString which tidies things up a bit.
Thanks
--
View this message in context:
http://old.nabble.com/Where-is-the-documentation-for-Struts-tags--tp28413026p28459108.html
Sent from the Struts - User mailing list archive at Nabble.com
On 5/5/10 2:57 AM, RogerV wrote:
The final clue! I changed my jsp to;
s:checkboxlist name=selectedroles list=%{availableroles}
value=%{preselectedroles}/
checkbox?selectedroles=ROLE_ADMINselectedroles=ROLE_USERselectedroles=ROLE_UBER__multiselect_selectedroles=
is sent. I saw an exception
Thanks again Dale
--
View this message in context:
http://old.nabble.com/Where-is-the-documentation-for-Struts-tags--tp28413026p28461295.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
On 5/5/10 9:58 AM, RogerV wrote:
I'd be happy to contribute
I'd think the best place is:
https://cwiki.apache.org/confluence/display/WW/Struts+2+Form+Tags
I forget what hoops you have to jump through to get a working wiki
account...if it doesn't just work when you try to register you might
On 5/3/10 2:54 AM, RogerV wrote:
s:form
s:checkboxlist name=selectedroles list=%{availableroles}
value=%{preselectedroles}/
s:submit type=button label=Add/
/s:form
So what html does this generate for the client to render/submit?
If you set the form action to be GET it's even easier to see
)
public void setSelectedroles(MapString, String selectedroles) {
this.selectedroles = selectedroles;
}
-Dale
--
View this message in context:
http://old.nabble.com/Where-is-the-documentation-for-Struts-tags--tp28413026p28447736.html
Sent from the Struts - User
On 5/4/10 10:08 AM, RogerV wrote:
s:checkboxlist name=selectedroles list=%{availableroles}
value=%{preselectedroles}/
input type=checkbox name={} value=ROLE_ADMIN id={}-1/
input type=checkbox name={} value=ROLE_USER id={}-2
checked=checked/
input type=checkbox name={} value=ROLE_UBER id={}-3/
) {
this.preselectedroles = preselectedroles;
}
}
Regards
--
View this message in context:
http://old.nabble.com/Where-is-the-documentation-for-Struts-tags--tp28413026p28432059.html
Sent from the Struts - User mailing list archive at Nabble.com
starting to
be more trouble than it's worth.
Someone, somewhere must know of a url where this is all explained with
crystal clarity with useful code examples - I just can't find it at the
moment.
Yours in desperation
--
View this message in context:
http://old.nabble.com/Where-is-the-documentation
@struts.apache.org
cc
Subject
Where is the documentation for Struts tags
Where is the latest documentation for using Struts 2 tags? I had a
problem
earlier in the week trying to use the optiontransferselect tag which I
still
haven't been able to get working. Earlier today, I started trying to get
On 4/30/10 10:43 AM, RogerV wrote:
Where is the latest documentation for using Struts 2 tags? I had a problem
earlier in the week trying to use the optiontransferselect tag
http://struts.apache.org/2.x/docs/optiontransferselect.html
But there appears to be a bug with the snippets right
http://struts.apache.org/2.0.14/docs/tag-reference.html
On Fri, Apr 30, 2010 at 8:29 AM, Dale Newfield d...@newfield.org wrote:
On 4/30/10 10:43 AM, RogerV wrote:
Where is the latest documentation for using Struts 2 tags? I had a
problem
earlier in the week trying to use the
14 matches
Mail list logo