Re: hi

2005-12-29 Thread Laurie Harper
radha rani wrote: Is it possible to have custom tag for the text field on the jsp page When the data is not entered in the field then the field should be highted with some color .Please send me the code too Why not just use the standard Struts tag, along with its errorClass attribute? [1]

hi

2005-12-29 Thread radha rani
Is it possible to have custom tag for the text field on the jsp page When the data is not entered in the field then the field should be highted with some color .Please send me the code too Thanks Rani - Yahoo! DSL Something to write hom

Re: Struts - tomcat j_security_check

2005-12-29 Thread Frank W. Zammetti
Hi bib, This isn't a Struts question strictly speaking, but I think I can help... although I don't have a working example you can look at, I can answer the second part... Container-based security is an "intercept" model, meaning you make a request for a constrained resource, and doing so cau

Struts - tomcat j_security_check

2005-12-29 Thread bib_lucene bib
Hi All I am trying to work with role based permissions using tomcat container based Authentication. I am using JDBCRealm and Form Based Authentication. Problems: a) I did not find a good working example (like a .war file that I can readily deploy ) and see. b) In my struts a

Re: Struts Shale

2005-12-29 Thread Dakota Jack
Hello, Tadeu, Welcome to the wacky world of computers. 'Hope you do well. There is no MVC model with networked applications, because there is no immediate feedback between the controller and the view, i.e., when the controller changes data the view is not automatically changed because the view i

Re: Struts Shale

2005-12-29 Thread Dakota Jack
There is nothing "non-binary" about fractals. A fractal is just a fractional dimension. Maybe you were thinking of Chaos Mathematics, however, that is not "non-binary" either. In fact, binary coding has nothing to do with "yes" or "no" questions. This should be obvious when we realize that Brai

Back Button in Struts

2005-12-29 Thread gayatri devi
Hi All, I am facing a problem with Browser Back Button in my struts application. I didn't maintain cache and whenever i click back it will load the page from the server. It was unable to load some pages. It is giving "Page Cannot Be Displayed". I don't want to see this "Page Can

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Tamas Szabo
On 12/30/05, Rick R <[EMAIL PROTECTED]> wrote: > > Tamas Szabo wrote: > > > You will have to use a PhoneNumber object so you will have a reference > to > > employee[idx1].phoneNumbers[idx2].number in your html:text. > > Thanks Tamas! That was exactly the problem. Typically I do exactly that > and

RE: How does Shale affect my Struts development

2005-12-29 Thread Daniel Blumenthal
No offense meant! I've been (and continue to be) very grateful to Struts. I was referring specifically to Struts 1.1, not 1.x. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 29, 2005 4:46 PM > To: user@struts.apache.org; [EMAIL PRO

saveToken/isTokenValid

2005-12-29 Thread Frank Maritato
Hi, I have a form where the action uses the saveToken/isTokenValid pattern for preventing double submit. This page also has links that popup another page where the action uses saveToken/isTokenValid also (this page can be called stand-alone too, not always from popup link). Problem is that whe

RE: How does Shale affect my Struts development

2005-12-29 Thread George.Dinwiddie
Plus, it's not accurate to call Struts 1.x "a codebase which is no longer being maintained." > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 29, 2005 3:53 PM > To: Struts Users Mailing List > Subject: Re: How does Shale affect my Struts

Re: problem with example code at StrutsCatalogLazyList

2005-12-29 Thread Priya Saloni
Thanks for your response Rick.Sorry for not specifying the problem clearly.Ijust copied and pasted the the code in JSP.I missed the following code in my JSP *<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested"; prefix="nested"%>* ** Now it works. One more thing iam a big fan of your Str

Re: New to Struts

2005-12-29 Thread Rick R
[EMAIL PROTECTED] wrote: Hello Struts world ! I am new to Struts and was wondering if there is any good short Struts Tutorial which will help me get jump started with Struts The stuff I have here http://www.reumann.net/struts/main.do is sort of old, but I'm in the process of updatin

Re: problem with example code at StrutsCatalogLazyList

2005-12-29 Thread Rick R
Priya Saloni wrote: > Hi Rick, > > Iam getting problem while iam trying to use the following code in my JSP > > > > > > I got that code from the article > > http://wiki.apache.org/struts/StrutsCatalogLazyList > Priya, I created this as a new message since it really doesn't belong

Re: How does Shale affect my Struts development

2005-12-29 Thread netsql
One way to do is do CoR, which is optional for 1.x, built into 1.3+. CoR mandates a signature, so if you do all the work there, you can call it from anywhere, as all newer build from Struts come w/ CoR jars. .V Any thoughts? --

