Re: dynamic forwards

2001-09-27 Thread Gregor Rayman
lisa ward [EMAIL PROTECTED] Hi again, The values in your hash map have been hardcoded in, which works fine. But what do I if I do not know what the user's selection will be in advance. Take for instance, if I have a set of checkboxes on my page, I would like to be able to initialize the

Tomcat 4 and JNDI Lookup ?

2001-09-27 Thread emmanuel.boudrant
Hello, I've got an exception when a make this: Initial context = new InitialContext(); javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.java.javaURLContextFactory. Root exception is java.lang.ClassCastException: org.apache.naming.java.javaURLContextFactory

How-To : html:messages

2001-09-27 Thread Michael Mok
Hi All Thought I would like to share the following example code that demonstrate how to use the html:messages tag. Following from the email Dirk wrote. In your action class you will have... ActionMessages messages=new ActionMessages(); messages.add(ActionMessages.GLOBAL_MESSAGE,new

Re: Dual-list UI

2001-09-27 Thread Peter Pilgrim
the best solution is to use JavaScript to move items from select list to select list on the client side. Look at the configuration option in I think, http://my.netscape.com/ to what they do over there. -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / /

Re: Application Resource reload.

2001-09-27 Thread Peter Pilgrim
Yes look in struts-config.xml for the answer. There should be a reload action unless you deleted it. Type in the URL in to your browser `http://localhost:8080/web-app/admin/reload.do' Bookmark it! -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / / ...

Remember selection in selection list

2001-09-27 Thread Heinz
Could anyone please help me with the following problem. I have a formular with amoung other input fields the following two fields: A selection list (java:ComboBox) that looks like that: html:select property=hkd option value=YYes option value=NNo

Re: Remember selection in selection list

2001-09-27 Thread chiji nwankwo
Hi, This how I have done it and seems to work for me. I am checking for a flag in my reset method before I reset the fields and I havealso specified that the scope of the action that is used by the action form set to session. I hope this makes sense. config file extract: action

RFC on the best aproche to develop one APP for WEB+WAP+OTHER MEDIAS

2001-09-27 Thread Oscar Trigueiros
I am developing one App and i have the aspiration to deploy to several media WEB+WAP+OTHER Does someone has one idea one the best problem solution? Best Regards Oscar Trigueiros

RE: Application Resource reload.

2001-09-27 Thread iwanek
Hello, `http://localhost:8080/web-app/admin/reload.do' This surely is useful, but the original struts-conifg.xml has a little comment over it saying this should be protected by some security measure in an real application. Now I wonder how it can be done. Any ideas? -- kazumi

Re: dynamic forwards

2001-09-27 Thread lisa ward
In your message you said: so you will know all paramaters in advance, since the checkboxes have been submitted already. But since Im using a html:link (forward) instead of a submit, at which point do I initialize the selected checkbox values in my hash map. Thanks Lisa From: Gregor Rayman

Re: RFC on the best aproche to develop one APP for WEB+WAP+OTHER MEDIAS

2001-09-27 Thread Michael Breion
You should consider just using XML for your content, and create one XSL style sheet per media (one for web, one for wap, etc ...) Use this and the XSLTransformation will do the rest and display your App correctly on each media :-) Michael - Original Message - From: Oscar Trigueiros

Re: dynamic forwards

2001-09-27 Thread Gregor Rayman
lisa ward [EMAIL PROTECTED] wrote: In your message you said: so you will know all paramaters in advance, since the checkboxes have been submitted already. But since Im using a html:link (forward) instead of a submit, at which point do I initialize the selected checkbox values in my hash

Re: prefix matching for an action

2001-09-27 Thread lisa ward
I am or should I say, have been trying to find a solution to this problem. I have a set of dynamically generated forwards with differing attributes that make up the query string for the forward. Do your actions bypass your action form and go to the action class directly and if they do how do

Re: dynamic forwards

2001-09-27 Thread lisa ward
Thanks, I will try this, who knows maybe I have barking up the wrong tree and just trying to be too smart. From: Gregor Rayman [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: dynamic forwards Date: Thu, 27 Sep 2001 12:29:44 +0200 lisa ward [EMAIL PROTECTED]

RE: RFC on the best aproche to develop one APP for WEB+WAP+OTHER MEDIAS

2001-09-27 Thread Oscar Trigueiros
Hi Michael: Thanks for starting this conversation i belive that we are for a real hot subject. I have used xml transformations with Cocoon before and i haven't become one supporter of this aproch. Because it increase the skills demands on the programer staff and does not have much gain

Re: RFC on the best aproche to develop one APP for WEB+WAP+OTHER MEDIAS

2001-09-27 Thread Michael Breion
you can use the technology u prefer... But I still recommend the XSL, because with your jsp approach, u'll have 3 jsp (like 3 XSL sheet), but when ur data change, u'll change ur 3 jsp, when I will only change my xml file to redistribute all things well :) ... :) I think it's the best thing to

