Re: Parameter of ActionMessage...

2005-12-01 Thread Gaet
Thanks Laurie, It's exactly what I want but in fact I want to this in an ActionForm class. And from and ActionForm, I can't access to getResources(..) method How to achieve that in an ActionForm? is it possible? Moreover, why to you define variable locale because you don't use it afterwhile...

Re: Parameter of ActionMessage...

2005-12-01 Thread Oles
*People! Prompt please Good ** Struts 1.1 tutorials? And what have changed at 1.1 release? * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem using LookupDispatchAction

2005-12-01 Thread Oles
Michael Jouravlev wrote: On 11/30/05, Matheus Eduardo Machado Moreira [EMAIL PROTECTED] wrote: Hi, I have a problem using LookupDispatchAction. I already tried looking for the solution on Google, this list archive and other resources but I wasn't able to fix the problem. Maybe some

RE: [ANN] [JAVAWUG] BOF XIV / Monday / 5th December 2005 / Waxy O 'Co nnors / 19:15

2005-12-01 Thread Pilgrim, Peter
This is just a reminder -Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] ==== The ``JAVA Web User Group'' is pleased to announce. Please join us for the BOF XIV London / Pre-Javapolis meet-up at the ``Waxy O'Connor'' Bar at 19:15M on Monday, 5th December,

Re: Why does html:text property=.../ has no value?

2005-12-01 Thread Sebastian Stein
Laurie Harper [EMAIL PROTECTED] [051201 07:43]: action path=/EditDoc type=org.contineo.actions.documan.document.EditDocAction forward name=editdoc path=/pages/editDoc.jsp

RE: design question --- struts displaytag

2005-12-01 Thread fea jabi
can someone help me with this please? Thanks. From: fea jabi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: user@struts.apache.org Subject: design question --- struts displaytag Date: Wed, 30 Nov 2005 16:02:26 -0500 Have a table as below -- will be using

Re: Multiple Servlet contexts

2005-12-01 Thread Martin Gainty
I would look at how borland enterprise server initialises and utilises JDBC 2.0 connections in a webapp agnostic manner referenced by JNDI at http://www.borland.com/resources/en/pdf/white_papers/bes_a_guide_to_porting_applications.pdf (You will note that other AppServers such as WL bind their

Re: design question --- struts displaytag

2005-12-01 Thread Matt Morton
You will place the name of the properties asscoiated with hrs bean, So if it has a property called name then place name in there. You can also break open the tag a bit and use the follwing syntax display:column${hrs.name}/display:column Then you can manipulate the value like you want. This is

Re: design question --- struts displaytag

2005-12-01 Thread Dave Newton
fea jabi wrote: can someone help me with this please? What are you doing this for? In other words, is this for your job, school work, etc.? For displaytag questions you'll want to look at the displaytag docs or utilize their mailing list. Dave

RE: [Shale] Clay - Links not working

2005-12-01 Thread Gary VanMatre
Hi No sooner did I send this, when I decided to clean out my Tomcat work directory - and now it works. javax.faces.DEFAULT_SUFFIX hads to be set to .xml for this to work. The RI behaves differently here. It will allow a view id suffix with a suffix that matches the faces servlet

Re: design question --- struts displaytag

