action mapping input

2002-10-18 Thread Chen, Gin
Hi all, I'm still new to struts and I cant find this in the documentation but, lets say that you have one of the struts-config from the docs. global-forwards type=org.apache.struts.action.ActionForward/ forward name=logon path=/logon.jsp redirect=false / /global-forwards

RE: Why Use Serialized Value Objects instead of XML or SOAP? (Was .... Can V in MVC be Swing in Struts?)

2002-10-18 Thread Chen, Gin
me too plz. this is something that we're currently looking at too. -Tim -Original Message- From: Robert Taylor [mailto:rtaylor;mulework.com] Sent: Friday, October 18, 2002 1:27 PM To: Struts Users Mailing List Subject: RE: Why Use Serialized Value Objects instead of XML or SOAP? (Was

RE: action mapping input

2002-10-18 Thread Chen, Gin
Mailing List Subject: Re: action mapping input Chen, Gin wrote: Hi all, I'm still new to struts and I cant find this in the documentation but, lets say that you have one of the struts-config from the docs. global-forwards type=org.apache.struts.action.ActionForward/ forward

Struts-Tiles

2002-10-18 Thread Chen, Gin
Hi all, I'm using the Struts-El library and tiles. I downloaded the latest nightly build. But when I try to deploy, I get the following: java.lang.ClassNotFoundException: org.apache.struts.tiles.xmlDefinition.XmlDefinition at

RE: Struts-Tiles

2002-10-18 Thread Chen, Gin
nevermind. i just realized this was in the archives as a possible tomcat 4.1.12 bug. sorry for the duplicate post. -Tim -Original Message- From: Chen, Gin [mailto:Gin_Chen;tvratings.com] Sent: Friday, October 18, 2002 4:15 PM To: 'Struts Users Mailing List' Subject: Struts-Tiles Hi all

RE: Struts and Tiles and bean:message

2002-10-21 Thread Chen, Gin
.?? rather than the actual title from my resource mapping. Why is that? Thanks, -Tim -Original Message- From: Chen, Gin [mailto:Gin_Chen;tvratings.com] Sent: Monday, October 21, 2002 10:58 AM To: 'Struts Users Mailing List' Subject: RE: Struts and Tiles and bean:message Hi David

RE: Struts and Tiles and bean:message

2002-10-21 Thread Chen, Gin
and only override it in sub definitions when needed. Also, you could use bean:message in your jsp to get the appropriate title key for each page. David From: Chen, Gin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED

RE: html:options /

2002-10-24 Thread Chen, Gin
Hey Roland, I'm not sure but I wonder if u can fool struts into doing this with the new Struts-EL. I wonder if u do something like assuming that ur singleton is class Blah and it defines a static method called getInstance() [since its a singleton it should] then u should be able to make

RE: html:options /

2002-10-24 Thread Chen, Gin
/ -Original Message- From: Chen, Gin [mailto:Gin_Chen;tvratings.com] Sent: Thursday, October 24, 2002 7:46 AM I'm not sure but I wonder if u can fool struts into doing this with the new Struts-EL. I wonder if u do something like assuming that ur singleton is class Blah

RE: [Tiles] Using Tiles Parameter in logic:equals

2002-10-28 Thread Chen, Gin
Hi Jerry, I had the same problem before and this is the solution that I got using importAttribute: tiles:importAttribute name=myputparam/ bean:message name=myputparam/ You can also use tiles:useAttribute and assign it an id to use later. -Tim

RE: Stop auto fill in html:password

2002-10-28 Thread Chen, Gin
Hi Billy, Sorry I might be providing an answer you already found. The email said that users enable this. That's partly true. You can also set AUTOCOMPLETE=off to never have it autocomplete. So the syntax would be input type=password autocomplete=off/ now u just have to translate it to

RE: action mapping input

2002-10-28 Thread Chen, Gin
- From: Chen, Gin [mailto:Gin_Chen;tvratings.com] Sent: Friday, October 18, 2002 3:19 PM To: 'Struts Users Mailing List' Subject: RE: action mapping input Okay, just to get this straight. So I define a failure forward and it will behave the same as validation error following the input tag

RE: Previous Action

