Re: Heads up on new series on Gamelan

2003-06-04 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, Paul Curren wrote: > Date: Tue, 03 Jun 2003 19:28:54 +0100 > From: Paul Curren <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Heads up on new series on Gamelan > > Hi there. > >

RE: Using functionality of in custom tag library

2003-06-04 Thread Michal Maczka
> -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 7:46 PM > To: Struts Users Mailing List > Subject: Re: Using functionality of in custom tag library > > > The easiest way is to look at how it's done with struts custom tags. > > Download th

RE: Storing the Output of a Servlet to Database

2003-06-04 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, Rajesh P wrote: > Date: Tue, 3 Jun 2003 19:53:39 +0530 > From: Rajesh P <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Storing the Output of a Servlet to Database > > Hi, > I am

RE: tiles:getAsString within bean:message?

2003-06-04 Thread Bailey, Shane C.
Try something like this: Template.jsp: ... ... in menu.jsp: -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: tiles:getAsString within bean:message? I am trying, unsuccesful

RE: Reusing the same HTML Form for many actions

2003-06-04 Thread Michal Maczka
> -Original Message- > From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 8:23 PM > To: 'Struts Users Mailing List' > Subject: RE: Reusing the same HTML Form for many actions > > > > I would do something a little more code but less confusing. > This is just a

Re: Exception handling question

2003-06-04 Thread David Graham
Ideally I would like to log all exceptions that occur, and I can create an ExceptionHandler to do this, but it will only catch exceptions that get thrown from within one of my Actions, anything thrown from JSP pages or custom tags won't get caught. (right?) How do most people deal with this? I

Exception handling question

2003-06-04 Thread p
Ideally I would like to log all exceptions that occur, and I can create an ExceptionHandler to do this, but it will only catch exceptions that get thrown from within one of my Actions, anything thrown from JSP pages or custom tags won't get caught. (right?) How do most people deal with this? I

RE: Form submit without button or image?

2003-06-04 Thread Varun Garg
You can use javascript to do that. "javascript:document.forms[0].submit();" Just add this to a href if you are doing a link. -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 2:23 PM To: Struts Users Mailing List Subject: Form submit wit

RE: Using nested tags

2003-06-04 Thread Phillip Qin
Sounds like THAT classical issue. Override reset method of the ActionForm to instantiate and populate the List. Or - use session-scope ActiopnForm. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: June 3, 2003 3:07 PM To: 'Struts Users Mailing List' Subject: RE: Usi

Form submit without button or image?

2003-06-04 Thread Gregory F. March
I'm not sure if this is a struts question or not, but I have a DynaActionForm and I'd like to add, for lack of a better term, a "submit link". I want a link that submits the form, but I don't want a button or an image. Can this be done? Thanks, /greg -- Gregory F. March-=-http://www.g

RE: tiles:getAsString within bean:message?

2003-06-04 Thread Hue Holleran
I think this may what you're after? http://marc.theaimsgroup.com/?l=struts-user&m=104777946004100&w=2 > -Original Message- > From: Mick Knutson [mailto:[EMAIL PROTECTED] > Sent: 03 June 2003 19:42 > To: [EMAIL PROTECTED] > Subject: tiles:getAsString within bean:message? > > > I am tryin

RE: Using nested tags