Re: How does Shale affect my Struts development

2005-12-29 Thread Frank W. Zammetti
Hi Daniel, I think upgrading to 1.2.x *is* compelling, if you decide you want to stay on the Action-oriented path. There have been enough fixes and enhancements since 1.1 to warrant that upgrade. I suggest reading through the history to see what has been done. The whole Struts vs. Shale de

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Priya Saloni
Hi Rick, Iam getting problem while iam trying to use the following code in my JSP I got that code from the article http://wiki.apache.org/struts/StrutsCatalogLazyList Priya On 12/29/05, Rick R <[EMAIL PROTECTED]> wrote: > > Frank W. Zammetti wrote: > > > > I'm still though th

New to Struts

2005-12-29 Thread digant . k . joshi
Hello Struts world ! I am new to Struts and was wondering if there is any good short Struts Tutorial which will help me get jump started with Struts and also what it best plug-in available for Eclipse for struts . Thanks in advance ! DJ This communication is for informatio

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Priya Saloni
Thanks Geeta, I have Commons-Collections 2.1.1.Now no problem. On 12/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Priya Saloni <[EMAIL PROTECTED]> wrote on 12/29/2005 02:50:06 PM: > > > Sorry for the dumb question but i have to ask ..from where i can get > this > > class org.apache.c

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread gramani
Priya Saloni <[EMAIL PROTECTED]> wrote on 12/29/2005 02:50:06 PM: > Sorry for the dumb question but i have to ask ..from where i can get this > class org.apache.commons.collections.list.LazyList.. > > from this url > http://jakarta.apache.org/commons/collections/apidocs- > COLLECTIONS_3_1/org/ap

RE: How to remember usernames?

2005-12-29 Thread Daniel Blumenthal
> On 12/29/05, Priya Saloni <[EMAIL PROTECTED]> wrote: > > > > Hi there, > > > > I have a requirement like this where i need to remember the > user names > > for a computer.Can some one suggest me how to implement this using > > struts based framework.. > > > > Example: > > > > *Username: *

RE: How does Shale affect my Struts development

2005-12-29 Thread Daniel Blumenthal
Actually, not to start that holy war, but I'm in the middle of refactoring my Struts 1.1 app, and am trying to decide whether there's any compelling reason to upgrade to either 1.2.x, or Shale. Struts 1.1 has certainly been just fine - and unless there's a good reason (important security upgrade,

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Priya Saloni
Sorry for the dumb question but i have to ask ..from where i can get this class org.apache.commons.collections.list.LazyList.. from this url http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_1/org/apache/commons/collections/list/LazyList.html I found out that its part of Commons

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Rick R
Frank W. Zammetti wrote: I'm still though thinking about your question regarding how I would do it... I've never used LazyList, although I can see why you did. Using the reset() method in this way has been nagging me though because I typically would never use it except when dealing with checkb

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Frank W. Zammetti
Good catch indeed Tamas! I was just getting around to replying to you Rick, after some PC problems last night stopped me from doing so sooner, and I was coming to the exact same conclusion when I saw Tamas' reply. He beat me to the punch :) I'm still though thinking about your question regarding

Re: [solved] Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Rick R
Tamas Szabo wrote: You will have to use a PhoneNumber object so you will have a reference to employee[idx1].phoneNumbers[idx2].number in your html:text. Thanks Tamas! That was exactly the problem. Typically I do exactly that and use lists of beans, but this time I thought I'd make the demo

Re: Clear the Action Form..

2005-12-29 Thread Srinivas Jadcharla
U have to use reset method in ActionForm On 12/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > How can i clear the Action form when i have saved all the information i > want, > is there any method in Struts which does that, or do i have explicitly > clear the form. > > -Original Messag

Clear the Action Form..

2005-12-29 Thread Shilpa . Nalgonda
How can i clear the Action form when i have saved all the information i want, is there any method in Struts which does that, or do i have explicitly clear the form. -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 11:56 AM To: Struts Users

Re: Using an attribute defined in tiles-defs.xml in a JSP as a JAVA var

2005-12-29 Thread Greg Reddin
On Dec 29, 2005, at 9:40 AM, Andreas B. Thun wrote: <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> classname="java.lang.String" name="selectedCountry"/> <% String country = selectedCountry + "something"; %> Try this: <% String country = (String) pageContext.findAttr

Re: closing the browser after streaming a pdf file