2002-11-05 Thread Chen, Gin
The best way for this is doing something called breadcrumbs. Its similar to the breadcrumb links that you normally see on top of websites that show: home - view home - view - list etc. Then you need to programmatically decide where to go based on the last link in the breadcrumbs. If you do a

html:errors

2002-11-07 Thread Chen, Gin
Hi, I am using: html:errors property=add.errors/ It worked when I did manual validation and added the errors to with add.errors property But now I'm trying to use the struts validator and created a validator.xml. How do I tell the Struts-validator

RE: ClientSide Validation Javascript Password field

2002-11-12 Thread Chen, Gin
Following this.. then your validation shouldnt even have a max length. You should allow unlimited length (albeit unpractical) and require: min length 3 at least 1 number/special char case sensitivity. or better yet.. dont add password validation and post what you just wrote on the help. ;) -Tim

html:cancel and LookupDispatchAction

2002-11-18 Thread Chen, Gin
Hi all, I have a LookupDispatchAction that my jsp is going to. I need to provide cancel functionality for this page. I tried to use the html:cancel but with the property on it, it still tries to perform the validation. I know its documented but is there a way around it? How do you skip

RE: IE's autocomplete

2002-11-21 Thread Chen, Gin
In the meantime why don't you just disable it like so: (assuming you have only one form) html:html head html:base / script function disableAutoComplete() { document.form[0].autocomplete=off;

RE: IE's autocomplete

2002-11-21 Thread Chen, Gin
that makes sense. but how about including an attributes tag that allows a map of attribute name/values? that might be helpful while maintaining the whole not render any client specific attributes. -Tim -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: not render any client specific attributes [was: IE's autocomp lete]

2002-11-21 Thread Chen, Gin
PROTECTED] Subject: RE: IE's autocomplete How would this attributes tag work/look like? Can you post an example of what you're thinking of? Dave From: Chen, Gin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED

RE: Tomcat Tries to look For the specified file in the Bin Direct ory

2002-12-12 Thread Chen, Gin
I've been able to do it like this: URL url = getServletContext().getResource(/blah.xml); URLConnection conn = (URLConnection) url.openConnection(); InputStream in = conn.getInputStream(); DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); doc =

RE: LookupDispatchAction Question

2003-02-11 Thread Chen, Gin
Okay from what I got: Login - Lookup Login is an Action. Lookup is a LookupDispatchAction. The problem is that it is forwarding to ur LookupDispatchAction class and not to you lookup page. If this is wrong then stop reading ur wasting ur time and I've already wasted mine. So I'm assuming that

RE: Tag for non box text area on jsp

2003-02-11 Thread Chen, Gin
If you mean that you just want to display the text and not offer the option to edit it then just use JSTL c:out or Struts' bean:write -Tim -Original Message- From: Jacky Kimmel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:54 PM To: [EMAIL PROTECTED] Subject: Tag for non

RE: Nested Tags Problem .... Urgent

2003-02-11 Thread Chen, Gin
not name .. property name: The name of the JSP bean containing the collection to be iterated (if property is not specified), or the JSP bean whose property getter returns the collection to be iterated (if property is specified). property: Name of the property, of the JSP bean specified by name,

RE: Indexed properties and form

