is there any way to make checkboxes created from a checkboxlist
formatted vertically by adding a after each checkbox or some other
means. right now it just dumps them all out in a row.
same thing for the radio button options.
-- Allen
s the best solution for your problem
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme
Thanks,
Nuwan
- Original Message - From: "Allen Gilliland"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, May 16, 2007 11:59 PM
i am having a strange problem with doing file uploads using a custom
interceptor stack. basically, if my custom interceptor stack does not
directly reference the defaultStack then i am not getting request
parameters from my multipart requests. the easiest way to describe it
is by showing.
u
I'm having a problem with the datetimepicker where it always thinks the
year is 1907 when it gets loaded from an existing value. I have only
been able to find this thread on the issue which suggests there is a bug
but doesn't really provide any real work around ...
http://www.mail-archive.com
ses
internally?
-- Allen
Musachy Barroso wrote:
What is the format of the date in the string? If you stick to RFC 3339 it
should be fine : -MM-dd (this is just the value, the display format can
be set using the "displayFormat" attribute)
musachy
On 6/5/07, Allen Gilliland <[EM
do you have an s:head tag in the head section of your pages? are you
using the ajax theme? i have noticed that my pages are a lot slower
when they have to include and initialize the dojo stuff.
-- Allen
Charbel Abdul-Massih wrote:
I have a page with several form fields (checkboxes, drop do
Musachy Barroso wrote:
On 6/5/07, Allen Gilliland <[EMAIL PROTECTED]> wrote:
I am just using the default settings ...
when the form is submitted i see that there are actually 2 values
submitted, the dojo.bean.dateString and bean.dateString. the format for
dojo.bean.dateString is RF
Do you have a link to some docs on how to use annotations to specify
validation rules? I haven't seen anything about that yet.
I am attempting to do the same thing and it definitely isn't working
properly. If you simply use a validator for the entire Action defined
in ActionName-validation.x
Allen Gilliland wrote:
Do you have a link to some docs on how to use annotations to specify
validation rules? I haven't seen anything about that yet.
ack, never mind, i see the link now :/
http://struts.apache.org/2.x/docs/validation-annotation.html
I am attempting to do the same
on how to configure validation on only a
specific action method?
-- Allen
Allen Gilliland wrote:
Allen Gilliland wrote:
Do you have a link to some docs on how to use annotations to specify
validation rules? I haven't seen anything about that yet.
ack, never mind, i
Dale Newfield wrote:
Allen Gilliland wrote:
I tried out using the validation annotations to only validate a
specific action method but the result is the same, it just does the
validation on all methods :/
I use the ActionName-methodName-validation.xml technique.
Would you mind sharing a
Dale Newfield wrote:
Allen Gilliland wrote:
Would you mind sharing a couple details about how you have it
configured, because if it's working for you then I suppose I must be
doing something wrong? I am using Struts 2.0.5.
Sure. I'll just mirror your snippets with my own.
Is there any struts2 equivalent to the struts1 html:link tag? I see
that the s:a tag is available but is designed for use with ajax and the
only other tag i see is s:url.
The reason I ask is because in my application we used to form links like
this ...
login
and that would build a nice htm
s1
actions from the struts2 config, and so far i can't see how to do that.
-- Allen
Shahak Nagiel wrote:
How about:
>login
This will generate a link to the "login.action" URL (as configured in
struts.xml) and, if necessary, do the appropriate URL encoding for the session.
Dave Newton wrote:
From: Allen Gilliland <[EMAIL PROTECTED]>
that works fine for any actions that i have defined, but it doesn't work
for non-struts actions.
okay, but at that point there is no real reason to use the s:url tag at
all because i am no longer pointing to a logic
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
okay, but at that point there is no real reason to
use the s:url tag at all
If you're not dealing with contexts, perhaps not.
login page
and had this in your struts config file ...
In S1 my impressi
is there a way to configure struts2 so that it doesn't use /struts/* as
the url prefix for all of its resources? i'd like to pick something
else that works better for my application.
-- Allen
-
To unsubscribe, e-mail: [EMAIL
RelativePath.
regards
musachy
On 4/25/07, Allen Gilliland <[EMAIL PROTECTED]> wrote:
is there a way to configure struts2 so that it doesn't use /struts/* as
the url prefix for all of its resources? i'd like to pick something
else t
that would be my vote, but of course I say that for selfish reasons ;)
-- Allen
Musachy Barroso wrote:
I could get it into 2.0.8, it is a simple fix after all.
musachy
On 4/25/07, Allen Gilliland <[EMAIL PROTECTED]> wrote:
I presume that 2.1 won't be released for a while?
i'm guessing that this is a pretty common problem but i couldn't find
any examples on the struts2 docs, i would like to know how best to go
about doing a popup/overlay form using struts2 + ajax.
so for example, if the user is on a page and clicks a link like "add
category" that link would popu
Is there a direct equivalent struts2 tag to the struts1 html:multibox
tag? I am looking at some old code being migrated and i'm not sure how
best to accomplish the same thing in struts2 ...
that code iterates over a collection of foo objects and the multibox
makes checkboxes for
a single checkbox which is based on a list. it looks like
that's what the old html:multibox tag was for, but i dunno, i didn't
write the original code that i am updating :/
-- Allen
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
Is there a direct equivale
i not getting the multiple values and why are the 2
checkboxes affecting each other?
-- Allen
Allen Gilliland wrote:
actually, I did have trouble getting it to work but it doesn't really
matter because that's not really what I am looking for. That tag will
create a whole list o
why is it that when i create a checkbox using the s:checkbox tag that i
end up with 2 html inputs?
yields ...
id="weblogConfig_bean_active"/>
i don't understand what the hidden field is for and why it's needed.
-- Allen
, which may not be desired. i am just using css
to "display:none" those labels as a work around, which isn't the best
case scenario, but it works.
-- Allen
Allen Gilliland wrote:
Okay, I guess that s:checkbox can do what I want but I am having trouble
getting the multiple values f
I haven't looked at this in my application yet (but i probably should
:/), but the struts.properties default config has this ...
### This can be used to set your default locale and encoding scheme
# struts.locale=en_US
struts.i18n.encoding=UTF-8
I would assume that means that struts2 should be
when chaining from one action to another, why is struts2 trying to
lookup the "input" result on action2 before ever executing my action method?
i have a simple config, like the examples in the documentation ...
.Members
.MembersInvite
.disabled
members
when i execute the '
Laurie Harper wrote:
Allen Gilliland wrote:
when chaining from one action to another, why is struts2 trying to
lookup the "input" result on action2 before ever executing my action
method?
i have a simple config, like the examples in the documentation ...
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
[...] i removed all my old validation() methods so i
know it's not that.
public class Members extends UIAction
What does UIAction look like (specifically with
regards to interfaces implements and s
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
public abstract class UIAction extends ActionSupport
Okay, so now the question is why it thinks there's a
validation error on your subclass-we know *why* it's
trying to validate (ActionSupport implement
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
I can't see any reason why validation would be doing
anything at all unless somehow the validation
interceptor wants to use one of the methods in my
action class for validation when i didn't intend
that.
;input' result pointing to a simple JSP
page with s:actionerror, s:actionmessage and s:debug tags on it. Maybe
you'll find a clue as to what's wrong there.
L.
Allen Gilliland wrote:
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
I can't see an
Does the datetimepicker have support for specifying different locales
and timezones? I am presuming that it takes into account the locale
specified by the request, but don't see that specifically mentioned
anywhere. And I don't see it indicating any support for timezones.
-- Allen
-
33 matches
Mail list logo