2005-12-29 Thread Tamas Szabo
Hi On 12/29/05, Rivka Shisman <[EMAIL PROTECTED]> wrote: > > Hi Tamas > > In my jsp I do: > > > > I want to save the original jsp page - that's why I use target="_new". > When I remove the ' target="_new" ' I still get an empty jsp page - so > still it does not solve my original problem! I don'

RE: closing the browser after streaming a pdf file

2005-12-29 Thread Rivka Shisman
Hi Tamas In my jsp I do: I want to save the original jsp page - that's why I use target="_new". When I remove the ' target="_new" ' I still get an empty jsp page - so still it does not solve my original problem! Thanks Rivka -Original Message- From: Tamas Szabo [mailto:[EMAIL PROTECT

Using an attribute defined in tiles-defs.xml in a JSP as a JAVA var

2005-12-29 Thread Andreas B. Thun
Hi, I am facing a problem here. Would be great if you´d help me: In my tiles-defs.xml I defined an attribute "selectedCountry" with value "EN": I want to use the value of "selectedCountry" ("EN") in a JSP and tried When I want to use it as a JAVA variable: --- snip

Re: How to remember usernames?

2005-12-29 Thread Tamas Szabo
Hi! On 12/29/05, Priya Saloni <[EMAIL PROTECTED]> wrote: > > Hi there, > > I have a requirement like this where i need to remember the user names for > a > computer.Can some one suggest me how to implement this using struts based > framework.. > > Example: > > *Username: * *Password: * Remem

How to remember usernames?

2005-12-29 Thread Priya Saloni
Hi there, I have a requirement like this where i need to remember the user names for a computer.Can some one suggest me how to implement this using struts based framework.. Example: *Username: * *Password: * Remember my BCP username. Thanks In Advance Priya

Re: How does Shale affect my Struts development

2005-12-29 Thread Alexandre Poitras
Bernhard is totally right. The choice you are facing is wheter you want to go for now on with components-based frameworks (JSF/Shale, Tapestry) or a typical action-based framework (Struts/Webwork). Struts is supporting the two choices for the moment and I think it's great! But don't ask for the pr

Re: closing the browser after streaming a pdf file

2005-12-29 Thread Tamas Szabo
Hi! On 12/29/05, Rivka Shisman <[EMAIL PROTECTED]> wrote: > > Hello friends, > > I have a ReportAction from which I'm streaming a pdf file to > AcrobatReader(The Action returns null). > > When the Action ends - an empty I.E. browser opens and then Acrobat > opens my pdf file. > > Is there a way to

Re: Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Tamas Szabo
On 12/29/05, Rick R <[EMAIL PROTECTED]> wrote: > > Tamas Szabo wrote: > > >> public void reset(ActionMapping actionMapping, HttpServletRequest > >> httpServletRequest) { > >> > >> employees = ListUtils.lazyList(new java.util.ArrayList(), new > >> Factory() { > >> public Object create(

AW: How does Shale affect my Struts development

2005-12-29 Thread Bernhard Slominski
Hi Jim, don't make the following mistake: "I use Struts but I want to move on, so I have to use Shale!" Shale is build ON TOP of JSF, so to understand the benefit of Shale you have to know JSF. So the first question to ask yourself: "Do I want to move to JSF or is Struts just fine for me?" When

How does Shale affect my Struts development

2005-12-29 Thread Jim Reynolds
First off, a little background. I have started using the 'Struts' framework about 1 year ago. I have created three apps, and all is moving along pretty well with the Struts and model 2 approach. I am just starting to use more design patterns for my business logic, etc. Anyway, as you may be aware

Re: Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Rick R
Tamas Szabo wrote: public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { employees = ListUtils.lazyList(new java.util.ArrayList(), new Factory() { public Object create() { return buildEmployee(); } }); } private Emplo

closing the browser after streaming a pdf file

2005-12-29 Thread Rivka Shisman
Hello friends, I have a ReportAction from which I'm streaming a pdf file to AcrobatReader(The Action returns null). When the Action ends - an empty I.E. browser opens and then Acrobat opens my pdf file. Is there a way to close the empty I.E. browser? Or prevent it from opening in the fist

Re: Revisiting nested Lists (again:) using Request scope ( also related to LazyList )

2005-12-29 Thread Tamas Szabo
Hi! On 12/29/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > I'm still stumped with the best way to handle cases where your nesting > goes a bit deeper than just into one list in your ActionForm (and you > want to use Request scope for your ActionForm). Yes, I know many of you > state that it mean