[URGEN] Validation in Action and using redirection to view result page :(

2006-04-11 Thread Pham Anh Tuan
Hi all, case: I use Tiles and Velocity for presentation layer com.project.GeneratedKeyAction: will generated and register information of code or capcha (or do something here - retrieve list of user type from DB, etc) to session scope. after user fullfill registration form, he/she

RE: Multiple text box

2006-04-11 Thread Neil Meyer
Hi Rick, Let me explain what I have, any other recommendation on how I should rather do it would also help. Firstly I have a data bean public class beanData implements Serializable { private long property1; private String property2; private String property3; private String proper

Re: Struts 1.3 - WebSite/Docs

2006-04-11 Thread Wendy Smoak
On 4/11/06, Dion Gillard <[EMAIL PROTECTED]> wrote: > Shouldn't this be a bit more obvious on the main site? Probably. :) Things are under construction (again!) with the reorganization and move to Maven 2 for Struts Action, but we'll be changing the menu to reflect the shorter list of sub-projec

Re: Struts 1.3 - WebSite/Docs

2006-04-11 Thread P Y
I guess most people bet on google now ... http://www.google.com/search?q=struts+release+changes On 4/12/06, Dion Gillard <[EMAIL PROTECTED]> wrote: > Shouldn't this be a bit more obvious on the main site? > - To unsubscribe, e-m

RE: jsp:include or tile

2006-04-11 Thread Raghuveer
hi Greg, How about performance issue if we go for tiles for application that has 50 jsp's and that works 24 X 7 with minimum 4 users hitting site at same time ? -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 9:20 PM To: Struts Users Mailing Li

RE: variable in one tile to another

2006-04-11 Thread Raghuveer
Example: a) I have variable as below in layot.jsp. String strTemp="NEW"; how can i make this variable available in header,body and footer. I was advised not to use requeset.setAttribute... b ) I have some variables available in header.jsp by some jsp include directive for plumtree application. How

Re: [shale] Tiles integration with RI

2006-04-11 Thread Gary VanMatre
>From: "Hubert Rabago" <[EMAIL PROTECTED]> > > I'm trying to use Shale-Tiles with RI and I'm having trouble submitting > forms. > The page renders okay (once I start using all over the > place), but the submit doesn't work. > I stepped through the code and it looks like there's a viewid mismat

Re: Struts 1.3 - WebSite/Docs

2006-04-11 Thread Dion Gillard
Shouldn't this be a bit more obvious on the main site? On 4/11/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 4/10/06, Dion Gillard <[EMAIL PROTECTED]> wrote: > > Any pointers to where to find details on the changes and details in 1.3? > > > > > Probable starting points: > > http://struts.ap

[shale] Tiles integration with RI

2006-04-11 Thread Hubert Rabago
I'm trying to use Shale-Tiles with RI and I'm having trouble submitting forms. The page renders okay (once I start using all over the place), but the submit doesn't work. I stepped through the code and it looks like there's a viewid mismatch. Here's my tile definition:

Re: indexed property validation error:java.lang.reflect.InvocationTargetException

2006-04-11 Thread Carl Smith
Interestingly if I change the config for testingForm to be of scope session, then it works. However I can't use session scope so still need the answer for my original question, can some one help? Thanks. Carl Smith <[EMAIL PROTECTED]> wrote: I have a jsp containing three text fields which

RE: validating an obj attributes using validator

2006-04-11 Thread fea jabi
ok got it, by just using the attribute as the form-property. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validating an obj attributes using validator Date: Tue, 11 Apr 2006 16:27:47 -0400 have a table in the jsp. In it in coup

validating an obj attributes using validator

2006-04-11 Thread fea jabi
have a table in the jsp. In it in couple of columns the user can enter values. would like to validate the data entered by the user. Created an obj which represents each row in the table. so, the table contents are list of these objects which are got from the request. I am not sure how to vali

Re: Multiple text box

2006-04-11 Thread Rick Reumann
On 4/11/06, Neil Meyer <[EMAIL PROTECTED]> wrote: > Hi All, > > I urgently need some help here please I basically need to do the following in > struts. I tried the tag and still can't get it to work. > > String names[] = request.getParameterValues("names"); > > I have a form bean with an arraylist

Problem with submitting while using NTLM authentication

2006-04-11 Thread Tarun Reddy
Hi all, I'm using NTLM authentication to let the user in. After the user gets into the application, he'll be shown a jsp page, which typically contains an . After user enters his inputs and submits the form, the values are not submitted as part of the HTTP Request. If I modify the form as, , then

Multiple text box

2006-04-11 Thread Neil Meyer
Hi All, I urgently need some help here please I basically need to do the following in struts. I tried the tag and still can't get it to work. String names[] = request.getParameterValues("names"); I have a form bean with an arraylist on it this arraylist contains a bean with parameters some of t

Re: SHALE:ADF

2006-04-11 Thread Craig McClanahan
On 4/11/06, Kevin <[EMAIL PROTECTED]> wrote: > > Can Oracle ADF be used with Shale? I have not tried this directly myself, but in principle there should be no issues -- Shale does not care what JSF component libraries you are using. I'll put this on my list of things to experiment with. If so ho

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread Michael Jouravlev
For POST method add this in your code: XHR.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); On 4/11/06, vijay r <[EMAIL PROTECTED]> wrote: > Yes, that was the problem. > > I changed the POST parameter to GET in http.open(); and its working. Keeping > it POST and passing the

Re: [Shale] Clay

