Re: debugging tomcat with eclipse

2005-08-26 Thread Martijn Smit
I'm running Tomcat within Eclipse with the Sysdeo plugin since the dawn of time. As long as you handle your own context definitions (keep a close watch on the occasional xml sysdeo generates) and define the source directories within the Sysdeo general option, you can debug and trace your source

debugging tomcat with eclipse

2005-08-26 Thread Jay Sheth
HI, It would be great if you could give some hints on how to debug tomcat with eclipse. I have tried the following: * Running tomcat with option jpda start and then running a remote java application to debug but doesn't work. * Running the tomcat application with start option. When I run the web

Struts Deployment with the Commons jar files - What jar files can be put at the container level?

2005-08-26 Thread Richard Yee
Does anyone on the list have any recommendations regarding putting the commons-XXX jar files that are deployed with struts at the application server container level instead of at the application level in the WEB-INF/lib directory? I'm interested in doing this in order to save on the memory consumpt

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Frank W. Zammetti
Thanks for pointing out AjaxTags... I think it might indeed be a decent answer in this case. However, I'd like to point out that the Struts-specific version of AjaxTags referenced here is no longer being developed. There is now a non-Struts-specific version which is a part of Java Web Parts

Re: Struts Taglibs (was ... Dying?)

2005-08-26 Thread Leon Rosenberg
Count me in :-) > -Ursprüngliche Nachricht- > Von: Ted Husted [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 26. August 2005 19:06 > An: Struts Users Mailing List > Betreff: Re: Struts Taglibs (was ... Dying?) > > Most the committers would suggest that using JSTL is a better > way to g

Re: Smart forwarding with different input pages

2005-08-26 Thread Laurie Harper
Letícia Álvares Barbalho wrote: Hello everyone, I'm working with smart forwarding in my application. I have an action with this mapping in struts-config: type="auge.action.DeterminaAction" name="addDelUpdColecaoForm" validate="true" input="/pages/colecao/colecao.jsp"> scope="request" >

Re: Version information for Struts Commons libraries included with Struts 1.1

2005-08-26 Thread Laurie Harper
Wendy Smoak wrote: From: "Richard Yee" <[EMAIL PROTECTED]> Does anyone know how to determine the versions of the commons libraries that are included as part of Struts? Specifically, I need to find out the versions of the commons libraries that are part of the Struts 1.1 distribution. Scroll d

Smart forwarding with different input pages

2005-08-26 Thread Letícia Álvares Barbalho
Hello everyone, I'm working with smart forwarding in my application. I have an action with this mapping in struts-config: scope="request" > The actions for which it forwards are configured like this one: As you can see, the second action has a different input page. It is be

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Martin Gainty
Basically reconfiguring log4j to switch logs based upon initial eval of log4j.xml and then re-evaluation of conditions later on for Log4j re-configuration example take a look at http://marc.theaimsgroup.com/?l=log4j-user&m=107834480407921&w=2 Martin- - Original Message - From: "Van Hen

Re: Re-use field validations?

2005-08-26 Thread Laurie Harper
Quinn Stone wrote: Is there any way to define the validation for a common form field once in validation.xml and re-use the validation in other blocks? This would allow validation.xml to be updated in one place rather than many places, if validation requirements change for a field that is used o

Re: Version information for Struts Commons libraries included with Struts 1.1

2005-08-26 Thread Wendy Smoak
From: "Richard Yee" <[EMAIL PROTECTED]> Does anyone know how to determine the versions of the commons libraries that are included as part of Struts? Specifically, I need to find out the versions of the commons libraries that are part of the Struts 1.1 distribution. Scroll down to the "What's

Re: Version information for Struts Commons libraries included with Struts 1.1

2005-08-26 Thread Laurie Harper
Richard Yee wrote: Does anyone know how to determine the versions of the commons libraries that are included as part of Struts? Specifically, I need to find out the versions of the commons libraries that are part of the Struts 1.1 distribution. I am using the display tag library (www.displaytag.o

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread Walton, Kaleb \(ISS Southfield\)
Nope - downloaded and deployed. One note though - I'm using Resin 3.0.12 rather than Tomcat. Don't worry about it not working for me - I realize it was a quick test implementation. I'm just trying to learn like the rest of you :) Regards, Kaleb -Original Message- From: [EMAIL PROTECTE

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
"Walton, Kaleb \(ISS Southfield\)" <[EMAIL PROTECTED]> wrote on 08/26/2005 12:54:19 PM: > javax.faces.FacesException: Assertion Failed >at com.sun.faces.util.Util.doAssert(Util.java:1302) >at > com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:241) >at > javax.faces.

Re: Struts Taglibs (was ... Dying?)

2005-08-26 Thread Ted Husted
Most the committers would suggest that using JSTL is a better way to go, and the volunteers have been relunctant to extend the libraries in ways that overlap with JSTL. But if there are other volunteers ready, willing, and able to maintain the library in the Apache Way, we've had a help wanted sign

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread Walton, Kaleb \(ISS Southfield\)
javax.faces.FacesException: Assertion Failed at com.sun.faces.util.Util.doAssert(Util.java:1302) at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:241) at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:10 13) at javax.faces

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
"Walton, Kaleb \(ISS Southfield\)" <[EMAIL PROTECTED]> wrote on 08/26/2005 12:48:16 PM: > Geeta, > > I'd like to get your app up and running, although, I'm having trouble. I > keep getting "Assertion Failed" errors when trying to get to index.faces > or index.jsp. Any ideas? :) > Could you pos