2003-02-12 Thread Chen, Gin
umm is my email program messed up or does anyone else here see the same thing. % int i = ; % ?? I dont see how that works. Shouldnt it be more like: % int i = 0; % -Tim -Original Message- From: Samir Shah [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 9:32 PM To: Struts

RE: Server detection of Javascript enabled?

2003-02-14 Thread Chen, Gin
You dont have to go thru all that. There's a noscript tag as well. It will get involked (duh) when scripts are not enabled. SCRIPT scriptlet or jsp code to handle scripts /SCRIPT NOSCRIPT scriptlet or jsp code to handle no scripts /NOSCRIPT -Original Message- From: James

RE: findForward() goes to a blank page!!

2003-02-18 Thread Chen, Gin
Are you sure its not the displayMain action that is not showing anything? From a brief glance, it looks like your code forwards okay. What does ur changewelmsg.do action do? -Tim -Original Message- From: Sandhya Sasidharan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:29

RE: Newbie Question: ActionErrors.

2003-02-18 Thread Chen, Gin
the correct way is to define the error in ur properties file. errors.add(ActionErrors.GLOBAL_ERROR,new ActionError(my.error)); Message in Application.resources my.error=my error here -Tim -Original Message- From: James Prance [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003

RE: Sell me on tiles

2003-02-18 Thread Chen, Gin
Tiles is a major pita to set up but its amazing how much time it saves down the road. I think its awesome just from the fact that u dont need to worry about putting all the decorations on a page (nav bar/header/footer etc) and only need to worry about the meat and potatoes part. Aside from using

RE: cache the response and cache-example.war

2003-02-18 Thread Chen, Gin
Someone gave me this a while back. % if (jScriptOutput != null) { out.print(jScriptOutput); } else { javax.servlet.jsp.tagext.BodyContent bc = pageContext.pushBody(); out = bc; % %-- any arbitrary JSP/HTML/JavaScript here --% % out = pageContext.popBody(); jScriptOutput =

RE: [OT] What's your IQ?

2003-02-20 Thread Chen, Gin
I posted a negative number before my morning coffee. I did much better afterwards. Good enough to join the elite nerds. Ahh the power of coffee. :) -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:17 AM To: Struts Users Mailing List

RE: General-Ledger

2003-02-20 Thread Chen, Gin
Not that I know of. But if you do one, I'll beta test for you. haha -Tim -Original Message- From: Juan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: General-Ledger Hello, Is there any Open-Source General Ledger like

RE: Multiple Forms on One Page

2003-02-20 Thread Chen, Gin
I do this all the time. Just have 2 html:forms on your JSP page. The actions for the forms can map to different actions from you struts-config. Struts-Config doesnt specify jsp a form appears on. It just defines possible actions for forms. Where you put the forms is entirely up to u. -Tim

RE: problem in getting data from request

2003-02-20 Thread Chen, Gin
From what it sounds. PL1079DispatchAction is passed PL1820DeleteForm in the request scope and then you submit from PL1079DispatchAction to PL1820DeleteAction. If this is right then of course the PL1820DeleteForm is not passed as well since by submitting to a new page you have created a new

RE: numeric field validation using struts

2003-02-20 Thread Chen, Gin
look at jakarta's oro which even comes with a cool reg exp tool. or look at: http://jakarta.apache.org/struts/userGuide/dev_validator.html -Tim -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:53 AM To: Struts Users Mailing List

RE: numeric field validation using struts

2003-02-20 Thread Chen, Gin
btw. the mask that u want is probably ^\d*.\d\d$ rtfm will help ;) -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 11:57 AM To: 'Struts Users Mailing List' Subject: RE: numeric field validation using struts look at jakarta's oro which even

RE: more html:select .......

2003-02-21 Thread Chen, Gin
There's a few things right off the bat. Collection formations = (Collection) session.getAttribut(formations); should be: Collection formations = (Collection) session.getAttribute(formations); Also why are you bothering to take it out of session? You can simply write your code as:

RE: Why reset is called when a form is submitted?

2003-02-21 Thread Chen, Gin
It's just so much more fun when people get flamed though. I'm just waiting for the regular bunch to start. /me makes some popcorn to get ready for the show -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:45 AM To: 'Struts Users Mailing

RE: Using Struts for Reporting App

2003-02-21 Thread Chen, Gin
well depends on how you use it. Struts is designed to be forms driven yes but you can also link to actions. So I can use a href that points to someaction.do and still accomplish what I need. Since this is a report driven program that ur talking about. I think it will be pretty simple to do it

RE: Understanding the Iterate Tag

2003-02-21 Thread Chen, Gin
is the error saying Description or description? it might be a typo from you but remember that java is case sensitive and that looking up bean properties should have them starting with a lower case. therefore, bean:write name=result property=description/ may work but bean:write name=result

RE: logic:iterate

2003-02-24 Thread Chen, Gin
I'm just going to make a wild guess here. You probably dont have the logic tag imported. Make sure that you have: %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % at the top of the page doing this action. I know this is kind of silly but I've gotten that same error before for the same

RE: [OT] What's your IQ?

2003-02-24 Thread Chen, Gin
This back and forth is about as fun as the latest Mike Tyson fight. And makes about as much sense too. _ -Tim -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 5:45 PM To: Struts Users Mailing List Subject: RE: [OT] What's your IQ? Can

[OT] Struts and XDoclets

2003-02-24 Thread Chen, Gin
Anyone know a good reference for programming struts using xdoclets? Also, is it possible to do tiles using xdoclets? I dont see anything with @tiles on source forge. Thanks, -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: need to display a tree struture in JSP

2003-02-25 Thread Chen, Gin
Struts-Layout sounds like a viable option for you. http://struts.application-servers.com/ -Tim -Original Message- From: Pani Ramasami [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:53 PM To: 'Struts Users Mailing List' Subject: need to display a tree struture in JSP Hi:

Action without FormBean

2003-02-26 Thread Chen, Gin
I set up the following: action path=/myAction type=com.ui.action.MyAction parameter=userAction/ //myJsp.jsp html:form action=/myAction /html:form Thats it nothing in between the form tags and I get exception can not access formbean null. Well I dont want a formbean. Is this not a legal form?

RE: Action without FormBean

2003-02-26 Thread Chen, Gin
[mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:13 PM To: [EMAIL PROTECTED] Subject: Re: Action without FormBean html:form must have a form bean. Form beans are the framework's way of dealing with forms. David From: Chen, Gin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

RE: Action without FormBean

2003-02-26 Thread Chen, Gin
, why are you a) submitting to an action b) not using form ... instead of html:form ...? -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:05 PM To: 'Struts Users Mailing List

