Re: 2.0.9 OptionTransferSelect

2007-10-29 Thread Brian Trzupek
I tried 2.0.10 and experienced the same problem. Does anyone have any ideas on this one? Thanks, Brian On Oct 24, 2007, at 11:18 PM, Brian Trzupek wrote: I am trying to upgrade our app to 2.0.9 and having difficulty in the optiontransferselect tag. Here is a sample of what a typical OTS

Re: Audit trail - implementation strategies

2007-10-25 Thread Brian Trzupek
We just did the very same thing. Here is how we did it We are using JPA/Toplink for our database layer, so our implementation is highly dependent on that. We then used an approach based on this blog entry: http://tapestryofthoughts.blogspot.com/2007/05/glassfish-and-audit- logging.html

2.0.9 OptionTransferSelect

2007-10-24 Thread Brian Trzupek
I am trying to upgrade our app to 2.0.9 and having difficulty in the optiontransferselect tag. Here is a sample of what a typical OTS tag looks like in our app: -

Re: Slow Web Page, Speed Up?

2007-10-09 Thread Brian Trzupek
refreshes. Otherwise 2.0.9 seems ok. Thanks, Brian On Sep 28, 2000, at 8:24 AM, Martin Gainty wrote: Brian Can you confirm this is a problem with Struts 2.0.9? https://issues.apache.org/struts/browse/WW-2182 Thanks/ Martin-- - Original Message - From: "Brian Trzupek" <[EMAIL P

Re: Struts 2: Unable to catch exceptions via global-exception-mappings

2007-09-30 Thread Brian Trzupek
I am not 100% sure on this, but I think you need to have struts.devMode = false in struts.properties. Give that a whirl. Brian- On Sep 30, 2007, at 9:43 PM, mikeh96 wrote: I am unable to trap an exception and it's being pushed up until it becomes a 500 Servlet Exception. Basically, I w

Re: Struts2 ... SecurePlugin?

2007-09-28 Thread Brian Trzupek
In your struts.xml for the action mapping add the roles interceptor as following. method="list"> /email/listemail.jsp name="allowedRoles">Administrator,Role2,Role3,Role4 .

Re: Slow Web Page, Speed Up?

2007-09-28 Thread Brian Trzupek
have an answer to your question. Brian- On Sep 28, 2000, at 8:24 AM, Martin Gainty wrote: Brian Can you confirm this is a problem with Struts 2.0.9? https://issues.apache.org/struts/browse/WW-2182 Thanks/ Martin-- - Original Message - From: "Brian Trzupek" <[EMAIL PROTECTED]

Re: Slow Web Page, Speed Up?

2007-09-28 Thread Brian Trzupek
lem was to just remove that tag. That page was not using Ajax anyways. Page rendering time decreased by @3seconds after the removal of that tag. Thanks for the help! Brian- On Sep 28, 2007, at 2:17 AM, Oleg Mikheev wrote: Brian Trzupek wrote: Both of the above constructs sho

Re: Breadcrumbs

2007-09-27 Thread Brian Trzupek
Try this one out, we are using it very successfully. Trail Taglin http://www.osjava.org/trail-taglib/index.html brian- On Sep 25, 2007, at 5:53 AM, [EMAIL PROTECTED] wrote: Can you tell me if Struts 2 has a facility for breadcrumbs? On 9/25/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

Slow Web Page, Speed Up?

2007-09-27 Thread Brian Trzupek
We have a JSP that is the main navigation menu and it has a notion of RBAC so that the logged in user needs to be in a given role to see the different navigation items (the actions behind them respect the same roles as well, so we are not just hiding links). The page loads extremely slowly,

Re: checking whether a button has been pressed

2007-07-27 Thread Brian Trzupek
; } This pattern has proven wonderfully useful in our development. Brian Trzupek On Jul 26, 2007, at 2:31 PM, Session A Mwamufiya wrote: Hi, I have a jsp page with a form and a number of input buttons. I would like my form action to differentiate which button has been pressed in order to show

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Brian Trzupek
Dave, As for a 'reason why I might *want* to use both on a page I found that some jsp taglibs that we have used, rely on pulling attr from EL tags. So when we have those tags in our app, and others Struts controls are on the page, we will use both. Also, in some cased we -need- to use

Re: [S2] how to prevent the results pages get saved in the browser's cache