2003-06-04 Thread Mark Galbreath
It would be more helpful if you actually posted the usage that is causing this. Apparently, you have one tag driving the across array bounds. Classic fencepost error. Mark -Original Message- From: Huan Le [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 2:59 PM To: [EMAIL PROTECTE

Using nested tags

2003-06-04 Thread Huan Le
Hello: Could somebody explain this error message for me? E SRVE0026E: [Servlet Error]-[BeanUtils.populate]: java.lang.ArrayIndexOutOfBoundsException I'm using nested tags to display a list of info. Whenever, clicking the submit button, I get the error above. Do you know any solutions to resolve

Message Resource Bundle utilities?

2003-06-04 Thread Mick Knutson
Does anyone have any ResourceBundle utilities, like a macro for Excel or someothing to help me maintain the ResourceBundle? --- Thanks... Mick Knutson --- _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.co

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Varun Garg
The only way I have done that is using straight java <%=%>. You can definitely do that. Also, the reason your <%= was not working was that the objects that you were trying to reference were not declared on you page, but they are stored in pageContext and cannot be accessed directly. For using <%

Re: Html Buttons and Struts

2003-06-04 Thread Mick Knutson
Minutes ago, I just got an html buton and LookupDispatchAction error. Please elaborate on your solution. --- Thanks... Mick Knutson --- From: "sjones" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Html Buttons and Struts Date:

Re: Html Buttons and Struts

2003-06-04 Thread sjones
My HTML button has been solved. I know have 2 different solutions. HTMLButton.java LookupDispatchAction "sjones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > has any body used this class, can you please > > give you please explain it more in depth than the author.

tiles:getAsString within bean:message?

2003-06-04 Thread Mick Knutson
I am trying, unsuccesfully to create an ApplicationResource driven label for the menu.jsp. Can anyone help get this to work: --- Thanks... Mick Knutson --- _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://jo

RE: Reusing the same HTML Form for many actions

2003-06-04 Thread Bailey, Shane C.
I would do something a little more code but less confusing. This is just a guess I don't have this working: JSP: the value above is which method in your DispatchAction to go to as in add or update. struts config: Action class: class AddUpdateUserAction

Re: Heads up on new series on Gamelan

2003-06-04 Thread Paul Curren
Hi there. I believe JSF is involved at the V part of MVC. i.e. it could become an alternative to some of the Struts taglibs, but I don't think it specifies much about the application infrastructure. So you could use JSF as an alternative to Struts, but then you need to write a controller of yo

[OT] Announce: JavaServer Faces Resource Page

2003-06-04 Thread James Holmes
I've assembled a JavaServer Faces (JSF) resources page on my website for anyone wanting to learn more about JSF. If you know of anything I've missed, let me know. http://www.jamesholmes.com/JavaServerFaces -James - To unsubsc

Re: Heads up on new series on Gamelan

2003-06-04 Thread hugh F
http://forum.java.sun.com/thread.jsp?forum=427&thread=404617&tstart=0&trange=15 Should we develop new apps in JSF? H James Turner <[EMAIL PROTECTED]> wrote: Just a heads up that the first article in a new monthly series I'm writing for Gamelan (www.gamelan.com) was posted this week, the series

Heads up on new series on Gamelan

2003-06-04 Thread James Turner
Just a heads up that the first article in a new monthly series I'm writing for Gamelan (www.gamelan.com) was posted this week, the series is called "Succeeding with Struts" and it will cover some of the more advanced tricks and hints for getting Struts apps working. The first few articles are goin

RE: Bean:write in a html:textarea value property...?

2003-06-04 Thread Bradley M. Handy
Change you tags to be: Tags within properties are not interpreted. Brad Handy - Bradley M. Handy| Office: 517 750 6675 Programmer/Analyst | Email: [EMAIL PROTECTED] Spring Arbor University | ---

Tiles menuLayout.jsp extending in the tiles-def.xml?

2003-06-04 Thread Mick Knutson
I need help with extending the menuLayout.jsp and menu.jsp i the tiles-def.xml. I need to know if there is a cleaner way to do this: tiles-def.xml: ===

Bean:write in a html:textarea value property...?

2003-06-04 Thread haytham
I have been trying to make the following work: I started with this actually: But when I display the page, I get this in my textarea: Which is all the code I had set for the value of the textarea? Not sure why neither is working? Do I have to use some sort of java scriptlet to get the va

Re: IE 6 timeout session

2003-06-04 Thread Billy Ng
Are you sure? I changed my IE to Block cookies, but it still let me in without sessing the read eye in the status bar. If I go to yahoo to log in to my account, the red eye shows up. I think java session is different from simply writing cookie to the client. Billy Ng - Original Message ---

RE: [OT - Design] Business Logic and JavaBeans

2003-06-04 Thread Jerry Jalenak
Ted, Thanks for the reply. I make it a point to keep all of my struts / HTTP imports in the action, and all of my SQL / DB calls in a separate class (DAO). The only thing that my beans should be aware of are the business attributes that are part of the bean Thanks again. Jerry Jalenak Team

RE: [struts-user] RE: Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Bradley M. Handy
You have a point. However, the "required" check fails on all "null" and "blank" (all whitespace) values. Considering this, I felt this was a "bug", because the "requiredIf" deviated from this convention. Brad Handy - Bradley M. Handy

RE: [struts-user] RE: Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Bradley M. Handy
You have a point. However, the "required" check fails on all "null" and "blank" (all whitespace) values. Considering this, I felt this was a "bug", because the "requiredIf" deviated from this convention. Brad Handy - Bradley M. Handy

RE: Storing the Output of a Servlet to Database

2003-06-04 Thread Joe Barefoot
You can create a java.net.URL to the servlet in question from within your app. server if you like, and just execute getContent(). Put whatever it returns into the database. I've created internal servlet proxies like this a couple of times to workaround various problems. All of this begs the q

Re: Using functionality of in custom tag library

2003-06-04 Thread James Mitchell
The easiest way is to look at how it's done with struts custom tags. Download the source or just browse cvs: http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/taglib/bean/MessageTag.java?rev=HEAD&content-type=text/vnd.viewcvs-markup -- James Mitchell Software Developer

Re: IE 6 timeout session

2003-06-04 Thread Carl Walker
I had a problem with this version and Tomcat request parameters. The Content-type of the form submitted by IE was 'application/x-www-form-url-encoded,application/x-www-form-url-encoded' instead of 'application/x-www-form-url-encoded'. As a result, Tomcat wouldn't parse out the request parameters

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Alawadhi, Mona
If I decided to pass a dynamic value using javascript in struts tag libs, it's not doable, right? regardless of using another taglib or not. -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:26 PM To: 'Struts Users Mailing List' Subject: RE: tagli

RE: Using functionality of in custom tag library

2003-06-04 Thread Gandle, Panchasheel
in your doStart method of mytag source you would write String message = RequestUtils.message(pageContext, this.bundle, this.localeKey, label); and print that message Panchasheel -Original Message- From: Michal Maczka [mailto:[EMAI

Re: Storing the Output of a Servlet to Database

2003-06-04 Thread James Mitchell
Take a look at bean:include http://jakarta.apache.org/struts/userGuide/struts-bean.html#include -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "Rajesh P" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTE

RE: Storing the Output of a Servlet to Database

2003-06-04 Thread Varun Garg
The only way a servlet writes is when it uses a PrintWriter. So you have complete control over what you are sending out. If you are on the client side then you need to what type of client, if it is a java client then you could use a URL object to create a connection and then get the output.

Using functionality of in custom tag library

2003-06-04 Thread Michal Maczka
What's is the easiest way of using the Struts Resources (messages) which are normally accessible through tag in a custom tag library. I want to have something like: where message.id is a key in properties files. Michal

RE: Storing the Output of a Servlet to Database

2003-06-04 Thread Rajesh P
Hi, I am aware of how to store the contents to the database. What i am really interested is how to capture the output of the servlet. Forget PDF, assume that the Servlet is just serving a normal html content. After the servlet has given this to the response, how to capture this as a byte stream

Re: [OT - Design] Business Logic and JavaBeans

2003-06-04 Thread Ted Husted
This is an OK approach to encapsulating related business 'stuff'. The acid test is whether your business classes import anything from the Struts or HTTP packages. So long as this is not the case, then your business classes are keeping the presentation tier at arm's length. Likewise, if your Str

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Varun Garg
I did not say it is impossible, the thing is that you are trying to use tag inside tag and that is causing some problems, I am just suggesting a quick solutions. Also, when you start getting into custom javascript, you are not really following struts at that point. -Original Message-

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Alawadhi, Mona
Yes, thank you. So, this means that it is impossible to do it with struts taglibs? -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:18 PM To: 'Struts Users Mailing List' Subject: RE: taglibs - nonstatic javascript value I changes it to use rat

Reusing the same HTML Form for many actions

2003-06-04 Thread Michal Maczka
Can somebody explain me what is the best practice if I want to use the same form (JSP page/fragment) for executing different action. For example I want to have "add" and "edit" action which will be processed differently, but the form for entering data will be the same. I tried to use form as >>Ti

RE: IE 6 timeout session

2003-06-04 Thread Chen, Gin
Probably Cookies were blocked. IE 6 has this popup when a page requires cookies it asks if you want to accept it. Even though you are using Session it is detected as a cookie (because thats what it is :). He probably selected to block it. Tell him to look on the status bar at the bottom (view->stat

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Varun Garg
I changes it to use rather than and removed the extra ". You can use the property or not depending on your requirement. -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:15 PM To: 'Struts Users Mailing List' Subject: RE: taglibs - nonst

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Alawadhi, Mona
eliminating "property" doesn't do it! -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:35 PM To: 'Struts Users Mailing List' Subject: RE: taglibs - nonstatic javascript value Try this, this should work. '); document.forms[0].s

Re: IE 6 timeout session

2003-06-04 Thread Billy Ng
It does not care the timeout in the server.xml. After the guy logged in to the app, he would be returned to the login page if he clicked on anything. This means his session expired or the session is null. It only happens on the IE 6 SP-1. Billy Ng - Original Message - From: "Chen, Gin"

RE: IE 6 timeout session

2003-06-04 Thread Gandle, Panchasheel
we have a similar situation, IE version 6.00.28 in particular which is preinstalled in new Windows XP All the information in the Session is lost when downloading a document(.doc or any other) in new window. Panchasheel -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED] Sent: Tu

RE: IE 6 timeout session

2003-06-04 Thread Chen, Gin
default timeout is 30 mins. are you sure its ie 6 or just him running into the default? -Tim -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:06 PM To: Struts Users Mailing List Subject: IE 6 timeout session Hi folks; I have a customer complai

IE 6 timeout session

2003-06-04 Thread Billy Ng
Hi folks; I have a customer complains the IE 6 sp1 times out the session after he is logged in the app. I tried to reproduce it but I can't. Have anybody experienced this? Billy Ng

Map-backed action form and multibox problem (only 1st checked item detected)

2003-06-04 Thread C
I'm using a Map-backed action form to render dynamic pages. I'm having a problem with checkboxes, using the html:multibox tag. If I display 3 choices and check two, only the first one is detected and sent to the back-end. After pressing Submit, it appears that the ActionForm setter stores the f

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Varun Garg
Try this, this should work. '); document.forms[0].submit(); "> -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:23 AM To: 'Struts Users Mailing List' Subject: RE: taglibs - nonstatic javasc

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Alawadhi, Mona
Varun, I've tried to put that in, but it still doesn't work: it cuts it when it comes to those double quotes, so, my href would be = "javascript:setHiddenLetter('". So, it doesn't like those quotes. I've tried removing them and putting them in single quotes, I'm back to that same problem. It rea

Re: Struts 1.1 on z/OS with WebSphere Application Server 4.0

2003-06-04 Thread Rob Leland
Markus Holzem wrote: Does anyone have experiences with Struts running on an IBM mainframe? I'm particularly interested in WebSphere 4.0 (z/OS, *not* z/Linux). I've tried to find anything in the archive, but I only found references on WebSphere running on Wintel, Linux or Solaris. Since WebSphere o

Re: [SOLUTION] RE: Default ActionError message...

2003-06-04 Thread John Nikolai
FYI for anyone interested: - MessageResources resources = getResources(request); String message = resources.getMessage("error.verisign." + resultCode); if (message == null) { // Use the default error text message = resources.getMessage("error.verisign.default"); }

RE: Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Kruse, Matt
> Am I correct in assuming that the following condition > "((value != null) && (value.length() > 0))" should be > "(!GenericValidator.isBlankOrNull(value))". The reason my check is > failing is due to the fact the value I'm checking is all > white space (at certain times), and is selected from

Re: ValidatorUtil deprecated?

2003-06-04 Thread Rob Leland
Raible, Matt wrote: I just downloaded and installed Struts from last night (6/02/2003). Now I'm getting deprecation errors for ValidationUtil, yet the API docs say nothing about what it's been replaced with (http://tinyurl.com/dac9). Any ideas? Also, ValidatorResources has a couple deprecated me

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Alawadhi, Mona
Panchasheel, I've tried it. It doesn't work. It takes '<%=choice.toString()%>' as a whole string, it does not replace it by the letter I want. Actually, if you write this, and try to hover over the link, you will see: 'javascript:setHiddenletter('<%choice.toString()%>')' INSTEAD OF

RE: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Chen, Gin
sorry my previous answer was based on method calling. since this is an index called though it can be done via: http://jakarta.apache.org/struts/faqs/indexedprops.html -Tim -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:42 AM To: 'Struts Users

Re: validator with password fields

2003-06-04 Thread Brian McSweeney
Ah... I see. thanks! - Original Message - From: "Chen, Gin" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 4:44 PM Subject: RE: validator with password fields > javascript is clientside. Therefore, any password you validate in javas

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Varun Garg
I would just put a bean:write instead on the D. "'); document.forms[0].submit(); "> -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 10:50 AM To: 'Struts Users Mailing List' Subject: taglibs

RE: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread James Norman
If you placed a Map in the context you can reference items in the Map by the key. Example would be to place a Map with a key of "ID" and some value into context. You can reference the value by calling . This is useful when you can't write a bean. On Tue, 2003-06-03 at 09:41, Chen, Gin wrote:

RE: taglibs - nonstatic javascript value

2003-06-04 Thread Gandle, Panchasheel
This should work Panchasheel -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:50 AM To: 'Struts Users Mailing List' Subject: taglibs - nonstatic javascript value yes, it worked. I have one

RE: converting localized user input to typed value

2003-06-04 Thread David Tobey
Florian: Is there a "nice" way? Well, that's a stretch. But you can create an instance of java.text.NumberFormat for the user's specific locale (which should be available in the session scope as session.getAttribute(Action.LOCALE_KEY)). Then use the parse() method of NumberFormat to convert Strings

RE: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Renato Romano
OK, you're right!! Here are the first lines from stackTrace from tomcat log: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${bd.actionDescription[ind]}": Unable to find a value for "actionDescription" in object of class "Bord

RE: Html Buttons and Struts

2003-06-04 Thread Chen, Gin
This is not a standard struts class. Shouldn't you email the author directly? -Tim -Original Message- From: sjones [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Re: Html Buttons and Struts this class /** * Copyright 2001-2003 Antonio W.

taglibs - nonstatic javascript value

2003-06-04 Thread Alawadhi, Mona
yes, it worked. I have one problem, though: passing dynamic value to the function I call in javascript. This is what I have: I would like to replace that 'D' with something like <%=choice%>, for the user to be able to select the letter (there

Re: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Denis Avdic
If you are using jstl don't use logic-iterate; rather use then you can have or if it is straight string you can have Renato Romano wrote: I have a bean with an indexed property, that is myBean.getItem(int i). I can't find a way to access that property, using struts, struts-el nor jstl. I tr

RE: validator with password fields

2003-06-04 Thread Chen, Gin
javascript is clientside. Therefore, any password you validate in javascript can easily be seen by a person using view source. Having: function validatePassword() { return password == 'open sesame'; } is not very good security. -Tim -Original Message- From: Brian McSweeney [mailt

Re: Html Buttons and Struts

2003-06-04 Thread sjones
here is a link: http://j2ee.lagnada.com/struts/html-buttons.htm "sjones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > has any body used this class, can you please > > give you please explain it more in depth than the author. -

Application resources and java

2003-06-04 Thread Gregory F. March
I have an application where a user logs in and what is presented to them depends on what organization they belong to. Things like the web page title, labels, images, etc. are different for different organizations. I'm thinking that I'd like to create application resources from the login action t

RE: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Chen, Gin
btw this question was answered on the JSTL (Taglibs) list. I just gave a recap of the answer. If you want a more thorough explanation you can find it in the archives. -Tim -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:35 AM To: 'Struts Users M

RE: How to prevent access to pdf files

2003-06-04 Thread Varun Garg
The way I have handled the problem in the past is to create a servlet streaming out the pdf and then I have complete control over authorizations. I would set the mime types to the pdf and then browser will treat it properly. -Original Message- From: John Brayton [mailto:[EMAIL PROTECTED]

RE: changing tiles-config.xml from within an app?

2003-06-04 Thread Joris Docx
there's some ReloadDefinitions class in the API -Oorspronkelijk bericht- Van: Witbeck, Shane [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 3 juni 2003 15:38 Aan: [EMAIL PROTECTED] Onderwerp: changing tiles-config.xml from within an app? Does anyone have any experience with changing a tile

Re: Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread David Graham
Thanks for catching this! Please file a bug report so we don't forget to fix it. Thanks, David I have a validation that should be failing (under certain conditions), but is not. I've double checked and triple checked to make sure the setup is correct, and it's still not working correctly. So, I

RE: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Kazda Juraj
Hi Renato, hard to say when you don't write what kind of error you got. Exception? Or nothing shown? Dont't you forget to add bean to context (session, request,...)? And, maybe it's typo, but... don't you forget quotes in value attribute? -juraj. -Original Message- From: Renato Rom

Re: Html Buttons and Struts

2003-06-04 Thread sjones
this class /** * Copyright 2001-2003 Antonio W. Lagnada. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above c

Re: validator with password fields

2003-06-04 Thread Brian McSweeney
yep, that's it. I see that the required field is the only one that works. Can you tell me why this is? - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 4:02 PM Subject: Re: validator with password fields > Javascript for p

RE: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Chen, Gin
since the collection in your case is not accessible except via a method that requires a parameter you can not do this using just jstl or even struts. the best way to do it is to expose your collection with a getXXX method. That way the syntax you used will work. JSP 2.0 *should* solve your problem

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Bailey, Shane C.
Jeff, I see we are in agreement. :) Anyway, if the guy thinks of a def as a JSP (which it is completed) then he shouldn't go to it directly from another JSP. It is Model 1 to do such things. So I just thought about how Tiles almost forces Model 2!! -Original Message- From: Jeff Kys

Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Bradley M. Handy
I sent this once before, but with the wrong email account. If this gets posted twice, I'm sorry. I have a validation that should be failing (under certain conditions), but is not. I've double checked and triple checked to make sure the setup is correct, and it's still not working correctly. S

Redirect and request attributes

2003-06-04 Thread Michael Ruppin
I'm setting redirect=true on an ActionForward to remove the request parameters which do not correspond to the form named in the mapping for the path. This works nicely, but it appears as if anything I need to get into the new form needs to be a request parameter, as a result. Is this true? If I

Re: How to prevent access to pdf files

2003-06-04 Thread John Brayton
I am on a page. There are a list of pdf files on the page. If a user clicks on a pdf file, I want him to be redirected to a login page if he is not logged in. However this doesnt seem to be happening even with filters. Does the click on a pdf file not recognized as a request? Verify that the PDF is

Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Renato Romano
I have a bean with an indexed property, that is myBean.getItem(int i). I can't find a way to access that property, using struts, struts-el nor jstl. I tried the following: Where ind is the indexId attribute of an ordinary logic:iterate struts tag. (and c is the prefix for the core jstl tag downl

Re: Html Buttons and Struts

2003-06-04 Thread James Mitchell
What class? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "sjones" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 11:05 AM Subject: Html Buttons and Struts > has any body used this class, ca

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread shirishchandra.sakhare
U can do that.. Create a globel forward(Because if you are using forwards with links, they have to be global forwards.) Then create a action mapping for the path. Here the screen forwarding action does nothing but just does a forward to successTHis can be used any where jus

Html Buttons and Struts

2003-06-04 Thread sjones
has any body used this class, can you please give you please explain it more in depth than the author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Validation : Can't validate integer fields...

2003-06-04 Thread Eirik Kjølsrud
Hi, I'm new to this group. I'm a java developer working currently on projects for the Norwegian National Lottery. In an input form, I'm trying to validate user input on the client, making sure that the values are integers. My problem is that no message is presented for "errors.integer", only for

RE: out-of-memory exp

2003-06-04 Thread Doug Bryant
it's weblogic, not struts. it appears that hot-deploy does not free up resources upon redeploying an application. we are working with a fairly large application. Most of the developers here have resorted to restarting the server between redeploys because it is almost guaranteed to hose up afte

Re: Question about buttons

2003-06-04 Thread sjones
there is also a class called "HTMLButton" that was suggested. I haven't quite figured it out yet. maybe you will have better luck. goto: http://j2ee.lagnada.com/struts/html-buttons.htm "Nadja Senoucci" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello everyone, > > if I want

Re: validator with password fields

2003-06-04 Thread David Graham
Javascript for password fields is intentionally limited for security reasons. The only javascript validation that runs on password fields is the required check. What version are you using? David Hi all, when trying to make a password field required using the validator, the javascript doesn'

RE: validator with password fields

2003-06-04 Thread Raible, Matt
You're probably doing something wrong - it works fine for me. Matt -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 8:42 AM To: Struts Users Mailing List Subject: validator with password fields Hi all, when trying to make a password field

RE: Build Navigation based on action mapping

2003-06-04 Thread Hibbs, David
I'm guessing that what you really want is to be able to do either a) some reverse engineering/documentation or b) a site map type function because navigation in a Struts app is absolutely based on action mapping and tiles config. That said (and without a clearer question), I will give some very

Re: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Jeff Kyser
So if it is just a link, can't you create a forward action that points to a definition in your tiles-config.xml? for example: where order_entry.catalog.ChooseCategory is mapped to a JSP in my tile-config.xml no? i think I need to throw in the towel :) -jeff On Tuesday, June

Re: [OT] data layer, try-catch-finally, connections

2003-06-04 Thread David Graham
Everything is pass by value, even pointers :-). David OK, so Java isn't my first language, busted... - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 10:25 AM Subject: Re: [OT] data layer, try-catch-finally, connections

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread shirishchandra.sakhare
Hi, If you go by the tiles Definition approach, you just write one jsp per page and U dont need to write another jsp which will assemble all jsps together(in most of the cases). And the task of assembling the various portions for the page(In case of a classic layout, the header,footer,menu and c

validator with password fields

2003-06-04 Thread Brian McSweeney
Hi all, when trying to make a password field required using the validator, the javascript doesn't seem to work. The server side validation does work. Strangely, the javascript validation works in the same form for text fields. Anyone ever encountered this before? Am I just doing something wro

Re: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Jeff Kyser
No, Shane, not you! You're doing fine, or at least if not, then we're both missing the same thing! Sorry, I guess I replied to your e-mail rather than Nishish's -jeff On Tuesday, June 3, 2003, at 09:20 AM, Bailey, Shane C. wrote: OK, Im missing something. Doesn't matter. Every time I want new p

Re: [OT] data layer, try-catch-finally, connections

2003-06-04 Thread Ian Hunter
OK, so Java isn't my first language, busted... - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 10:25 AM Subject: Re: [OT] data layer, try-catch-finally, connections > Setting the conn, rs, and s pointers to null in this m

RE: Tiles Two JSP's for Displaying One Form .

2003-06-04 Thread Nimish Chourey , Tidel Park - Chennai
Nope .. my index.jsp is not your plain_layout.jsp .. have a close look at it again .. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 7:39 PM To: 'Struts Users Mailing List' Subject: RE: Tiles Two JSP's for Displaying One Form . Right, yo

<    1   2   3   >