RE: Action without FormBean

2003-02-26 Thread Chen, Gin
... -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:24 PM To: 'Struts Users Mailing List' Subject: RE: Action without FormBean Thanks David. That's what I figured

RE: Action without FormBean

2003-02-26 Thread Chen, Gin
FormBean So your [View] and [Delete] are submit buttons? Why can't you use links within an iterator? -- James Mitchell Software Engineer/Struts Evangelist -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: mercredi 26 février 2003 13:24 To: 'Struts Users Mailing List

RE: Action without FormBean

2003-02-26 Thread Chen, Gin
accomplished with a little JavaScript, but I'm not sure if you want to (or can) go that route. -- James Mitchell Software Engineer/Struts Evangelist -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: mercredi 26 février 2003 13:49 To: 'Struts Users Mailing List

Nested:Checkbox

2003-02-26 Thread Chen, Gin
1.1b3 Bug? I have nested:iterate id=assoc property=associates nested:checkbox name=assoc property=selected/ /nested:checkbox /nested:iterate Where associates is the collection in my formbean with each bean in something like: //interface only

RE: Tiles - Stop from logging

2003-02-27 Thread Chen, Gin
Look for a log4j file (probably in xml format) Follow what is already in there to restrict the tiles class to whatever output lvl that you need. If you cant find the log4j file (there should be one) just add one into ur WEB-INF\classes folder. (Look at the log4j project for more information) -Tim

RE: is Component a reserved word?

2003-02-27 Thread Chen, Gin
Will it is in his classpath indirectly it is not in his jsp unless he did a import of it. So it looks like this is another issue. Unless there is a component besides java.awt.Component that I don't know of. -Tim -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED] Sent:

RE: is Component a reserved word?

2003-02-27 Thread Chen, Gin
Bug in java's introspector?? No way.. java has no bugs. o.O -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:46 PM To: Struts Users Mailing List Subject: Re: is Component a reserved word? On Thu, 27 Feb 2003, John Thorhauer

RE: Nested:Checkbox

2003-02-27 Thread Chen, Gin
Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 8:11 PM To: 'Struts Users Mailing List' Subject: Nested:Checkbox 1.1b3 Bug? I have nested:iterate id=assoc property=associates nested:checkbox name=assoc property=selected

RE: [OT] Must be desperate times for M$

2003-02-28 Thread Chen, Gin
Knowing the complexity of most windows code. I wouldnt be surprised if your jumping everywhere when following the code. Especially if you think of the number of patches applied to that code. -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003

RE: [OT] Must be desperate times for M$

2003-02-28 Thread Chen, Gin
ooh and then only a matter of time before it becomes free! like linux! yay! no more shelling out $200 everytime it comes out! oh wait.. i dont do that now anyways ;) -Tim -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 5:13 PM To: 'Struts

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Chen, Gin
I think your confusing personal perference with programming skill. Thats like saying that Ted drink Sprite when most of the better programmers drinks Mountain Dew. -Tim -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 4:38 PM To: Struts