2005-12-01 Thread fea jabi
thankyou for your responses. From: Dave Newton [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: design question --- struts displaytag Date: Thu, 01 Dec 2005 09:44:38 -0500 fea jabi wrote: can

To Stop the page information which I recently modified until I specified

2005-12-01 Thread Srinivas.V
Hi This is not an struts related even though I am sending to this please help me in this regard, I have a requirement like when ever we change any content in the jsp it reflects as soon as we refresh. but I don't want that, if I do any modification that will reflect at the specified interval or is

Re: To Stop the page information which I recently modified until I specified

2005-12-01 Thread Dave Newton
Srinivas.V wrote: I have a requirement like when ever we change any content in the jsp it reflects as soon as we refresh. but I don't want that, if I do any modification that will reflect at the specified interval or is any other way. Why?! You'd be better off modifying local copies then

DispatchAction parameter getting dropped by IE

2005-12-01 Thread Nick Heudecker
Occasionally, one my my users will receive the following error message: javax.servlet.ServletException: Request[/foo] does not contain handler parameter named 'p'. This may be caused by whitespace in the label text. There isn't any whitespace in the label text, and this only occurs with IE.

Re: Parameter of ActionMessage...

2005-12-01 Thread Laurie Harper
Gaet wrote: Thanks Laurie, It's exactly what I want but in fact I want to this in an ActionForm class. And from and ActionForm, I can't access to getResources(..) method How to achieve that in an ActionForm? is it possible? Hmm, in that case you may be out of luck; ActionMessage works by

Re: Repost:- Accessing an array from within a JSP

2005-12-01 Thread Laurie Harper
Mon Cab wrote: Sorry. The formatting was messed up on my first post. Hopefully this is better I am trying to define a string array as a property of DynaValidatorForm in my struts config file and then access that array from within a JSP but am getting an incompatible types error when trying to

How to prevent URL cached

2005-12-01 Thread info3853 Bush
I noticed that in many web applications, after you logout from the application, you can still use the browser back button to view some pages you supposely shouldn't. Some web applications, like gmail, if you logout, and click the back, it will always redirect the page to the login page.

Re: DispatchAction parameter getting dropped by IE

2005-12-01 Thread Nick Heudecker
Now I'm thinking this has something to do with the charset not getting set in IE. Users are copying and pasting content from Word into textareas and getting this error. Is it possible Tomcat can't parse the incoming form data and nothing gets passed to the Action? On 12/1/05, Nick Heudecker

SV: Re: checkbox for nested collection

2005-12-01 Thread Per Jørgen Walstrøm
hello, you are right, I do have access to the POJO and the properties and I am able to pre-populate the form. However, the checkboxes are rendered dynamically in the jsp from the getRestrictive() method of my GeSectionComponent. I can't really set them all to false beforehand, because then they

Re: DispatchAction parameter getting dropped by IE

2005-12-01 Thread Frank W. Zammetti
I've seen sporadic problems along these lines over the past two years with an app I have, and it's an IE-only app. I've never been able to track it down, but it's been fairly rare so I haven't gone nuts trying either :) Same kind of symptoms though... logs seem to indicate request parameters

Re: How to prevent URL cached

2005-12-01 Thread info3853 Bush
That's true. This topic belongs to web application security. The thing is that all static content are shown when you used the back button. Of course, you can't click any link since the session is already invalidated. Normally, you do all access control through the BaseAction class

[struts-faces] weird JSPException converting Tiles layout

2005-12-01 Thread Laurie Harper
Having successfully converted a couple of tile JSPs to JSF, I just tried converting a layout. I'm getting a really weird behaviour which I can't explain... It *looks* like Tiles is closing the response stream in spite of flush=false, but if that were the case I'd expect the following exception

Re: SV: Re: checkbox for nested collection

2005-12-01 Thread Laurie Harper
The trick is understanding the request processing life-cycle. The following is the sequence of events: - Struts either instantiates the action form or, if you use session scoped forms and one already exists, retrieves it from the session - Struts calls reset() on the form (I *think* in

[Somewhat OT] JSTL problem in Websphere

2005-12-01 Thread Frank W. Zammetti
I'm trying to deploy a Struts-based app to Websphere (5.1 I believe) that is now using JSTL in most places. I have jstl.jar and standard.jar in WEB-INF/LIB (both versions 1.1.2). On my page I have: %@ taglib prefix=fmt uri=http://java.sun.com/jsp/jstl/fmt; % This matches the URI in the fmt.tld

Re: DispatchAction parameter getting dropped by IE

2005-12-01 Thread Nick Heudecker
I found this link (http://www.crazysquirrel.com/computing/general/form-encoding.jspx) and, after adding the accept-charset and the hidden field, it fixed it. On 12/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: I've seen sporadic problems along these lines over the past two years with an app

Re: How to prevent URL cached

2005-12-01 Thread Michael Jouravlev
On 12/1/05, info3853 Bush [EMAIL PROTECTED] wrote: That's true. This topic belongs to web application security. The thing is that all static content are shown when you used the back button. Of course, you can't click any link since the session is already invalidated. Mark page as

Re: [Somewhat OT] JSTL problem in Websphere

2005-12-01 Thread Nick Sophinos
We had a similar problem with Jetty and had to resort to referencing the taglib via a file path to the tld file. These files come with the download of JSTL. - Nick On 12/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: I'm trying to deploy a Struts-based app to Websphere (5.1 I believe) that

Re: [Somewhat OT] JSTL problem in Websphere

2005-12-01 Thread Frank W. Zammetti
Wendy, there's no other way to say this, so I'll just say it... You kick all manner of a**! That was exactly it, thanks for saving me an hours' worth of banging my head on the desk! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM:

RE: [Somewhat OT] JSTL problem in Websphere

2005-12-01 Thread Karr, David
I believe that Websphere 5 is not a JSP 2.0 container (Websphere 6 is). Assuming that's true, you have to use the 1.0.x versions of the JSTL. Version 1.1.x is used in JSP 2.0 containers. You'll also have to make sure the taglib uri matches the one in the TLD file in the taglib jar (it's different

Re: [Definitely OT] JSTL problem in Websphere

2005-12-01 Thread Dave Newton
Frank W. Zammetti wrote: What bit of stupidity am I committing here? Using Websphere. But seriously, folks... We didn't see that error, but we were on a different version, and the configuration they were using was twisted anyway. No help here. Really I just wanted to say the jokey bit.

Re: How to prevent URL cached

2005-12-01 Thread info3853 Bush
Yes, I did that. Now all pages are blank. What I really wish is that after logout, when user hit back button, the page goes back to login page, never visit all pages visited before even just blank page now. Michael Jouravlev [EMAIL PROTECTED] wrote: On 12/1/05, info3853 Bush wrote: That's

Re: [Definitely OT] JSTL problem in Websphere

2005-12-01 Thread Frank W. Zammetti
Dave Newton wrote: Frank W. Zammetti wrote: What bit of stupidity am I committing here? Using Websphere. You won't get any disagreement from me :) I wish I had any kind of choice in the matter, but you know how it goes in big business when deals are made. Now it looks like

Re: How to prevent URL cached

2005-12-01 Thread Simons Kevin
just an opinion...perhaps you can check whether the user has hit the back button. When he hits the button you might run the code that check's whether a user was logged in or not. If not...load the login page. I do know that you can use javascript to replace the history goback(). I don't know

Proper way of doing internationalization

2005-12-01 Thread Aladin Alaily
Hello, In internationalizing a struts-tiles application, in your opinion, is it better to internationalize the properties file or the tiles configuration file? and why? Thanks for you thoughts. Aladin - To unsubscribe, e-mail:

Re: How to prevent URL cached

2005-12-01 Thread Michael Jouravlev
Did you say pages are static (HTML)? Or they are JSPs? Or does request pass through Struts action? If they are not plain HTML, then in your action or in JSP page check if user is logged in. If not, redirect to login page. Here is the simple scriptlet, that you should stick in the beginning of

Re: Proper way of doing internationalization

2005-12-01 Thread Martin Gainty
Have you looked at cedric dumoulin's SelectLocaleAction class switching on request.getParameter(language) initialised by putList... add value=lang.do?language=FR/ add value=lang.do?language=VI/ which then sets the User Locale Attribute at

Re: How to prevent URL cached

2005-12-01 Thread Laurie Harper
Or use container managed security (which, I think, can be used for static as well as dynamic content?)... Like I said, there are a lot of options... ;-) Michael Jouravlev wrote: Did you say pages are static (HTML)? Or they are JSPs? Or does request pass through Struts action? If they are not

Re: Proper way of doing internationalization

2005-12-01 Thread Laurie Harper
Aladin Alaily wrote: Hello, In internationalizing a struts-tiles application, in your opinion, is it better to internationalize the properties file or the tiles configuration file? and why? You'll need to do both, as each serves a different purpose. Depending on your precise needs you may

[FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Michael Jouravlev
Maybe I do not know how to do business. Heck, I do not have MBA. But for some reason I have a sour taste in the mouth. If StrutsTi/Struts2.0 is so heavily based on WebWork code that one did put an equal sign between the two, then Struts2.0 is not Struts anymore. It would be honest just to say that

RE: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread bsimonin
I think Struts is pretty cool. But JSF seems to be the future so I am now learning it. But I am getting really confused about Shale versus pure JSF versus Struts. Maybe Craig McClanahan can give me some more insite into what I should be learning for my next Java based web project. Is JSF

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Don Brown
While you are certainly entitled to your opinion, I'd ask that you reserve judgement until at least the first Struts Ti release. Yes, we plan to seed Struts Ti with WebWork 2.2, but that doesn't mean it will stay that way or that Struts Action 1.x users and even code aren't important. I just

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Craig McClanahan
+1 on Don's serious message below (API compatibility is the key), but in a somewhat more whimsical way in light of the [FRIDAY] prefix. On 12/1/05, Don Brown [EMAIL PROTECTED] wrote: While you are certainly entitled to your opinion, I'd ask that you reserve judgement until at least the first

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Craig McClanahan
On 12/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think Struts is pretty cool. But JSF seems to be the future so I am now learning it. But I am getting really confused about Shale versus pure JSF versus Struts. Maybe Craig McClanahan can give me some more insite into what I should

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Preston CRAWFORD
And this is about where I start ramping up my Ruby studying. I mean, I'm all for competing frameworks, but when the Struts umbrella covers 3 different frameworks (which in term utilize how many technologies?) it begins to get a little silly. Which one should I be learning/using? I know,

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Preston CRAWFORD
[EMAIL PROTECTED] 12/1/2005 7:30:16 PM My personal belief is that component oriented development is more accessible to a wider array of developers than action oriented frameworks. Therefore, I spend my time (disclaimer: I'm paid to do this too, but that doesn't cover much of my open source

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Michael Jouravlev
On 12/1/05, Don Brown [EMAIL PROTECTED] wrote: This is open source - if you are convinced Struts Action 1.x is the one true way, feel free to jump in and contribute. Just because Struts Ti may be right for me, it may not be for you. That is not what I meant. I meant that I will not buy

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Craig McClanahan
On 12/1/05, Preston CRAWFORD [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] 12/1/2005 7:30:16 PM My personal belief is that component oriented development is more accessible to a wider array of developers than action oriented frameworks. Therefore, I spend my time (disclaimer: I'm paid to do

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Larry Meadors
On 12/1/05, Michael Jouravlev [EMAIL PROTECTED] wrote: On 12/1/05, Craig McClanahan [EMAIL PROTECTED] wrote: Put another way, my application depends on a Duck API, with methods like drumstick() and bill() and foot() that do things for me. Am I going to care if the internal implementation

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Craig McClanahan
On 12/1/05, Preston CRAWFORD [EMAIL PROTECTED] wrote: Your overall explaination helps, but it's sitting on a mailing list. Point well taken (although it still gets to ~3000 direct subscribers and unknown numbers of people who look in the mail archives) ... seems like a blogworthy subject as

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Ted Husted
On 12/1/05, Michael Jouravlev [EMAIL PROTECTED] wrote: I have nothing against WebWork, I had looked into it once or twice, it is surely a nice framework, but I will not buy WebWork skinned as Struts. I think what people sometimes forget is that we're not selling anything. If we were tring to

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Ted Husted
On 12/1/05, Preston CRAWFORD [EMAIL PROTECTED] wrote: Your overall explaination helps, but it's sitting on a mailing list. Hey, you heard it here first :) All of these explanations start on the user or dev list and work their way into the website. We don't have a marketing staff to run around

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Ted Husted
On 12/1/05, Preston CRAWFORD [EMAIL PROTECTED] wrote: I mean, I'm all for competing frameworks, but when the Struts umbrella covers 3 different frameworks (which in term utilize how many technologies?) it begins to get a little silly. Hmmm, there won't be three, only two. Ti is a codename for

Tabbed panes in struts

2005-12-01 Thread Agnisys
Hi, I have seen tiles used for implementing Tabbed panes, however, they are static, that is, what tabs are displayed is known ahead of time. In my application a tabbed pane is created at run-time. Is there a way to do this under Struts framework or using some tags? Thanks, Anupam.

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Ted Husted
On 12/1/05, Craig McClanahan [EMAIL PROTECTED] wrote: But the fact that Struts has always stressed backwards compatibility of the key APIs as a fundamental principle is one of they key reasons that it has been successful. Hmmm, perhaps, but not for the obvious reason. I'd guess that 70% of the

Re: Tabbed panes in struts

2005-12-01 Thread Lintang JP
U should try struts-menu, cool On 12/2/05, Agnisys [EMAIL PROTECTED] wrote: Hi, I have seen tiles used for implementing Tabbed panes, however, they are static, that is, what tabs are displayed is known ahead of time. In my application a tabbed pane is created at run-time. Is there a way

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Rahul Akolkar
On 12/1/05, Don Brown [EMAIL PROTECTED] wrote: snip/ I just started working on the Struts Action 1.x compatibility layer tonight so its too early to say, snap/ On 12/1/05, Ted Husted [EMAIL PROTECTED] wrote: snip/ Meanwhile, I'm working on a set of rosetta applications that show how

RE: Tabbed panes in struts

2005-12-01 Thread Zsolt
Try http://ditchnet.org/taglibs/. Zsolt -Original Message- From: Lintang JP [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 5:36 AM To: Struts Users Mailing List Subject: Re: Tabbed panes in struts U should try struts-menu, cool On 12/2/05, Agnisys [EMAIL PROTECTED] wrote:

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Don Brown
Well, considering I started work a couple of hours ago, no, nothing yet :) I can tell you my approach I thought of today - replace the WebWork ServletDispatcher with a Common-Chain RequestProcessor then weave in a command or two that detects what type of action is being called, and delegates to

Re: Tabbed panes in struts

2005-12-01 Thread Yujun Liang
I designed a collection based view layer, tab is one of the components. Unfortunately I am working for a commercial software house so I can't share the code with you, but it is doable. http://www.theserverside.com/news/thread.tss?thread_id=37365#189768 Ideally, one JSP is enough to display any

Re: [Definitely OT] JSTL problem in Websphere

2005-12-01 Thread Yujun Liang
Can you put fmt.tld into /WEB-INF folder and using the following reference instead? %@ taglib uri=/WEB-INF/fmt.tld prefix=fmt % Regards On 12/2/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Dave Newton wrote: Frank W. Zammetti wrote: What bit of stupidity am I committing here? Using

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Rahul Akolkar
On 12/1/05, Don Brown [EMAIL PROTECTED] wrote: Well, considering I started work a couple of hours ago, no, nothing yet :) snip/ You mean its going to take you more than two hours? ;-) But seriously, thanks for sharing the paragraph below, thats exactly what I was looking for, a sneak preview of

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Don Brown
On 12/1/05, Rahul Akolkar [EMAIL PROTECTED] wrote: One other question - ti/phase2 is already there, and ti/phase1 comes next? Are we counting down, whats the insight into the nomenclature? Dessert first? :) When we started Struts Ti, it was conceived as a new framework that aimed to simplify

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Michael Jouravlev
On 12/1/05, Ted Husted [EMAIL PROTECTED] wrote: But, we're not trying to market Struts. Is this a good thing? Anyway, please allow me not to believe in this. A good engineer doesn't reinvent the wheel. Right. Then come guys from marketing department and attach the labels so the wheel could be