Problem : Recursive elements in Digester

2001-09-27 Thread Sundar Shanmugasundaram
Hi All, I have the following xml file : XYZ sections section id = "1"displayNameFirstSec/displayNamesection id = "1.1"displayNameFirstsub/displayNametableRef id="Master"/section id="1.1.1" displayNameFirstsub11/displayName tableRef id="Master11"//section/sectionsection id =

Re: Tomcat 4 and JNDI Lookup ?

2001-09-27 Thread SUPRIYA MISRA
No-it is a LDAP error. From: emmanuel.boudrant [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 4 and JNDI Lookup ? Date: Thu, 27 Sep 2001 09:49:36 +0200 (CEST) Hello, I've got an exception when a make this: Initial context = new InitialContext();

RE: RFC on the best aproche to develop one APP for WEB+WAP+OTHER MEDIAS

2001-09-27 Thread Oscar Trigueiros
But if you change the data format you also have to change the xsl. Well i my case the data format will not chage often. How do you consider the use of custome taglib's provided by Struts and you own and the use of xslt transformations. -Original Message- From: Michael Breion

Re: Hiring Struts guru

2001-09-27 Thread Maurício Santiago de Castro
I am not exactaly a guru, but I've been working with it for 6 months in a project here. I am working at Algorithmics Incorporated Brazil. This is a canadian financial risk company with offices all over the world, but as said, it is not a strict technological company. I have a lot

form error

2001-09-27 Thread Aurélie Lucet - Atlog
Hi, I have a classic form in a jsp page (form:form), with a form bean and an action mapping declared in my struts-config.xml, but when I validate this form, I have an error : Error: 400 Location: /ufop/relations/ficheClient/clients.do Invalid path /relations/ficheClient/clients was requested I

Tiles Newbie - tutorial problem

2001-09-27 Thread Nathan Coast
Hi, I've downloaded the tiles install from http://www.lifl.fr/~dumoulin/tiles/tiles.zip I deployed the tiles-doc.war in weblogic and the index page displayed fine. However, when I clicked on the Tutorial Live examples link: http://localhost:7001/tiles-doc/tutorial/index.jsp I get this error:

Workflow Control and Action Reuse (newbie)

2001-09-27 Thread Michael Baldwin
I just started looking at struts 4 days ago, so please bear with me... This question really gets into workflow management. I have a certain action that would be reused frequently across my site. I want to route to that action from many other actions and then return both control and information

Re: Use an image for submit button

2001-09-27 Thread Eric Rizzo
Thinh Doan wrote: I'd like to replace the following with an image instead of a button: html:submit property=submit value=Login styleClass=verdanaCAPCopy/ I just learned this the other day myself. For some reason, an input type=image ... will submit the form when clicked. So just

RE: WML version of Struts?

2001-09-27 Thread Matt Parker
I'm currently in the process of deciding whether or not Struts would be too heavyweight for the current application I'm developing. If I do decide to do it, I would most certainly write it for struts, as I have used struts on a previous html project, and liked it a lot. Thanks, Matt

Window-to-Window reference?

2001-09-27 Thread Antonio Lourinho
Hi, I know this isn't an html nor javascript mailling list, but as i am using Struts at the moment here it goes anyway: i have a page (let's call it MainPage) which contains a form that´s submitted to a Struts action. One of it's fields is filled by opening a new browser window (javascript)

RE: Use an image for submit button

2001-09-27 Thread Thinh Doan
Thanks Eric Marcelo. I tried html:image... and it seems to work fine. I used a href=javascript:document.forms[0].submit(); a lot in the past (for img rollover) but thought to try the Struts way. Thinh -Original Message- From: Eric Rizzo [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Using Poolman without JNDI

2001-09-27 Thread Dragomir Nikolov
Hello, I am trying to use the Poolman for JDBC connection for the struts application I am developing. I have set up everything needed to run the Poolman. Initially it runs ok. Connection is retrieved successfully using the DataSource dataSource =