2006-04-11 Thread Gary VanMatre
>From: "Gregg Bolinger" <[EMAIL PROTECTED]> > > Ok, great so far. I got soemthing working. The problem was not having that > welcome.html file that pulled everything together. And that leads me to my > next question(s). > > Tell me if this is a correct statement. > > So for every page I have

Re: [Shale] Clay

2006-04-11 Thread Gregg Bolinger
Nevermind, syntax errors on my part. That does work. Gregg On 4/11/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote: > > Ok, and along with that question, what would be the correct way of doing > the following: > > > > > > > > > > >

Re: [Shale] Clay

2006-04-11 Thread Gregg Bolinger
Ok, and along with that question, what would be the correct way of doing the following:

Re: jsp:include or tile

2006-04-11 Thread Greg Reddin
On Apr 11, 2006, at 10:42 AM, Caroline Jen wrote: Both the jsp:include tag and the Struts tiles can incorporate dynamic resources into the current JSP. Is there rule of thumb that one is preferable over another? To me, the benefit of Tiles is the fact that you can configure reusable page c

jsp:include or tile

2006-04-11 Thread Caroline Jen
Both the jsp:include tag and the Struts tiles can incorporate dynamic resources into the current JSP. Is there rule of thumb that one is preferable over another? Thanks for guidance. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam p

Re: [Shale] Clay

2006-04-11 Thread Gregg Bolinger
Ok, great so far. I got soemthing working. The problem was not having that welcome.html file that pulled everything together. And that leads me to my next question(s). Tell me if this is a correct statement. So for every page I have I'll need a page that is the glue (welcome.html) as well as an

SHALE:ADF

2006-04-11 Thread Kevin
Can Oracle ADF be used with Shale? If so how does one go about doing it? Does the default-render-kit-id need to be oracle.adf.core? Any guidance is appreciated. Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: variable in one tile to another

2006-04-11 Thread Greg Reddin
On Apr 11, 2006, at 1:43 AM, Raghuveer wrote: Is there a facility to get a variable in one tile from another tile in Struts Tiles Sorry, I'm strapped for time, but I'll try to answer. If you mean an attribute that is part of a Tiles definition then the only ways I know of are to make one t

commons-uploading and heap space

2006-04-11 Thread Jose Moreira
hello, i'm using struts 1.1 and commons-uploading 1.0 ; i use JUpload(.biz) to submit multiple image files to an action form. On average aproximate 400 around 50k of files are sent, causing heap space problems (currently set to 512mb). i also configured the controller as:

Re: Custom tag question

2006-04-11 Thread [EMAIL PROTECTED]
The first thing this makes me think of is why don't you just use an iterate tag over the bean tag. Can you say more about what you are trying to accomplish? Bryan LaPlante -- Original Message --- From: Aladin Alaily <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Mon, 10

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread [EMAIL PROTECTED]
When you do a post you need to open the connection like so server.open("POST",URL,false) where server is your xhr object. To send as a post you need to encode your name value pairs to be sent and pass them as the body of the request. server.send(name=value&pairs=go&here=true); then they will show

Re: Struts tiles layout by tiles-config

2006-04-11 Thread Adam Hardy
Hi Raghuveer, split the unwanted footer from your header. put it in minimal.definition, and make base.definition extend minimal.definition so that it still has the header. Then for your error page, extend minimal.definition. Adam Raghuveer on 10/04/06 17:05, wrote: Is there facility to rest

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-11 Thread Pham Anh Tuan
ooh ... I do validation in Action, so, okie, I will save all messages in a property of form bean. is it okie :-? - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 11, 2006 3:30 PM Subject: Re: [HELP] Problem with redirec

Re: [ANN] JSP Controls Tag Library 0.6 has been released

2006-04-11 Thread Danny Lee
Hey Michael, cool! Successfully upgraded 0.5, tested for one day :) No problems so far, works just fine! Cheers! Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-11 Thread Pham Anh Tuan
why is it too late Michael ??? :( if you know clearly how does redirection work, plz show me! thanks bowlkhin - Original Message - From: "Michael Jouravlev" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 11, 2006 2:01 PM Subject: Re: [HELP] Problem with redi

RE: Re: Validator rule question

2006-04-11 Thread Rivka Shisman
thanks Laurie! my question was finally understood :-) by the way you said: "and then do the data validation server-side in the form-bean's validate() method" As much as I understand - using Validator (not via JavaScript) is "server side" as using form-bean's validate() method. Am I right?

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread vijay r
Yes, that was the problem. I changed the POST parameter to GET in http.open(); and its working. Keeping it POST and passing the parameters in send() does not work. Anyways, making it GET works and thats what I need. But what could be the problem? regards, vijay. On 4/11/06, Michael Jouravlev <

Re: Error reading tld listeners

2006-04-11 Thread vijay venkataraman
You don't have to replace all tld's. When did this error start creeping? With JSP 2.0, you have to just drop the jar in the lib directory under WEB-INF. If it confirms to JSP 2.0 the tld file is expected to be in the META-INF directory or META-INF subdirectory of the jar. Make sure that tld it

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-11 Thread Michael Jouravlev
On 4/10/06, Dave Newton <[EMAIL PROTECTED]> wrote: > Pham Anh Tuan wrote: > > I got problem with redirect attribute in forward tag. > > > > after MyRegistration is processed, it register some values in request scope > > (some messages to inform that Registration was successful), but after > > red

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread Michael Jouravlev
On 4/10/06, vijay r <[EMAIL PROTECTED]> wrote: > Hello, > > I used AJAX to fill details for a corrosponding selected value listed in a > combo box. So for a particular registration number, the details of the > vehicle are filled. > > On the onchange() event of the combo box, I am calling a JavaScri