RE: template and I18N

2001-05-30 Thread Johan Compagner
look at the bean:message tag: johan > -Original Message- > From: Gregor Rayman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 2:12 PM > To: [EMAIL PROTECTED] > Subject: template and I18N > > > Hi all, > > I've just started to use Struts and I have some questions: > >

Re: VAJ 3.5.3 and WTE "cant remove Attributes from request scope"

2001-05-21 Thread Johan Compagner
Yes this is a bug in the WTE (and also in Tomcat3.1, IBM hasn't upgraded some classes) If you want to be able to run them change the pageContext.x(REQUEST_SCOPE) calls to do it directy to the request is self.   johan   - Original Message - From: Kenneth Petersen To:

RE: connection pool problem (with Beta release)

2001-05-16 Thread Johan Compagner
Debug through it and look what kind of rows are really selected from the db the first time. I have seen this behaviour many times but it was always a caching problem at the browser site. Because the selected data was right the first time. johan > -Original Message- > From: Gogineni, Pra

Re: Where are the TLD's?

2001-05-14 Thread Johan Compagner
t stylesheet to generate the > taglib documentation. This means that only the one XML file has to be > updated when a tag is added or changed. > > -- > Martin Cooper > > > - Original Message - > From: "Johan Compagner" <[EMAIL PROTECTED]> > To: &

Where are the TLD's?

2001-05-12 Thread Johan Compagner
Now the sources are not in the binary's anymore (i didn't check this but i think it is true) I download only the sources, because that is what i really need. But i see that the sources don't contain the tld's! Now i still have to download the binary's also, of course you can say, why do you care

Re: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Johan Compagner
, 2001 8:14 PM Subject: RE: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!) > Its opensource. you can always modify it for your needs. > > cheers, > Amar.. > > -Original Message- > From: Johan Compagner [mailto:[EMAIL PROTECTED]] &