RE: isEmpty() Method Not Working?

2003-03-03 Thread Chen, Gin
Dont worry about the Z. Apparently you have the latest version of Struts for development but not when you deploy. You might want to check the version that you have deployed with to make sure. -Tim -Original Message- From: Mervin Williams [mailto:[EMAIL PROTECTED] Sent: Monday, March 03,

Form target

2003-03-03 Thread Chen, Gin
I am trying to use target in Struts 1.1b3 I have: html:form action=/calendar method=post target=_parent this syntax works well when its just html but its not working with struts. Is there another syntax that I should be using to post a form to the parent? -Tim

RE: Form target

2003-03-03 Thread Chen, Gin
How about telling us what not working means? What exactly happens? What do you see and what did you expect to see? -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] I am trying to use target in Struts 1.1b3 I have: html:form action=/calendar method=post target

RE: Form target

2003-03-03 Thread Chen, Gin
Okay I believe this is an IE issue. I can't seem to get _parent to work in any of my forms and I can't get document.open to work for _blank either. Not only that but I can't even get nested forms in IE. I hate Micro$oft. -Tim -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Chen, Gin
I'm selling all my java certs and other certs on ebay. $10 more and I'll change the name on them to whatever. $20 more and I'll include the pin they gave me! -Tim -Original Message- From: John Espey [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 6:02 PM To: Struts Users Mailing

Proper way to Link

2003-03-04 Thread Chen, Gin
Hi all, I have two action classes that used to handle separate forms that I want to merge into one. Rather than delete one of the action classes I will just have the mappings for it go from the previous file to it. So I have dummy handlers in the first file that does a return new