RE: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread Walton, Kaleb \(ISS Southfield\)
Geeta, I'd like to get your app up and running, although, I'm having trouble. I keep getting "Assertion Failed" errors when trying to get to index.faces or index.jsp. Any ideas? :) Thanks! Regards, Kaleb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: [SPAM - Bayesian] - Re: Configurable Forms Fields Authorizati on - Bayesian Filter detected spam

2005-08-26 Thread Ajaya Agrawalla
What I was looking was... Is there any framework which would read a form definition file either based on a form bean or not and allow or disallow access to those fields. I have looked around and the struts-layout has some built in feature for access to fields. but layout tag seems too much for m

Re-use field validations?

2005-08-26 Thread Quinn Stone
Is there any way to define the validation for a common form field once in validation.xml and re-use the validation in other blocks? This would allow validation.xml to be updated in one place rather than many places, if validation requirements change for a field that is used on many forms. It woul

Re: Configurable Forms Fields Authorization

2005-08-26 Thread Gareth Evans
Hi, I use a similar method to generate a form, Use a xml file to define the form e.g. I then use a custom tag to parse the xml tag and set the form config within the page context for me to iterate through and display. I've added options to display a date selector, or a select b

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Van Henreich Rontal
Thanks for the reply. I'm trying to debug a machine remotely for 10 minutes and set-up a streaming connection. I get all those debug messages through the stream. I'm not familiar with log4j, but base on what you're saying it needs variable assignment within my app's context, so i guess that means

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Sudhaker Raj
When you return null from any Action class execute method, that tells framework not to bother about doing any forward or include or anything. This means you need to handle the response by yourself. Something like... response.setContentType("text/plain"); response.getWriter().write("Bingo, you got

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Sudhaker Raj
U need AJAX to rescue you. On 8/26/05, Van Henreich Rontal <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure if this has been tackled already or it's > a feature available to Struts cause I don't think it > is normally use. > > I have all these messages on a webpage and at a > certain point in t

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Martin Gainty
Who/what is/are generating the messages? (Im thinking that if you have capability to communicate with generator perhaps you can cut it off at the source) If its logging I know log4j has capabilities to redirect from console to socket to file based on variable assignments within your app's conte

Re: [Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
Sure thing. I would love to work with you and come up with something useful. I too am currently working on a web app which would demo Shark (the open source workflow engine). I already had written it using Struts, but now am attempting to rewrite that using Shale. Not sure how much success I w

Executing java code w/out forwarding to another page

2005-08-26 Thread Van Henreich Rontal
Hi, I'm not sure if this has been tackled already or it's a feature available to Struts cause I don't think it is normally use. I have all these messages on a webpage and at a certain point in time, I want to abort the generation of these messages so i press an abort button. I would then need som

Version information for Struts Commons libraries included with Struts 1.1

2005-08-26 Thread Richard Yee
Does anyone know how to determine the versions of the commons libraries that are included as part of Struts? Specifically, I need to find out the versions of the commons libraries that are part of the Struts 1.1 distribution. I am using the display tag library (www.displaytag.org) and found that it

Re: Struts-Tiles Design question

2005-08-26 Thread Michael Rasmussen
Dilip, The tiles controller sounds like an interesting way to do it, but I have never used it. I agree with Nels that you should stay away from a JSP implementation of this. I have stretched tiles pretty far as to what it can do conditionally, and I have been very happy with it. I would suggest

[Shale] Shale with Tiles web app example - was CSS not working with JSF

2005-08-26 Thread gramani
Hi Rick, bjester, anyone else who's interested: As promised, I have uploaded a very trivial app which integrates Shale and Tiles using the new code which David Geary committed a couple of days back (btw, I built the jars here using the source from a couple of days back.. so am not sure if they

Re: (JSF question) Checkbox for Each Record in a List and Scroll Bars

2005-08-26 Thread Michael Rasmussen
I would look at some of the oracle components...they do a lot with data and tables that go beyond what a JSF DataTable will do. Here is their list of components. http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html I don't see anythin

Configurable Forms Fields Authorization

2005-08-26 Thread Ajaya Agrawalla
Folks, I am working on simple struts application and using formdef plugin. I need to have customizable way where I can control whether users are allowed to fill in values for some fields. This requirement varies depending on installation. I am thinking of having a config file where we can spec

Re: Struts Taglibs (was ... Dying?)

2005-08-26 Thread Michael Rasmussen
On 8/26/05, Ted Husted <[EMAIL PROTECTED]> wrote: > On 8/26/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > Btw, is anyone working on improvements of the struts-taglibs (logic and > > bean)? > > Sadly, no. The committers all seem to be using JSTL or alternate view > technologies. We've been look

[Fwd: [solved] Re: [SHALE] Still not getting to resulting page based on navigation rules]

2005-08-26 Thread Rick Reumann
Odd, I posted this yesterday but it still hasn't made it to the list. Please ignore if this ends up a duplicate. Original Message Subject: [solved] Re: [SHALE] Still not getting to resulting page based on navigation rules Date: Thu, 25 Aug 2005 16:41:37 -0400 From: Rick Reuma

Re: [Shale] org.apache.tiles unresolved

2005-08-26 Thread Edwin Mercado
Awesome! Thank you, Geeta, for the prompt reply! Edwin On 8/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Edwin Mercado <[EMAIL PROTECTED]> wrote on 08/26/2005 09:43:23 AM: > > > Hi! > > I just started playing around with Shale, but I just can't seem to > > find a tiles.jar (org.apache.t

Re: [Shale] org.apache.tiles unresolved

2005-08-26 Thread gramani
Edwin Mercado <[EMAIL PROTECTED]> wrote on 08/26/2005 09:43:23 AM: > Hi! > I just started playing around with Shale, but I just can't seem to > find a tiles.jar (org.apache.tiles) library file. From where can I > download it? > Here you go http://cvs.apache.org/builds/jakarta-struts/nightly/sand

[Shale] org.apache.tiles unresolved

2005-08-26 Thread Edwin Mercado
Hi! I just started playing around with Shale, but I just can't seem to find a tiles.jar (org.apache.tiles) library file. From where can I download it? thanks Edwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: CSS not working with JSF

2005-08-26 Thread Frank W. Zammetti
Just a semi-on-topic aside... I believe the best approach is to use IDs as their name implies: as a unique ID for a given element, and use class to mark the element as using a given CSS class. Unless you know you have a requirement to change a batch of elements together, and its a change that

Re: Struts Taglibs (was ... Dying?)

2005-08-26 Thread Ted Husted
On 8/26/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Btw, is anyone working on improvements of the struts-taglibs (logic and > bean)? Sadly, no. The committers all seem to be using JSTL or alternate view technologies. We've been looking for someone to help in this area for a very long time. In

Re: Is Struts Evolving (was ... Dying?)

2005-08-26 Thread Ted Husted
On 8/25/05, Paul Benedict <[EMAIL PROTECTED]> wrote: > The subject line asks it all. Is it true? The original subject line, no. The new line, yes. Externally, Struts is evolving from a monolithic package into a set of subprojects, with their own release cycles. Internally, Struts is evolving fro

Re: File Upload enctype

2005-08-26 Thread David Delbecq
Le Vendredi 26 Août 2005 08:23, Anuradha S.Athreya a écrit : > Hello, > > I have 2 different issues, which are listed below > (1) To upload a file , is it necessary to specify the > enctype="multipart/form-data". Can Struts handle file upload in another way > when the enctype has not been speci

creditCard Validator plugin problems

2005-08-26 Thread jonathan gilmore
Hello, No matter what I type into my creditCard field the creditCard validator check allways comes back with the message Card Number is not a valid credit card number. If I substitute the 'creditCard' check to a 'long' check then I can pass validation by placing a 16 digit long number. Come

Re: CSS not working with JSF

2005-08-26 Thread Ivan Rodriguez
[EMAIL PROTECTED] escribió: Rick, classes seem to work. Thank You. But the requirement is to use ID. May be I can convince my team. I will go try Geeta's idea now to see how fun that is...:=) Keep in mind that ID must be unique in the same HTML page. You can`t write for example, 2 link

Re: Is Struts Dying?

2005-08-26 Thread Craig McClanahan
On 8/25/05, Paul Benedict <[EMAIL PROTECTED]> wrote: > The subject line asks it all. Is it true? > Like a lot of journalism nowdays :-(, the subject line (and the thinking behind it) presumes that the real world is binary in its response to changing conditions. That is decidedly not the case --

(JSF question) Checkbox for Each Record in a List and Scroll Bars

2005-08-26 Thread Caroline Jen
I have a list of records to render to a web page. I provide a checkbox to each record in that list for users to make multiple selections. My list of records can be very long. And each record can contain many columns. Therefore, the list will be displayed in a kind of pane with a vertical scroll ba

File Upload enctype

2005-08-26 Thread Anuradha S.Athreya
Hello, I have 2 different issues, which are listed below (1) To upload a file , is it necessary to specify the enctype="multipart/form-data". Can Struts handle file upload in another way when the enctype has not been specified. (2) function validateDelete() { return confirm("

[FIRDAY] Re : Is Struts Dying?

2005-08-26 Thread Leon Rosenberg
> > The only reason for Struts to improve is keeping Front > controller aka web MVC as a cornerstone pattern. The other reason is, that we all love struts just too much to let it die. Btw, is anyone working on improvements of the struts-taglibs (logic and bean)? Regards Leon -