[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: html:form action=/search.do acceptCharset=UTF-8 styleClass=search html:hidden property=scope value=${param.searchScope}/

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 FORM NAME=InputForm ACTION=UploadAction.jsp METHOD=POST enctype=multipart/form-data input type=file

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 possible

[OT] Re: Abdel est en vacance!

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

Re: How to create custom tag

2006-07-17 Thread David Delbecq
Use expression language available in jsp 2.0: div class=${theBean.messageLevel=Error?ErrorClass:theBean.messageLevel=Warning?WarningClass:InfoClass} . /div 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 on

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

[Shale] some questions regarding dialogs and subdialogs

2006-07-11 Thread David Delbecq
of direct link to some JSF content by email. Greetings, David Delbecq dialog-config.xml: !DOCTYPE dialogs PUBLIC -//Apache Software Foundation//DTD Shale Dialog Configuration 1.0//EN http://struts.apache.org/dtds/shale-dialog-config_1_0.dtd; dialogs dialog name=Test Dialog start=Edit

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

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

Re: Quick question about the Resources.properties files.

2006-06-30 Thread David Delbecq
Did you do input type=button .. value=bean:message key='blabla'/ which make sense in a JSP, or did you do html:button .. value=bean:message key='blabla'/ which is a non sense as a you can't put a jsp tag inside a parameter of a jsp tag. if you use html:button, use this way

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

Re: message resources

2006-06-08 Thread David Delbecq
bean:message key= myValueAdded arg0=${mybean.value}/ Marcus wrote: Pass the argument {0} as follows: bean:message key= myValueAdded arg0=value/ 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. :-(

Re: message resources

2006-06-08 Thread David Delbecq
Marcus wrote: bean:message key=myValueAdded arg0=${mybean.value}/ I wrote: bean:message key=myValueAdded arg0=${myDynaForm.value}/ And it returns literally: ${myDynaForm.value} Sorry, thought bean:message was supporting el notation :) try this bean:message key=myValueAdded

Re: Image Buttons in IE

2006-06-06 Thread David Delbecq
Hi, indeed ie does not support properly the value of a button 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

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

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: I apologize for maintaining human standards

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

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

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: 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
/* the auth.jspis called, even if I was authorised the first time. Meaning I have to authenticate myself every time I acess anything in /father/ . how do i get over this behaviour and only authenticate my self only once... thnks for any help On 3/14/06, David Delbecq [EMAIL PROTECTED] wrote: Do

Re: struts security

2006-03-14 Thread David Delbecq
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 [EMAIL PROTECTED] wrote: Am sorry but that's

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. html:textarea name=empOtherDevFocusBO cols=512 rows=3 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

[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

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

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

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: How to inject code between HEAD /HEAD 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 head section while you are already in the middle of your .jsp, then you will need your

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

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

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

2006-02-23 Thread David Delbecq
Am pretty sure, JSP is not about xml at all :) img src=c:url value='blabla'// 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: Thursday

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

2006-02-23 Thread David Delbecq
can produce well formed xhtml (actually its an optional setting, isn't it?) so headbla/head/bla is invalid, but the output of your example: img src=/blabla// is a valid xhtml. It's not about the jsp itself, but the output :-) regards Leon On 2/23/06, David Delbecq [EMAIL PROTECTED] wrote

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.. You can mail me

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: 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: 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 do

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 eliminate

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

Is struts handling informations differently between post and get?

2006-01-30 Thread David Delbecq
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 - To unsubscribe, e-mail: [EMAIL

Re: data in session affecting performance ?

2006-01-27 Thread David Delbecq
] -- David Delbecq Royal Meteorological Institute of Belgium - Pingouins dans les champs, hiver méchant - 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: [FRIDAY] How to RTFM

2006-01-06 Thread David Delbecq
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] For additional commands, e-mail: [EMAIL

Re: Same action with multiple submit buttons

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

Re: Any step by step tutorial for internationalization of application

2005-12-20 Thread David Delbecq
] 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] For additional commands, e-mail

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: 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 than the ApacheCon logo, I don't

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 Silvija

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: c:choose c:when test=${1==1} html-el:select property=actionParameters(${parameter.key}).value html-el:option value=true/

Re: R: stupid EL evaluation question

2005-10-20 Thread David Delbecq
-Messaggio originale- Da: David Delbecq [mailto:[EMAIL PROTECTED] Inviato: giovedì 20 ottobre 2005 12.33 A: Struts Users Mailing List Oggetto: stupid EL evaluation question Hello, might some of you enlight my path to redemption? I tried to use this inside a jsp: c:choose

Re: R: stupid EL evaluation question

2005-10-20 Thread David Delbecq
the taglib declaration 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 declaration is as follow. taglib

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

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

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) {

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 options to

Re: Custom data-type classes, howto

2005-09-21 Thread David Delbecq
, David Delbecq wrote: 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

Re: [Hibernate] This stuff is cool

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

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

Re: Being Lazy with Hibernate

2005-09-20 Thread David Delbecq
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] Sent: Tuesday, 20 September 2005 10:04 PM To: Struts Users

Re: Could struts be corrupting my byte[]?

2005-09-13 Thread David Delbecq
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 Meteorological Institute of Belgium - Is there life after /sbin/halt -p

Re: Could struts be corrupting my byte[]?

2005-09-12 Thread David Delbecq
and it gets a byte[]? How do you guys do it? Thank you all very much for the help -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL

Re: File Upload enctype

2005-08-26 Thread David Delbecq
('${someBean.someValue}') Delete Data /html:link -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED