RE: bean:message problem !

2003-03-13 Thread du Plessis, Corneil C
bean:define id=localvar1 type=Stringbean:message key=keyforarg0/bean:define bean:message key=mykey arg0=%=localvar1%/ -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: 13 March, 2003 08:39 To: Struts Users Mailing List Subject: bean:message problem ! Hello, If I want

Struts-menu with Tiles

2003-03-13 Thread Heligon Sandra
My question is perhaps stupid, sorry. I would wish to know if it is possible to use struts-menu with Tiles. I for a long time seek an example of horizontal dropdown menu and the menu used in struts-menu example coolmenus3 seems to me satisfactory. But I

html:form tag and document submit()

2003-03-13 Thread Mohan Radhakrishnan
Hi, I have a dumb question to ask. What does the tag html:form do that document.form.submit() doesn't do ? If there is a considerable difference between these two methods, then it might explain some of the things we have been facing here. Mohan -Original Message- From:

RE: html:form tag and document submit()

2003-03-13 Thread du Plessis, Corneil C
html:form is a JSP Tag library that renders a form tag based on the struts-config. document.form.submit() is a JavaScript expression that is going to submit the specific form. -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: 13 March, 2003 11:31 To: 'Struts

RE: html:form tag and document submit()

2003-03-13 Thread Mohan Radhakrishnan
Hi, I might have mislead you. I mean something else. In certain cases document.form.submit() doesn't seem to create the form bean and put it in the scope. Now if we invoke some other action doesn't use document.form.submit() and go back and use document.form.submit() then it works.

RE: html:form tag and document submit()

2003-03-13 Thread Jeevan_Sunkersett
The html:form struts tag will render/ create an html page (from your jsp) which will be, standard html form tag: form action=XZXZXZ method=post The value XXZXZ will be taken from the struts-config.xml at runtime/ page creation time. Method by default will always be post. In html u can

mapped propeties problem and need advice

2003-03-13 Thread Jason Long
I have been trying to set up some mapped properties in a form. It is currently not working. Would someone please look over what I am trying to do and comment on the technique? This was taken from the following: http://jakarta.apache.org/struts/faqs/indexedprops.html I modified the code from the

html:form problem

2003-03-13 Thread Noureddine Bekrar
Hello, I have a probleme with html:form when i send data with this tag html:form action=/validate method=POST enctype=multipart/form-data the server transform all caracters like éèë... to Do you have any idea about this problem? Thanks

RE: Struts-menu with Tiles

2003-03-13 Thread Heligon Sandra
Is it possible to do internationalization with struts-menu ? --- As of February 12, 2003 Thomson unifies its email addresses on a worldwide basis.Please note my new email address: [EMAIL PROTECTED] Thomson is the

Strutsaction on different WebApps