Re: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Johan Compagner
d change (doesn't work with javascript!!) > You can do this. > > document.nextpage["org.apache.struts.taglib.html.TOKEN"].value=themakey; > > David > > --- Johan Compagner <[EMAIL PROTECTED]> wrote: > > Hi, > > > &g

Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Johan Compagner
something like that!! Johan Compagner

Re: please help...this doesn't want to display the exception, is this correct?

2001-05-09 Thread Johan Compagner
ActionError constructor wants a message key. not just a string. you could do: errors.add("beanErr",new ActionError("general.exception",ex.toString())); and then have a general.exception in youre resouce bundle: general.exception="An exception occured: {0}" johan - Original Message - Fr

Re: Antwort: RE: Visual Age 3.5.3 & Tomcat with Struts

2001-05-01 Thread Johan Compagner
Here you have 2 versions of Tomcat 3.2.2b3 Test Environments one one stripped version: www.techfo.nl/jcom/tomcatstripped.zip and full src version: www.techfo.nl/jcom/tomcatfullsrc.zip (for the full src you need JAXP/Parser also in the workspace) Johan Compagner - Original Message - From

i want the jsp pages to be updateable (from internet,browser)

2001-04-17 Thread Johan Compagner
Hi,   When i include my jsp inside a war file i really don't know where those files are unpacked (if they are unpacked) But if i want my jsp's to be updateable from the internet (uploading) where must i put my jsp's?   Can i for example put my jsp's inside a DB and then have some common class

Re: Data Connection Pool, solution?

2001-04-17 Thread Johan Compagner
a nice addition to struts 1.0! Johan Compagner > > autoCommit="false" >description="Interbase Data Source" >driverClass="interbase.interclient.Driver" >maxCount="4" >minCount="0" >

Re: vs.

2001-04-13 Thread Johan Compagner
form taglib is depricated everthing is in the html package now. - Original Message - From: "Stanley Tan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 13, 2001 9:33 AM Subject: vs. > What's the difference between and ? > > The documentation does not even mention

Re:

2001-04-12 Thread Johan Compagner
Now i think of it is it possible to supply only a hashmap to and that the key's are the property (the keys) and the value the labels? now i always have 3 methods to fill in a combo: getXxxxId getXxxxIds getXxxxLabels johan - Original Message - From: "Jim Crossley" <[EMAIL PROTECTED]>

RE: Is Struts with Websphere that slow ? - any other problems?

2001-04-09 Thread Johan Compagner
3.5.2 is not the right version i believe (maybe it works maybe it doesnt) because websphere only supports jsp1.1/servlet2.2 with 3.5.3 (tag support) johan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 09, 2001 4:48 PM > To: [EMAIL PROT

Re: troubles with Tomcat

2001-04-06 Thread Johan Compagner
Seet mod_jk many articles on the jakarata site johan - Original Message - From: "ntrgiang" <[EMAIL PROTECTED]> To: "Struts-User" <[EMAIL PROTECTED]> Sent: Friday, April 06, 2001 5:17 PM Subject: troubles with Tomcat > Hi, thanks for reading my message > > When I test some JSP pages,

Re: Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Johan Compagner
gt; and bandwidth. This causes exception on the server (tomcat) side of the > connection. It is plainly cosmetic nuisance. > > There is plenty of information on this on the web if you run the search on > "tomcat socket write error" > > Hope it helps, > > Michael S

Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Johan Compagner
Hi, If i use Tomcat as a static (gifs) and dynamic (jsp) server, that is mostly used inside a debugging evironment or maybe if it is specified that everything in the webapp\app dir must be served by tomcat (still find this a very bad idee), then i noticed that i get socket exceptions on specifiek

Re: Performance of struts

2001-03-22 Thread Johan Compagner
What the compiler of IBM does is that it also imports the generated java code inside the ide, so that you can debug is. Therefore does ibm has it's own compiler. Johan - Original Message - From: "Tom Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 22, 2001 7:3

Tomcat question

2001-03-21 Thread Johan Compagner
Hi, One tomcat question for this list (i know there are some tomcat developers here) Why can't i find changes.html or something like that for the tomcat versions? You got now a 3.1.x branch (doesn't seem to be in development anymore) 3.2.x branch (still development 3.2.2 beta 1 as latest mile s

BeanMessage Tag proposal

2001-03-16 Thread Johan Compagner
insurance.getProperty("totalautotheft"); object[1] = insurance.getProperty("autotheft"); return object; Johan Compagner

Re: DefineTag.value question (proposal)

2001-03-13 Thread Johan Compagner
> > so not: > > > > // Retrieve the required property value > > Object value = this.value; > > This will return null if you did not specify a "value" attribute, so the > effect is the same as your desired result -- setting the new bean based on > the name/property combination. This is not my

DefineTag.value question (proposal)

2001-03-13 Thread Johan Compagner
Hi, If i specify the value in the DefineTag then the name/property is ignored!! But when i also specify the name/property then i want the value to be filled in when name/property seems to be null! so not: // Retrieve the required property value Object value = this.value; if (value == null)

Tomcat (servlet2.2 spec question)

2001-03-12 Thread Johan Compagner
ent you must do the same but there i use Tomcat as http server and app server. And for every project i must have 2 context in tomcat. And they must be exactly the way be configured as the deployment server! Horrible Johan Compagner - Original Message - From: Unify Support To: [EMAIL

RE: Business Object Bean Persistence Strategies

2001-03-09 Thread Johan Compagner
Hi, Because i want Database Objects to control them self completely (like Enity beans) I must have a way to get Transaction support and make sure that in on thread the same connection is being used. For example: class Person { private String name; private Country country;

Datasource proposal

2001-03-08 Thread Johan Compagner
Using another one is very difficult because how the properties are set. (I want to use the org.apache.struts.sql one but this one has many more options and totally different method names to set the properties (like url ect) And also the open en close methods aren't called automaticly. So i propo

RE: Populating a Form

2001-03-07 Thread Johan Compagner
Mostly at my place this is nothing more then setting one id!! I would love to have the abillity that i didn't need any action for this. johan > -Original Message- > From: Michael McCallister [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 4:16 PM > To: [EMAIL PROTECTED] > S

RE: Database pooling code

2001-03-07 Thread Johan Compagner
Do you just test the isClosed() method? My plan was to execute a small sql code that has a very little overhead and alway's returns normal for every db if the connection is still good. But i don't know what kind of sql statement works for every db. johan > -Original Message- > From: [E

RE: Populating a Form (a proposal)

2001-03-07 Thread Johan Compagner
The last (using 2 actions) is how it is done in the struts example (last time i checked) with registering or changing user data. But i also would like to have a popuplate without going through a action. Then i could request this: userdata.jsp?userid=1 instead of this: userdata.do?userid=1 Th

Re: VA Java and Struts without Tomcat / WebSphere

2001-03-05 Thread Johan Compagner
It doesn't work on the Websphere test environment in VAJ yet. Because the websphere inside VAJ doesn't support JSP1.1 yet (only the real websphere does that) you must wait for Fixpack3 that will get the test environment to the same level of Websphere 3.5.3   johan   - Original Message

Re: Admin actions

2001-03-03 Thread Johan Compagner
This would be very nice but remember that the struts-config.xml sits inside the war file And you don't have any control over it then. Some containers extract it (like tomcat) others work directly in it. And maybe other extract it to a internal database.   So what to update?   Maybe if struts

Re: Class reloading?

2001-03-02 Thread Johan Compagner
> Tomcat 3.1 and 3.2 seem to reliably detect cases where the servlet class > you are actually calling has been changed, but they do not always seem > to catch the fact that other classes have been changed. > > Tomcat 4.0 uses a different mechanism that reliably catches *all* > changes to classes

Re: Still need help with VAJ & Struts

2001-02-26 Thread Johan Compagner
> Have you heard about expected the time frame for patch3? That would be a > nice thing to have. The last thing i heard: Late februari (so that is pretty soon!) johan

Re: Still need help with VAJ & Struts

2001-02-24 Thread Johan Compagner
Title: RE: Still need help with VAJ & Struts The tomcat test environment of IBM for VAJ is still version 3.1. I heard that after the release of patch3 (which also brings the internal Websphere TE to JSP1.1/Servlet2.2) the will release another one with i presume the latest final (3.2.1)   Stru

How does Struts compare to Barracuda?

2001-02-20 Thread Johan Compagner
Here is the link: http://barracuda.enhydra.org/Barracuda/ Can we learn something from it? Is it better or worse? Johan

Re: which development tool to use?

2001-02-05 Thread Johan Compagner
I use VAJ 3.5 with Tomcat and struts. works perfectly can debug throught the jsp's (not really jsp's but the generated servlets) Can change code on the fly without restarting anything. johan

Re: which development tool to use?

2001-02-05 Thread Johan Compagner
Are you developing in java? :-) Why? You don't like it if i look at your list. Every IDE that is written in Java has this as a negative 'feature' johan

PreparedStatement pool.

2001-02-03 Thread Johan Compagner
{ conn.setCatalog(this.catalog); } catch (SQLException e) { ; } If i exclude this then everyting works, Is this common behaviour? How do you do this? Johan Compagner

What happend to the binary's??

2001-02-03 Thread Johan Compagner
They aren't there or only 1K great of the last few day's Johan C.

question

2001-02-01 Thread Johan Compagner
Hi, If the is used and the request parameter (the name specified) isn't found i don't want an exeception but i want the bean parameter to use a empty string (""). So that after that all prints that empty string if the paramter wasn't there. I want this behaviour because if a specifiek paramate

Re: GenericDataSource usage in non-servlet classes

2001-01-26 Thread Johan Compagner
You must have a reference to the servlet or servletcontext somehow. You could do something like this (you should store the servlet not the session): protected void process(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { HttpSession session= requ

test

2001-01-26 Thread Johan Compagner
test

Jsp Compilation question. (Want to load Jsp's from my own location=database)

2001-01-25 Thread Johan Compagner
Hi, My JSP files are stored in a database because it should be possible to change the jsp pages on the fly without deploying a complete new war file and/or shutting down the application server. And it must be possible to upload those jsp pages through our maintenance web pages of our applicat

Re: How to reload struts application parameters dynamically?

2001-01-22 Thread Johan Compagner
Look at the struts_config.xml of the sample application. Below there are some /admin/XXX actions specified. If you copy the /admin/reload to your config file then you can do this: /Your app/admin/reload.do johan - Original Message - From: "Baquedano Jesús" <[EMAIL PROTECTED]> To: <[EM

How can i implement this? (dynamic properties instead of static ones)1

2001-01-21 Thread Johan Compagner
Hi, I have a form: PropertyForm which have a getProperty(String) and a setProperty(String,Object) So not a get and setter for every property. That property form relay's those calls to a DbObject that also has those getProperty and setProperty. At start (first request of) i set a specifiek DbObjec

Re: Auto Form Validation Not Done?

2001-01-17 Thread Johan Compagner
üngliche Nachricht- > Von: Hee Meng, Poh [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 17. Januar 2001 17:38 > An: [EMAIL PROTECTED] > Betreff: Re: Auto Form Validation Not Done? > > > Hi, > > U r right. Just found this too. But still having problem of > not produ

RE: Auto Form Validation Not Done?

2001-01-17 Thread Johan Compagner
In the struts config file you specify if the validate must be called or not: Maybe you have specified false? johan > -Original Message- > From: Hee Meng, Poh [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 17, 2001 10:51 AM > To: [EMAIL PROT

Re: Datasource serializeable (Was: 1.0 status of MessageBundle and non-serializable application resources)

2001-01-12 Thread Johan Compagner
> > Why depend on this? > > Because it is the standard approach mandated for J2EE applications, to access > all sorts of resources (including data sources). But i don't want to get dependend on a J2EE server. (it's already hard to find a JSP/Servlet ISP on the internet) But the problem is that

Datasource serializeable (Was: 1.0 status of MessageBundle and non-serializable application resources)

2001-01-12 Thread Johan Compagner
> As I pointed out in a subsequent message on this thread ... you > need to avoid the use of the initialization service > if your container requires context attributes to be serializable. > In such cases, the app server will provide an alternative means > (JNDI InitialContext) to gain access to t

RE: Struts without SQL?

2001-01-11 Thread Johan Compagner
Add the jdbc optional package to your classpath. Even it you don't use jdbc you need that package. johan > -Original Message- > From: Timur Mehrvarz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 11, 2001 2:40 PM > To: [EMAIL PROTECTED] > Subject: Struts without SQL? > > > Hello

Re: Orion Application Server And Struts 1.0

2001-01-09 Thread Johan Compagner
Try to set the dtd file in the web-inf of your app. I remember also having this problem but i thought i fixed it this way. johan - Original Message - From: "Hee Meng, Poh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 4:53 PM Subject: Re: Orion Application

Re: HTML tag library

2001-01-08 Thread Johan Compagner
Do it before the 1.0 release. Because after that is will be much more difficult. johan - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts List" <[EMAIL PROTECTED]> Sent: Monday, January 08, 2001 12:04 PM Subject: HTML tag library > Did we decide to rename the FORM

Re: GenericDataSource Enhancement

2001-01-08 Thread Johan Compagner
> Except that the javax.sql.DataSource API still includes this method signature, so we >need to do something. I guess > it would probably be better to return a "not implemented" exception of some sort, >then just return a "regular" > connection like it does now. Yes or just a normal connection

Re: GenericDataSource Enhancement

2001-01-07 Thread Johan Compagner
> I suppose besides adding datasources with different logins, we could > also add entirely different DBMS's?, on entirely different servers? Yes that is what the current solution already offers. So the getConnection(String user, String pasword) doesn't have to be implemented, Because if you real

Re: GenericDataSource Enhancement

2001-01-06 Thread Johan Compagner
> It certainly could, along with other stuff like implementing the > getConnection(username, password) call correctly. How should it work? You can't change a current connections username and password (correct me if i am wrong) So you have to build up a new connection with the supplied username a

RE: Template layout file with an include (bean or jsp) to a jsp with a form. (there are many tomcat developer here also i believe)

2001-01-05 Thread Johan Compagner
(), iResponse); iResponse is my own implentation. The RequestDispatcher interface wants only a ServletResponse (and a ServletRequest) It compiles fine so how is it possible that the RequestDispatcher throws a ClassCastException inside itself? What kind of ServletResponse does it wants? Johan Compagner

Template layout file with an include (bean or jsp) to a jsp with a form.

2001-01-05 Thread Johan Compagner
Hi, I will ask the basic question first so that you don't have to read the whole email: So is there no way to use the same request over 2 or more jsp files that are nested in each other? Now my test case: I have a template jsp file that has all the layout of my site. in the right left corner w

Re: New version confusion

2001-01-04 Thread Johan Compagner
> Since tag handler class org.apache.struts.taglib.form.LinkTag does not > implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG > > I'm assuming that I've either not updated all the various bits correctly, > or there has been a change in one or more of the tags that I need to > account for

Re: I want the reques t URL.

2001-01-03 Thread Johan Compagner
> I do not think that the "Referer" header will give you what you want, either -- > that comes only from the browser, which doesn't know anything about the server > side forwarding. Yes i came a cross this already > I would suggest subclassing ActionServlet and making sure you create a > reque

I want the reques t URL.

2001-01-03 Thread Johan Compagner
Hi, If i click on a link that opens another page. And i that page i want a link that wants the url that constructed that page. for example: The link i clicked on: /maintenance.do?thema_key=pension that shows the jsp page: maintenace.jsp in that page i have my own TAG that extracts the info of

Re: Form errors

2001-01-02 Thread Johan Compagner
Use my ErrorTag attached. I copied almost from ErrorsTag but only generated it for the property that was set. I hope this or another one just like it will be in the default struts lib. (they can use mine attached) The current implementation isn't used very much on the internet. Users want to see

Re: SilverStream 3.7 and Struts

2001-01-02 Thread Johan Compagner
Did you try one of the latest builds? johan - Original Message - From: "Bill Pfeiffer" <[EMAIL PROTECTED]> To: "Struts-User" <[EMAIL PROTECTED]> Sent: Tuesday, January 02, 2001 1:48 PM Subject: SilverStream 3.7 and Struts > There was some mention a while back in a thread titled "Propo

Re: agh! Suddenly Tomcat does not start with struts!

2000-12-28 Thread Johan Compagner
I use the one of 27/12/2000 in VAJ3.5p2 with tomcat 3.1 and it works fine johan - Original Message - From: "Ned Seagoon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 28, 2000 1:59 PM Subject: agh! Suddenly Tomcat does not start with struts! > > Hi Guys, hope

Is there a good documentation for all the xml config files parameters/settings that can be used?

2000-12-27 Thread Johan Compagner
Hi, What parameters can i use and is recognized by struts in the WEB.XML file? And the struts-config.xml? (i know i can look into the dtd but is there also a doc/html that explains everything?) johan

(Property)MessageResources proposed changes.

2000-12-20 Thread Johan Compagner
Hi, ( i am trying to subscribe to STRUTS-DEV but i don't get a confirmation message so i post it first here) When the new MessageResources class (and its sub) where introduced my app didn't work anymore because of the changed behaviour in loading resouces. I have 2 fixes that i have attached

Re: A great Shockwave flash movie

2000-12-19 Thread Johan Compagner
And if i want to attach some code Or a html file? - Original Message - From: "Colin Wilson-Salt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 19, 2000 6:25 PM Subject: Re: A great Shockwave flash movie > There's probably no reason for a list like this this to all

Re: i18n problem

2000-12-19 Thread Johan Compagner
g" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 19, 2000 4:16 PM Subject: AW: i18n problem > > Von: Johan Compagner [SMTP:[EMAIL PROTECTED]] > > Which build do you use? > > There are some problems with locale property resources with of 17 decemb

Does struts have a Dynamic Form.

2000-12-19 Thread Johan Compagner
cForm form = new DynamicForm() form.setDatabaseObject(javaMappingObject); form.setEditableColumns(String[]) When the user presses submit i can validate the form in the perfom() and get the updated database object back so that i can update the database. does struts have something like this? Johan Compagner

GenericConnection.close() method changes:

2000-12-19 Thread Johan Compagner
throws a NotSupportedException so none of the connections where returned to the pool because the source.returnConnection(this); was never reached. Johan compagner

Re: i18n problem

2000-12-19 Thread Johan Compagner
's fixed. Just let The ResourceBundle class do its work loading the right .properties or .class files for a given locale. johan compagner - Original Message - From: "Andre Wittenburg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 19,

Dynamic links build from a iterate object..

2000-12-19 Thread Johan Compagner
in the iterator, these 3 must be generated: maintenance.do?thema=pensioen&table=customer maintenance.do?thema=pensioen&table=systemtable maintenance.do?thema=pensioen&table=datatable what is the best way to do this? Johan compagner

build 1217 properties don't load anymore. (BUG)

2000-12-17 Thread Johan Compagner
it loads the ApplicationResources.properties But there i have the properties of nl. So to make it short: Struts should always try to load the current locale (default or not) and walk through the locale (nl_NL.prop then nl.prop and the "".prop) to try to load the properties. Johan Compagner

DataSource question.

2000-12-17 Thread Johan Compagner
st way. What do you guys think? Johan Compagner P.S. i am willing to implement this and give it to struts ofcourse.

vote for a Action.USER_KEY constant.

2000-12-17 Thread Johan Compagner
: org.apache.struts.action.Action.USER_KEY com.xxx.xxx.User com.xxx.xxx..DATABASE_KEY com.xxx.xxx.DatabaseHandler Or defining an object for every request. Johan Compagner

Re: What i would like to do....

2000-12-16 Thread Johan Compagner
> for such cases. Of course, this only works if the tag-property has been > declared as an RTE. sorry that i don't know al the terms like RTE. But what is this? And are most of the property's in struts RTE? johan

What i would like to do....

2000-12-15 Thread Johan Compagner
Hi, I use many constants for storing objects in the different scopes. But inside a jsp page i can't use those like this: but i must type the string behind the constant: Is there a property like name_as_constant or something? johan compagner

Re: Why are there 2 ForwardTag classes (and someothers)?

2000-12-13 Thread Johan Compagner
> The tags listed in "struts.tld" (and implemented in the org.apache.struts.taglib >package) are > the Struts 0.5 version of the tags, and are only kept for backwards compatibility. >New code > should use the separate tag libraries. and for complete backwards compatibility you can't point the

Re: MessageTag

2000-12-13 Thread Johan Compagner
I use it also for labels of the form like: Username [] (english) Gebruikersnaam [] (My language) - Original Message - From: "David Winterfeldt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 12, 2000 10:28 PM Subject: MessageTag > I don't know if

Re: Where is the tag?

2000-12-12 Thread Johan Compagner
Thx for the reply, I made my own ErrorTag for now. I hope this behaviour will be added in struts itself. I attached my own solution... Here is the xml defenition. error x.ErrorTag empty property true true greetings, Johan Compagner P.S

Why are there 2 ForwardTag classes (and someothers)?

2000-12-12 Thread Johan Compagner
JspException(messages.getMessage("forward.forward", name, e.toString())); in taglib only the exception is thrown. Why is this? Johan Compagner

Where is the tag?

2000-12-12 Thread Johan Compagner
belowns to that property or "" if none set. Before i code this myself i thought let's ask it before i do something twice. Johan Compagner Title: Register for the MailReader Demostration Application Validation ErrorYou must correct the following error(s) before

Re: i would like that MessageResources.getMessage(String) returns a string of the clients locale (not default)

2000-12-10 Thread Johan Compagner
> One challenge with using a static method here is that it would be global to the >entire web > applciation. That's fine if all you care about is the *server* Locale, but the >static method has > no way to know what the client's Locale is without the session either. Yes i had the idee to use a

i would like that MessageResources.getMessage(String) returns a string of the clients locale (not default)

2000-12-09 Thread Johan Compagner
Hi, I want this because i don't have the a handle to the session object at all time so that i can call the MessageResources.getMessage(Locale, String) with the locale of the user. (for example in a ActionForm class where i want client localised messages!!) how do i those in the form bean? I kn

getting Locale strings in a ActionForm

2000-12-08 Thread Johan Compagner
priate scope if (debug >= 1) log(" Storing instance under attribute '" + attribute + "'"); if ("request".equals(mapping.getScope())) request.setAttribute(attribute, instance); else session.setAttribute(attribute, instance); instance.setSession(session); //ADDED return (instance); } Johan Compagner

getting Locale strings in a ActionForm

2000-12-07 Thread Johan Compagner
priate scope if (debug >= 1) log(" Storing instance under attribute '" + attribute + "'"); if ("request".equals(mapping.getScope())) request.setAttribute(attribute, instance); else session.setAttribute(attribute, instance); instance.setSession(session); //ADDED return (instance); } Johan Compagner