Re: Any step by step tutorial for internationalization of application

2005-12-20 Thread David Delbecq
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant - To

Re: Same action with multiple submit buttons

2005-12-21 Thread David Delbecq
m is that I > have the same name for different buttons in the same form. > In that case, how will I know which button submitted that action?? > > > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] >

Re: [FRIDAY] How to RTFM

2006-01-06 Thread David Delbecq
[EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Manipulating reques object ???? - urgent please

2006-01-20 Thread David Delbecq
I do? How can I do ? > please give me some clues??? > > thanks in advance > > > sony > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --

Re: [FRIDAY] You might be a Wally if ...

2006-01-20 Thread David Delbecq
... you wander everyday in corridors, asking everyone around if there are any meetings today. Le Vendredi 20 Janvier 2006 16:05, Ted Husted a écrit : > ... your petname for seminars and user group meetings is "naps and snacks". > > -Ted. > > --

Re: data in session affecting performance ?

2006-01-27 Thread David Delbecq
terms of performance ? > > > > thanks > > lixin > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- David Delbecq Roya

Is struts handling informations differently between post and get?

2006-01-30 Thread David Delbecq
ected behaviour that struts behave differently on POST and GET methods regarding the encoding? 2) how to fix it? (i tried switching to utf-8 for query, it got even worse as post also don't work anymore then) -- David Delbecq Royal Meteorological Institute of Belgium

Re: URL Submission To Search Engines With Struts

2006-02-02 Thread David Delbecq
I would suggest the welcome.do Also, take a look at http://www.google.com/webmasters/2.html Jim Reynolds a écrit : >Hello, > >I have been having trouble getting the Search Engines to index my site >properly. My old site was just JSP model 1, and I would just submit >the index.html page. > >Since I

Re: [test] ignore

2006-02-10 Thread David Delbecq
I see nothing but 7bit charset in you mail, sorry :) Pilgrim, Peter a écrit : >Testing using Micro$oft Outlock 200 sp3 > >I seem to be have problems with my mail sent to google group sent as 7bit >character set. Just want to prove that apache and sourceforge dont >have to the problem, and elimin

Re: filters in web application

2006-02-13 Thread David Delbecq
This all depends on what your filters do. If each filter is creating wrappers, analysing output stream and so on, you could indeed get performances issues. Consider each filter is about 3~4 additional stack level. Also each filter = 1 object + it's configuration datas Basically a filter is if your

Re: getRequestUrl returns different url in tomcat 5.0 and tomcat 5.5

2006-02-15 Thread David Delbecq
Please don't reply to other people's messages to ask your questions, this somehow mixes Threads and people knowing the answer to your question might not be listening to this current thread. It's better to create a new message with an appropriate subject line :) regards. Srinivas a écrit : > Hi,

Re: unsubscribe me

2006-02-16 Thread David Delbecq
Ankit Pancholi a écrit : >hi >please unsubscribe me. >Thanks >Ankit > > > Look! It's magically written here :) >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > And here!

Re: [Friday]

2006-02-20 Thread David Delbecq
Marco Mistroni a écrit : >Hello, > > > >>The expression applies in greek as well and is used to point out a >>difficult situation where rope and soap is the obvious way out :-) >> >> > >Sorry for being so 'numb'... but I still don' tsee the connection between >A rope and the soap.. >Y

Re: [Friday]

2006-02-20 Thread David Delbecq
One simple word: pray Marco Mistroni a écrit : >Hehe, > Thanx I got explanation off-line.. >Hope I'll never have to resort to that >are there any nicer expressions to say that you have no other solutions? > >Regards > marco > >-----Original M

Re: How to inject code between of a generated page ?

2006-02-23 Thread David Delbecq
The JSP writer writes http response, not html response. You can use jsp to generate html, txt, xml, whatever you want. jsp tags are supposed to output content where they are. If you need to autogenerate the section while you are already in the middle of your .jsp, then you will need your taglib to

Re: How to inject code between of a generated page ?

2006-02-23 Thread David Delbecq
Na, he just asummed the tag was doing additionnal work at a later part: Dave Newton a écrit : >Leon Rosenberg wrote: > > >>? >> >> >> >Ah, see, that won't work. > >Try > > instead. > >;) > >(Hey, it was either this or I would have had to respond to the "I want >to write a fully ob

Re: How to inject code between of a generated page ?