2003-03-13 Thread Kjellaug Johansen
I have two servers running webapps, one for production: www.mycomp.com/WebApp and one for testing: www.mycomp.com/test/WebApp When I work on the production server there are no problems, but when I work on the test-server and try to call a Struts-action (i.e.

[OT] Escape characters

2003-03-13 Thread Guido
I'm using jsp + struts + oracle. My oracle data contains special characters ', , , etc. that cause the JSP not to be well formed. Where should I escape that chars? In the query, whit a JSP scriptlet (or taglig), in my Action classes? Is there any package (in some cases i'm using URLEncoder

Re: Is it possible to change the base tile on the fly

2003-03-13 Thread Cedric Dumoulin
Hi, I have a very simple solution: * Create a struts action that switch to the appropriate layout (a jsp), according to the user settings: action path=/switchLayout type=... forward name=layout1 path=/layouts/layout1.jsp/ forward

RE: mapped propeties problem and need advice

2003-03-13 Thread Jason Long
I found the following: http://ux-2d01.inf.fh-brs.de:8080/struts-documentation/userGuide/installatio n.html Running Struts Applications Under A Security Manager Many application servers execute web applications under the control of a Java security manager, with restricted permissions on what

Re: [OT] Escape characters

2003-03-13 Thread Ludovic Maitre
please read the manual : http://jakarta.apache.org/struts/api/org/apache/struts/util/ResponseUtils.html#filter(java.lang.String) Guido wrote: I'm using jsp + struts + oracle. My oracle data contains special characters ', , , etc. that cause the JSP not to be well formed. Where should I escape

When does the servlet reference in the ActionForm get set?

2003-03-13 Thread White, Joshua A (CASD, IT)
I have been trying unsuccessfully to get a reference to the ServletContext from my BaseForm class which extends ActionForm. I have attempted to get a reference to the ActionServlet by calling the inherited getServlet method as well as referencing the inherited servlet field. Both are returning

Re: BaseBean questions [was] [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-13 Thread Vic Cekvenich
Rick Reumann wrote: Thanks vic for the kind words and feedback. I replied to you privately. Rest of this email is in regard to the BaseBeans stuff I looked it. Comments below... On Wed, Mar 12,'03(08:51 PM GMT-0500), Vic wrote: So consider using list/collection based beans. Ex:

Re: Accessing bean in JSP but w/in java

2003-03-13 Thread Vic Cekvenich
write a getX() and just do bean.x in JSP Scott Seong wrote: Hello, I have a little problem that I need help from experienced users. I'm trying to access actionForm value in the JSP inside the java code. Why would I use Java inside the JSP? I needed to derive options values based on the value I

JSP's behind WEB-INF no access to img/scripts

2003-03-13 Thread Johan Wasserman
Hi, I have my JSP's behind WEB-INF, is there a way of mapping other directories behind WEB-INF so that the images and scripts included on my JSP's can be accessed from there as well. It's OK having the JSP's there to stop external forces from accessing them directly but now they can still access

Re: Struts 1.1 modules and logic:forward

2003-03-13 Thread Ken Pelletier
It seems maybe my question wasn't quite clear. I'm using a welcome-file ( index.jsp ) in each module's directory *to do exactly that*: force all access through an action. Unfortunately, it's not practical to expect everybody to know an action URL in advance in order to get into your site;

example of java.util.Collection in struts logic:iterate

2003-03-13 Thread Jamesey
can it be done? or must it be a concrete collection such as arraylist or list.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP's behind WEB-INF no access to img/scripts

2003-03-13 Thread Nicolas De Loof
If I understand your problem, your JSP generates some img src=... or script scr=... and you get 404 broken link or something like this for this ressources. Perhaps you use relative path to your images and scripts (src=../../images/foo.gif). You should use absolute path with html:rewrite

RE: JSP's behind WEB-INF no access to img/scripts

2003-03-13 Thread Andrew Hill
Surely the idea would be to have the JSPs behind webinf , but leave the images scripts above it so they can be accessed? -Original Message- From: Johan Wasserman [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 March 2003 20:03 To: [EMAIL PROTECTED] Subject: JSP's behind WEB-INF no access to

Re: JSP's behind WEB-INF no access to img/scripts

2003-03-13 Thread Jose Gonzalez Gomez
They HAVE to be able to access your images and your scripts. Images and scripts are loaded by the browser in a different request when it gets the html generated by your JSP, so you shouldn't try to limit access to these resources. Regards Jose Johan Wasserman wrote: Hi, I have my

RE: One-time initializing in struts

2003-03-13 Thread Brian Lee
You might want to try extending ActionServlet and calling your torque.init stuff in your new ActionServlet.init. Something like this: MyActionServlet extends ActionServlet{ init(){ super.init; Torque.init(Torque.properties); } } BAL From: Andrew Hill [EMAIL PROTECTED] Reply-To: [EMAIL

Re: JSP's behind WEB-INF no access to img/scripts

2003-03-13 Thread Nicolas De Loof
Sory, I didn't well understand what you're looking for. You can create a servlet that looks for authentified user's session, user pathInfo to find the name of a ressource, looks for it in WEB-INF, and put it's content as binary in the response. Add a mapping to this servlet like /images/* -

Re: example of java.util.Collection in struts logic:iterate

2003-03-13 Thread Gemes Tibor
Jamesey wrote: can it be done? or must it be a concrete collection such as arraylist or list.. Its just an interface. It must have a concrete implementation. You'd better read some basic java book. Tib - To unsubscribe,

RE: JSP's behind WEB-INF no access to img/scripts

2003-03-13 Thread Andrew Hill
Ah , so the scripts should only be accessible by browsers of logged in users? If your using Servlet API 2.3 , an alternative to Nicolas' suggestion would be to create a filter that inctercepts requests to the scripts and images and only allows through requests that are authenticated. (btw: If your

RE: Struts-menu with Tiles

2003-03-13 Thread Edgar Dollin
Absolutely. Just have one of your tiles be the menu. Edgar -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 3:47 AM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Struts-menu with Tiles My question is perhaps

Re: example of java.util.Collection in struts logic:iterate

2003-03-13 Thread Kjellaug Johansen
But if you code like this: Collection c = new Vector(); then it will work! Kjellaug. - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 1:46 PM Subject: Re: example of java.util.Collection in struts

tiles:definitions extends attribute

2003-03-13 Thread Michael Ruppin
For an exercise, I decided to try using a JSP for my definitions, as opposed to XML. All went fine until I tried to implement a definition with an extends attribute. It works fine in XML, but in a JSP I get:javax.servlet.ServletException: Can't get definitions factory from context. Both my JSP

standalone with struts

2003-03-13 Thread santhosh
Hi Folks, My requirement is as follows. I have a standalone application which is build using swings. This application talks to server for some of the functionalities to achieve. In the server side i want to use struts framework . My question is 1) Can a standalone application talk to

RE: Re: Specifying comma-delimted Struts Config Files

2003-03-13 Thread Susan Bradeen
Michael, Did you get this figured out? I've got four config files in my list, and it has worked like a charm from the get-go (with Struts 1.1b3, and now on yesterday's nightly). I do not have spaces in my list, as David suggested. I am not using Tomcat, but I wonder if your problem lies

RE: standalone with struts

2003-03-13 Thread Sebastien BRUNOT
What do you mean by forwarding the request to applet ? S. Brunot -Message d'origine- De: santhosh [SMTP:[EMAIL PROTECTED] Date: jeudi 13 mars 2003 14:08 A: 'Struts Users Mailing List' Objet: standalone with struts Hi Folks, My requirement is as follows. I have a

Re: standalone with struts

2003-03-13 Thread santhosh
Forward means, if we use jsp's then after processing in action class we forward the control to the view using findforward() method e.g return (mapping.findForward(forward));. Like this how to forward to standalone applet which actually sent the request. - Original Message -

RE: standalone with struts

2003-03-13 Thread Jeevan_Sunkersett
Hi Santosh, STRUTS hasa been primarily developed for browser based (web) applications. On the MVC2 architecture backbone. The V = view, in your case is SWING / JFC. Struts cannot help u there. The C = Controller, is to handle all requests, submitted from the View (web) and route

RE: standalone with struts

2003-03-13 Thread NYIMI Jose (BMB)
Give a look to this article, you may find out interesting info. http://javaboutique.internet.com/tutorials/Swing/ José. -Original Message- From: santhosh [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:08 PM To: 'Struts Users Mailing List' Subject: standalone with

Re: example of java.util.Collection in struts logic:iterate

2003-03-13 Thread Jamesey
you cheeky twat.. i do write java apps you know.. i just happen to be new to struts and web development in general.. i know collection is an interface.. Gemes Tibor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jamesey wrote: can it be done? or must it be a concrete collection

Re: logic:iterate and html:text

2003-03-13 Thread Mark Lowe
I think that using an old fashioned form bean is better when you're looking at generating forms in this manner.. do the nested tag tutorial is does what you are doing but it's not ugly as hell. www.keyboardmonkey.com its what you are after... Giovedì, 13 mar 2003, alle 08:23 Europe/Rome, Dan

Re: html:form tag and document submit()

2003-03-13 Thread Mark Lowe
One is a javascript method that allows you to submit a form, the other a jsp tag that renders to an html form when its asociated with a form bean.. Or have i miss understood the question? Giovedì, 13 mar 2003, alle 10:31 Europe/Rome, Mohan Radhakrishnan ha scritto: Hi, I have a dumb

RE: Struts-menu with Tiles

2003-03-13 Thread Edgar Dollin
There is internationalization built into struts-menu. Edgar -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 5:13 AM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: Struts-menu with Tiles Is it possible

Re: standalone with struts

2003-03-13 Thread Jose Gonzalez Gomez
Why don't you make a business tier with EJBs and call them directly from your standalone application? J2EE call this a client application. Regards Jose santhosh wrote: Hi Folks, My requirement is as follows. I have a standalone application which is build using swings. This

Re: Struts-menu with Tiles

2003-03-13 Thread Jose Gonzalez Gomez
Edgar, Is there support in struts-menu for dynamic menus? I evaluated it for one of the applications I'm developing, but I got the impression that you can only render menus that are specified in a configuration file, and finally I used a javascript menu directly as I needed to render a

Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Ian Hunter
Since this isn't as clear as it could be, here's an example for anyone who cares: (this class adds or updates a bulletin on a message board; all data access goes through a central service called the DataStore) public final class UpdateBulletinAction extends Action { public

Need one mnore directory before module-prefix

2003-03-13 Thread Navjot Singh
Hi List, I am just a newbie to this struts framework. I am using struts 1.1 and using modules for my app. I have set my dir structure like this. /jsp/mod1 /jsp/mod2 /Web-inf/* All my jsps are accessible using http://localhost:8080/myapp/jsp/mod1/test.jsp In struts-mod1.xml, IF I have a tag

Re: Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Kris Schneider
By using BeanUtils.getProperty or PropertyUtils.getProperty you can essentially ignore whether the form is a DynaActionForm or not. Quoting Ian Hunter [EMAIL PROTECTED]: Since this isn't as clear as it could be, here's an example for anyone who cares: 8 snip 8 -- Kris Schneider mailto:[EMAIL

Re: mapped propeties problem and need advice

2003-03-13 Thread Mark
yes, thats the correct way to reference mapped properties. what exactly is the problem you're having? *** REPLY SEPARATOR *** On 03/13/2003 at 3:47 AM Jason Long wrote: I have been trying to set up some mapped properties in a form. It is currently not working. Would someone

RE: Re: Specifying comma-delimted Struts Config Files

2003-03-13 Thread Chuck Cavaness
I agree with Susan. I would take a very close look at your config files. Try using Struts console and loading the multiple configuration files and see if it finds something hard to see with the naked eye. chuck From: Susan Bradeen [EMAIL PROTECTED] Date: 2003/03/13 Thu AM 08:26:18 EST To:

RE: Struts-menu with Tiles

2003-03-13 Thread Matt Raible
These types of questions should probably be asked on the struts-menu-user list. You can subscribe here: http://lists.sourceforge.net/lists/listinfo/struts-menu-user Yes, struts-menu integrates with Struts's RecourceBundle for i18n. It uses the title attribute as a key, and if the key is not

RE: Struts-menu with Tiles

2003-03-13 Thread Matt Raible
I (at one time) used Tiles to build my menu, but found struts-menu to be much easier to configure. Out of the box, no, it does not support this. However, you could contribute a new TilesDisplayer - it is open source after all ;-) -Original Message- From: Heligon Sandra [mailto:[EMAIL

Re: Need one mnore directory before module-prefix

2003-03-13 Thread Navjot Singh
hi bekrar, That i can do but i don't want to do. I thought there could be some way out with forwardPattern stuff. I am ready to leave action path=/test forward=abc/ (for it doesnot support forwardPattern) and SHIFT to action forward / /action kind of tag If this

Re: Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Ian Hunter
How does that handle type conversions (e.g. Model bean has ints, booleans, or Integers, or whatever, and View bean has only strings)? That's the only reason I haven't delved into it yet. - Original Message - From: Kris Schneider [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Mark Lowe
I had a headache over all this until i spent a couple fo days using the beanutils package.. org.apache.common.beanutils The dynaaction forms are basically the same.. your means of extracting the stored values from the form look like they should work , although i prefer using toString() rather

Re: Need one mnore directory before module-prefix

2003-03-13 Thread Noureddine Bekrar
you can do that action path=/test type=TestAction.java forward name=testforward path=/jsp/mod1/test.jsp /forward /action and at the end of the execute methode of your testaction class do this: mapping.findForward(testforward); - Original Message - From: Navjot Singh

Re: Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Ian Hunter
forgot about String Object.toString() method. Looks a little tidier, doesn't it? Anyway, it should literally be calling the same code. I'm hoping BeanUtils can somehow handle translations between types like java.util.Date and String...I'll look into it later. - Original Message -

Re: Opinions on Struts code generator - A zipped version

2003-03-13 Thread james logsdon
Thanks Vic. All your suggestions sound good. From: Vic Cekvenich [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Opinions on Struts code generator - A zipped version Date: Wed, 12 Mar 2003 16:05:54 -0500 It looks good. Consider making

Re: Struts 1.1 modules and logic:forward

2003-03-13 Thread Eddie Bush
Well, what I said is somewhat applicable. How can you expect for the controller to know which module you're in - based off the contents of some file out there - when you haven't gone through it via a URL yet? I do actually see *your* point now, as well, since I've gotten some sleep! Ok.

Re: example of java.util.Collection in struts logic:iterate

2003-03-13 Thread Gemes Tibor
Jamesey wrote: i do write java apps you know.. i just happen to be new to struts and web development in general.. i know collection is an interface.. Yes, it's possible. But you have tried it already, didn't you? Tib - To

unable to find mapping

2003-03-13 Thread Navjot Singh
hi guys, I have a jsp file resding on my machine in /jsp/user/reg.jsp and this is the form tag html:form action=/Register.do focus=username method=post .html tags here /html:form and i have struts-user.xml as config for user module with a form-bean and action mapping set as form-beans

RE: mapped propeties problem and need advice

2003-03-13 Thread apachep2
I am switching from Collection to Map. What I am going to do is, Before switching logic:iterate name=myactionform property=myorder id=mylineitem html:text name=mylineitem property=myitemname/ html:text name=mylineitem property=myorderquantity/ /logic:iterate After switching

[Tiles] Creating SubTabs (Tabs within Tabs)

2003-03-13 Thread Affan Qureshi
Hi, I have implemented the TabLayout as described in the examples and works well. I want to define sub tabs under the main Tabs. So my requirement would be like having putList elements inside putList elements(which is not possible in DTD) so that I can define nested lists. How have you implemented

RE: example of java.util.Collection in struts logic:iterate

2003-03-13 Thread apachep2
In your ActionForm, Collection myproperty = new ArrayList() ; then add elements into myproperty. -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: March 13, 2003 7:46 AM To: Struts Users Mailing List Subject: Re: example of java.util.Collection in struts logic:iterate

Requiredif and Javascript

2003-03-13 Thread Evan Schnell
Has anyone ever enabled javascript validation on a form that included a requiredif rule? Is it correct to assume that this never should be done? Because field-test is an illegal variable name in javascript it seems to me that this is the case. It is time for us to fish or cut bait.

Re: Need one mnore directory before module-prefix

2003-03-13 Thread Navjot Singh
so, this is the only way to do it :-( I thought I have just one static directory to prepend before my module prefix to solve the problem. But it's not possible. thanks for the help, bekrar. Bekrar, if you read my second mail with subject unable to find mapping, you will get an idea what i was

RE: Struts-menu with Tiles

2003-03-13 Thread Edgar Dollin
Not directly. There is a security mechanism which enables or disables individual items and menu groups. Edgar -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 9:00 AM To: 'Struts Users Mailing List' Subject: Re: Struts-menu with

nested:form parent scope

2003-03-13 Thread Scott Severtson
I'm using RC1, playing around with nested tag support, and ran into an unexpected behavior. I'm not sure if this is by design and I'm using it incorrectly, or a bug. I'm iterating over a list of users, and want to create a short form for each user, containing their username and a submit button.

struts include tag broken?

2003-03-13 Thread Robert Bowen
This is exactly what's tripping me up, I think! I am trying to include a page, using the struts include tag, of a struts forward, but the included page is displayed incorrectly; all the accented and strange characters show up as question marks. After struggling with the setLocale(),

Mask validation BUG with requiredif

2003-03-13 Thread Greg Hess
Hi All, I have just started using the requiredif validation rule with a field that is also being validated with a mask rule. The server side validation is working fine but the client side JavaScript has errors for my requiredif form fields. My form field requires the feild button2URL only if

RE: Struts-menu with Tiles

2003-03-13 Thread Heligon Sandra
I defined the following entry in the tiles-def.xml. definition name=site.menu.bar path=/coolmenu2.jsp /definition with coolmenu2.jsp: %@ taglib uri=/WEB-INF/tld/struts-menu.tld prefix=menu% script language=JavaScript1.2 src=./scripts/coolmenus3.js /script script

Re: [Tiles] Creating SubTabs (Tabs within Tabs)

2003-03-13 Thread Cedric Dumoulin
Affan Qureshi wrote: Hi, I have implemented the TabLayout as described in the examples and works well. I want to define sub tabs under the main Tabs. So my requirement would be like having putList elements inside putList elements(which is not possible in DTD) so that I can define nested lists.

Re: Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Kris Schneider
And what happens if myForm.get(somekey) == null? Right, NPE. BeanUtils.geProperty will convert the property value to a String. PropertyUtils.getProperty will just return the property value as an Object without any conversion. String foo = BeanUtils.geProperty(form, somekey);

Re: Mask validation BUG with requiredif

2003-03-13 Thread Evan Schnell
Greg Hess wrote: Hi All, I have just started using the requiredif validation rule with a field that is also being validated with a mask rule. The server side validation is working fine but the client side JavaScript has errors for my requiredif form fields. I cannot seem to get any

Re: tiles:definitions extends attribute

2003-03-13 Thread Cedric Dumoulin
The extends attribute refer to a definition in the factory (initialized from the config file). The definitions define directly in a jsp page are not stored in the factory, but in a jsp context, so they can't be found by the extends attribute. This is certainly something to improve, but the

RE: Struts-menu with Tiles

2003-03-13 Thread Pascal THIVENT
Quoting Heligon Sandra [EMAIL PROTECTED]: why not using a custom Action to perform the logout and forward then to the tiles def ? HTH P. I defined the following entry in the tiles-def.xml. definition name=site.menu.bar path=/coolmenu2.jsp /definition with coolmenu2.jsp: %@ taglib

unwanted emty lines in produced html

2003-03-13 Thread Niesen, Nathan
IMHO, if a line only contains jsp tags, comments, or scriptlets that produce no output then no blank line should be present in the output. I find it especially annoying that multi-line comments generate a carriage return for every line of the comment. Those carriage returns are part of the

JSF-Struts

2003-03-13 Thread MNewcomb
I'm getting a 'Renderer Not Found for Renderer Type:StrutsHtml' exception when I click on the 'Register with the MailReader Demonstration Application' link in the JSF-Struts example webapp. What's up? Michael - To unsubscribe,

Nested Mapped Properties

2003-03-13 Thread Chalkidis Spyros
Hello, does anybody have an example of using nested mapped properties with or without the Nested tags? Thanks in advance, Spyros Halkidis

Re: Tiles and html-el

2003-03-13 Thread Sloan Seaman
Thanks! Worked like a charm! - Original Message - From: Derek Richardson [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:39 PM Subject: RE: Tiles and html-el Try: t:importAttribute name=TARGET_PAGE / html-el:link

RE: Struts-menu with Tiles

2003-03-13 Thread Heligon Sandra
It is perhaps a solution but I don't know where I can find help about syntax of the menu-config.xml file there is no dtd file associated to this file in the struts-menu example. I don't know which attributes are available in the item or menu tag. example of menu-config.xml Menu name=MenuHelp

RE: One-time initializing in struts

2003-03-13 Thread Raible, Matt
If you're using a Servlet 2.3 container, I'd recommend using a ServletContextListener over a StartupServlet. I recently changed my apps to use this, and it was pretty simple to do. After all, that's what the SCL was designed for. As an example: http://tinyurl.com/7elp HTH, Matt

Nested Radio Buttons + Mutual Exclusion

2003-03-13 Thread Jonathan
Does anybody know how to use the nested:radio button component so That you can have mutually exclusive sets of radio buttons? Jon. *-* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion,

how does Onclick in checkbox work?

2003-03-13 Thread anis_malkan
Hi, In the following jsp code why don't the eventhandler onclick does not work for checkbox. It works for image, as whenever image is clicked it goes to my Update event in my class derived from DispatchAction. But everytime the checkbox is clicked it just checks/unchecks the box but does

RE: JSF-Struts

2003-03-13 Thread MNewcomb
I had to update the web.xml to be a web application 2.3 and then include: listenerlistener-classorg.apache.struts.faces.taglib.LifecycleListener/ listener-class/listener -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 10:38 AM To:

RE: [OT] how does Onclick in checkbox work?

2003-03-13 Thread Bueno Carlos M
not all actions are available to all html elements -- especially in netscape/mozilla. checkboxes have onfocus, onblur, and onchange, I think. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 11:13 AM To: [EMAIL PROTECTED] Subject: how

RE: Struts-menu with Tiles

2003-03-13 Thread Pascal THIVENT
Quoting Heligon Sandra [EMAIL PROTECTED]: replace the string index.jsp in the location attribute with a struts action path. FYI, the location attribute is is allowed on both Menu and Item. Menu name=MenuLogout title=menu.label.logout location=pathToMyLogoutAction.do Menu name=MenuHelp

Re: BaseBean questions [was] [ANN] Struttin' With Struts beta(newbies esp. welcome)

2003-03-13 Thread Rick Reumann
On Thu, 13 Mar 2003 06:22:58 -0500 Vic Cekvenich [EMAIL PROTECTED] wrote: Also, a bean should not do persistence, but should delegate. So I create a helper object, a DAOImplementation. ( a DAO also has a base). One thing is obvoice, a baseBean needs to CRUD, so it makes sense to baseBean {

[Q] how to do server side validation for popup that closes on submit?

2003-03-13 Thread michael . korolyov
hello, I need popup that submits some data and then closes and refresh parent window, but if server side validation fails then that popup window needs to show errors and stay. any ideas hot to do it? tnx Best Regards. Michael.

Tiles context and forwards

2003-03-13 Thread Mark Lowe
Anybody know any good reading i can do to better my understanding of how to get one's grubby mitts on the context for a given tile. i.e. how can i forward to a tile? i.e how can i get a tile's context from an action servlet? many thanks mark

Re: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread Mark Lowe
This would work... validate the form before everything, if okay return response.write(body onload=myfunctionforclosingthiswindowandredirecting the parent()); from action servlet the javascript can be in the popup and the function in only called my the response... hope this helps mark

How to populate a form with data and then have the DynaValidatorForm validate it afterwards

2003-03-13 Thread Michael Mattox
I defined a tile like this: definition name=monitor.urlmonitor.edit.form path=/monitors/monitor_urlmonitor_edit_form.jsp controllerUrl=/getMonitor.do /definition Basically my getMonitor action gets the monitor from the database and then the JSP

RE: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread anis_malkan
how can use response to open a pop-up window and send the user to somewhere else in main window from action/eventhandler function. Thanks Anis -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 9:55 AM To: Struts Users Mailing List Subject: Re:

ArrayList set method in nested bean- confusion

2003-03-13 Thread Huw Jones
I have a nested bean where beanA (courseBean) stores an ArrayList of bean2 (event). I can dump out the ArrayList no problem but I can't seem to make the set method run. So here are some code snippits. JSP logic:notEmpty name=courseEventForm property=courseBean.events html:text

RE: How to populate a form with data and then have the DynaValidatorForm validate it afterwards

2003-03-13 Thread Robert Taylor
Have 2 actions: -PopulateFormAction -ProcessFormAction When the user clicks to edit the Monitor, invoke, PopulateFormAction. When the user submits invalid data (invoke ProcessFormAction), the request should forward back to the input defined in the struts-config file. All the form data still

Re: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread Mark Lowe
the pop window is already open.. 1000 times.. i really should read before barking the question was how to validate and then close it... if there's and error then the function isn't called if all okay it is... i personally don't like send js via the response but I answered the question

Re: ArrayList set method in nested bean- confusion

2003-03-13 Thread Mark Lowe
should be fine.. to add a new row you can do so using the set's on the formBean in you action class... Giovedì, 13 mar 2003, alle 18:10 Europe/Rome, Huw Jones ha scritto: I have a nested bean where beanA (courseBean) stores an ArrayList of bean2 (event). I can dump out the ArrayList no

RE: struts-user Digest 13 Mar 2003 16:26:10 -0000 Issue 2866

2003-03-13 Thread Gehlot, Narendra
Can you guys stop sending me these emails. I tried Million times to un subcribe from your mailing list and still get these emails. I am fadeup with this can any buddy help me grting rid of this mailing list I will greatly appriciate if i can get rid of this mailing list. Thanks. Naren

Re: JSF-Struts

2003-03-13 Thread Craig R. McClanahan
On Thu, 13 Mar 2003 [EMAIL PROTECTED] wrote: Date: Thu, 13 Mar 2003 10:38:29 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: JSF-Struts I'm getting a 'Renderer Not Found for Renderer Type:StrutsHtml' exception when I

Re: struts include tag broken?

2003-03-13 Thread Ferran Parra
Yup. That did it. I am going to do more tests, at the server and session level, to see if I can get Tomcat to grab the character set from the user that launches Tomcat. But for the time being, changing: InputStreamReader in = new InputStreamReader(is); ... to: InputStreamReader in = new

RE: JSF-Struts

2003-03-13 Thread Craig R. McClanahan
On Thu, 13 Mar 2003 [EMAIL PROTECTED] wrote: Date: Thu, 13 Mar 2003 11:15:51 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: JSF-Struts I had to update the web.xml to be a web application 2.3 and then include:

[THURSDAY] struts questions

2003-03-13 Thread Bueno Carlos M
Hi, all -- I'm new to struts and I have a few questions. Since you are the experts I'm sure you will be able to help me. My boss wants to know how many people are using struts and how long it will take to build our application using struts as opposed to our current development process. We

Re: struts-user Digest 13 Mar 2003 16:26:10 -0000 Issue 2866

2003-03-13 Thread Mark Lowe
can't you click this link at the bottom of each email? [EMAIL PROTECTED] Giovedì, 13 mar 2003, alle 18:11 Europe/Rome, Gehlot, Narendra ha scritto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

  1   2   3   >