Re: Avis.com J2EE website

2005-08-10 Thread delbd
you can have nice multilingual calendar component using struts-layout :) Le Mercredi 10 Août 2005 11:35, James Neville a écrit : Or even better:- http://www.dynarch.com/demos/jscalendar/ Our users love this :) [EMAIL PROTECTED] wrote: These usually involve JavaScript. Here's a link:

Composite datatypes - dynaform, is it faisaible?

2005-07-29 Thread delbd
Hello, I am wondering if it is possible to adress this problem using struts: Form must show/edit datas (this is quite simple :p) Some datas are read-only, other are read-write. (ok, not too difficult) The datas to show/edit are different based upon an id given to the action (Thinking about a

Re: [OT] Re: Unacceptable Behaviour of Mark Galbreath

2005-07-01 Thread delbd
Since when does opera support SOAP protocol? Le Jeudi 30 Juin 2005 21:21, Brandon Goodin a écrit : I love this drama. It's like watching a soap opera. *urmph* Did i just admit that i like soap operas? And just think, our favorite troll is savoring every moment of this :D. Brandon On

Re: [OT] Off topic threads

2005-06-30 Thread delbd
You know what? I was presuaded it's Friday today. Still one more day of work before week-end :'( Le Jeudi 30 Juin 2005 15:43, Marsh-Bourdon, Christopher a écrit : I know this would stifle the debate, but can we just stop the very off-topic debates on: My IDE vs. Your Text Editor Struts vs.

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread delbd
Couldn't you include native2ascii as part of the compilation process? This way you always edit UTF-8 files but they are converted when you build your application. Le Lundi 27 Juin 2005 15:11, Antony Paul a écrit : On 6/27/05, Paul Moody [EMAIL PROTECTED] wrote: This looks like the same problem

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread delbd
Quote from sun java doc of java.util.Properties: 'When saving properties to a stream or loading them from a stream, the ISO 8859-1 character encoding is used. For characters that cannot be directly represented in this encoding, Unicode escapes are used; however, only a single 'u' character is

Re: BeanUtils.populate error

2005-06-15 Thread delbd
You most probably have the wrong setter parameters for one or several of your from's properties. like have you have a setDate(Date date) instead of setDate(String date) The only allowed signatures, if am not wrong are setXXX(String) and setXXX(FormFile) Le Mercredi 15 Juin 2005 15:07, Jan

Re: Confused

2005-06-14 Thread delbd
I could add, use EJBs only if you really can't do without them :D Things like Hibernate are more flexible an easy to use than EJB 2.0 and i heard the EJB 3.0 specs will be very similar to what current ORMapping like Hibernate does! Le Mardi 14 Juin 2005 10:08, Daniel Perry a écrit : No, J2EE

Re: [fully-OT] File replication between webapps

2005-06-13 Thread delbd
Just my two cents I'll suggest storing the datas on a central database (which could be clustered amongst your servers) Le Lundi 13 Juin 2005 14:06, Nicolas De Loof a écrit : Hi all, this mail is totaly of topic, so sory sory sory... ... but there is so much java masters on this list ! I

Re: [fully-OT] File replication between webapps

2005-06-13 Thread delbd
/transaction/ may be of interrest (they supports 2 phases commits using XAressources if am not wrong) delbd a écrit : Just my two cents I'll suggest storing the datas on a central database (which could be clustered amongst your servers) Le Lundi 13 Juin 2005 14:06, Nicolas De Loof a écrit

Re: Howto put current users into the application context?

2005-06-08 Thread delbd
Le Mercredi 8 Juin 2005 15:44, Nils Liebelt a écrit : Hi all, I want to show list of currently logged in users. Now in my idea this is something which should belong into application context. Putting it in there Is not too difficult. I do it in my extended ActionServlet. But how do I get it

Dispatch action and validation, howto?

2005-06-06 Thread delbd
Hello, i have a form using a dispatch action, amongst the actions in the DispatchAction is the add of new fields to the form. I need some of those dispatch action to be validated. But some actions need to take place whever the form is valid or not (eg adding field to the form should add the

HOWTO: multiple values field.

2005-05-31 Thread delbd
Hello, in a form user is allowed to enter multiple values for a field foo. There can be an unlimited number of those entries. I saw there is the possibility to do this: logic:iterate property=fooArray id=foo html:text property=foo indexed=true/ /logic:iterate which should create an entry

Re: HOWTO: multiple values field | please don't mix threads

2005-05-31 Thread delbd
Please don't use a replay to another mail as the basis of your questions. This mixes the mail Threads and make it more difficult to manage! Well this all doesn't answer my original question on multivalue fields, still pending ^_^ Le Mardi 31 Mai 2005 10:48, [EMAIL PROTECTED] a écrit : onclick

Re: request.getCharacterEncoding always return null ?

2005-05-24 Thread delbd
There is a similar problem with encoding defaulting to ISO-8859 what ever the browser did send as encoding. This is because the servlet container is unable to interpret the multi-part encoding a solution is to use a constant enconding in your forms (using the acceptEncoding parameter) and

Re: [FRIDAY] Re: [POLL] What do you use action forms for?

2005-05-13 Thread delbd
Why would you want to trade our beautiful java world acronyms for other ones like MP3, OGG, WMA, RIAA, MPAA or SABAM (in belgium) Ok 2 more hours then it's the really interesting part of the friday: traffic to get back home from the capital when trains are in strike. Cheers. Le Vendredi 13

Re: seeking advice on authorization and authentication

2005-04-26 Thread delbd
Here we have application using struts and giving priviledges to some users or some roles. We rely on container security to handle login. We simply put a link to /jsp/admin which redirects to the / and, in web.xml, we ask for everything under /jsp/admin to require authentification. This way

Re: MessageTag set specific Local

2005-04-26 Thread delbd
You can also change the locale by mapping org.apache.struts.actions.LocaleAction to locale.do in your struts-config.xml, using a dynaform. The user can then switch language using somthing like locale.do?language=frcountry=bepage=/jsps/myjsptogoto.jsp country and page are optional arguments.

Re: content management tool

2005-04-19 Thread delbd
Slide jakarta project does provide a struts based taglib to access content management :/ Le Lundi 18 Avril 2005 23:52, sudip shrestha a écrit : Just curious if there are any struts based content managment tools out there! -

Re: [HELP] html:text encodes special characters automatically?

2005-04-15 Thread delbd
I assume you mean you input japanese character but the form bean gets a messed result. If you have a multi-part/formdata encoding for form (used for file uploads) keep in ming there are problem detecting at the character encoding used by submitter. Browser is supposed to send the data in the

Re: [HELP] bean:write tag can not write Japanese or Vietnamese

2005-04-13 Thread delbd
How about using the java capabilities to store unicode string and just let the bean:write do the necessarry convertion to html form? String myStr= \u308f\u305f\u3057; bean:write name=myStr/ see http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#44591 for details on unicode

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread delbd
I thought, inside a jsp tag parameter (here the page parameter) the only substitutions allowed were in the following syntax: ${bean.property} %= someExpression() % and so to have your expected result you need to export the value of treetag:nodeId to a bean and then use that bean value in

How to get the user locale from a jsp

2005-03-09 Thread delbd
Hello How could i get the the user locale, as a page scoped bean, from struts. I know there is a struts util class to get the user locale, but i would like to get it without resorting to the use of a scriptlet. Is there a more elegant way of doing this? I need pass the user selected language

Re: How to get the user locale from a jsp

2005-03-09 Thread delbd
that util class of struts without resorting to the use of a scriptlet. Le Mercredi 9 Mars 2005 11:44, Flemming G. Jensen a écrit : You get the local object from the request with the getLocale() method.. --Flemming -Oprindelig meddelelse- From: delbd [EMAIL PROTECTED] Date: Wed, 9 Mar

bean:write and property editor

2005-03-03 Thread delbd
Hello On an error jsp page, i get from a bean a collection of messages send by the process which lead to the error. One of the informations is the Throwable which produced the error. I want the jsp to show the stack trace. I tried to use bean:write name=error property=throwable/ (which call

url rewriting fails with multipart/form-data

2005-02-28 Thread delbd
Hello, Using struts and tomcat to handle a file upload form, i noticed the following problem. If the browsers doesn't accept cookies or tomcat does not yet use cookies with the involved session (ie we are at first page so tomcat is still probing the browser), tomcat is unable to read the

actions, session and multipart problem

2005-02-25 Thread delbd
Hello We have a system here chich send mails to user asking the to do some actions on the system via some url This is restricted area with container managed login using the auth-basic system. When user click the link, browser strts and a popup ask the user for name password. Problem: login

how to link to an url stored in actionform?

2005-02-23 Thread delbd
Hello, I'm a bit lost with the way am supposed to create a link using informations stored in the actionform in a JSP page. I looked at the html:link but it looks like you can only extract the part after the '?' from the actionForm. I was thinking about simply using a classical jsp tags after

Re: how to link to an url stored in actionform?

2005-02-23 Thread delbd
(as you seem to indicate), I wouldn't store it in the ActionForm at all. Store it as a request attribute, then use standard methods (JSTL or bean:write/ or even a scriptlet if you're feeling rebellious) to write it out in your JSP page. -- Jeff On Wed, 23 Feb 2005 15:04:39 +0100, delbd [EMAIL