Re: Digester getting recursive tag types.

2003-01-19 Thread Simon Kelly
> If you're looking at 1.1, the Digester instance is created in the > initConfigDigester() method of ActionServlet, which delegates to the > ConfigRuleSet class (in org.apache.struts.config) to add all of the > detailed rules. Sweet. Thanks. > Could you imagine the programming required to scan

Re: [OT]: I don't see how this works?

2003-01-19 Thread Simon Kelly
Thanks Dave. - Original Message - From: "Durham David Cntr 805CSS/SCBE" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 4:12 PM Subject: RE: [OT]: I don't see how this works? That will sort whatever is inside of lActions base on the

Re: The best way for learning struts (stupid question)

2003-01-19 Thread joni santoso
i am looking forward to it. On Fri, 17 Jan 2003 00:01:48 -0500 "V. Cekvenich" <[EMAIL PROTECTED]> wrote: I will post here when I am ready soon. Glad there is interest, I got some private e-mail. As I plan to donate materials to Jakarta I would like to see if some of the Advanced Pros

Re: property file content not display correctly

2003-01-19 Thread Sakis Chatzinikolaou
Hi, I had the same problem with Greek. I read somewhere to use native2ascii.exe (which resides in JDK bin directory) native2ascii -encoding ISO-8859-7 ApplicationResources.properties ApplicationResourcesChanged.properties. In the encoding use the one for French. It worked for me. Hope this wo

Re: DynaActionForm question

2003-01-19 Thread Craig R. McClanahan
On Sun, 19 Jan 2003, Mark Minnie wrote: > Date: Sun, 19 Jan 2003 21:04:55 -0800 > From: Mark Minnie <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: DynaActionForm question > > "Struts in Action" on page 162 reads: > > "You can use

Re: struts servlet-mapping

2003-01-19 Thread geoff
Excellent, good to hear. Regards, Geoff Bennett Multitask Consulting Pty Ltd Level 8, 20 Loftus Street, Sydney NSW 2000 Australia Tel +61 2 9252 1462Fax +61 2 9252 4636 www.multitask.com.auemail: [EMAIL PROTECTED] Cagan Senturk <[EMAIL PROTECTED]> 20/01/2003 03:36 PM Please respon

RE: DynaActionForm question

2003-01-19 Thread James Turner
> From: Mark Minnie [mailto:[EMAIL PROTECTED]] > > String username = ((LoginForm)form).getUsername(); > String password = ((LoginForm)form).getPassword(); > > The LoginForm was the form bean that I had created manually > in java. I deleted the LoginForm and replaced the form bea

Re: How to use struts to handle session id in the following DHTMLmen u?

2003-01-19 Thread Paul Linden
If I were you, I would read the struts taglib documentation (especially http://jakarta.apache.org/struts/struts-html.html#link) to understand exactly what html:link does. Then read http://jakarta.apache.org/struts/struts-html.html#rewrite. In fact, I would recommend before you try to use any of

Calling DLL

2003-01-19 Thread Prakash N
Hi I want to call a dll from a jsp page using JNI i am using both Apache and Tomcat as servers.It is showing an error Class already loaded in another Class loader.I am placing the dll in the tomcat bin directory. Regards Thomas

DynaActionForm question

2003-01-19 Thread Mark Minnie
"Struts in Action" on page 162 reads: "You can use a DynaActionForm anywhere an ActionForm can be used. You can also substitute a DynaActionForm for a conventional ActionForm without changing any of the existing Java or JSP code." I changed a ActionForm to a DynaActionForm by using the struts-

Re: struts servlet-mapping

2003-01-19 Thread Cagan Senturk
Geoff, thank you very much, that works! I always return to the same layout jsp, so your solution fixes the whole problem. -Cagan On Sunday, January 19, 2003, at 06:26 PM, [EMAIL PROTECTED] wrote: Cagan, using the tag will solve your action calling problems: Some link text here this will produ

Struts and Websphere

2003-01-19 Thread Steve Vanspall
Hi there, I just wanted to see if there's anyone here who has succesfully deployed a struts-based web application onWebsphere application server. I am using Tomcat for development, but need to be able to deploy on websphere? As yet I have had no luck. I am using Struts 1.1Beta-1 Eclipse am mak

prepoulating map-backed forms

2003-01-19 Thread rajiv ahuja
Hi I am a newbie and got a requirement which probably could be solved using map-backed ActionForms. Actually I don't know the form properties in advace (getting it from database) so decided to use map-backed ActionForm. I also need to show the existing state (in database) in the web form and th

How to use struts to handle session id in the following DHTML menu?

2003-01-19 Thread Jason Yam
Hi everyone, anyone know how to change the following DHTML statement using in one struts project so that struts will use the same jsessionid for all the DHTML menu links? For example, it will append jsessionid when the cookie function is disabled and it will use jsessionid invisibly when the

RE: Using internationalised messages as custom tag parameters

2003-01-19 Thread Marco Tedone
Have you tried with the following? MessageResources resources = (MessageResources)request.getAttribute(xxx.MESSAGES_KEY); Then the resources.getMessage("xxx") shall return you the value. Hope it will works :-) -Original Message- From: Alan P Sexton [mailto:[EMAIL PROTECTED]] Sent: Sund

