Re: Shale & Container Managed Security

2006-03-03 Thread Niall Pemberton
On 3/4/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 3/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > > > If something like this is developed then it shouldn't be tied to > > container managed security (i.e. request.isUserInRole()) and should be > > easy to plug in custom implementatio

Re: Shale & Container Managed Security

2006-03-03 Thread Craig McClanahan
On 3/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > If something like this is developed then it shouldn't be tied to > container managed security (i.e. request.isUserInRole()) and should be > easy to plug in custom implementations which could cater for other > scenarios/criteria, such as the

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Wendy Smoak
On 3/3/06, Caroline Jen <[EMAIL PROTECTED]> wrote: > For example, if I use specify A:link {text-decoration:none} in my XXX.css > file. > > Now, I am using , how do I do the same? If > you could give an example? http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:link "Rend

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Caroline Jen
I did not use the tag inside the . To give an example, I use something like: Home Page --- RathinaGanesh MeenakshiSundaram <[EMAIL PROTECTED]> wrote: > Did you check out ? or use some span > like this.. > > Home > Page > > Regards, > Ganesh! > > On 3/3/06, Michael Jouravlev <[EMAIL PROT

Re: Shale & Container Managed Security

2006-03-03 Thread Niall Pemberton
On 3/3/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 3/3/06, James Reynolds <[EMAIL PROTECTED]> wrote: > > > > Allow me to refine my question. I'm wondering if the Shale filter is > > intercepting requests to the container. Do I need to adjust the filter > > mapping? Is there an FM somewhe

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Michael Jouravlev
Same. is processed on the server. It generates standard HTML tag. You can check out generated page code in a browser. On 3/3/06, Caroline Jen <[EMAIL PROTECTED]> wrote: > Thanks for your reply. > > I went to the URL that you gave to me; but still do > not know how to use them. > > For example, i

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Caroline Jen
Thanks for your reply. I went to the URL that you gave to me; but still do not know how to use them. For example, if I use , how do I do the same? If you could give an example? --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/3/06, Caroline Jen <[EMAIL PROTECTED]> > wrote: > > When

Re: Shale & Container Managed Security

2006-03-03 Thread Craig McClanahan
On 3/3/06, James Reynolds <[EMAIL PROTECTED]> wrote: > > Allow me to refine my question. I'm wondering if the Shale filter is > intercepting requests to the container. Do I need to adjust the filter > mapping? Is there an FM somewhere that I should R? Shale's filters do indeed intercept whateve

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread RathinaGanesh MeenakshiSundaram
Did you check out ? or use some span like this.. Home Page Regards, Ganesh! On 3/3/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/3/06, Caroline Jen <[EMAIL PROTECTED]> wrote: > > When using HTML, I can get rid of underlining by > > > > A:link {text-decoration:none} > > > > When usin

RE: Shale & Container Managed Security

2006-03-03 Thread James Reynolds
Allow me to refine my question. I'm wondering if the Shale filter is intercepting requests to the container. Do I need to adjust the filter mapping? Is there an FM somewhere that I should R? -Original Message- From: James Reynolds [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006

Re: How To Get Rid of Underlining When Using

2006-03-03 Thread Michael Jouravlev
On 3/3/06, Caroline Jen <[EMAIL PROTECTED]> wrote: > When using HTML, I can get rid of underlining by > > A:link {text-decoration:none} > > When using in Struts, how do I get rid of > the underlining of the link? style, styleClass, styleId http://struts.apache.org/struts-taglib/tagreference-strut

How To Get Rid of Underlining When Using

2006-03-03 Thread Caroline Jen
When using HTML, I can get rid of underlining by A:link {text-decoration:none} When using in Struts, how do I get rid of the underlining of the link? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.y

Struts Exception handling design question !

2006-03-03 Thread digant . k . joshi
Hi ! I want to find out what is best thing to do when it comes to Exception Handling? I have my Application specific AppException I create many different sub-class of AppExceptions based on different conditions in my application. In struts config I am trying to p

Shale & Container Managed Security

2006-03-03 Thread James Reynolds
I'm a newbie setting up container managed security for a basic Shale-blank application. For my first attempt, I'm trying a simple BASIC authentication but I'm having troubles so I'm trying to rule out the unknowns. My question for this list is, does Shale have an impact on traditional Container

RE: Logic Tag Question

2006-03-03 Thread Kalcevich, Daniel
The is fine. I know that works. The problem is with the logic:equal comparion. How can I say that the value I want to check against if the getValue() method from the "tz" variable? -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECT

RE: Logic Tag Question

2006-03-03 Thread [EMAIL PROTECTED]
wouldn't that be: Bryan LaPlante -- Original Message --- From: "Kalcevich, Daniel" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Fri, 3 Mar 2006 13:17:02 -0800 Subject: RE: Logic Tag Question > OK, I am now able to get the iterate tag to work, but the comparison i

Re: Logic Tag Question

2006-03-03 Thread Michael Jouravlev
On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > > But the problem is that the "value" that I want to compare in the > logic:equal tag is really ${tz}.value. But how can I set the value to > the "getValue()" from the "tz" variable. None of these works? Michael. ---

Cannot set value of a nested bean

2006-03-03 Thread Michael Jouravlev
This question actually is more related to commons and BeanUtils, but I ask it here first. So, I have an ActionForm with a property: private Part part; public Part getPart() {return part;} public void setPart(Part part) {this.part = part;} Part contains part name field: public MyProperty myPa

RE: Logic Tag Question

2006-03-03 Thread Kalcevich, Daniel
OK, I am now able to get the iterate tag to work, but the comparison is still not working. I have this now: But the problem is that the "value" that I want to compare in the logic:equal tag is really ${tz}.value. But how can I set the value to the "getVa

Exception creating bean of class ...

2006-03-03 Thread Deep Chand
Hi, i've create a simple jsp page with a form having 4 text properties. it has an action and the action mapping defined in the struts-config.xml file. i get this error when trying to load jsp page. any ideas? javax.servlet.jsp.JspException: ServletException in '/WEB-INF/jsps/user/AddUser.jsp': Ex

Re: Logic Tag Question

2006-03-03 Thread [EMAIL PROTECTED]
If I am not mistaking you will use either the collection or the property attribute but not both. http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#logic:iterate For each iteration of the loop you should be able to compare the value of the id property in you logic:equal tag to t

Re: Logic Tag Question

2006-03-03 Thread Wendy Smoak
On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: I have the following: > - An ArrayList in the ServletContext called > "timezones" > > - A Form Bean in the request scope called "accountProfileForm" > > I want to be able to loop through the values in the "timezones" > attri

Re: Shale article

2006-03-03 Thread Craig McClanahan
On 3/3/06, netsql <[EMAIL PROTECTED]> wrote: > > > http://www-128.ibm.com/developerworks/library/j-shale0228/?ca=dgr-lnxw07Shale > > or WW2? > Which does services better? "Services" as in the dynamic back end of an AJAX or SOA type request? You can use either .. WW2 lets you use the standard int

Logic Tag Question

2006-03-03 Thread Kalcevich, Daniel
I have the following: - An ArrayList in the ServletContext called "timezones" - A Form Bean in the request scope called "accountProfileForm" I want to be able to loop through the values in the "timezones" attribute and compate the "value" to the value of the "timeZone" in

Re: multiple-step form processing

2006-03-03 Thread Chris Cheshire
Thanks Laurie, I didn't even think of that. I am going to explore what Michael posted, because I like the tidiness of that solution. Chris On 3/3/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Just for balance ;-) I'll also point out that you don't *have* to > disable automatic validation to ach

RE: Controller element question

2006-03-03 Thread Wang, Hansen
Use SecureTilesRequestProcessor and SecureTilesPlugin from sslext to use tiles and sslext. Hansen -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 10:25 AM To: Struts Users Mailing List Subject: Re: Controller element question This scenari

RE: Shale Navigation Error

2006-03-03 Thread James Reynolds
Never mind. NetBeans is somehow adding the Spring jars back in when I build the project. Manually removing them fixed the problem and it's navigating now. -Original Message- From: James Reynolds [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 9:55 AM To: user@struts.apache.org

RE: Redirect in filter out of frames

2006-03-03 Thread Neil Meyer
Cool I will try it. Thanks -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 03 March 2006 05:14 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Redirect in filter out of frames Hehe, take a look at this: http://www.jahns-home.de/rent

Re: Controller element question

2006-03-03 Thread Niall Pemberton
This scenario was the main driving force for moving the RequestProcessor to a Chain of Commands in Struts 1.3. I believe sslext has a tiles RequestProcessor version but anyway in Struts 1.2.x you don't have much option but to create multiple flavours. Probably the only thing you can do to make lif

Shale Navigation Error

2006-03-03 Thread James Reynolds
I've set up a very basic web app (running on tomcat 5.5.15) based on the Shale-blank.war I downloaded on 3/1/06. It compiles and runs, but if I navigate to a page, it throws the error listed below. I found some messages in the mail archives that described a similar problem that related to Spring

Struts and Swingweb/WebOnSwing

2006-03-03 Thread Asad Habib
Hello. Has anyone had experience integrating Swingweb or WebOnSwing with Struts. I have a Swing application that I want to web enable and if possible, I would like to use Struts for the controller framework. Thanks. - Asad - T

Shale article

2006-03-03 Thread netsql
http://www-128.ibm.com/developerworks/library/j-shale0228/?ca=dgr-lnxw07Shale or WW2? Which does services better? .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Redirect in filter out of frames

2006-03-03 Thread Frank W. Zammetti
Hehe, take a look at this: http://www.jahns-home.de/rentmei/html/frames.html Seems there might be an HTTP header that does the trick... add the header to your login page, and that might do the trick. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnyt

RE: Redirect in filter out of frames

2006-03-03 Thread Neil Meyer
Thanks Frank, I hoped that there is some other way but I guess that I will have to do it this way. Regards Neil Meyer -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 03 March 2006 04:52 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: R

Re: Redirect in filter out of frames

2006-03-03 Thread Frank W. Zammetti
Hi Neil. This isn't something you can do from a filter, breaking out of frames is a complete client-side activity. One suggestion is to have your filter redirect to a page that has an onLoad event to break the user out of the frames. I actually do this in a project here at work. It will of cour

Re: Changing Tiles definition based on user role

2006-03-03 Thread Wendy Smoak
On 3/2/06, Miller, John <[EMAIL PROTECTED]> wrote: I have used tiles basic functionality for some time both in Struts and > JSF/MyFaces env. What I am trying to do is set my tiles definition based > on user role so I would have two tiles defined the same, but based on > user role the correct one w

Redirect in filter out of frames

2006-03-03 Thread Neil Meyer
Good day, I use a filter to check if the session is still open when the session is lost this will redirect back to the login page. This works nice if I don't use any frames, but now I use frames for a specific project. When I click on the jsp page on the logout tag it is possible to call the doc

Controller element question

2006-03-03 Thread Scott Purcell
The struts-config.xml has an element named in which you can add the "processorClass" attribute. Currently a project I am working on is using the TileRequestProcessor as the value of the processorClass attribute. I want to be able to use the TilesRequestProcessor, but also I have written a

Validation using Mask

2006-03-03 Thread Sahil Gupta
Hi, I have used masking in my Validation-admin.xml, where I have defined all the things that can be entered in a TEXT AREA. Now if a user logs in and presses Enter in this Text Area he gets an error. How do we allow things like Enter in our Masking. Regards, Sahil Gupta Extn : 233 Email : [E

RE: Why global error handling doesn't work with struts?

2006-03-03 Thread Partha Pratim Dutta
Thanks Lixin, it works !!! -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 10:51 AM To: Struts Users Mailing List Subject: Re: Why global error handling doesn't work with struts? to show your own error page in IE, you need to have error page siz

Re: multiple-step form processing

2006-03-03 Thread Laurie Harper
Just for balance ;-) I'll also point out that you don't *have* to disable automatic validation to achieve your goal; there are approaches that will allow you to retain that functionality, too. One possibility is to point the 'input' attribute to the same DispatchAction and have one of the meth