Re: [struts] xwork 2.1 changes?

2007-12-16 Thread Dale Newfield
Don Brown wrote: Then when is the code running? In the inbound or outbound? Sitemesh works because it is activated on the outbound, and so should your filter. If inbound, then it won't, because the action proxy hasn't been called yet. Inbound. I got confused because javax.servlet.Filter onl

回复:Re: Is struts 1.X has JAAS integration API?

2007-12-16 Thread 张云勇
Sorry for my pool English, I'm improving it^_^ Here is my mean: I want to get auth user from request, but I don't know how to set the user to the request,like this: String user = request.getRemoteUser(); // the user principal (in string) Principalprincipal = request.getUserPrincipal(); // get a

Re: Is struts 1.X has JAAS integration API?

2007-12-16 Thread Wendy Smoak
On Dec 16, 2007 10:15 PM, 张云勇 <[EMAIL PROTECTED]> wrote: > Is struts 1.X has JAAS integration API? > I want to use the follow code: > > HttpServletRequest request = ServletActionContext.getRequest(); > String authType = request.getAuthType(); // http or https Based on the comment, you probably wa

Re: [struts] xwork 2.1 changes?

2007-12-16 Thread Don Brown
Then when is the code running? In the inbound or outbound? Sitemesh works because it is activated on the outbound, and so should your filter. If inbound, then it won't, because the action proxy hasn't been called yet. Don On Dec 17, 2007 4:10 PM, Dale Newfield <[EMAIL PROTECTED]> wrote: > Don

RE: Is Struts2 ready for prime time?

2007-12-16 Thread Dave Newton
--- "Sekhar, Raja" <[EMAIL PROTECTED]> wrote: > -- ability to map multiple actions to diff > methods of the same class > -- tiles integration to reuse gui components In all fairness, these are not features unique to S2; S1 could do all that as well. > -- continuos rel

Is struts 1.X has JAAS integration API?

2007-12-16 Thread 张云勇
Is struts 1.X has JAAS integration API? I want to use the follow code: HttpServletRequest request = ServletActionContext.getRequest(); String authType = request.getAuthType(); // http or https String user = request.getRemoteUser(); // the user principal (in string) Principalprincipal = request.ge

Re: [struts] xwork 2.1 changes?

2007-12-16 Thread Dale Newfield
Don Brown wrote: I'm accessing this from a listener (LoginListener) that is trying to generate i18ized messages of the form "Last successful login at X, N unsuccessful login attempts since then." Is the ActionContext null because I've not yet been dispatched to an action? What is the appropriat

RE: Is Struts2 ready for prime time?

2007-12-16 Thread Sekhar, Raja
We have deployed a stable pricing calculators using struts2 ( 2.0.8 ) on jboss 4 We have moved away from the old jsp architecture to s2 some of the key considerations/features/benefits are - Reusability -- ability to map multiple actions to dif

回复:Refresh parent browser when fo rm in pop-up browser is submitted

2007-12-16 Thread 张云勇
use javascript to call a parent page's action when the pop-window closed,in the action you can do what you do^_^ 在2007-12-17,quinquin2209 <[EMAIL PROTECTED]> 写道: >Hi All, > >In my application, user can open a member profile in the main page. The >member profile is opened in a pop-up window and us

Refresh parent browser when form in pop-up browser is submitted

2007-12-16 Thread quinquin2209
Hi All, In my application, user can open a member profile in the main page. The member profile is opened in a pop-up window and user can edit the profile. When user submits the form in pop-up browser, I want to close the pop-up browser, refresh the parent browser to reflect change and also displa

Re: [struts][2.0.11] optiontransferselect limit?

2007-12-16 Thread Dave Newton
Done; thanks :) Yeah, 1124 would be a suspicious magic number ;) There are probably other cases where this (or a similar) patch can be applied; I've been spotting several little holes in some of the tag libs but am pretty swamped at the moment. It'll all get done. d. --- Dale Newfield <[EMAIL P

Re: xwork 2.1 changes?

2007-12-16 Thread Don Brown
On Dec 17, 2007 9:12 AM, Dale Newfield <[EMAIL PROTECTED]> wrote: > Attempting to upgrade to 2.1 to finish my optiontransferselect testing > (in 2.0.11 the "select all before submit" is implemented by dojo, which > I'm not using, so I'm still not quite done--when I am I'll post any > appropriate .f

xwork 2.1 changes?

2007-12-16 Thread Dale Newfield
Attempting to upgrade to 2.1 to finish my optiontransferselect testing (in 2.0.11 the "select all before submit" is implemented by dojo, which I'm not using, so I'm still not quite done--when I am I'll post any appropriate .ftl changes to JIRA.) Is there a better list to ask about xwork change

Re: Using JAAS with Struts2

2007-12-16 Thread Adam Hardy
Janesh on 14/12/07 06:40, wrote: I want to use JAAS with Struts2 for our web application (which runs on Tomcat 5.x). Can you please give me some knowhow in this regard? Janesh, JAAS and Struts2 have no direct coupling. You can set up your webserver to use JAAS for the container-managed securi

Re: [struts][2.0.11] optiontransferselect limit?

2007-12-16 Thread Martin Gainty
good call dale! http://freemarker.org/docs/ref_builtins_expert.html implementing has_content will definitely detect no content condition without consulting gray's anatomy for 'systemic' I cant say if this is related to 'aortic' maladies rather than pulmonary? but thats a topic for another day.. T

Re: REST plugin and security

2007-12-16 Thread Don Brown
On Dec 14, 2007 8:28 PM, Martin Gilday <[EMAIL PROTECTED]> wrote: > Hi Don, > I think we are using WS-Security, but I have not been too involved in > it. I just wanted to confirm that a reasonable equivalent was > available. There is no full equivalent for WS-Security, but you can accomplish many