2007-07-26 Thread Brian Trzupek
cols/rfc2616/rfc2616-sec13.html#sec13.2.3 - section 13.2.5 I am not sure if that helps, but thought I would share what I did. Thanks, Brian Trzupek On Jul 26, 2007, at 1:34 PM, Gabriel Belingueres wrote: Hi, Which is the best (right?) way of setting the HTTP headers in a S2 app to prevent the

Re: Struts 2 and Tomcat 5.0.27 filter start error

2007-07-24 Thread Brian Trzupek
Phillip, I wonder if you can use the META-INF manifest directory to specify the load order of required Libs to overcome your shared hosting problem? I had to do something similar back in WebSphere 4.x with Struts 1.something. ;) Brian Trzupek On Jul 16, 2007, at 11:13 AM, Phillip

Re: Tab Persistance

2007-07-11 Thread Brian Trzupek
them manually. If you're taking the second approach, and you have get/ set-methods for your active element, quickly thinking, you could possibly just use selectedTab=""? On 7/11/07, Brian Trzupek <[EMAIL PROTECTED]> wrote: Toni, So when you say you use "%{#parameters[&#x

Re: Tab Persistance

2007-07-11 Thread Brian Trzupek
s back to the page? Any idea where I went wrong? Thanks, brian- On Jul 10, 2007, at 8:50 AM, Toni Lyytikäinen wrote: I'd like to know the best practice too. I've done this setting a parameter in the request, and in my jsp I have not very elegant but works. On 7/10/07, Brian

Re: Tab Persistance

2007-07-10 Thread Brian Trzupek
Thanks, I think the latter works best for my use case. It would be nice if this feature was a built in component of the tabbedPanel and transparent to the developer. brian- On Jul 10, 2007, at 8:53 AM, Adrian Ost wrote: Brian Trzupek schrieb: I have a page with several Struts Tabs on it

Tab Persistance

2007-07-10 Thread Brian Trzupek
I have a page with several Struts Tabs on it. When I submit the page, I would like it to come back to the 'active' tab (the previous selected tab). Is there a best practice on how to do this? Thanks, Brian- - To unsubscribe

Re: OptionTransfer Select - id number formatting

2007-05-31 Thread Brian Trzupek
I figured this out. All I did was change the method signature on my Action class from: setNotificationUsers(Collection notificationUsers) to setNotificationUsers(Collection notificationUsers) And Struts/XWork took care of the rest. Brian- On May 31, 2007, at 10:08 AM, Brian Trzupek wrote

OptionTransfer Select - id number formatting

2007-05-31 Thread Brian Trzupek
I am using the optionTransferSelect tag all over the place, love this control! Anyways, when the id property of list (which is an int) gets displayed in the HTML by the tag the number get formatted with a comma when the numbers get into 4+ digits. Example output: [EMAIL PROTECTED]

Re: Select Tag - Odd Behavior

2007-05-09 Thread Brian Trzupek
n are not what you think they are. I can't see anything from the details you've posted that looks wrong. Maybe it would help to grab a copy of the Struts source code corresponding to the release you're using and step through the code to see what might be happening. L. Brian Tr

Re: Select Tag - Odd Behavior

2007-05-09 Thread Brian Trzupek
e this helps a bit, as I am stumped. Especially since I have other select tags working correctly. Thanks, Brian On May 9, 2007, at 12:45 AM, Laurie Harper wrote: Brian Trzupek wrote: I am using Struts 2 (tried 2.0.1-2.0.6) and am having bizarre behavior with the select tag in a

Select Tag - Odd Behavior

2007-05-08 Thread Brian Trzupek
I am using Struts 2 (tried 2.0.1-2.0.6) and am having bizarre behavior with the select tag in a jsp page. My code looks like this: emptyOption="true" listKey="name" listValue="name"/> id="hider"/> When I do this the list gets displayed with the fully qualifi

Re: Enabling links according to user's authorization

2006-01-12 Thread Brian Trzupek
Rivka, I have been asked this question many times, so I decided to just add the answer to my blog. It is there for your enjoyment! Let me know if you need more help. http://therustednail.blogspot.com/2006/01/role-based-user-authentication-in.html Thanks, Brian Trzupek Blog: http

Re: Enabling links according to user's authorization

2006-01-12 Thread Brian Trzupek
n have multiple roles for access. (That may be overkill for you). I hope this helps, and if you need further info or code snippets, let me know! Cheers, Brian Trzupek shyam kishore alapati wrote: While login itself you can have the permissions in the session and based on the permissions you