Re: Language Alphabet Set

2002-01-19 Thread John Hunt
That is what I want to know... --- John Hunt [EMAIL PROTECTED] wrote: Isnt there a way to get the alphabet of a language? --- John Hunt [EMAIL PROTECTED] wrote: Hi I want to get the alphabet of a language based on the locale. How can I do that? I have to display an index

Language Alphabet Set

2002-01-16 Thread John Hunt
Hi I want to get the alphabet of a language based on the locale. How can I do that? I have to display an index structure based on the locale. So I need alphabet of the particular locale which comes in the request. Any help regarding this would be highly appreciated. Thanks Junta

Re: Language Alphabet Set

2002-01-16 Thread John Hunt
Isnt there a way to get the alphabet of a language? --- John Hunt [EMAIL PROTECTED] wrote: Hi I want to get the alphabet of a language based on the locale. How can I do that? I have to display an index structure based on the locale. So I need alphabet of the particular locale which comes

Re: rte as subscript

2001-02-12 Thread John Hunt
Craig I tried using it, but I think when it is converted into html it goes out like select name="array[0]" but when we posted your code tries to look for array%5b0%5d ( [ and ] ) being encoded. Is this what is expected --- "Craig R. McClanahan" [EMAIL PROTECTED] wro

An array in a form bean

2001-02-07 Thread John Hunt
I want to have a series of text boxes ( say 10 ) in a html page. I would like to use a formbean for this with an array for the text boxes. So they all go under the same name I guess. How should the getter and setter methods be? How would we have it in the html page?? What should be done in case

property in form tag

2001-02-07 Thread John Hunt
Can we access arrays in form:form tag as form:form property="memberVariable[i]" / ?? In this case should we have methods like public void setMemberVariable( int index, String Value ) __ Do You Yahoo!? Get personalized email addresses from

rte in attributes

2001-02-06 Thread John Hunt
Hi Cant we have runtime exprs in attribute names I am doing this form:select property="%=fieldName%" and am running into problems. I tried without quotes too... How do we handle this? __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at

forms with arrays

2001-02-05 Thread John Hunt
Hi I have a variable number of combo,text pairs ( like name value pairs ). If I use struts form, it would lead me to have variable number of calls if I have a direct mapping with the input fields. So I want to use arrays. I want to associate the name value pairs ( combo to text ). From the form

Action class

2001-02-05 Thread John Hunt
If an action class directly wants set the headers like content type etc and write the output directly, what all issues should be taken care of apart form returning null in perform method? Thanks Hunt __ Do You Yahoo!? Yahoo! Auctions - Buy the

Re: member variables

2001-02-04 Thread John Hunt
What about anything that is put in the session object??? When should I worry about synchronization about such objects? Suppose I put an object which has some some methods in it? When should I worry about synchronization in the code that lies in it? Suppose I put an object in session and open two

define tag

2001-02-02 Thread John Hunt
Hi If we use struts-bean:define tag and if the variable is not found, does it raise exception. If yes how can I catch it and handle it. Normally if A is in Sesion scope and a property B then we would do bean:define id="m" name="A" scope="session" type="typeA" / bean:define id="B" name="m"

Re: action.xml

2001-02-01 Thread John Hunt
Is there a to remove the bean from the session scope after the purpose is solved. Say I have 50 pages and out of that 5 pages share one form bean. I would put that bean in the session scope. But I dont want that to be alive for that entire session except for that 5 pages right Another

FormBeans

2001-02-01 Thread John Hunt
1.What is the normal practice in the case where you have two pages, and part of the input entered in the first page needs to be displayed in the second page. I would say use the same form bean for both the pages. Any objections to this? 2. When displaying readonly contents on a page where the

action.xml

2001-01-31 Thread John Hunt
Hi In the deprecated action.xml was there a way to specify scope for the form beans. If yes how. Is the scope attribute in the new struts-config.xml a scope for the form bean??? Thanks Hunt __ Get personalized email addresses from Yahoo! Mail -

Re: action.xml

2001-01-31 Thread John Hunt
If a formBean is spread acroos multiple but consecutive ( again consecutive ) pages, should I put the bean in session or will the request scope do because they are consecutive pages. --- "Craig R. McClanahan" [EMAIL PROTECTED] wrote: John Hunt wrote: Hi In the deprecated

Action Form

2001-01-29 Thread John Hunt
If a person invokes a ActionServlet without any submit ( say directly invoke logon.do ), I can check that he hasnt submitted any data in the ActionForm class, so I would like to send the user back to the input page from the ActionForm itself. ActionForm returns errors. If I dont want to add any

ActionForm in this case

2001-01-28 Thread John Hunt
Hi Consider a scenario where there is a user profile. When a user clicks on a link to display the profile we would get his details and would display them in editable input fields ( text boxes, radio buttons etc ). When he edits them and asks to save we save them. Suppose I wish to use the same

RE: ActionForm in this case

2001-01-28 Thread John Hunt
hm.. Thanks for the reply. But my concern is not about retrieving the values or where to put it in the app. My question is about the ActionForm. Can I create an ActionForm in an Action class and associate it with the request and pass it on to be displayed by the JSP. Next, When displaying how do

RE: ActionForm in this case

2001-01-28 Thread John Hunt
this helps enough to progress. Daniel -Original Message- From: John Hunt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 3:30 PM To: [EMAIL PROTECTED] Subject: RE: ActionForm in this case hm.. Thanks for the reply. But my concern is not about retrieving

ActionClass + input field validation

2001-01-26 Thread John Hunt
Hi Suppose I have an ActionForm class for some validation stuff and after that the associated Action class does some more validation If ActionForm class validation fails then the request is forwarded back to the input page and the page is redisplayed and the whatever data the user has input

Re: ActionClass + input field validation

2001-01-26 Thread John Hunt
displayed. What could be the reason. And thanks for the earlier reply. --- "Craig R. McClanahan" [EMAIL PROTECTED] wrote: John Hunt wrote: Hi Suppose I have an ActionForm class for some validation stuff and after that the associated Action class does some more

Re: ActionClass + input field validation

2001-01-26 Thread John Hunt
ot; [EMAIL PROTECTED] wrote: John Hunt wrote: Craig I am not using form:form tag. I just use the normal html tags for sending the data. I use ActionForm for manipulating them at the server side. Well, that is your problem then. It is the tags like html:text that automaticall

Re: struts:errors

2001-01-11 Thread John Hunt
However ... (dramatic pause) ... using the most recent build, you can now use simple/nested/indexed expressions like this: html:text property="mailingAddress.street"/ and the appropriate processing will be applied to get the street address (for initial display) and set

Locale Message Resources

2001-01-05 Thread John Hunt
1. Action class provides getResources() which return MessageResources. Is the MessageResource always the one specified in web.xml ( say ApplicationResources.Properties ) or is it based on the locale set + the one specified in web.xml ( and thus for locale xx it is

Custom Mapping Class

2001-01-05 Thread John Hunt
Thanks for the reply Craig Could some one tell me - When would one want to use a custom ActionMapping class? The example given in bluestone.com doesnt convince me. Thanks Hunt --- "Craig R. McClanahan" [EMAIL PROTECTED] wrote: John Hunt wrote: 1. Action class provides ge

Re: Template

2001-01-02 Thread John Hunt
To be a bit precise I meant template:get in the first line and the files that are accesses later by template:put --- John Hunt [EMAIL PROTECTED] wrote: Hi If in a template body I get two files and each of it instatiates a bean with same id, what is the consequence? template:insert