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

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 dy

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 > > O

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 > Stru

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

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 Ziniew

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, > J2E

Re: [fully-OT] File replication between webapps

2005-06-13 Thread delbd
ns in http://jakarta.apache.org/commons/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 > >

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 ! >

Re: Toggle Colors between Rows

2005-06-09 Thread delbd
The best using only the view? use this kind of css http://www.w3.org/Style/Examples/007/evenodd.html However, you will need a more than decent browser to do it. Le Jeudi 9 Juin 2005 14:00, [EMAIL PROTECTED] a écrit : > What is the best way to toggle colors between rows using logic:iterate > keep

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

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 fiel

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

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: which should create an entry for each foo value in the form, using public String getFoo(int index) public void setFoo(i

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 always

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: 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=fr&country=be&page=/jsps/myjsptogoto.jsp country and page are optional arguments.

Re: seeking advice on authorization and authentication

2005-04-25 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 requ

Re: content management tool

2005-04-18 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] 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 sam

Re: [HELP] 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"; see http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#44591 for details on unicode characters in source

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 html

Re: How to get the user locale from a jsp

2005-03-09 Thread delbd
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 PROT

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 as

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 (which call error.getThrowable()) But all i get is the

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 jsessi

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 i

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

2005-02-23 Thread delbd
comes from the system (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 or even a scriptlet if you're > feeling rebellious) to write it out in your JSP page. > > -- Jeff > &g

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 s