2006-02-23 Thread David Delbecq
Am pretty sure, JSP is not about xml at all :) and will never fit in a xml parser! Chris Loschen a écrit : >But you can't do that -- it's not well-formed XML. > >Chris > >-Original Message- >From: David Delbecq [mailto:[EMAIL PROTECTED] >Sent: Thur

Re: How to inject code between of a generated page ?

2006-02-23 Thread David Delbecq
gt;> > >no, but jsp can produce well formed xhtml (actually its an optional >setting, isn't it?) > > >so is invalid, >but the output of your example: > is a valid xhtml. > >It's not about the jsp itself, but the output :-) > >regards >Leon > &

Re: Cannot find bean in scope Problem

2006-02-24 Thread David Delbecq
I bet a box of chocolates you forgot to define or badly defined the logic taglib in your .jsp header :) [EMAIL PROTECTED] a écrit : >Hi, > >I have a form with a List and want to show the values on my JSP. But when I >start my JSP the bean "id" cannot be found in any scopy. I dont understand >why

Re: query parameters

2006-03-07 Thread David Delbecq
Encoding and decoding of query parameters is the job of container (tomcat, jboss, websphere, what ever you are using). The only struts related exception is for multipart/form-data (used for file uploads). There it's common-fileupload library which does the decoding. Why would you want to do the dec

Re: File download