Using internationalised messages as custom tag parameters

2003-01-19 Thread Alan P Sexton
When using custom tags, sometimes I want to pass an internationalised string as an attribute value: e.g. using the display:column tag inside display:table, I want to specify the column title using the message resource key and not a constant string. Currently I have it working using the very ugly

Re: struts servlet-mapping

2003-01-19 Thread geoff
Cagan, using the tag will solve your action calling problems: Some link text here this will produce the following link: Some link text here use the paramId, paramName, paramProperty attributes if the 'urn' value is dynamic. But, I get the feeling that you want the action to forward to one of

Re: struts servlet-mapping

2003-01-19 Thread Cagan Senturk
I agree. But I think support of wildcards in the path would be very useful. On Sunday, January 19, 2003, at 06:10 PM, Marco Tedone wrote: I think it's important as the controllers maps the exactly match between the action-path specified by the client with the action specified in the configurat

RE: struts servlet-mapping

2003-01-19 Thread Marco Tedone
I think it's important as the controllers maps the exactly match between the action-path specified by the client with the action specified in the configuration file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 10:02 PM To: Struts U

Re: RequestProcessor

2003-01-19 Thread Craig R. McClanahan
On Sun, 19 Jan 2003, Angel Aledo wrote: > Date: Sun, 19 Jan 2003 18:24:48 +0100 > From: Angel Aledo <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RequestProcessor > > Hello, > > I found out a little (but important) difference in

Re: struts servlet-mapping

2003-01-19 Thread Cagan Senturk
Geoff, Thanks for your answer. The problem is '/layout' or another directory gets appended there by Tomcat at runtime..Here's the whole story: The content is generated by a content editor, and for internal links we specified that the client uses the following format: Some link text here When thi

RE: [Ignore this mail]

2003-01-19 Thread Todd Pierce
OK -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: Saturday, 18 January 2003 1:38 AM To: Struts Users Mailing List Subject: [Ignore this mail] Institut fuer Prozessdatenverarbeitung und Elektronik, Forschungszentrum Karlsruhe GmbH, Postfach 3640, D-76021 Karlsruhe,

Re: struts servlet-mapping

2003-01-19 Thread geoff
Is it important that '/layout' be part of the action path? why not just have '/test'? It sounds as if this is an action used in multiple context's, and if you don't want to make multiple mapping's, then why not just have the one mapping that is used everywhere. The path in a mapping is just th

Re: Struts / Tiles Design question

2003-01-19 Thread Paul Hodgetts
Carl Hope wrote: > - Is there a way to process just the menu HTML and avoid re-generating the > body, header and footer?. > - If all tiles must be regenerated, how should I define the Action for the > menu change. This should really just call a menu handler page but if the > entire page must be r

Re: [PATCH] LookupDispatchAction

2003-01-19 Thread A Stephen
[PATCH] Index: LocalStrings.properties === RCS file: /home/cvspublic/jakarta-struts/src/share/org/apache/struts/actions/LocalStri ngs.properties,v retrieving revision 1.5 diff -r1.5 LocalStrings.properties 5a6 > dispatch.parameter.erro

RE: RequestProcessor

2003-01-19 Thread Marco Tedone
I think because probally, as in the Struts framework only a single instance of an Action is created for each application, and the RequestProcessor is called by the ActionServlet istance, the synchronization ensure the integrity between ActionServlet and RequestProcessor instances. -Original Me

RequestProcessor

2003-01-19 Thread Angel Aledo
Hello, I found out a little (but important) difference in the use of the RequestProcessor between the Sun WAF (Petstore application) and Struts. In the Sun framework the method is not synchronized: MainServlet.java (Sun WAF): private RequestProcessor getRequestProcessor() { ... } but in the

Re: Struts / Tiles Design question

2003-01-19 Thread Cagan Senturk
I believe there is no way you can refresh part of a layout; the whole layout jsp will have to reload. For your second question, you can write the menu part of your layout (say 'menu.jsp') in a way capable of recognizing the current section selection of the user and self-expand accordingly... On

Re: Struts / Tiles Design question

2003-01-19 Thread Christopher Willingham
For your second question I believe the answer is to create a new tiles definition where you override the menu tile. In your action reference the new definition. But your first question I don't know. I am now building my first large corporate struts app and am using tiles which I like very much b

Struts / Tiles Design question

2003-01-19 Thread Carl Hope
I'm recoding an existing app using Struts and Tiles. The app originally used frames with the usual components of header, menu, body and footer. I've replaced the frameset with a layout template and it works fine. The difficulty I'm having is when I only want to refresh the menu tile and not r

Validator can use different resource bundle?

2003-01-19 Thread Franco Caponi
I need to use a different resource bundle in the validator. In the struts_example i have see a bundle attribute in the field attribute but i have not find it in the DTD and seem not work... Wath are the correct guidelines to use resource from a specified bundle using the validator framework? -- T