Back button Issue.

2006-02-06 Thread Ranganathan Srinivasan
Hi, On clicking back button, my page gets refreshed instead of getting from cache. Can you please tell why this is happening or what to do to prevent this. Regards, Ranganathan

RE: How to use checkbox in struts.

2006-02-06 Thread Vidya \(Suvarna\) Mahavadi
Joey! I had this problem earlier and I fixed it now.. What you need to have in your action form is.. public Row getRow(int index) { return (Row) rows.get(index); } public void reset(ActionMapping mapping, HttpServletRequest servletRequest) { // struts check boxes do

RE: want to unsubscribe

2006-02-06 Thread Vidya \(Suvarna\) Mahavadi
Send an empty message to [EMAIL PROTECTED] -Original Message- From: Pavan Kumar K.L.P [mailto:[EMAIL PROTECTED] Sent: Tuesday 07 February 2006 07:37 To: user@struts.apache.org Subject: want to unsubscribe hi please un subscribe me. This message and any attachments are confidential and in

want to unsubscribe

2006-02-06 Thread Pavan Kumar K.L.P
hi please un subscribe me.

How to use checkbox in struts.

2006-02-06 Thread Joey Watson
Hello everybody. I think this is a old question. but I can not find a good and complete example in Google. My question is : I have a Jsp page which will list some datas for user. user can choose(by click the checkbox) some of those data and click a botton for delete or some others operator. So I

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Jason Vincent
I have discovered something: Instead of using the rendered attribute on the table, I put a c:if around it and it called the actionEvent as expected. What the heck! I'd prefer not to mix JSTL with JSF, so I'd like to hear what is going on here. It seems to me, if I was able to click the button, i

RE: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Emily Gu \(egu\)
I will try your code and give you a sample later. I have similar stuff instead my first form is using onchange event when selection changes (there is no submit button), it works perfectly. You can go back to the requesting view by using action and just return null. Emily -Original Message-

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Craig McClanahan
On 2/6/06, Jason Vincent <[EMAIL PROTECTED]> wrote: > > hmm... ok I tried your suggestion, but it still no worky. I even just > had the action="home" and that didn't work either, instead of > evaluating some expression to call. > > It is my understanding that the only difference between actionList

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Jason Vincent
hmm... ok I tried your suggestion, but it still no worky. I even just had the action="home" and that didn't work either, instead of evaluating some expression to call. It is my understanding that the only difference between actionListener and action is that an action call will make use of the nav

Re: [shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Ryan Wynn
> I agree. I took a peek at the myfaces UIComponentTag and in the > "createComponentInstance" method there is a check for the existence of > a "binding" attribute. If there is one, the component instance pulled from > the target managed bean. Otherwise, it's using the createComponent factory >

Re: [shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Craig McClanahan
On 2/6/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > >> > >> It seems the binding attribute is not getting set until the restore > >> view phase. For example if I have > >> > >> > >> > >> > >>... > >> > >> setBar is not calle

Re: [shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Gary VanMatre
>On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: >> >> It seems the binding attribute is not getting set until the restore >> view phase. For example if I have >> >> >> >> >>... >> >> setBar is not called until the view is restored. I would have thought >> that I would have acc

Re: [shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Craig McClanahan
On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > It seems the binding attribute is not getting set until the restore > view phase. For example if I have > > > > >... > > setBar is not called until the view is restored. I would have thought > that I would have access to the c

[shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Gary VanMatre
>It seems the binding attribute is not getting set until the restore >view phase. For example if I have > > > > > ... > >setBar is not called until the view is restored. I would have thought >that I would have access to the component during the initial render >phase. > >What I would

[shale] clay binding attribute set first in restore view phase

2006-02-06 Thread Ryan Wynn
It seems the binding attribute is not getting set until the restore view phase. For example if I have ... setBar is not called until the view is restored. I would have thought that I would have access to the component during the initial render phase. What I would like to do i

Re: IE Caching problem..Struts Application Working fine in Firefox

2006-02-06 Thread bradyh
You might try changing the "Check for newer versions of stored settings." As described in the following URL. http://www.microsoft.com/windows/ie/using/howto/customizing/clearcache.mspx It should either be "Every visit to page" if that's what you have now try "Automatically". If that's the problem

Re: [Friday] - finding the Mavens in the Java world

2006-02-06 Thread Ted Husted
On 2/3/06, David Thielen <[EMAIL PROTECTED]> wrote: > So. Any ideas on how to find these people and make the offer to them? For J2EE Mavens, I'd start by reviewing the most popular blogs at JRoller, * http://jroller.com/ and then review the blogs that these people read. -Ted. http://husted.com

RE: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Emily Gu \(egu\)
Don't use actionListener but just simply use action. All you want should be working as expected. public String handleChangeItem() { LOGGER.debug("handleChangeItem()"); return "success"; } Emily -Original Message- From: Jason Vincent [mailto:[EMAIL PROTECTED] Sent:

Re: saveErrors --- ActionErrors to ActionMessages

2006-02-06 Thread gramani
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:54:43 PM: > I am sorry but none of the links in it are working. > > Where else can I get more info on the same? > > Thanks. hmm.. this link *is* working for me..? http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html Geeta

Re: [Shale] a command btn within a conditionally "rendered" form not getting actionListener.

2006-02-06 Thread Jason Vincent
I put the messages tag in there, but I'm getting nothing from that tag. I've witnessed JSF swallowing exceptions before. Is there a way to get JSF to log the stacktraces to my logger? I've really simplified my test case and I'm still seeing the problem. I have a pull down at the top with a submi

IE Caching problem..Struts Application Working fine in Firefox

2006-02-06 Thread zahid mohammed
Hello All, We have a struts application and the server is Tomcat 5.5. I have an ArrayList (A) set in session and an Arraylist (B) which is a subset of A set in request. The ArrayList B always has 10 elements and I use this to be displayed in the jsp page using Logic:iterate tag. The first page dis

Re: saveErrors --- ActionErrors to ActionMessages

2006-02-06 Thread fea jabi
I am sorry but none of the links in it are working. Where else can I get more info on the same? Thanks. From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: saveErrors --- ActionErrors to ActionMessages Date: Mon, 6 Feb 2006 15:44:08 -05

RE: Switch between applications

2006-02-06 Thread Garner, Shawn
http://struts.apache.org//struts-doc-1.2.8/api/index.html Looks like it has to start with a "/" also so module="/neoAdmin" and module="/neoLetter" -Original Message- From: Garner, Shawn Sent: Monday, February 06, 2006 2:42 PM To: 'Struts Users Mailing List' Subject: RE: Switch between ap

Re: saveErrors --- ActionErrors to ActionMessages

2006-02-06 Thread gramani
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:39:55 PM: > I am having the below code now in my dispatch Action in one of the methods > in it. > > > DynaValidatorForm frm = (DynaValidatorForm)form; > > ActionErrors errors = frm.validate( mapping, request ); > if ( errors != nul

RE: Switch between applications

2006-02-06 Thread Garner, Shawn
I think contextRelative="true" is deprecated and you need to use module="neoAdmin" and module="neoLetter" instead. Shawn -Original Message- From: Marcio Ghiraldelli [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:35 AM To: user@struts.apache.org Subject: Switch between appli

saveErrors --- ActionErrors to ActionMessages

2006-02-06 Thread fea jabi
I am having the below code now in my dispatch Action in one of the methods in it. DynaValidatorForm frm = (DynaValidatorForm)form; ActionErrors errors = frm.validate( mapping, request ); if ( errors != null && !errors.isEmpty() ) { saveErrors(request, errors); ...

Re: href

2006-02-06 Thread fea jabi
Got it working finally by using the actual String of the link directly in the url instead of trying to get from resource bundle. Used method=Delete directly in the url instead of method=delete. i.e Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing

Re: [OT]Loading data into oracle database table from a txt file.

2006-02-06 Thread erikweber
The most common way is to use the Oracle client's SQL loader application, the name of which escapes me at the moment. Oracle's online documentation will have information about this. It might be called sqlloader or something like that. Another way is to write your own script. Just write a Java pr

RE: [OT]Loading data into oracle database table from a txt file.

2006-02-06 Thread Tom Ansley
This mailing list is for the Struts Framework. You need to ask an Oracle mailing list that question. -Original Message- From: Jonnalagadda, Sumithra [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 10:59 AM To: 'Struts Users Mailing List' Subject: [OT]Loading data into oracle d

[OT]Loading data into oracle database table from a txt file.

2006-02-06 Thread Jonnalagadda, Sumithra
I have data in a text file with a delimiter. How will I import this data into a table in orcale database? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts in Action book

2006-02-06 Thread Ted Husted
On 2/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I highly recommend this book for anyone. Though I might recommend that a > true newbie > either a) read slowly or b) maybe start with something else -- but I'm not > aware of a more > rudimentary intro. The original idea was that SIA wou

Switch between applications

2006-02-06 Thread Marcio Ghiraldelli
I can“t switch between applications: Struts 2.8, Tomcat 5.5.7 Two actions from distinct applications: /neoAdmin/blabla.do /neoLetter/bloblo.do struts-config.xml from neoAdmin (application 1): Then, error: message Invalid path /neoLetter/bloblo

[ANN] Comprehensive AJAX Platform Released as Open Source

2006-02-06 Thread Ted Husted
I thought this might be interest to the Ajax mavens: [PR Newswire] ClearNova's ThinkCAP JX, the first visual development environment for building rich Internet applications with AJAX now includes a royalty-free, open source runtime. For more, see the PR Newswire release * http://tinyurl.com/8bb9

validWhen - checkbox question

2006-02-06 Thread Kalcevich, Daniel
Everyone, I have two fields: 1. trackingEnabled - checkbox 2. repeatOffendersDaysBack - text (int) for number of days going back to check The rule for these fields are this: if trackingEnabled is checked, then the repeatOffendersDaysBack is required. Otherwise, repeatOffende

RE: Validator Question

2006-02-06 Thread Kalcevich, Daniel
This would be useful to indicate on the Validator portion of the Struts User guide on the website. I think knowing that information is an important aspect of the email validation. -Original Message- From: Tom Ansley [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 8:33 AM To: St

RE: [OT] Re: Image not getting displayed !

2006-02-06 Thread Patel, Dharmesh S
Hi Folks, I think it is nothing to do with server. Have you used any kind of filter patterns which excludes this gif files to serve on request? Are you getting my point?? - Dharmesh Patel -Original Message- From: Jitendra Kumar [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006

Re: Validator Question

2006-02-06 Thread Tom Ansley
The email rule does that for you. If you do not enter an email address the rule is not applied. If you enter an email address the rule is applied to make sure the email is valid. Cheers Tom On 2/6/06, Tom Ansley <[EMAIL PROTECTED]> wrote: > > The email rule does that for you. If you do not en

Re: Struts in Action book

2006-02-06 Thread J T
The best book that I have seen on struts is "struts survival guide". I bought the .pdf and the hard copy but it is now free for download from http://www.objectsource.com. On 2/2/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > David Durham wrote: > > Frank W. Zammetti wrote: > >> Generally-spe

Re: Leading slash on forward causes problem in proxied environments

2006-02-06 Thread J T
That would resolve the problem but it is not an option in our environment. On 2/4/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > Can you change the contextPaths on your dev, int, and stg servers? > > (dev) http://devserver.com/Application > (int) http://intserver.com/Application > (stg) http://stgs

Re: Struts Form Population

2006-02-06 Thread [EMAIL PROTECTED]
Yeah, with the collections I was writing method signatures that would take indexes, but convert them to Integer class objects to serve as the keys. My idea was, if I provide the method signature that is the same as the array stuff, shouldn't it work with an underlying collection. I don't reca

Re: Struts Form Population

2006-02-06 Thread Niall Pemberton
Indexed properties strictly speaking should be arrays - although in earlier JDK versions they worked with Lists as well - BeanUtils allows for lists or arrays. Collections don't have a position or index - so you can't have Collection backed index properties. Niall On 2/6/06, [EMAIL PROTECTED] <[

RE: Validator Question

2006-02-06 Thread Tom Ansley
The email rule does that for you. If you do not enter an email address the rule is not applied. If you enter an email address the rule is applied to make sure the email is valid. Cheers Tom -Original Message- From: Kalcevich, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, February 06,

RE: Validator Question

2006-02-06 Thread Kalcevich, Daniel
So then how would you test a field that is not required to enter a value into, but if the user does, it must be a valid email address? That is what I am ultimately looking for. Is there a way to achieve this using the validators that exist already, or do I need to create my own? Daniel -Ori

RE: Struts Form Population

2006-02-06 Thread [EMAIL PROTECTED]
Are the ActionForm and the class that populates the thing in the same package? I guess not if BeanUtils does the actual work. This raises an interesting point concerning utilizing packages built by other people. Something like BeanUtils is fairly low level, so if we integrate it into our

Re: Struts Form Population

2006-02-06 Thread [EMAIL PROTECTED]
Along these lines, a while back I was trying to get my forms to work with collection-backed indexed properties, but never had any luck. Does anyone know how to do that? I kind of thought maybe I was just not getting method signatures right. --- On Sat 02/04, Frank W. Zammetti < [EM

RE: Struts Form Population

2006-02-06 Thread Garner, Shawn
I believe it is the get method. So if you're property is named testProperty then you need a public String getTestProperty() and a public setTestProperty(String szTestProperty). When the JSP page is displayed it calls getTestProperty to populate the value. When the page is submitted it calls setTe

Re: href

2006-02-06 Thread fea jabi
can anyone helpme with this please? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: href Date: Fri, 03 Feb 2006 14:07:24 -0500 thanks for responding now gave My lookupaction does have the mapkey pr

[OT] Re: Session time out

2006-02-06 Thread Dave Newton
Stanislav wrote: > I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time > out set to 30min. Is there any way to change this value to 1-2 hours? > web.xml: 120 > [...] i don't know if user "catch" session time out. > HttpSessionListener

Re: Session time out

2006-02-06 Thread Stanislav
> Session timeout is specified in web.xml. :-) I can't believe that this is so simple :-))) > You need a session listener. Google should give you a few results. OK, I will. Tnx, Stanislav - To unsubscribe, e-mail: [EMAIL PROT

Session time out

2006-02-06 Thread Stanislav
Hi! I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time out set to 30min. Is there any way to change this value to 1-2 hours? Also how can I monitor how many user's are logged into system, because i don't know what action class is called after session is timed out. Rig

Struts and Velocity - example

2006-02-06 Thread Manfred Wolff
Hi. Has anyone a "not trivial" example of a struts-velocity page with iteration of lists. parameter in links etc. The most things I have collected in the internet, but it were fine, if I get an example that is a little bit difficult. Manfred -