Strecks 1.0-alpha-1 released

2006-04-13 Thread Phil Zoio
I'm pleased to announce the first public release of Strecks, a set of open source extensions to the Struts framework aimed at Java 5 users. Strecks (which stands for Struts Extensions) is built on the existing Struts 1.2 code base. Strecks contains a range of features aimed to streamline the

Display Struts Configuration

2006-04-13 Thread Matthew J. Vincent
Hello all, Last week I saw a blog which showed how to display information at the beginning of your JSP about Struts such as which action the request was mapped to, the form being used, and associated information like the request headers. I should have bookmarked it, but I didn't. I have

struts and javascript

2006-04-13 Thread fea jabi
In a JS file I created a function as below. function showPopup(htmlRewrite) { var w = 480, h = 340; if (document.all || document.layers) { w = screen.availWidth; h = screen.availHeight; } var popW = 200, popH = 100; var leftPos = (w-popW)/2, topPos = (h-popH)/2; window.open( 'htmlRewrite', ,

html:text tag, EL expressions follow-up

2006-04-13 Thread Jim Reynolds
Hello, Last week I started a thread about issues using EL expressions within html: tags. Anyway Craig posted a follow up thread on 4_07, and I finally had time to enact on it. Here is his thread: Don't forget to use a Servlet 2.4 compatible declaration on your web.xmlfile, if you want EL

RE: struts and javascript

2006-04-13 Thread Frank W. Zammetti
The JS file is retrieved by the browser after the page loads and is not processed on the server, so the html:rewrite tag will not be interpreted. Either leave the script in the JSP as you mentioned, or include it in the JSP via server-side JSP include, or configure you web/app server to run .js

ActionForm and JavaBean Specifications

2006-04-13 Thread Carl Smith
JavaBeans Specification doesn't allow more than one setter method (with different argument signatures) for the same property, in other words, JavaBeans specification doesn't allow the method overloading for property setters, does this also apply for Struts ActionForms? Is so, why I did have

System architechture best practice

2006-04-13 Thread draegoon Z
I want to make several web applications using struts, running on tomcat, mysql database, and torque to generate object model. For example, a shopping cart and an email front-end. I want to build them in such a way that I can reuse them in other webapps. Any suggestions on the best way to go

Re: Display Struts Configuration

2006-04-13 Thread Don Brown
I don't know if this is what you are looking for, but I've found it useful in the past: http://struts.sourceforge.net/strutsdoc/index.html Basically, it is Javadoc for Struts, Tiles, and stxx configuration. Struts Action 2 (and WebWork) has: - SiteGraph

Radio button group

2006-04-13 Thread Vidya \(Suvarna\) Mahavadi
Hi, I have a jsp with a table showing few records of data where each record corresponds to an object of a bean. Beside the bean data I need to have a radio button group with (Approve, Reject and Ignore). Can any one help me to put the bean object and the radio button group together.. in Jsp

Re: Display Struts Configuration

2006-04-13 Thread Matthew J. Vincent
This is helpful, but not *exactly* what I am looking for. What I am looking for is used for debugging purposes during runtime. Anyone? Thanks again Don. Matt Don Brown wrote: I don't know if this is what you are looking for, but I've found it useful in the past:

Re: Display Struts Configuration

2006-04-13 Thread Wendy Smoak
On 4/13/06, Matthew J. Vincent [EMAIL PROTECTED] wrote: This is helpful, but not *exactly* what I am looking for. What I am looking for is used for debugging purposes during runtime. Anyone? I keep 'debug.jsp' around, and include it at the bottom of my main (Tiles) layout during development.

Re: Display Struts Configuration

2006-04-13 Thread Matthew J. Vincent
Wendy - This is excellent and very close to what I am looking for. The only thing missing from this is the *Struts* specific information such as which action the request was mapped to, the form being used, etc. Is there anyone who has this information or an idea of how to retrieve it?

Re: Display Struts Configuration

2006-04-13 Thread DGraham
Maybe this is what you are referring to? http://marc.theaimsgroup.com/?l=struts-userm=114406604109454w=2 http://www.jamesholmes.com/struts/console/ http://exadel.com/web/portal/products/ExadelStudio http://www.m7.com/ -Dennis Matthew J. Vincent [EMAIL PROTECTED] 04/13/2006 10:38 AM Please

Validation Rules and Messages

2006-04-13 Thread Asad Habib
Is there a way to associate multiple messages with a single validation rule? In particular, I would like to associate multiple messages with the required rule so that I can have a different message displayed depending on the field being validated. Thanks. - Asad

Re: Display Struts Configuration

2006-04-13 Thread Matthew J. Vincent
This is nice for config before the application is running, I want to know during runtime. Thanks! Matt [EMAIL PROTECTED] wrote: Maybe this is what you are referring to? http://marc.theaimsgroup.com/?l=struts-userm=114406604109454w=2 http://www.jamesholmes.com/struts/console/

[OT]Re: System architechture best practice

2006-04-13 Thread DGraham
You might like this book, I did: http://www.manning.com/ford/ -Dennis draegoon Z [EMAIL PROTECTED] 04/13/2006 10:13 AM Please respond to Struts Users Mailing List user@struts.apache.org To struts-user@jakarta.apache.org cc Subject System architechture best practice I want to make

Re: Display Struts Configuration

2006-04-13 Thread DGraham
I'm just guessing, but it sounds like you're gonna have to extend RequestProcessor and create a tag that can cooperate with it. And it does sound like it'd be a useful debug extension to any/all releases of struts. -Dennis Matthew J. Vincent [EMAIL PROTECTED] 04/13/2006 11:04 AM Please

Re: Display Struts Configuration

2006-04-13 Thread Frank W. Zammetti
Hi Matthew, I don't know the blog you refer to, but I might be able to help... As far as the request information goes, check out: http://javawebparts.sourceforge.net Specifically, go to the javadocs and look at the RequestHelpers class in the javawebparts.request package. That should give you

Re: [OT]Re: System architechture best practice

2006-04-13 Thread Joseph McGranaghan
Thanks. I haven't read that one yet, but I'll be sure to check it out. [EMAIL PROTECTED] wrote: You might like this book, I did: http://www.manning.com/ford/ -Dennis draegoon Z [EMAIL PROTECTED] 04/13/2006 10:13 AM Please respond to Struts Users Mailing List user@struts.apache.org To

Re: struts and javascript

2006-04-13 Thread Michael Jouravlev
Or generate the target location in JSP like this: script language=javascript var mytarget = html:rewrite action=/PrepareSchedule.do/ /script Then look up for target in your main Javascript function. I guess it would be easier to attach target to some well-know object like window, for example:

Re: struts and javascript

2006-04-13 Thread Frank W. Zammetti
On Thu, April 13, 2006 12:26 pm, Michael Jouravlev said: Or generate the target location in JSP like this: script language=javascript var mytarget = html:rewrite action=/PrepareSchedule.do/ /script That's a good option too. Then look up for target in your main Javascript function. I

[Shale] standalone-tiles with Netbeans 5.0 problem - and a fix

2006-04-13 Thread Dick Starr
Netbeans 5.0 with standalone-tiles, myfaces, and the Bundled Tomcat 5.5.9 doesn't work for me. However, I changed my project to use external Tomcat 5.5.12 (not bundled) and standalone-tiles works fine. Dick P.S. I had a post earlier today about standalone-tiles. That error was caused because my

Re: [shale] Tiles integration with RI

2006-04-13 Thread Hubert Rabago
Dick, Sorry, I didn't see this earlier. For those looking through the archives, the answer is to include 'flush=false' in your tiles:insert tag. Hubert On 4/12/06, Dick Starr [EMAIL PROTECTED] wrote: Hubert, I see you got your answer, but I am curious about your f:verbatim comment. Could

Re: [shale] Tiles integration with RI

2006-04-13 Thread Hubert Rabago
On 4/11/06, Gary VanMatre [EMAIL PROTECTED] wrote: From: Hubert Rabago [EMAIL PROTECTED] I request /myapp/testing.jsf which renders ok. I type in a value in a text field and submit the form. In the RI's ViewHandlerImpl.restoreView(), it's looking for viewid=/testing.jsp, but the viewid

[shale] Anyway to stop auto-load of META-INF/faces-config.xml?

2006-04-13 Thread Hubert Rabago
I'm including shale-tiles.jar in my app, but overriding the TilesViewHandler with my own implementation. However, just including shale-tiles.jar in the app autoloads the META-INF/faces-config.xml, which loads Shale's TilesViewHandler. Is there a way I can include shale-tiles.jar but not autoload

Re: problem in tiles

2006-04-13 Thread Ahmed Hashim
I solved the problem I think you are right, I can not call any tiles definition directly without calling an action I made a generic action definition to view my pages check the solution in my blog http://www.egjug.org/struts_action_foward_to_Tiles Ahmed Hashim On 4/10/06, Dave Newton [EMAIL

Re: [shale] Anyway to stop auto-load of META-INF/faces-config.xml?

2006-04-13 Thread Craig McClanahan
On 4/13/06, Hubert Rabago [EMAIL PROTECTED] wrote: I'm including shale-tiles.jar in my app, but overriding the TilesViewHandler with my own implementation. However, just including shale-tiles.jar in the app autoloads the META-INF/faces-config.xml, which loads Shale's TilesViewHandler. Is

Re: [URGEN] Validation in Action and using redirection to view result page :(

2006-04-13 Thread Pham Anh Tuan
oh, thank you for your help, I will try to use it, again, thank you :) - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, April 12, 2006 7:03 PM Subject: Re: [URGEN] Validation in Action and using redirection to