Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Henri Yandell
On 3/22/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > On 3/22/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > > > On 3/23/06, Henri Yandell <[EMAIL PROTECTED]> wrote: > > > Struts is a cool community. The users are actively involved, in terms > > > of answering and asking; people obviously car

Re: Troubles with comparisons using logic tags

2006-03-22 Thread Rahul Akolkar
On 3/23/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: > Hello: > > I'm having some problems with comparisons using logic tags in Struts 1.1. > There is more than 12 h that I'm trying to resolve it... and nothing. > > I am passing 2 variables by session: >niCount = 10 >viewed = 3 or 21

Re: [Shale] jsp vs. jspx

2006-03-22 Thread Rahul Akolkar
On 3/22/06, James Reynolds <[EMAIL PROTECTED]> wrote: > > As part of converting my app from vanilla faces to Shale, I decided to > convert my jsp files to jspx for two reasons. First, to prevent someone > else from employing scriplets in the future and, second, because I've > read that it's a good

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Dakota Jack
On 3/22/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > On 3/23/06, Henri Yandell <[EMAIL PROTECTED]> wrote: > > Struts is a cool community. The users are actively involved, in terms > > of answering and asking; people obviously care about the community - > > as shown by both your and Dakota's

Troubles with comparisons using logic tags

2006-03-22 Thread Yariel Ramos Moreno
Hello: I'm having some problems with comparisons using logic tags in Struts 1.1. There is more than 12 h that I'm trying to resolve it... and nothing. I am passing 2 variables by session: niCount = 10 viewed = 3 or 21 (I'm trying with this 2 values) Then I'm doing this: some

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Dave Newton
Craig McClanahan wrote: > It would have the effect of prohibiting all submits for your forms. > That would certainly make form processing easier... Thanks for the info! Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Craig McClanahan
On 3/22/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > Craig McClanahan wrote: > > JSF (and therefore Shale) do not like serving pages from underneath > > /WEB-INF, if you are concerned about protecting direct access to them, a > > different strategy will be needed. > > > > Just out of curiosity, w

Re: dynamic input form

2006-03-22 Thread Jared Blitzstein
Do a search for "Map Backed forms", it's what you want. if your form will be based on dynamic fields. You can search the archives or struts home page as they discuss it there as well. On Mar 7, 2006, at 8:46 AM, Rivka Shisman wrote: Hi friends, I need to present my user an html form whos

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Dave Newton
Craig McClanahan wrote: > JSF (and therefore Shale) do not like serving pages from underneath > /WEB-INF, if you are concerned about protecting direct access to them, a > different strategy will be needed. > Just out of curiosity, why is that, as hiding stuff under WEB-INF has been a fairly wel

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Craig McClanahan
On 3/22/06, Mark Shifman <[EMAIL PROTECTED]> wrote: > > I have been playing with the shale-blank app and I have a problem. > > How do you deal with putting your jsp pages under WEB-INF ie in > WEB-INF/pages? > (presumably this is a more secure place to put your jsp pages) JSF (and therefore Shale

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Niall Pemberton
On 3/23/06, Henri Yandell <[EMAIL PROTECTED]> wrote: > Struts is a cool community. The users are actively involved, in terms > of answering and asking; people obviously care about the community - > as shown by both your and Dakota's questions and by the desire of the > committers to work to keep th

Re: [Shale] jsp vs. jspx

2006-03-22 Thread Gary VanMatre
>From: "James Reynolds" <[EMAIL PROTECTED]> > > > As part of converting my app from vanilla faces to Shale, I decided to > convert my jsp files to jspx for two reasons. First, to prevent someone > else from employing scriplets in the future and, second, because I've > read that it's a good ide

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Henri Yandell
On 3/22/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > Henri Yandell wrote: > > > > foo.apache.org maps to a PMC, which maps to a coding community, not to > > a codebase. > > Henri, I feel I should give you a bit of end-user feedback. I am not > active in any apache.org projects, but, obviously,

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > Population of indexed properties is a nice gift, but then I cant think > > of many situations where needing to scope anything that extreme is > > required. A bean with simple properties w

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Jonathan Revusky
Henri Yandell wrote: On 3/19/06, Dakota Jack <[EMAIL PROTECTED]> wrote: I have expressed my "technical concerns" more than once. I have even had Craig agree with them, in a sense. JSF is built for those who are technically challenged and for tools. I don't think even Craig thinks that JSF is

Re: [OT] Web application for pushing contents

2006-03-22 Thread Adnan Durrani
Thanks Andy, I was looking at from the server's perspective :). - Original Message - From: "Andy Dailey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 22, 2006 3:01 PM Subject: RE: [OT] Web application for pushing contents This is not a push but a pull. B

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-22 Thread Jonathan Revusky
[EMAIL PROTECTED] wrote: Jonathan Revusky wrote: First of all, pPeople seem to be addressing things I never said. For example, I don't think I ever said that people should be allowed to commit _anonymously_. I simply said that I believed you could be quite liberal about granting commit privi

Re: AppServer comparison analysis (O/T)

2006-03-22 Thread Hey Nony Moose
this covers the trivial end of the things you mentioned, but it seems to be a little stale these days. http://www.theserverside.com/articles/article.tss?l=ServerMatrix Martin Gainty wrote: >Good Morning All- > >Has anyone come across any studies detailing comparisons of AppServers >(supported n

Multi-channels tiles

2006-03-22 Thread tonny bruckers
Does any one have a working example of the use of tiles multi-channels by implementing the org.apache.struts.tiles.DefinitionsFactory interface? Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: [OT] Web application for pushing contents

2006-03-22 Thread Andy Dailey
This is not a push but a pull. But you can set the browser using javascript as such: document.onload=window.setTimeout('window.location=window.location', 720 ); This would time out the page after 2 hours and refresh itself. Just make sure the session timeout is greater than 2 hours... Hope

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > Population of indexed properties is a nice gift, but then I cant think > of many situations where needing to scope anything that extreme is > required. A bean with simple properties will do > > > > > takes care of any simple properties I don't w

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > > > For data you need to store across lots of requests, you can create

Get a list of defined Struts actions at runtime

2006-03-22 Thread Brantley Hobbs
All, At runtime I need to get a list of /all/ the actions that are defined in Struts. I'd rather not extract them directly from the conf file(s) unless it's absolutely necessary, but I don't (readily) see an API for doing this so I might be forced into it. I do see that you can pattern match aga

Re: Actionform validate method

2006-03-22 Thread Laurie Harper
Raghuveer wrote: Is there a way to restrict the call to validate method. In below example "manageaccount.jsp" will be loaded initially by calling "ManageLoad.do" action mapping. validate=false is set as i dont need and validation when page loads first time. But later when i submit the form ,i

[Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Mark Shifman
I have been playing with the shale-blank app and I have a problem. How do you deal with putting your jsp pages under WEB-INF ie in WEB-INF/pages? (presumably this is a more secure place to put your jsp pages) Everything works fine if I move the welcome.jsp into pages/welcome.jsp at the web ap

Re: [shale] Using t:radio in Clay

2006-03-22 Thread Gary VanMatre
>Hello again, > >I'm trying to use the Tomahawk t:selectOneRadio and t:radio components >to use the spread layout feature. Here's the clay-config.xml >configuration for my component definitions: > > > > > > > > > > > > > > >

Re: [OT] Web application for pushing contents

2006-03-22 Thread Adnan Durrani
Hi, I don't know how it could be achieved using the struts, maybe store a HttpServletResponse object into a Thread, and sleep it for every 2 hours and write out the contents using the same response object. but I thing ICEfaces doing the exactly samething what you are looking for: http://www.ic

[OT] Web application for pushing contents

2006-03-22 Thread Ashish Kulkarni
Hi We have an requirement where we want to update contents on a webpage automatically after 2 hours. I was doing to research if i can do it using push technology, for example our webapplication (written in struts) will push data to these client machines, after 2 hours and refresh the display page t

Re: Validation Problem

2006-03-22 Thread Dave Newton
Thibaut wrote: > In the WEB-INF/user/struts-config.xml > > > type="com.cvdunet.controller.action.UpdateResponsesForRequestAction" > input="essai.html" Your input page is an HTML file? Dave - To

[Shale] jsp vs. jspx

2006-03-22 Thread James Reynolds
As part of converting my app from vanilla faces to Shale, I decided to convert my jsp files to jspx for two reasons. First, to prevent someone else from employing scriplets in the future and, second, because I've read that it's a good idea (maybe I've been reading all the wrong stuff). Now I'm r

Re: Validation Problem

2006-03-22 Thread Thibaut
Hi I did what you tell me to do. Here is the simpliest thing that does'nt work : In the WEB-INF/user/struts-config.xml type="com.cvdunet.controller.action.UpdateResponsesForRequestAction" input="essai.html" name="candidateForm" scope

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > > For data you need to store across lots of requests, you can create a > > > simple javaclass to hold the data you need. Something lik

RE: Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-22 Thread George.Dinwiddie
Jonathan Revusky wrote: > First of all, pPeople seem to be addressing things I never said. For > example, I don't think I ever said that people should be allowed to > commit _anonymously_. I simply said that I believed you could > be quite > liberal about granting commit privileges to people an

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Henri Yandell
On 3/22/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > I would like to point out that communities and PMCs in Apache decidedly do > NOT have a one-to-one mapping. If you dig into them though, they're changing. Web Services is flattening, XML is federating, I'm being a pain at Jakarta trying to get

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > For data you need to store across lots of requests, you can create a > > simple javaclass to hold the data you need. Something like a StateBean > > or even a hashmap, the point is that if

[shale] Using t:radio in Clay

2006-03-22 Thread Richard Wallace
Hello again, I'm trying to use the Tomahawk t:selectOneRadio and t:radio components to use the spread layout feature. Here's the clay-config.xml configuration for my component definitions:

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Dakota Jack
I would like to point out that communities and PMCs in Apache decidedly do NOT have a one-to-one mapping. I would also like to point out that a lot of our "community" is migrant workers brought in especially for Shale and having nothing much at all to do with the Struts community. Many of them on

Re: logic:iterate offset and length dinamicaly

2006-03-22 Thread Michael Jouravlev
Using Struts-EL in JSP 1.2 container or JSTL expressions in JSP 2.0 container seems to be the simplest solution to me. ... I have session-scoped ActionForm and store parameters in it. Michael On 3/22/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: > How can I set the offset and length

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Michael Jouravlev
On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > For data you need to store across lots of requests, you can create a > simple javaclass to hold the data you need. Something like a StateBean > or even a hashmap, the point is that if you have one object that your > storing things in you know where

logic:iterate offset and length dinamicaly

2006-03-22 Thread Yariel Ramos Moreno
How can I set the offset and length properties of the logic:iterate struts tag dinamicaly? I mean, maybe getting the values from the session or a bean... Regards, Yariel.

Re: has struts reached the saturation

2006-03-22 Thread Henri Yandell
On 3/20/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You might be interested in the bylaws I wrote for Java Web Parts: > > http://sourceforge.net/docman/?group_id=140728 > > Most importantly in the context of this discussion is the fact that > ANYONE who contributes AT ALL can vote and HAVE T

Re: Properties of Properties of Beans

2006-03-22 Thread Rick Reumann
David M Sledge wrote the following on 3/22/2006 11:35 AM: and the object rootBean has the property childBean, and childBean has the property grandChildBean (with the appropriate getters and setters). Is there a way I can access grandChildBean via a jsp tag without setting more attributes? Ass

Re: Validation Problem

2006-03-22 Thread Rick Reumann
There are several things you can do to test. Your blank page has me wondering if you are really even getting to where you 'think' you are. The first thing you need to figure out is if what you think is happening is really happening. Debugging Struts stuff can be a pain I know:) I haven't seen

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-22 Thread Henri Yandell
On 3/19/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > I have expressed my "technical concerns" more than once. I have even had > Craig agree with them, in a sense. JSF is built for those who are > technically challenged and for tools. I don't think even Craig thinks that > JSF is superior as a pr

Properties of Properties of Beans

2006-03-22 Thread David M Sledge
Is there a way I can access the properties of a property from a bean? Suppose I set the following attribute: servletContext.setAttribute("rootBean", rootBean); and the object rootBean has the property childBean, and childBean has the property grandChildBean (with the appropriate getters

Re: Validation Problem

2006-03-22 Thread Thibaut
I use the libraries i found in the struts-mailreader app in the struts 1.2.8 zip file. But i still have commons-digester.jar 1.5 because my app use rss object ... Can it be the problem ? - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Validation Problem

2006-03-22 Thread Thibaut
Rick Reumann a écrit : Thibaut wrote the following on 3/22/2006 10:18 AM: I did but it still doesn't work ... still have the blank page instead. What do the error logs say? In my /usr/java/jakarta-tomcat-5.0.28/logs/localhost_log.2006-03-22.txt there are just informations but no error ...

Re: Validation Problem

2006-03-22 Thread Rick Reumann
Thibaut wrote the following on 3/22/2006 10:18 AM: I did but it still doesn't work ... still have the blank page instead. What do the error logs say? -- Rick http://www.learntechnology.net - To unsubscribe, e-mail: [EMAIL PRO

Re: Strange Form Reset Behavior

2006-03-22 Thread Michael Jouravlev
You should clean the form only on input phase. Thus, you need to somehow distinguish input phase from render phase since reset() does not make this distinction. If you always submit a form using POST, you can assume that POST means input phase. Or, you can check for a certain parameter in the reque

Re: Validation Problem

2006-03-22 Thread Mark Lowe
On 3/22/06, Thibaut <[EMAIL PROTECTED]> wrote: > I did but it still doesn't work ... still have the blank page instead. > > Did i do something wrong with actionMessages and actionErrors ? > Is it "" ? > Is it "errors.add(ActionMessages.GLOBAL_MESSAGE, error);" ? ActionErrors.GLOBAL_MESSAGE is inhe

Re: [Shale]shale-blank time is 5 hours off

2006-03-22 Thread Mark Shifman
-20060316.war and shale-blank-20060322.war and they both did the same thing. Since the welcome.jsp doesn't do anything fancy except I am baffled. Am I somehow configured wrong? Is there something funny about f:convertDateTime in myfaces? Thanks in advance. mas -- Mark Shifman MD. Ph.D.

Re: Validation Problem

2006-03-22 Thread Thibaut
I did but it still doesn't work ... still have the blank page instead. Did i do something wrong with actionMessages and actionErrors ? Is it "" ? Is it "errors.add(ActionMessages.GLOBAL_MESSAGE, error);" ? Vinit Sharma a écrit : If it is returning to a blank page then looks like your input is

Re: Strange Form Reset Behavior

2006-03-22 Thread Rick Reumann
Marcio Ghiraldelli wrote the following on 3/22/2006 8:46 AM: Hello, I am facing a strange ActionForm Reset behavior with Struts 1.2: I want after submit a form, redirect via controler to the same form (so the user can submit it subsequently times). If you want to just return to the same

[Shale]shale-blank time is 5 hours off

2006-03-22 Thread Mark Shifman
I compiled a war with the shale-blank stuff and deployed it and a weird thing happened, the time was 5 hours fast (minutes seemed ok) I downloaded and deployed shale-blank-20060316.war and shale-blank-20060322.war and they both did the same thing. Since the welcome.jsp doesn't do any

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Rick Reumann
Julian Tillmann wrote the following on 3/22/2006 4:04 AM: Can someone give me advice how to control and clean the amount of Collections (HashTables/ArrayList) that are stored in the session. Are you actually sure you have a performance problem with too much stuff stored in Session scope? So

Re: Validation Problem

2006-03-22 Thread Vinit Sharma
If it is returning to a blank page then looks like your input is wrong. Change input to: input="/missions_copyMailToBasket.jsp" I believe this page is in the same dir as of close.jsp and mycv.jsp Thanks, On 3/22/06, Thibaut <[EMAIL PROTECTED]> wrote: > > The problem is that if the validate(mapp

Re: Validation Problem

2006-03-22 Thread Thibaut
The problem is that if the validate(mapping,req) method return a not null errors object it goes on a blank page. None of the validations that work with Struts1.0 work with Struts1.2.8 ... I prefere to validate my form by putting the validate="true" in the struts-config.xml Thank you for your h

Re: Validation Problem

2006-03-22 Thread Mark Lowe
validate="true" just means that the validate(mapping,req) method will be called and forwarded back to the inputForward before you get to the action. But as you call it in the action this shouldn't matter.. Are things going wrong in the validate method (i.e. does errors.size() return zero even when

Re: Validation Problem

2006-03-22 Thread Thibaut
Thank you for your quick reply ! I really don't know what is the difference between what i do and the "struts-mailreader" exemple I already did what you write here. In fact it was the first think i did. I have this problem for *all my actions* in my app. So the code is :

Strange Form Reset Behavior

2006-03-22 Thread Marcio Ghiraldelli
Hello, I am facing a strange ActionForm Reset behavior with Struts 1.2: I want after submit a form, redirect via controler to the same form (so the user can submit it subsequently times). Should the normal behavior be: 1) Controler receives the first request (Action.do)

AppServer comparison analysis (O/T)

2006-03-22 Thread Martin Gainty
Good Morning All- Has anyone come across any studies detailing comparisons of AppServers (supported name algorithms, supported security models, how many max threads are supported, J2EE support Servlet spec support?) etc ? Sorry for the O/T thread Many Thanks, Martin-

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Julian Tillmann <[EMAIL PROTECTED]> wrote: > Hi > Thank you for your answer! > > Basically we have to save > collections in the session because > we use displaytag and both the export-function > and the sort function requires the lists > to be safed in session. well the choice is to us

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
Hi Thank you for your answer! Basically we have to save collections in the session because we use displaytag and both the export-function and the sort function requires the lists to be safed in session. I think a kind of pool cannot solve the problem because of that. This listener sounds very int

RE: Validation Problem

2006-03-22 Thread hermod.opstvedt
Hi Howecome you have validate="false"? If you want validation, then set it to true Hermod -Original Message- From: Thibaut [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 11:41 AM To: user@struts.apache.org Subject: Validation Problem Hi I have all the time the same problem

Validation Problem

2006-03-22 Thread Thibaut
Hi I have all the time the same problem and there is a week i try to solve it. It should be trivial but i can't see. None of my validation work ! I now use Struts 1.2.8 with module. The application use to work with Struts 1.0. In the Struts-config.xml of the "user" module :

Re: Strategy for Controlling the Session Size

2006-03-22 Thread Mark Lowe
On 3/22/06, Julian Tillmann <[EMAIL PROTECTED]> wrote: > Hi > > Can someone give me advice how to control and clean > > the amount of Collections (HashTables/ArrayList) > > that are stored in the session. If you do find you need collections stored in httpsession, i wouldn't use hashtable. > > My

Strategy for Controlling the Session Size

2006-03-22 Thread Julian Tillmann
Hi Can someone give me advice how to control and clean the amount of Collections (HashTables/ArrayList) that are stored in the session. My first consideration goes in the direction to use a naming-strategy for all lists to be used in a session (eg session.setAttribute("collection_name", and