2006-03-08 Thread David Delbecq
If i remember well there are special http header that can be used to tell client the response is split in several part. This is mainly used when you send a partial response to client (like a html with table containing 3 rows) and after process advanced you send a more complete response (like the sa

Re: bean:write will not recognize \n or \t

2006-03-10 Thread David Delbecq
Krishna, Mattam (M.) a écrit : >I have the following code in jsp. >property="focusText" /> >Here I am enterd the following text: >Test > Test. >Note:I typed Test and then enter key then tab then Test. >After I submit the html:form , it stores the value perfectly in DB. >After when I tried to

[FRIDAY] Ouftil Adrach struck again, but i don't care because of bifff

2006-03-10 Thread David Delbecq
It's friday, Ouftil Adrach (local belgian goddess) struck again. It's raining hard outside and i will need to get out and catch the train that will lead me back to week-end. I want to mention the Brussels international fantastic film festival has started today and i will be there all saturday even

Re: struts security

2006-03-14 Thread David Delbecq
Do it like you would for any servlet. Either apply a security constraint to struts servlet itself or apply security constraints to url path (applying a security constraint to /admin/* applies also to /admin/someStrutsAction.do) Jubin Kuriakose a écrit : >Hi all >Can ayone give me links related to

Re: struts security

2006-03-14 Thread David Delbecq
("Subject--> " + subject.toString()); >>Set principals = subject.getPrincipals(); >>principals.add(user); >> >>request.getSession(false).setAttribute("login",subject); >>} catch (LoginExcept

Re: struts security

2006-03-14 Thread David Delbecq
Not really. Once user has been authenticated it's written in his session. Some people have had success by clearing the user session, but this behaviour is container dependent as, unfortunatly, j2ee specs did not provide for such a mechanism. >thnx > >On 3/14/06, David Delbecq <[EMA

Re: Regards ajax

2006-03-23 Thread David Delbecq
Take a look at the dwr framework. It allows you to easily map server object request to local forms / div It's prety easy to use, and convert server dwr exposed objects to javascript object, with similar method names. It pretty looks from javascript point of view like having an asynchronous version

Re: File Upload enctype

2005-08-26 Thread David Delbecq
t; variable. How do I do it? > Once I pass the variable, my javascript function has to be : > > > function validateDelete(data) > { > return confirm("Delete Data"+data); > } > > Have you tried this?

Re: Could struts be corrupting my byte[]?

2005-09-12 Thread David Delbecq
I can think here is struts is > corrupting... could it be? > > 1. Is html:text the correct component I have to use for this? > 2. Do I have to make any conversion, being that I insert a String and it > gets a byte[]? > >

Re: Could struts be corrupting my byte[]?

2005-09-13 Thread David Delbecq
(i assumed utf-8). You must remain consistent in your various byte[]<->String conversion to this blob field. I suggested UTF-8, but maybe some other thing might be more suitable for you. Anyway, once you have decided a charset for your blob, stick with it. -- David Delbecq Royal Meteorologi

Re: [Hibernate] This stuff is cool

2005-09-20 Thread David Delbecq
// ensure that the *.hbm.xml is located in bin/be/rmi/intranet/db // (where the class is) for (int i = 0; i < persistedClasses.length; i++) { configuration.addClass(persistedClasses[i]); } sessionFactory = configuration.configure().

Re: Being Lazy with Hibernate

2005-09-20 Thread David Delbecq
For lazy initialization to work, at the moment of the lazy initialisation, (that is the moment you request the data) the hibernate session must not be closed. The best way to do this is to store the hibernate session in the user session and use a servlet filter to connect/disconnect/reconnect the h

Re: Being Lazy with Hibernate

2005-09-20 Thread David Delbecq
no idea how to go about doing what >you have suggested. > >I will continue to research but would you be able to help me with a little >more detail on what this entails? > > >Regards >Marty > >-Original Message- >From: David Delbecq [mailto:[EMAIL PROTECTED] &

Custom data-type classes, howto

2005-09-21 Thread David Delbecq
Hello, I'm seeking for help/documentation pointers on how to manage custom data-types in struts. Am wanting to know if it's possible to manage complex data-type (that is data-types which need more than one field to be displayed / filled) All this considering my form contains an array named paramet

Re: How to validate in Struts 1.2.7

2005-09-21 Thread David Delbecq
This will help you :) don't forget to add validate=true in your struts-config.xml public class MyForm extends ActionForm { public static int MAX =100; private Integer value; public Integer getValue() { return value; } public void setValue(Integer value) { t

Re: passing JavaBeans through an ActionForm?

2005-09-21 Thread David Delbecq
Koen Jans a écrit : >Here's my problem; > >A user has several accounts, represented by AccountBean objects, all >having a unique accountId. > >Now, i have a form where the user can select one of his accounts to edit >through a radio button selection. For the associated ActionForm, i see >two opti

Re: Custom data-type classes, howto

2005-09-21 Thread David Delbecq
appropriately. > >When you pass the object it will be just that, an object, unless you also pass >the type, >for example: >Object object; >String objectType; >objType="${attributeName.property2}"/> > >Kind regards >mc > > >On 21 Sep 2005 at 10:32,

Need to contact mailing list admin regarding delivery issues

2005-09-26 Thread David Delbecq
Hello, I need to contact the admin of this mailing list regarding issues with it. Please cc: your reply to david.delbecq at myrealbox.com to ensure delivery. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

stupid EL evaluation question

2005-10-20 Thread David Delbecq
Hello, might some of you enlight my path to redemption? I tried to use this inside a jsp: non boolean

Re: R: stupid EL evaluation question

2005-10-20 Thread David Delbecq
L is evaluated by >JSP and the 1 is considered int. > >I hope this is useful > >BR >/Amleto > > > > > >>-Messaggio originale- >>Da: David Delbecq [mailto:[EMAIL PROTECTED] >>Inviato: giovedì 20 ottobre 2005 12.33 &g

Re: R: stupid EL evaluation question

2005-10-20 Thread David Delbecq
n in your web.xml, you can >just use the URI in your jsp file and the taglib will be loaded from >the jstl jars. > >On 20/10/05, David Delbecq <[EMAIL PROTECTED]> wrote: > > >>Hi Amleto, >> >>am using tomcat 5.5.7, jstl 1.1.2 >> >>my web.xml d

Re: new website look

2005-10-25 Thread David Delbecq
Michael Jouravlev a écrit : >On 10/24/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > >>From: "Michael Jouravlev" <[EMAIL PROTECTED]> >> >> >> >>>Firefox 1.0.6 on W2K --> site is screwed up. >>> >>> >>So you've mentioned. :) Except for the left-hand column resizing itself >>smaller tha

Re: Best Practice: How to reinititialize client ?

2005-10-25 Thread David Delbecq
use reset() method of order related session forms. Silvija Cardzic-Mrsa a écrit : >Hi, > >Im new to struts and developing a shop with Struts. >After a customer sent his order it should be possible to make a new order >( same session ). >Whats the best practice to do this and how ? > >Thanks >Silv

Re: [OT] It's FRIDAY!!!

2005-10-28 Thread David Delbecq
Complaining about someone's gender can be a full troll topic with some people i know :) Ok, you wanna start a disclaimer hunt? Some user of the redhat mailing list suggested this one in 2003 https://www.redhat.com/archives/fedora-list/2005-March/msg06354.html "IMPORTANT: This email is intended

Re: I apologize for maintaining human standards

2006-03-28 Thread David Delbecq
Quinn Stone a écrit : > >I think maybe we should have for users, for developers, and a new > for those that want to have pissing contests. Speaking of saturation... > >Q > > > +1 - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [IE Crashes]

2006-03-28 Thread David Delbecq
for Moz, you can go to the mozilla bugtrack to get a list of existing browser bugs. For ie, you might need to get the releas note of each ie patch released by microsoft. There is no maximum size supported by browser. However, the most you put in the html, the slowest browsr will be at the renderin

Re: Class that "listens" is app "alive"

2006-04-20 Thread David Delbecq
Either use the init/destroy methods of a servlet filter Either create a servlet with a load-on-startup value Note: you will only know the webapp is being stopped / started, you will get no information about whether it is a redeploy or a simple tomcat shutdown/start Stanislav a écrit : >Hi! > >I

Re: Extracting MessageResources from Struts

2006-04-24 Thread David Delbecq
Using message ressources is not struts specific. What struts does beside using message ressources is maintaining the user language in user http session and use it when it need a message ressouce use. If all you need to do is have multi language support for your messages, i suggest you take a look a

Re: Image Buttons in IE

2006-06-06 Thread David Delbecq
Hi, indeed ie does not support properly the value of a html tag. It does send the html-stripped content of button instead of it's value. The best solutions it to add a onClick="someScriptToSetHiddenField("action","add");" http://www.jguru.com/faq/view.jsp?EID=897290 marcus biel (innoWake g

Re: message resources

2006-06-08 Thread David Delbecq
Marcus wrote: Pass the argument {0} as follows: I tried that, but then it writes literally: Value value has been added. But what need the VALUE of hte variable "myValue" to be printed. :-( Marcus - To unsubscribe, e-m

Re: message resources

2006-06-08 Thread David Delbecq
Marcus wrote: > I wrote: And it returns literally: ${myDynaForm.value} Sorry, thought bean:message was supporting el notation :) try this It's awfull, but assuming you have myDynaForm in some scope should work - To uns

Re: Fwd: [OT] How to specify classpath for an application

2006-06-28 Thread David Delbecq
It's rather not possible in general, The .war is supposed to be a 'complete' application, config included. If you load the ressources using the classloader, you can still use 'tricks' that depend on container specific behaviour, but that is not recommanded. The best way if you want your user n

Re: Quick question about the Resources.properties files.

2006-06-30 Thread David Delbecq
Did you do which make sense in a JSP, or did you do which is a non sense as a you can't put a jsp tag inside a parameter of a jsp tag. if you use , use this way Fredrik Andersson wrote: Hi all I'm still implementing the i18n internationalization on the page and now I have noticed that

Re: how to start ajax in dwr

2006-07-04 Thread David Delbecq
The dwr website is full of examples and documentations Gomathi wrote: Hi i am new to ajax.I dont know dwr how to use dwr. .Is there is any sample site for creating ajax application using dwr. Kindly Regards gomes - To uns

Re: [shale][clay] NullPointerException on Linux

2006-07-04 Thread David Delbecq
Upper/lower case mistake in filename most probably, that's about the main difference between windows and linux, the windows filesystem is case insensitive. Ian.Priest wrote: Anyone want to hazard a guess as to why I get the npe below when I deploy my application on Linux in tomcat 5? I'd just u

[Shale] some questions regarding dialogs and subdialogs

2006-07-11 Thread David Delbecq
ng one? 4) is there a way to start a dialog process or create a link to a JSF page without ressorting to a (like http://?action=dialog: or http:///userDetails.faces?username=), all this to prevent the use of javascript when possible and allow the sending of direct link to

Re: Struts Action + Multiple Request

2006-07-13 Thread David Delbecq
RODRIGUES DE ALMEIDA Thiago wrote: > Hi All, > I have this scenario: > > In my application, the user has the possibility of openning multiple > windows (browser) simutaneously. > In this case, each new window makes requests for data thru a struts > action. > > That means, one user can make multiple

Re: How to create custom tag

2006-07-17 Thread David Delbecq
Use expression language available in jsp 2.0: class="${theBean.messageLevel="Error"?"ErrorClass":theBean.messageLevel="Warning"?"WarningClass":"InfoClass"}"> . Pankaj Gupta wrote: I dont think CSS can work in this case as the CSS would be static. I want to display color of the font based o

[OT] Re: Abdel est en vacance!

2006-08-28 Thread David Delbecq
La chasse au caribou est ouverte! ** _ | \ V |/ /| | / /| | \ V / | |/ / | | \ /_ | V / | || | \\| / | || | \ || || \ || |\|

Re: Creating new Session without invalidating the old one

2006-08-29 Thread David Delbecq
It's tricky to force a new session, and most of time depend on the container. Since you want to keep a few datas of your session, i'll recommend you try using Enumeration HttpSession.getAttributeNames() HttpSession.removeAttribute(String name) [EMAIL PROTECTED] a écrit : > Hello! > > Is it possib

Re: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread David Delbecq
Are there any exceptions of any sort in console? What size is the file? Raghuveer a écrit : > have an upload file operation in the web application. The web server is > OC4J. > > //UploadForm.jsp > enctype=multipart/form-data> > > //etc ... > > > After I deploy the application to the web server

[struts faces] How do i set default values?

2007-03-13 Thread David Delbecq
Hello, i am trying to convert some struts form to be JSf compatible using struts faces. However, there are a few problems with initialization for form. I have this: According to struts faces docs, i need to use the corresponding JSF tag: However, you all can guess my