Re: struts redeploy problem

2005-09-28 Thread Murray Collingwood
I would guess that "type" is a reserved word. Try changing it to "myType"? Kind regards mc On 29 Sep 2005 at 11:40, Elaine Sit wrote: > My webapp using tomcat5.5 + struts > > I create a new form bean in the struts-config.xml as following: > > type="org.apache.struts.validator.DynaValidatorFo

struts redeploy problem

2005-09-28 Thread Elaine Sit
My webapp using tomcat5.5 + struts I create a new form bean in the struts-config.xml as following: ... and do the deployment to the tomcat by 1. remove the war package 2. and put the new war package. It works fine .. but then when I add another form variable to surveyForm

Re: More Tiles and Definitions problems

2005-09-28 Thread Greg Reddin
On Sep 28, 2005, at 7:39 PM, Guillermo Castro wrote: In order to do what you want you have to define your tiles as: At the risk of stating the obvious, if you want your title to be specified in the extended definition you can do it like this: Then you

Re: More Tiles and Definitions problems

2005-09-28 Thread Guillermo Castro
Contrary to popular belief, tiles attributes are not propagated to jsp's defined as attributes. It means that _header.jsp doesn't have any information about a tile attribute 'title', thus ignoring the tag (when you remove the ignore="true", struts is actually throwing an exception, that's why you

[shale] I miss ActionForward.. am I missing something?

2005-09-28 Thread David Bowers
I am investigating using struts on an upcoming project, and I will need to figure out a way to port some of my custom struts security preprocessing to Shale. In my most current Struts implementation, I use a chain to test several attributes on a request to authenticate it, (things like cookies or w

Re: logic tag - to check form elements

2005-09-28 Thread Murray Collingwood
Hi Raghu What's the name of the form bean? Let's assume it's "myformbean" for the example: ... Use the 'name' parameter to reference the form bean name. Use the 'property' parameter to reference the property. Note, you will be testing the value in the form- bean, not the value in the h

Re: [OT]Open source Backup software for windows

2005-09-28 Thread Ovidiu EFTIMIE
What I recomend is SyncBack - it's free but it's not open source. SyncBack is our freeware program that helps you easily backup and synchronise your files to: the same drive; a different drive or medium (CDRW, CompactFlash, etc); an FTP server; a Network; or a Zip archive. http://www.2brightsp

More Tiles and Definitions problems

2005-09-28 Thread Graham Reeds
I have my pages defined in tiles-defs.xml thus: mainLayout.jsp is: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> Test.jsp is: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> So following the from the click of the link to Test.jsp. The tiles for

Re: problem with html:form tag action property

2005-09-28 Thread Aman A
Hi Its good taht we have found the solution, I have a question here! Why are u making two url-patterns for action servlet.i want to know the use case. coz i have never done that is there some benefit with this Regards A On 9/27/05, Jane Eisenstein <[EMAIL PROTECTED]> wrote: > > Problem solved. T

RE: [OT]Open source Backup software for windows

2005-09-28 Thread David G. Friedman
There is stuff all over if you want something server based. Amanda (www.amanda.org) has a win32 client via a second sourceforge project), plus stuff I've never heard of like http://backuppc.sourceforge.net/info.html and more. Remember, google is your friend. :) If it's just those 2 Windows based

Re: logic tag - to check form elements

2005-09-28 Thread Michael Jouravlev
On 9/28/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > I have a hidden html varibale called operation. > This defines a field in an HTML form, server knows nothing about it. > Now I want to conditionally display some buttons based on the value of > this hidden field. I am trying somet

Re: [OT]Open source Backup software for windows

2005-09-28 Thread Bryon Lape
> Hello > Does anyone know or used an open source for databaup > from windows XP, i need this software to be able > select folders for backup, backup files changed, add > if does not exist, and schedule backup from my laptop > and desktop > I'm guess you mean something in place of the backup progr

[OT]Open source Backup software for windows

2005-09-28 Thread Ashish Kulkarni
Hello Does anyone know or used an open source for databaup from windows XP, i need this software to be able select folders for backup, backup files changed, add if does not exist, and schedule backup from my laptop and desktop Ashish __ Yahoo! M

logic tag - to check form elements

2005-09-28 Thread Raghu Kanchustambham
I have a hidden html varibale called operation. Now I want to conditionally display some buttons based on the value of this hidden field. I am trying something like this... # display update related buttons This doesnt seem to work. What am I doing wrong? I know that if 'operation' was a

SwitchAction.java in struts

2005-09-28 Thread Carl Smith
Can you describe in which case we should be using SwitchAction.java in struts? Can you offer some sample code? Is this used for multiple submit buttons (save, delete, update, cancle buttons for example) on one jsp page? Thanks. - Yahoo! for Good

Re: JSTL Error

2005-09-28 Thread Rick Reumann
Yahzz Yan wrote the following on 9/28/2005 2:17 PM: Route Disp Err : value="${coercionError}"/> Not sure what the above has to do with the below, but I get the following error from the JSP javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "value

Re: Debugging

2005-09-28 Thread Laurie Harper
Bryon Lape wrote: hm strange ... in this case I don't know what ot tell you ... the file name should be struts.log may be somebody who is more familiar with log4j should give you an idea ... borislav Let me do a search on the whole harddrive for that file name. make sure your log4j.properties

Re: use bean:message tag for configurable parameters?

2005-09-28 Thread Ed Griebel
You can't have nested struts tags. I usually do something like this, although there's probably a better way: ... If you're using a JSP 2.0 application server you can use the tag rather than -ed On 9/28/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > Hi, > When I use the followi

Re: use bean:message tag for configurable parameters?

2005-09-28 Thread Cedric Levieux
Your problem is a tricky one, so don't worry key='selectbox.size'/> Cedric Raghu Kanchustambham wrote: Hi, When I use the following line...it prints a 4 on the screen. { selectbox.size has been defined as 4 in application.properties file } However, the following code doesnt seem to

Re: radio buttons with struts

2005-09-28 Thread Laurie Harper
If the form is being submitted by your Javascript event handler (updateDiagramm() function) by building a URL rather than calling form.submit() then yes, that URL will need the form inputs appended to it explicitly. L. Lothar Krenzien wrote: Hi there, I'm new to struts but have to maintain

use bean:message tag for configurable parameters?

2005-09-28 Thread Raghu Kanchustambham
Hi, When I use the following line...it prints a 4 on the screen. { selectbox.size has been defined as 4 in application.properties file } However, the following code doesnt seem to work. Can somebody explain what is wrong with this? I want a select box of size 4 here. The intent is to 'externali

Re: JSTL Error

2005-09-28 Thread Yahzz Yan
What are the scope the variables used in that object? Vijaya S <[EMAIL PROTECTED]> wrote:Hello, I am struggling with the JSTL error for the past two days. Can someone help me in this? In my JSP, I have the following code to populate bean array properties. Route Disp Err : value="${co

Perhaps more info on my MessageResource problem

2005-09-28 Thread Bryon Lape
I now have logging giving me something useful. When a form is submitted with validation errors and below is an excerpt. No errors reported, but it can't find tiles-def files. There is a tiles-def.xml, but the html form is not listed there. Nor are the inputs or success urls. ---

Re: Debugging

2005-09-28 Thread Bryon Lape
Configuring a .File and giving it a name I've been able to find the log. I can see it converting the parameter on and converts it to a String. WHat I don't see is it reading it nor are there any errors. I even put a value in of a file that does not exist and still no error. ---

Re: Debugging

2005-09-28 Thread Bryon Lape
>> > hm strange ... in this case I don't know what ot tell you ... > the file name should be struts.log > may be somebody who is more familiar with log4j should give you an idea > ... > borislav Let me do a search on the whole harddrive for that file name. ---

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: just make a file search under the path where the server is installed Please excuse my ignorance, but look for what? That is, what file name should I expect to find? I did a search for *.log and *log* and didn't find anything of use. hm strange ... in this case I

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>>Bryon Lape wrote: >>> >>> >>> >Bryon Lape wrote: > > > > > >>I am looking for good pointers on getting debug logging turned on in >>Struts. I've added debug and detail params to my web.xml file, but I >>get >>nothing. Do I need log4

Re: [OT] Re: Debugging

2005-09-28 Thread Borislav Sabev
Dave Newton wrote: Holy crap, edit your replies! Dave Sorry Dave, ussualy i do Borislav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: Debugging

2005-09-28 Thread Dave Newton
Borislav Sabev wrote: Bryon Lape wrote: Bryon Lape wrote: Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've

Re: Session Question

2005-09-28 Thread Rahul Akolkar
On 9/28/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Troy Bull" <[EMAIL PROTECTED]> > > > > <%= session.getAttribute("variable") %> > > > > So the c:out tag isn't working, any ideas why that would be? > > Try just: > > > It will check page, request, session, and application scope

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: Bryon Lape wrote: Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on de

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>>Bryon Lape wrote: >>> >>> >>> I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things o

How to retrieve ApplicationResources.properties from displaytag?

2005-09-28 Thread 梁炳場
The current result is blank. I want to display the cell which retrieves from ApplicationResources.properties. And the cell can be clicked. The column title come from ApplicationResources.properties as well. How can it be done? Thanks "> Where href and messageKey are property of

Re: How to customize a displaytag column?

2005-09-28 Thread Ugur Cetinkaya
Lets try to like this On 9/28/05, 梁炳場 <[EMAIL PROTECTED]> wrote: > > > > > > I'd like to change the messageKey column to > > > > > where href is another property. > > How can it be done? > thnx > > - > To unsubscribe,

Re: Session Question

2005-09-28 Thread Wendy Smoak
From: "Troy Bull" <[EMAIL PROTECTED]> I have an action that puts a string in to session named variable. Then returns success which loads a jsp page. On that page I have the following 2 lines. I thought it would print out the message 2 times but it does not it only prints it once. The second

Re: [OT] JSTL Error

2005-09-28 Thread Rahul Akolkar
Marked OT, since taglibs-user@jakarta.apache.org [ http://jakarta.apache.org/taglibs/index.html#MailingLists ] might be a more appropriate forum for purely JSTL related questions. On 9/28/05, Vijaya S <[EMAIL PROTECTED]> wrote: > I get the following error from the JSP > javax.servlet.jsp.JspExcep

Re: Session Question

2005-09-28 Thread Troy Bull
Thanks a ton. Sometimes I miss the dumbest stuff... Ronald Holshausen wrote: change it to On 28/09/05, Troy Bull <[EMAIL PROTECTED]> wrote: Hi all I have an action that puts a string in to session named variable. Then returns success which loads a jsp page. On that page I have the fol

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on debugging, but it seems very comp

Re: Session Question

2005-09-28 Thread Ronald Holshausen
change it to On 28/09/05, Troy Bull <[EMAIL PROTECTED]> wrote: > Hi all > > I have an action that puts a string in to session named variable. Then > returns success which loads a jsp page. On that page I have the > following 2 lines. I thought it would print out the message 2 times but > it do

Session Question

2005-09-28 Thread Troy Bull
Hi all I have an action that puts a string in to session named variable. Then returns success which loads a jsp page. On that page I have the following 2 lines. I thought it would print out the message 2 times but it does not it only prints it once. The second line is the one that prints

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>I am looking for good pointers on getting debug logging turned on in >>Struts. I've added debug and detail params to my web.xml file, but I get >>nothing. Do I need log4j? In the Struts Cookbook I've found some things >>on debugging, but it seems very complex to configure

Re: Debugging

2005-09-28 Thread Bryon Lape
I am currently using IntelliJ 5.0 and I have tried numerous times to get remote debugging for iPlanet working. So far, no dice. > My suggestion is to use an IDE that has source level debugging > (JDeveloper, Eclipse, NetBeans). If you start your appserver in > debugging mode, you can connect remo

struts config logging

2005-09-28 Thread paul
user@struts.apache.org, I have a problem with my tiles set up. I get a Null pointer exception with the following stack trace. java.lang.NullPointerException org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:687 ) org.apache.struts.taglib.tiles.InsertTag.c

Re: Debugging

2005-09-28 Thread Richard Yee
My suggestion is to use an IDE that has source level debugging (JDeveloper, Eclipse, NetBeans). If you start your appserver in debugging mode, you can connect remotely with your IDE and step through the code and observe variable values. -Richard Bryon Lape wrote: Bryon Lape wrote: My

Re: Debugging

2005-09-28 Thread Bryon Lape
> Bryon Lape wrote: > >>My goodness, it is as long as I thought. I can at least cut and paste >>this instead of doing all that typing. >> >> >> > is it so much? > >>Thanks. I'll let you know how it goes. I am running under iPlanet Web >>Server 6.0 SP1, so things can goofy. It already will not f

Re: Debugging

2005-09-28 Thread Frank W. Zammetti
An alternative is the following: (1) Create the file commons-logging.properties and put it in WEB-INF/classes with the following contents: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog (2) Create the file simplelog.properties and also place it in WEB-INF/classes with t

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: My goodness, it is as long as I thought. I can at least cut and paste this instead of doing all that typing. that's why I pasted you lines from my log4j.proprties file and it's sure they are correct borislav ---

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: My goodness, it is as long as I thought. I can at least cut and paste this instead of doing all that typing. is it so much? Thanks. I'll let you know how it goes. I am running under iPlanet Web Server 6.0 SP1, so things can goofy. It already will not find the message

Re: Debugging

2005-09-28 Thread Bryon Lape
> I hope this could help you: > 1. get log4j and put it together with other jars of your web project > 2. create a log4j.properties file and put on the root of your web app. > 3. add following lines in log4j.properties > > > Borislav My goodness, it is as long as I thought. I can at least cut and

JSTL Error

2005-09-28 Thread Vijaya S
Hello, I am struggling with the JSTL error for the past two days. Can someone help me in this? In my JSP, I have the following code to populate bean array properties. Route Disp Err :

Re: Debugging

2005-09-28 Thread Borislav Sabev
Bryon Lape wrote: I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on debugging, but it seems very complex to configure. Is thi

Debugging

2005-09-28 Thread Bryon Lape
I am looking for good pointers on getting debug logging turned on in Struts. I've added debug and detail params to my web.xml file, but I get nothing. Do I need log4j? In the Struts Cookbook I've found some things on debugging, but it seems very complex to configure. Is this correct? Is gettin

RE: e-mail address validator

2005-09-28 Thread Bryon Lape
Wow, even better. Thanks. > > It's a standard build in validation of the validator see > http://struts.apache.org/userGuide/dev_validator.html > > Gr, > Bram > > I'm looking for a regular expression or something I can plug into Struts > 1.2 to validate e-mail addresses off of a DynaForms. Anyone

problems setting the input forward validating forms

2005-09-28 Thread Peter . Zoche
Hi all! I have got the following problem: an external script submits a request to my web-app ans is not interested what happens with it. As set in the struts-config.xml, the request parameters are used to populate a DynaValidatorForm, which is validated as specified in my validation.xml. If valida

Re: e-mail address validator

2005-09-28 Thread Francisco - São Paulo - Brazil
What is the matter with the Struts Validator? Can't you use it? It's easy. [EMAIL PROTECTED] escreveu: I'm looking for a regular expression or something I can plug into Struts 1.2 to validate e-mail addresses off of a DynaForms. Anyone have any pointers? Thanks.

How to customize a displaytag column?

2005-09-28 Thread 梁炳場
I'd like to change the messageKey column to where href is another property. How can it be done? thnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

radio buttons with struts

2005-09-28 Thread Lothar Krenzien
Hi there, I'm new to struts but have to maintain an existing application which heavenly uses jsp with stuts tags. Now I want to add a group of 3 radio buttons and each of the single radio button have an associated select box. Of course no problem. When I submit the form I excpected that the

RE: e-mail address validator

2005-09-28 Thread R.Vijayaraghavan
> > Never mind. I found this one on an ASP.Net page: > > [EMAIL PROTECTED],3} This wont verify the mailid: [EMAIL PROTECTED] This will. This can be made more strict by checking the length, like Bryon has done. (\\S+)(@)(\\S+)(\\.)(\\S+)((.)(\\S+))* regards, vijay. -

RE: tag within tag

2005-09-28 Thread Vishal Dalal
hi catherine, I am new to the struts framework so please ignore and correct if i am wrong But when using jsp without struts, you experience the same problem while passing parameters to javascript function. I think a better way(which always works!!!) is to make that java variable as a hidden variab