Re: wondering

2003-06-02 Thread Patrick Refondini
Have a look at: http://jakarta.apache.org/struts/resources/tools.html You might especially like this one :) http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html I have no advice to give regarding these tools as I am mostly involved with model layer developpment, not view. Just heard

RE: Repost: Global request parameter filtering

2003-05-29 Thread Patrick Refondini
Just a pointer to the following Any pointers? How do you filter your sql sensitive characters? If you use java.sql.PreparedStatement you should not require any manual characters filtering or escaping. My two cents, Patrick Quoting Mike Whittaker [EMAIL PROTECTED]: Okay, no one seems to

loosing url-pattern *.do while upgrading to Struts 1.1-b2

2002-09-13 Thread Patrick Refondini
When defining a form: html:form action=/saveRegistration (...) with the Action Servlet mapped using url-pattern *.do defined in web.xml the generated html form I obtain is: form name=subscriptionForm action=/struts-example/saveSubscription (...) instead of form name=subscriptionForm

Re: Is it possible to generate styleId ?

2002-08-14 Thread Patrick Refondini
Maris Orbidans wrote: Hello I would like to have styleId different for each html:text element. How to achieve it ? logic:iterate id=element name=Zurnals4Zem6 property=saraksts type=lv.datapro.lad.pri.utils.Zurnals4BaseView td class=small3 html:text name=element

Re: Message Reources Question

2002-08-12 Thread Patrick Refondini
Ananda Chaudhuri wrote: Hi All, I am working with 1.1b and wanted to make the message resources work. In the struts-config file I have this line: message-resources parameter=MediaManiaMessageResources null=false / This uses tiles so in header.jsp i have 1 line:

Re: DOM and Persitence Caching [OT :-)]

2002-08-12 Thread Patrick Refondini
Jacob Hookom wrote: For any OT post, you must start with I'm developing a struts application and I was wondering I have to represent a File-like tree structure that could have thousands of items, granted they won't all be displayed on the screen at once, but users will be selecting

Re: Accessing MessageResources From Runtime Expression

2002-08-12 Thread Patrick Refondini
: Patrick Refondini [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 11, 2002 6:55 AM To: Struts Mailing List Subject: Accessing MessageResources From Runtime Expression I try to refer to image paths stored in MessageResources from a Runtime Expression in order to dynamically define Javascripts. I

Accessing MessageResources From Runtime Expression

2002-08-11 Thread Patrick Refondini
I try to refer to image paths stored in MessageResources from a Runtime Expression in order to dynamically define Javascripts. I look for a mix of bean:message and bean:define tags that would let me do: bean:define-message id=closeActionActiveBtnMessage key=close.action.active_button

Re: Strutsproblem: Sending files from Server to client!

2002-07-23 Thread Patrick Refondini
I am not clear about your problem but the following code sample works fine. Maybe the only important difference is that the perform method returns null ? public ActionForward perform(ActionMapping mapping, ActionForm form,

Re: viewing email from this list

2002-02-23 Thread Patrick Refondini
But not yet on Linux :) Eddie Bush wrote: OutlookExpress works in a similar fashion =) - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 2:28 PM Subject: Re: viewing email from this list Netscape

Re: Development Environment

2002-02-21 Thread Patrick Refondini
JBuilder 5 Professional, Linux RedHat 7.2 Dave Wellman wrote: Hello, Quick question, what is the preferred development environment that you are all using, Linux - Emacs, VIM, Windows - JBuilder, VisualAge? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: how to decide how many beans to use?

2002-02-21 Thread Patrick Refondini
Check Struts Validator MultiRegistration Example. In short what I got out of it is that you can deal with one ActionForm on several page thanks to : 1. the field page=... attribute found in validation.xml form element. 2. the validator:javasecript page=... attribute for client side validation

Re: Using logic:equals tag around html:form action.... tag. Is it legal?

2002-02-19 Thread Patrick Refondini
the wrong syntax seems to come from my previous quick and dirty answer :( Problems: 1. bean:define value must not be define as body content but as value attribute. 2. forget about action='bean:write name=formAction' it compiles but the bean:write tag is not interpreted so at runtime the

Re: Using logic:equals tag around html:form action.... tag. Is it legal?

2002-02-19 Thread Patrick Refondini
% and bean:write name="formAction" filter="true" / works fine. Any ideas why %=formAction% is giving an error? Cheers Tony On Tue, 19 Feb 2002 12:05:27 +0100 Patrick Refondini [EMAIL PROTECTED] wrote: the wrong syntax seems to come from my previous quick and di

Re: Datetime validation taglib for struts?

2002-02-16 Thread Patrick Refondini
Transformation mechanism for binary data, taking the date example. Trying to deal with java.util.Date in Struts I have came to look for : 1. Validation mechanism I tested the Struts Validator Ted mentioned. Centralized xml config, 18n support, out of the box JavaScript for client side checks,

Re: Using logic:equals tag around html:form action.... tag. Is it legal?

2002-02-15 Thread Patrick Refondini
Hi Antony, I guess you are not allowed to enclose a tag start within a logic tag whithout enclosing the tag end as well. This leads to : logic:equal name="testPageBean" property="typeOfProcess" value="add" html:form action="/addUser" focus="username" ... /html:form /logic:equal Of course if the

Re: urgent!!!! HELP!!!! I have application to go... Dynamic Property.

2002-02-07 Thread Patrick Refondini
I am new to using mailing lists but I guess you'll find a reason for the silence following your question by having a look at : http://www.tuxedo.org/~esr/faqs/smart-questions.html Hereafter a short part of it : (...) Use meaningful, specific subject headers On mailing lists or newsgroups,

Re: Struts runtime expression tag.

2002-02-05 Thread Patrick Refondini
having the following forward defined as you mentioned forward name=membership path=/membership.do/ you can as well use it in your html:link html:link forward=/membership paramId=id paramName=formBean paramProperty=idMembership/html:link Patrick Matt Raible wrote: Unfortunately, you

Re: Struts Validator Load Failure

2002-02-04 Thread Patrick Refondini
Hi, I have had the same error : Digester.getParser: javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser (...) The digester (org.apache.commons.digester) namespace setup seems not supported by all versions of xml parsers. I had the same problem with both

Re: OT: onblur Javascript validation

2002-02-01 Thread Patrick Refondini
Hi Todd, No idea: I cannot answer your question :( as I do not code Javascript. But suggestion: I can deal with Javascript validations for required fields, dates, ... since I found Struts Validator :) http://home.earthlink.net/~dwinterfeldt/ I found it worth the invested time Regards,

Re: Help with table with edit buttons

2002-01-31 Thread Patrick Refondini
Hi, facing a similar issue I addressed it by having a form per record instead of a form for the whole table. Then everything becomes easier :) hereafter a code sample to illustrate. logic:iterate id=taskForm indexId=taskFormIndex name='%=TaskAction.TASK_FORM_LIST%' scope=session html:form

Re: Beanutils.populate()

2002-01-31 Thread Patrick Refondini
Hi, I am looking to solve the same issue but have no clean solution yet, just a few ideas : Populating dates requires to dynamically obtain date pattern format together with the String date value in order to do the String to Date / Date to String conversion. To achieve these goals :

Re: Logic Iterator, access iteration counter

2002-01-31 Thread Patrick Refondini
Hi Greg, I think what your are looking for is the indexId attribute of the logic:iterate tag, check the doc at : http://jakarta.apache.org/struts/struts-logic.html#iterate it is quite clearly stated. Here is a case in which I use it to populate my taskForm.index property : logic:iterate