Set values in form bean

2006-01-28 Thread Deepa Khetan
Hi, How can i set values to a form-bean before the form is submitted? I have this form in session scope. When a user enters a particular field, another hidden form gets submitted and the page is refreshed. The issue is i cannot retain the values that the user has entered, after refresh. I guess,

Re: Validation problems

2006-01-28 Thread Debendra Barik
Hello, I don't know what exactly you are doing, whre you are calling the validation condition. But still i have a copule of alternative for you, just try. Hope your problem will be solved. Because i had same problem and i solved that by applying this teh. Solution: Step1. Your

Re: Set values in form bean

2006-01-28 Thread Debendra Barik
Hi, Plz. let me know about you wrote When a user enters a particular field, another hidden form gets submitted and the page is refreshed. . Whether you are doing so by writing some code(its your requirement) or you just guess its happening automatically when a user enter a particular field,

Re: Form pre-fill issue

2006-01-28 Thread Debendra Barik
Hello, its appearing that you are using the type attribute inside the html:form tag, its ok but you have to give fully qualified class name of the ActionForm which you are using in the form-bean section of your struts-config.xml. that is

Manage JSP View (READ-ONLY, READ-WRITE) with FormView

2006-01-28 Thread Angelo zerr
Hello, I mail you to announce that FormView project is created on sourceforge. FormView is JSP taglib to manage prerender of JSP according to state (CREATE, READ, UPDATE,...). With Formview you develop just ONE JSP to manage READ-ONLY and READ-WRITE form. For instance, on CREATE state HTML inputs

How to access string resources (.properties entries) from inside a servlet ?

2006-01-28 Thread Legolas Woodland
Hi Thank you for reading my post. how i can retrieve some string resources from my bundle.properties file? the file is located in : *servlet/bundle.properties* I want to retrieve some of its key and use them inside the servlet java file.

AW: How to access string resources (.properties entries) from inside a servlet ?

2006-01-28 Thread Martin Kindler
Look at the org.apache.struts.util.MessageResources class. It has a method getMessage(Locale, String) which retrieves the resource. You can get the instance of the MessageResources from the request in your Struts action. It has the key org.apache.struts.action.MESSAGE. Martin

Re: [ANN] Java Web User Group / BOF XV / Oracle City of London / Frid ay 3rd February 2006 @ 19:00

2006-01-28 Thread Jim Collins
Hi Peter, Apologies for not making the last meeting I will try and make this one. Regards Jim - Original Message - From: Pilgrim, Peter [EMAIL PROTECTED] To: Struts User Apache (E-mail) user@struts.apache.org; MyFaces Discussion (E-mail) users@myfaces.apache.org Cc: Maven Users List

Ftp access for jakarta binaries

2006-01-28 Thread Martin Gainty
Good Morning Everyone I am attempting to locate ftp access for jakarta binaries Any help you can provide would be appreciated Thanks! Martin Gainty Etats Unis

Re: Form pre-fill issue

2006-01-28 Thread Karthik Manimaran
Hi, Even after giving the fully qualified class name it doesn't work. Thanks and regards, Karthik. On 1/28/06, Debendra Barik [EMAIL PROTECTED] wrote: Hello, its appearing that you are using the type attribute inside the html:form tag, its ok but you have to give fully qualified class name

Re: Form pre-fill issue

2006-01-28 Thread Karthik Manimaran
The bean property however is getting printed when jsp tags are used as shown below. But html:text tag doesnt populate the value. %@ page language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % jsp:useBean id='privacyPrefForm'

RE: Form pre-fill issue

2006-01-28 Thread [EMAIL PROTECTED]
You might try taking the type, name, and method attributes out of the html:form tag. In particular, the name and type attributes are meant to specify the request ( or maybe session ) scoped object with which this form should work. If you mean to work with the action form that is defined in

RE: How to access string resources (.properties entries) from inside a servlet ?

2006-01-28 Thread [EMAIL PROTECTED]
Legolas Woodland ?? Just what type of elf are you? --- On Sat 01/28, Legolas Woodland [EMAIL PROTECTED] wrote: From: Legolas Woodland [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Sat, 28 Jan 2006 15:28:17 +0330 Subject: How to access string resources (.properties entries)

Re: Form pre-fill issue

2006-01-28 Thread Paul Benedict
It must be the query parameters you stuck in the action name. I never seen that before. Turn those into html hidden fields and try again? --- Karthik Manimaran [EMAIL PROTECTED] wrote: The bean property however is getting printed when jsp tags are used as shown below. But html:text tag

Re: How to access string resources (.properties entries) from inside a servlet ?

2006-01-28 Thread Legolas Woodland
[EMAIL PROTECTED] wrote: Legolas Woodland ?? Just what type of elf are you? not from a knowledge full kind :( But for more information , i can tell you that im a Sindarin Elven prince . to read more please go to : http://en.wikipedia.org/wiki/Legolas --- On Sat 01/28, Legolas

Re: Form pre-fill issue

2006-01-28 Thread Karthik Manimaran
Works perfect. Thanks a lot. regards, Karthik. On 1/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You might try taking the type, name, and method attributes out of the html:form tag. In particular, the name and type attributes are meant to specify the request ( or maybe session )

Re: Manage JSP View (READ-ONLY, READ-WRITE) with FormView

2006-01-28 Thread Leon Rosenberg
btw, the title of your sourceforge page http://formview.sourceforge.net/ is From View not Form View. A typo I guess. (head titleFrom View/title ) regards Leon On 1/28/06, Angelo zerr [EMAIL PROTECTED] wrote: Hello, I mail you to announce that FormView project is created on sourceforge.

Using High Available applications with JSF

2006-01-28 Thread Néstor Boscán
Hi I'm very sorry to publish a JSF question in a Struts forum, but it seems that there is a lot of users that have JSF experience. I have a client that requires that all their applications are HA. For this I need to deploy my web applications in multiple servers and enable web session

Re: Using High Available applications with JSF

2006-01-28 Thread Craig McClanahan
On 1/28/06, Néstor Boscán [EMAIL PROTECTED] wrote: Hi I'm very sorry to publish a JSF question in a Struts forum, but it seems that there is a lot of users that have JSF experience. I have a client that requires that all their applications are HA. For this I need to deploy my web

Re: [shale] Images and css being rejected

2006-01-28 Thread Alexandre Poitras
I had the same problem, the easy solution is to apply the shale filter only on *.jsf url. I taugh it was resolved. Don't know why it happens thought. On 1/27/06, Richard Wallace [EMAIL PROTECTED] wrote: I'm having a problem with pages loading images and css files. I turned up the debugging on