checkboxlist formatted vertically?

2007-05-16 Thread Allen Gilliland
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

Re: checkboxlist formatted vertically?

2007-05-17 Thread Allen Gilliland
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

problems with file upload parameters and custom interceptor stack

2007-05-17 Thread Allen Gilliland
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

datetimepicker shows 1907 when populated from existing value

2007-06-05 Thread Allen Gilliland
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

Re: datetimepicker shows 1907 when populated from existing value

2007-06-05 Thread Allen Gilliland
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

Re: [S2] Why are my struts pages rendering slow

2007-06-05 Thread Allen Gilliland
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

Re: datetimepicker shows 1907 when populated from existing value

2007-06-05 Thread Allen Gilliland
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

Re: [S2] struts2 validation for only one method in action

2007-02-22 Thread Allen Gilliland
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

Re: [S2] struts2 validation for only one method in action

2007-02-22 Thread Allen Gilliland
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

Re: [S2] struts2 validation for only one method in action

2007-02-22 Thread Allen Gilliland
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

Re: [S2] struts2 validation for only one method in action

2007-02-22 Thread Allen Gilliland
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

Re: [S2] struts2 validation for only one method in action

2007-02-22 Thread Allen Gilliland
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.

struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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.

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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

[s2] can dojo resources be configured to url other than /struts/*?

2007-04-25 Thread Allen Gilliland
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

Re: [s2] can dojo resources be configured to url other than /struts/*?

2007-04-25 Thread Allen Gilliland
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

Re: [s2] can dojo resources be configured to url other than /struts/*?

2007-04-25 Thread Allen Gilliland
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?

[s2] ajax tags for doing popup/overlay form?

2007-04-26 Thread Allen Gilliland
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

[s2] is there an equivalent for the old html:multibox tag?

2007-04-30 Thread Allen Gilliland
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

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-05-01 Thread Allen Gilliland
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

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-05-01 Thread Allen Gilliland
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 does s:checkbox render 2 input elements?

2007-05-02 Thread Allen Gilliland
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

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-05-02 Thread Allen Gilliland
, 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

Re: UTF-8 charset issue

2007-05-03 Thread Allen Gilliland
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

[s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
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 '

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
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 ...

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
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

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
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

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
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.

Re: [s2] problem with action chaining returning "input" result

2007-05-07 Thread Allen Gilliland
;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

datetimepicker support for time zone and locale?

2007-05-12 Thread Allen Gilliland
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 -