RE: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Chen, Gin
Your confusing the javascript opening of the page as a server action. It is all client side that you are setting these variables. If you want your action to use that variable then the child page must first submit to the action. A way to do that is to do: function openToServer( myParam ) {

styleId invalid

2003-03-04 Thread Chen, Gin
Why does it keeps saying that styleId is not valid in nested:hidden when all nested:hidden's documentation does is point to html:hidden that does have the attribute?? nested:hidden styleId=tierName property=tierName/ This is using Struts 1.1r3 -Tim

RE: [OT] Don't beat on James! (was RE: [OT] JavaScript: ActionFor m Does Not Contain Dynamically Set Data)

2003-03-04 Thread Chen, Gin
the rule is simple: if ur under 35: anyone who is ur age + 5 is old timer. if ur 35-55: anyone who is ur age + 10 is old timer. if ur over 56: there's no such thing as old timer. it's now wiser -Tim -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March

RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Chen, Gin
I have an Atari. Can't do much coding on it but Donkey Kong is fun. -Tim -Original Message- From: Sean Chambers [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:12 PM To: 'Struts Users Mailing List' Subject: RE: Modern Computing (was RE: [OT] Ancient computing) yeah but i

RE: date format problems

2003-03-06 Thread Chen, Gin
The standard for an actionForm is to have every field as String. All conversion (which should really be thought of as business logic) should occur in the Action classes or further down the food chain. If this is not possible in your case or does not solve what your working on then can you please

RE: struts IDE

2003-03-06 Thread Chen, Gin
IMHO. It might reduce it by a bit but if people cant even use Google then what makes you think they will be able to use a search box on the struts site? -Tim -Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 11:13 AM To: Struts Users

RE: bean:write , boolean, and yes or no

2003-03-06 Thread Chen, Gin
Read up on logic:equal/notEqual or use JSTL c:choose -Tim -Original Message- From: John Towell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 1:14 PM To: [EMAIL PROTECTED] Subject: Re: bean:write , boolean, and yes or no anyone anyone... something doo economics Is

RE: checkbox with struts

2003-03-06 Thread Chen, Gin
If you use: html:checkbox property=.. it will automatically put it into the dynaactionform that you set up for the action on submit of the form. -Tim -Original Message- From: Giovanni Di Lembo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 2:06 PM To: Struts Users Mailing List

RE: CSS stylesheet

2003-03-06 Thread Chen, Gin
application context. no one wants to hardcode the context into their links. -Tim -Original Message- From: apachep2 [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 2:38 PM To: 'Struts Users Mailing List' Subject: RE: CSS stylesheet I don't understand why people want to use a

RE: JspException: Exception thrown by getter for property XXX of bean YYY?

2003-03-06 Thread Chen, Gin
look further down the trace. there's a line that says root cause. the exception after that is your true error. -Tim -Original Message- From: Viggio, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 5:19 PM To: 'Struts Users Mailing List' Subject: JspException: Exception

RE: JspException: Exception thrown by getter for property XXX of bean YYY?

2003-03-07 Thread Chen, Gin
with ActionForm's and taglibs so I'm still a noob when it comes to debugging JSPs. When you say, look further down the trace, do you mean the stack trace I forwarded in my posting or some other stack dump? I don't see anything labelled root cause in that trace. -Original Message- From: Chen, Gin

RE: Request-URI

2003-03-07 Thread Chen, Gin
There's an easy way to do this using JSTL. (Don't take this verbatim.. I am doing this straight from my Friday mode mind and not looking it up). c:set var=requestURI value=${pageContext.request.requestURI}/ c:if test=${requestURI == '/index.jsp'} //do ur stuff here. /c:if -Tim

RE: html:messages/ not displaying messages

2003-03-13 Thread Chen, Gin
html:messages id=msg message=true name=org.apache.struts.action.GLOBAL_MESSAGE c:out value=${msg} escapeXml=false/ /html:messages -Tim -Original Message- From: louis majanja [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:35 PM To: Struts Users Mailing List Subject:

RE: overriding DynaActionForm.reset is giving me NPE

2003-03-13 Thread Chen, Gin
You dont need to reset attributes of DynaActionForms. So if your trying to clear your checkbox just make sure that you dont have a default value defined for it and just call super.reset(mapping, request); Just out of curiousity, why are you subclassing DynaActionForm unless you have some

RE: overriding DynaActionForm.reset is giving me NPE

2003-03-14 Thread Chen, Gin
get reset, so I have the standard HTML problem with not being able to go from checked to unchecked and save that change. - Original Message - From: Chen, Gin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 3:33 PM Subject: RE

struts auto validation not displaying

2003-03-17 Thread Chen, Gin
Hi all, I have a dynaform field that is being validated but it is not displaying the error msg. I matched everything up several times to make sure everything was there but its still not showing the error messages. I know its validating though because it will return me back to my page. Even a

RE: [Q] why bean:write can't be used without NAME as html:text ca n?

2003-03-19 Thread Chen, Gin
Ahh crap James. Even though I didnt post the original msg, if I had of read the documentation more closely on html hidden.. this could have saved me a few lines of code _ -Tim -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:00 PM To:

RE: [OT] Ping

2003-03-19 Thread Chen, Gin
just you. put the drink down and get some coffee. everything will speed back up. its not even friday yet! -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 3:37 PM To: Struts Users List Subject: [OT] Ping Is it just me or is the mail slow

RE: [Q] why bean:write can't be used without NAME as html:text ca n?

2003-03-19 Thread Chen, Gin
When using nested:hidden of 1.1 rc I get. Attribute write invalid according to the specified TLD :( -Tim -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:16 PM To: 'Struts Users Mailing List' Subject: RE: [Q] why bean:write can't be used

RE: Control Access

2003-03-19 Thread Chen, Gin
So many ways. One you can use the struts roles and control login that way. Two you can programmatically do this using a request processor. Three you can do this programmatically in all you actions/jsps. And a few other solutions as well. -Tim -Original Message- From: mahesh kagitha

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Chen, Gin
F-I-L-L-T-E-R. hmm.. I guess can't spell it. I learned english via hooked on phonix. -Tim -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:16 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Meeting in Paris this Saturday Who gives

RE: working with a team

2003-03-21 Thread Chen, Gin
seem to me the container should check the timestamp of the war against the folder or something and if it is newer, redeploy it. This also causes issues with files that were removed from the war, which are now trash files and left in the deployed app. One a container redeploys your war it will

RE: out and escaping quotes

2003-03-24 Thread Chen, Gin
use the string taglib for this. -Tim -Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 6:42 PM To: Struts-User List Subject: c:out and escaping quotes While working with javascript I noticed that it would be helpful if I could have the output tag

RE: Newbe - problem with Struts-Config.xml

2001-11-02 Thread Chen, Gin
What application server are u using Rob? Cause unless ur doing something else different. WEB-INF is supposed to be a PRIVATE folder (read the J2EE specifications) nothing public should be in this folder. Not that it cant be.. it just takes more coding. -Original Message- From: Siggelkow,

RE: [FRIDAY]Re: Just let me be the first to say...

2003-03-28 Thread Chen, Gin
Pinko-Fascist? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:06 AM To: 'Struts Users Mailing List' Subject: RE: [FRIDAY]Re: Just let me be the first to say... Not a very good reason for not choosing to learn .NET, but at least you

RE: question regarding DynaActionForm.reset()

2003-03-31 Thread Chen, Gin
HTML does not submit a null for an unchecked checkbox. So if you have foo=bar you would have nothign if foo was not checked. If you try it with a GET HTML form you'll see that behavior. -Tim -Original Message- From: Donald Ball [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 3:56

Validation not displaying

2003-04-03 Thread Chen, Gin
The submit is returning to the input page so I'm pretty sure that validation is working but no messages are being displayed. --- //jsp html:errors/ html:messages id=msg message=true name=org.apache.struts.action.GLOBAL_MESSAGE c:out value=${msg} escapeXml=false/

RE: Validation not displaying

2003-04-03 Thread Chen, Gin
Please disregard this. I'm tired and I set up my validation without the required messages. *sigh* -Tim -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 12:45 PM To: 'Struts Users Mailing List' Subject: Validation not displaying The submit

RE: Struts and session cleanup

2003-04-03 Thread Chen, Gin
I'm not sure what you mean by global sessions you mean application scoped items? Also using scope for session data doesn't garbage clean it when its done. Do you mean to scope it in a different scope? -Tim -Original Message- From: varanasi kiran [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chen, Gin
I love this thread. First we hear about people moaning that they cant find a job. So what do we do when someone posts a job listing (albeit ill researched and ill worded.. ironic considering they were looking for someone with excellent communication skills).. we bash the post. But not only that

RE: Programmatically creating links to Struts forwards

2003-04-04 Thread Chen, Gin
The 'right' way I believe is to use Scaffold's (pre 1.1 b3) or if ur using the latest builds then set up a ForwardAction that points to your forward (can also be done for tiles definitions) and use that as you link href. ex: action path=/goToSomewhere type=org.apache.struts.actions.ForwardAction

[OT] RE: switch statement

2003-06-06 Thread Chen, Gin
Javascript does. Switch in java also works with chars. -Tim -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:48 AM To: 'Struts Users Mailing List' Subject: RE: switch statement Keith, The switch statement doesn't work with all

RE: [OT] web.xml error-page configuration problem

2003-06-06 Thread Chen, Gin
Hi David, What container are you using and are you using Tiles? I'm using Jboss with Tomcat and I can't put all my taglibs in a common header (there was a discussion about this a while back on the Struts list). Thanks, -Tim -Original Message- From: David Graham [mailto:[EMAIL

RE: [OT] web.xml error-page configuration problem

2003-06-06 Thread Chen, Gin
sry 1. didn't mean to reply to the list and 2. the discussion was on the taglibs list. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 2:51 PM To: 'Struts Users Mailing List' Subject: RE: [OT] web.xml error-page configuration problem Hi David

creating new DynaValidatorForm

2003-05-30 Thread Chen, Gin
I have a dynaValidatorForm that is linked to a class that I defined. form-bean name=associateForm type=com.nam.ui.form.AssociateForm form-property name=associateId type=java.lang.String initial=/ form-property name=dmzId type=java.lang.String initial=/ form-property

RE: creating new DynaValidatorForm

2003-05-30 Thread Chen, Gin
I get the following when I try to get a property from the form. ie associate.get(associateId) java.lang.NullPointerException at org.apache.struts.action.DynaActionForm.toString(DynaActionForm.java:511) Funny thing is that on the javadoc it says: java.lang.IllegalArgumentException - if

RE: creating new DynaValidatorForm

2003-05-30 Thread Chen, Gin
? -Tim -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 1:57 PM To: 'Struts Users Mailing List' Subject: RE: creating new DynaValidatorForm Did you have: Public AssociateForm() { super(); } -Original Message- From: Chen

  1   2   3   >