Struts JSF.

2005-02-22 Thread Sandip
Hi , Does JSF support the entire struts libraries.I mean to say all the taglibs? Regards, Sandip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts JSF.

2005-02-22 Thread Matthias Wessendorf
Sandip, there is a struts-faces-lib that allows you to use JSF UIComponents (Tags) and Action/ActionForm clazzes There is an example in subversion. http://svn.apache.org/viewcvs.cgi/struts/faces/ Also some JSTL Tags are supported. c:forEach/ not. But JSF comes up with a h:dataTable that allows you

Re: Add action mappings on the fly

2005-02-22 Thread Diego Manilla Suárez
Thanks everyone for your replies. I didn't know the wildcard matching feature in action mappings. With this feature and map-backed ActionForms now I can do more or less what I wanted to do. Regards, Diego. Joe Germuska wrote: At 12:39 PM +0100 2/21/05, Diego Manilla Suárez wrote: Hi! I'm trying

Help with Struts-Logic Tag

2005-02-22 Thread Richard Reyes
Hello Guys, I have this tag ... logic:notPresent name=hello.world logic:redirect href=routes-login.rr //logic:notPresent And I need to change hello.world to Konstants.HELLO_WORLD. Now this... logic:notPresent name=Konstants.SESSION_USER_KEY logic:redirect href=routes-login.rr

Form bean and variable number of fields

2005-02-22 Thread Muhammad Asif
Hi, I have a form that contains variable number of fields. User can add/remove fields on this form dynamically (using some separate gui). For using a form-bean we need to know number of fields before hand if new fields are added we need to change form-bean definition each time. Is there way

Re: Help with Struts-Logic Tag

2005-02-22 Thread Tim Christopher
Try using: logic:notPresent name=user logic:redirect href=routes-login.rr / /logic:notPresent Where user = Konstants.SESSION_USER_KEY, or maybe even: logic:notPresent name=% Konstants.SESSION_USER_KEY % logic:redirect href=routes-login.rr / /logic:notPresent Tim Christopher On Tue,

Re: Form bean and variable number of fields

2005-02-22 Thread Jeff Beal
Have you looked at indexed and/or mapped form bean properties? Muhammad Asif wrote: Hi, I have a form that contains variable number of fields. User can add/remove fields on this form dynamically (using some separate gui). For using a form-bean we need to know number of fields before hand if new

Re: html:reset not working after Validation errors?

2005-02-22 Thread Joe Germuska
At 4:48 PM + 2/21/05, David Kennedy wrote: Hi folks, Three days until iteration deadline, and I have a frustrating bug! It's almost textbook - I have a simple logon page (username/password) which includes a html:reset button which works nicely ... unless I press 'submit' with known bad

Re: Struts validator woes : maxLength minLength

2005-02-22 Thread Erik Weber
I don't have the commons validator source, but an implementation of a validation rule has a method with a signature similar to this: public static boolean validateXX(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request); A var-value specified in

Hibernate: when 2 users simultaneous edite

2005-02-22 Thread Lee Harrington
Perhaps this is a bit off topic, but I know there are struts users like me that use Hibernate: What happens when two people edit a record at the same time? Unless something is done, the last person to save winsthe first edits are lost. I'm seeking input on the following code I wrote to have

RE: Hibernate: when 2 users simultaneous edite

2005-02-22 Thread Paul McCulloch
This is well of topic - please use [OT]in your subject in the future. This is a classic multi user application problem. The problem is commonly known as 'lost update' an often used solution is optimistic locking. In my experience using a 'version' column on each table is easier to manage than

let it flow? struts-flow vs. struts-workflow vs. other

2005-02-22 Thread Bill Milbratz
Hi, I need to implement wizard-ish UI in our application. I looked briefly at struts-workflow and struts-flow. I wanted to pick the hive-mind to see for opinions on these tools/extensions. Here's some discussion fodder from my brief look at the two tools. Anyone care to comment or point me

[shale] Ready for use date?

2005-02-22 Thread dhay
Hi, Just wondering if there is an expected time when Shale would be ready to use to build live apps - or at least a very rough estimation? cheers, David |-+ | | Craig McClanahan | | | [EMAIL PROTECTED]| | |

[OT] Re: Displaying mulitpage results

2005-02-22 Thread Bill Schneider
By using good frameworks like iBATIS (which has great support for pagination and dynamic queries) and design patterns pertinent to the requirement, the code in the layers you can be kept to a minimum. The web application at workeffort.dev.java.net does all kinds of pagination, ordering sorting

html:base configuration question

2005-02-22 Thread Scott Purcell
Hello, I ran into an issue that I am having trouble getting my hands around. I am building a Struts Framework app on Tomcat. I have set my welcome-file-list to welcome-file-list welcome-filewelcome.jsp/welcome-file /welcome-file-list then I have a welcome.jsp file that does a global

struts validation javascript code

2005-02-22 Thread jonathan zhang
Hi folks it seems like struts prints all the javascript validation code from validation-rule.xml regardless wheather they are used or not, for example, i only use the basic validation-required. but the javasript functions such as validateCreditCard and validateEmail still gets printed regardless.

[IGNORE] Testing

2005-02-22 Thread N G
Please ignore this. Sorry. Just testing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Ignore] Testing

2005-02-22 Thread N G
Ignore. testing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Test] Why am I not seeing this message? It doesn't bounce...

2005-02-22 Thread N G
Any ideas why I can see this message in the archives, but it doesn't come back to me in my mail box? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts presentation tags

2005-02-22 Thread jonathan zhang
does Struts presentation jsp tags present a overhead on top on regular imbedded javacode? eg. use of iterate vs for loop thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[testing] I hope I'll be able to see this one

2005-02-22 Thread N G
I am so sorry for all this mail! I am sending these emails and see them in the archives, but NONE of the email from this list (including the ones I send) come back to me! I already unsubscribed and resubscribed! If this doesn't work, I am not sure what else to do.

challenging JK connector problem: java.net.SocketException

2005-02-22 Thread Woodchuck
hihi all, i have installed the JK connector (setupJK204.exe) with my IIS 5.1 and Tomcat 4.1.24. everything is working fine, except that i'm noticing in the Tomcat console display i see the following exceptions at run-time: java.net.SocketException: Software caused connection abort: recv failed

nested iterate

2005-02-22 Thread jonathan zhang
Suppose I have a Vector v i wish to iterate over and each element of v is another Vector that I wish to iterate over again, how can this be accomplished using iterate? logic:iterate collection =v Next element is bean:write name=element property=value/ /logic:iterate thanks!!

java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
How can I have struts put a java.util.Date object into a Bean? I have found that I can set a Timestamp object into a bean. THIS DOES WORK (below). However, if I change the type on the bean to java.util.Date then I get a stack trace (also below). I've also tried different formatting like:

Re: [Test] Why am I not seeing this message? It doesn't bounce...

2005-02-22 Thread Tim Christopher
Don't quote me on this, but I don't think Gmail will display your post to the newsgroup until someone replies. I've got a filter setup so that all mail with a 'to' address of user@struts.apache.org skips the inbox and is placed in under the label 'Struts Mailing List'. This filter includes files

gzip compression on HTML

2005-02-22 Thread Mark
Hi there, I am fairly new to Struts and was wondering how to configure a struts application to use gzip compression on the HTML which is served back to the browser? This is fairly simple to do with regular servlets, but I haven't been able to find any information on how to do this with a struts

JAVASCRIPT: Object expected

2005-02-22 Thread Eric Lemle
I have an error on this line and it use to work... input name=Ireport1 value=Itinerary Report type=button onClick='javascript:showIReport(81);' the method is in the view source file function showIReport( id ) { childWindow=window.open(

[IGNORE] testing again. Sorry

2005-02-22 Thread N G
Testing. Please ignore this. I apologize for this. We'll see if Gmail ignores this email and only sticks it in the sent folder. -- Take care, NG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Frank W. Zammetti
Those types of errors are always a pain to debug (although I hear tell Firefox is rather good for such things... I wouldn't know, I'm a Maxthon user myself). If you are like me though and tend towards the manual debugging approach... I'd start by throwing an alert(1); at the start of your

Re: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Ashish Kulkarni
Hi I would read the property as a String and then use SimpleDateFormat to convert it to time stamp, i am not sure if this conversion is done automatically in bean public setMyDate(String myDateString) { //i dont remmember the date format try { SimpleDateFormat format = new SimpleDateFormat();

Request objects

2005-02-22 Thread Lee Harrington
Which is the way to forward that preserves the request object? Is it redirect=true or redirect=false. I'm having trouble setting a request variable on display of an edit screenthat is available for the process form action when I hit the form submit. I'm trying to use the hibernate

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Eric Lemle
Yes, already did that, and it does not even get to the function. It seems to think the function is not there but it actually is. ??? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA)

Re: Request objects

2005-02-22 Thread Jeff Beal
false Lee Harrington wrote: Which is the way to forward that preserves the request object? Is it redirect=true or redirect=false. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JAVASCRIPT: Object expected

2005-02-22 Thread N G
Eric, No javascript guru here, but... 1) Are you sure that this function is there? (check page source) 2) Is this function declared at the very bottom and it's a huge and slow loading page and you are clicking that button *before* the page is completely loaded? 3) Is the word javascript really

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Jeff Beal
There's usually a syntax error upstream somewhere that's causing the JavaScript parser to just quit. Eric Lemle wrote: Yes, already did that, and it does not even get to the function. It seems to think the function is not there but it actually is. ???

Re: let it flow? struts-flow vs. struts-workflow vs. other

2005-02-22 Thread Don Brown
I'm biased, but I would be interested to hear your experience using Struts Flow. I've used it for several applications for almost a year now and am quite happy. The documentation, of course, needs work, but I'm hoping to address that with the next release which adds all sorts of things. That

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
Thanks for the reply, but unless I can get it to work with java.util.Date I will stick with the java.util.Timestamp because THIS DOES WORK implicitly without having to use SimpleDateFormat or any try/catch blocks. html:hidden name=myBean property=myRecord.myDate/ !-- modify with date picker

Re: Request objects

2005-02-22 Thread Hubert Rabago
If your goal is to retain a value from the time you prepare it in an action, through to the JSP that's displayed, and all the way through till the user submits the form on the JSP, simply using redirect=false wouldn't be enough. You'd want to either place the value in a hidden field to be

Re: Request objects

2005-02-22 Thread Andre Van Klaveren
To answer your first question, redirect=false will forward your request to a servlet/jsp/Action while preserving the request object. Setting redirect=true tells Struts to send an HTTP redirect to the client which of course would terminate the current request therefore destroying any objects in

out of memory FormFile problems after migrating to Struts 1.2.4

2005-02-22 Thread Paulo Alvim
Hi, Is there anybody with out of memory problems using FormFile in Struts 1.2.4? I've just migrated from 1.1 and I didn't change anything related to file attachment logic. But the actions that use html:form tag-lib with enctype=multipart/... and file attachment logic are now taking about 40MB of

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Eric Lemle
Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] 2/22/2005 1:23:46 PM Eric, No javascript guru here, but... 1) Are

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
Why do you care about how it comes into the form bean? Usually the big deal is how it winds up in the business object and there are tools for that. FormDef does a really nice job, especially if you have to deal with international date formats. -Original Message- From: Mark Bennett

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
Why do you care about how it comes into the form bean? Usually the big deal is how it winds up in the business object and there are tools for that. FormDef does a really nice job, especially if you have to deal with international date formats. -Original Message- From: Mark Bennett

Re: Request objects

2005-02-22 Thread Lee Harrington
Thanks for the help. I'm still stumped. When I call my display form action it has the following: request.setAttribute(test,test value); it forwards to a jspthe jsp correctly displays the value with this code: h3Test: bean:write name=test//h3 All is good.

DynaActionForms Question

2005-02-22 Thread Scott Purcell
Hello, I have a question about using DynaActionForm objects. I would like to use DynaActionForm class to keep maintenance simpler. But I do not know how to get the form values out in the action class? I have the following bean set up. form-beans form-bean name=loginbean

Re: Request objects

2005-02-22 Thread Hubert Rabago
See my response for the reason. :) - Hubert On Tue, 22 Feb 2005 14:37:21 -0600, Lee Harrington [EMAIL PROTECTED] wrote: Thanks for the help. I'm still stumped. snip/ Why is the request variables I displayed in my jsp...not being sent to my process form method? Lee

Re: Request objects

2005-02-22 Thread Hubert Rabago
For the most part you can only store string values. As far as your Action objects are concerned, they behave the way other form fields do. Hubert On Tue, 22 Feb 2005 14:39:56 -0600, Lee Harrington [EMAIL PROTECTED] wrote: When you hit submit, that generates a *new* request, and therefore

STRUTS PROJECT

2005-02-22 Thread Eric Lemle
When downloading a file how do you get the users (client) computer to use the print command/option instead of the open command/option. (Maybe the the same way you get a desktop shortcut to print instead of open when its double clicked on.) relevant code... private void downloadFile(String

RE: DynaActionForms Question

2005-02-22 Thread Joe Hertz
DynaActionForm df = (DynaActionForm) form; System.out.println(df.get(name)); -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:38 PM To: user@struts.apache.org Subject: DynaActionForms Question Hello, I have a question about using

RE: DynaActionForms Question

2005-02-22 Thread Joe Hertz
DynaActionForm df = (DynaActionForm) form; System.out.println(df.get(name)); -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:38 PM To: user@struts.apache.org Subject: DynaActionForms Question Hello, I have a question about using

RE: DynaActionForms Question

2005-02-22 Thread Benedict, Paul C
DynaValidatorForm dynaForm = (DynaValidatorForm)form; String name = (String)dynaForm.get(name); -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:38 PM To: user@struts.apache.org Subject: DynaActionForms Question Hello, I have a

Re: DynaActionForms Question

2005-02-22 Thread Eric Lemle
It's a map, you have to call get(name); Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] 2/22/2005 1:38:02 PM Hello,

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
1) save typing: casting, try/catch blocks, library calls 2) using iBatis and following the adivice of Clinton Begin in the manual: * The use of java.sql.Timestamp is discouraged. It is best practice to use java.util.Date instead. 3) want to know if it can be done Mark -Original

Re: Request objects

2005-02-22 Thread Andre Van Klaveren
Yes, I believe Hubert has the answer. If you don't store the value of the bean (test value) in at least a hidden field on your form, it won't be sent back to your metricCRUD.do Action. You effectively lose it when the user clicks the submit button. Try putting a hidden field in your form, name

Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread David Johnson
Hi all I'm slowly figuring out the basics of Tiles, and I feel like its a good solution for my application. I want to make sure before I get to far that I'm thinking about things the right way. I have 1. a login page with a header, body and footer 2. Application itself which will contain a

Re: out of memory FormFile problems after migrating to Struts 1.2.4

2005-02-22 Thread Eric Lemle
I gave you a snippet below that works for me, might help ya. Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED]

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
Well for starters: Unless your persisting form objects, it really doesn't matter what type they are declared as. Typically you want this to be something the JSP/HTML can handle. I'd be curious to know what happens if you try to pass a value back for a Timestamp OR a Date object in an html:hidden

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
Well for starters: Unless your persisting form objects, it really doesn't matter what type they are declared as. Typically you want this to be something the JSP/HTML can handle. I'd be curious to know what happens if you try to pass a value back for a Timestamp OR a Date object in an html:hidden

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Eric Lemle
Did you create a template.jsp that inserts the header, footer, nav, and main tile? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED]

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread David Johnson
Hi again - a follow up question. When using tiles this way, does this mean that any forward I define in my struts-config.xml should be a valid Tiles Definition? Would that then imply that every page in my application is specified by a tiles Definition, and that's how I GET to any given page?

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread David Johnson
Yes. my template is : \WebRoot\jsp\layouts\siteLayout.jsp which contains a vanilla HTML table with tiles:insert in the proper places for nav, footer, header , and body. On Tue, 22 Feb 2005 13:57:56 -0700, Eric Lemle [EMAIL PROTECTED] wrote: Did you create a template.jsp that inserts the

Where is page (now) to subscribe/unsubscribe to this list?

2005-02-22 Thread john . chesher
I have looked everywhere, at at least it seems like it, on the apache site, but cannot find where I can subscribe to this list from another email address. Struts has been removed from the list of lists at http://jakarta.apache.org/site/mail2.html, but if I go to the Struts home page, as it

Re: Where is page (now) to subscribe/unsubscribe to this list?

2005-02-22 Thread David Johnson
send an email to [EMAIL PROTECTED] that should do it. On Tue, 22 Feb 2005 16:02:39 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have looked everywhere, at at least it seems like it, on the apache site, but cannot find where I can subscribe to this list from another email address.

Re: Request objects

2005-02-22 Thread Lee Harrington
Thanks to all who helped. I resorted to using a session variable as I wanted to save an object. Lee - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Where is page (now) to subscribe/unsubscribe to this list?

2005-02-22 Thread Benedict, Paul C
http://struts.apache.org/mail.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 4:03 PM To: Struts Users Mailing List Subject: Where is page (now) to subscribe/unsubscribe to this list? I have looked everywhere, at at least it

Re: Where is page (now) to subscribe/unsubscribe to this list?

2005-02-22 Thread Hubert Rabago
Btw, the page is on http://struts.apache.org/mail.html Yes, it doesn't seem to be linked to on the main page. You have to click on the using link, then search for the link to it. On Tue, 22 Feb 2005 16:04:58 -0500, David Johnson [EMAIL PROTECTED] wrote: send an email to [EMAIL PROTECTED] that

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Mark Bennett
First of all, I'll take a look at FormDef. Thanks for the tip. I'd be curious to know what happens if you try to pass a value back for a Timestamp OR a Date object in an html:hidden tag. Bet it won't work... The whole point of this thread is that it DOES work with Timestamp. It works just as

Tiles Tabs Example - Has anyone used this?

2005-02-22 Thread David Johnson
Hi again Yes, I'm obsessed with Tiles. I admit it. Has anyone used the (really slick!) Tabs example you can see if you install the tiles exasmples locally by going to http://localhost:8080/tiles-documentation/examples/tabs.jsp By used I mean successfully extacted the associated code to run in

RE: Tiles Tabs Example - Has anyone used this?

2005-02-22 Thread Mark Bennett
Hmmm. It doesn't seem to be on my machine :) 'localhost' -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 4:15 PM To: Struts Users Mailing List Subject: Tiles Tabs Example - Has anyone used this? Hi again Yes, I'm obsessed with Tiles.

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Frank W. Zammetti
Hmm... usually, in my experience, this type of error results when some other object has the name of the function you are trying to call by mistake. This especially can happen when you are naming objects dynamically in a JSP. Any chance of that? You may want to use any of the tools available

Re: STRUTS PROJECT

2005-02-22 Thread Frank W. Zammetti
Do you mean you want the file to automatically print, or display the print dialog? If so, I don't believe that's possible. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Eric Lemle wrote: When downloading a file how do you get the users

RE: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Scott Piker
When using tiles this way, does this mean that any forward I define in my struts-config.xml should be a valid Tiles Definition? Would that then imply that every page in my application is specified by a tiles Definition, and that's how I GET to any given page? Yes, that's typically the way

Re: JAVASCRIPT: Object expected

2005-02-22 Thread N G
I ran your javascript code in a page and it works 100%. Hence, I am thinking that Frank's comment's are right on target. NG. On Tue, 22 Feb 2005 16:32:18 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: Hmm... usually, in my experience, this type of error results when some other object has

Re: STRUTS PROJECT

2005-02-22 Thread Eric Lemle
Automatically print via windows using the print command that gets sent to the opening program. So, hence I want to open it but the send print to the program that opened it. I know there is a way to do this with a shortcut, but I was back in win 95 and I can't seem to get it to do it again. Eric

[OT] HELP! -- bad links on commons site

2005-02-22 Thread Erik Weber
This is the only Apache list to which I subscribe, so sorry for the OT. I am trying to download HttpClient 3. http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi All the links on this page appear to be dead! I tried switching to a couple of different mirrors, and I get a 404

Date fields and form processing

2005-02-22 Thread Lee Harrington
I have a date field: lastModDate I am using dynaForms and have the following form: form-bean name=metricForm type=org.apache.struts.validator.DynaValidatorForm form-property name=lastModDate type=java.util.Date / /form-bean My display of the form works

Re: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Germuska
At 2:25 PM -0500 2/22/05, Mark Bennett wrote: How can I have struts put a java.util.Date object into a Bean? I have found that I can set a Timestamp object into a bean. THIS DOES WORK (below). However, if I change the type on the bean to java.util.Date then I get a stack trace (also below).

Re: STRUTS PROJECT

2005-02-22 Thread Frank W. Zammetti
I don't think it's possible, assuming I'm not wrong :) The only possibility I can think of is if the file you are returing is something that can be displayed embeded in the page, you might be able to surround it with Javascript to automatically open the print dialog. Even just talking about a

JSP only page flow

2005-02-22 Thread Nic Werner
Hi, I want to follow the Struts model and have all my page flow be in struts-config. However, I have a couple of JSP-only pages that forward to each other. Is there a way to set this flow up? A - B-C. An example I have is of a search page - results - edit individual result. I thought of

Re: JSP only page flow

2005-02-22 Thread Eric Lemle
sure you just forward to a .jsp or an Action. Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] 2/22/2005 4:15:43 PM

Re: JSP only page flow

2005-02-22 Thread Nic Werner
Which part are you agreeing with? Setting the hidden field to be 'pageB.jsp' and having the Action return (mapping.findForward(request.getParameter(page))? - This wouldn' put all the page flow in one file though. Eric Lemle wrote: sure you just forward to a .jsp or an Action. Eric D. Lemle

Re: JSP only page flow

2005-02-22 Thread Eric Lemle
return mapping.findForward(myPage); //from struts-config.xml aka global forwards. or if you are doing dynamic forwards then... return new ActionForward(request.getParameter(forwardPage)); return new ActionForward(request.getParameter(forwardAction)); or in the session return new

Re: [shale] Ready for use date?

2005-02-22 Thread Craig McClanahan
On Tue, 22 Feb 2005 12:55:25 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Just wondering if there is an expected time when Shale would be ready to use to build live apps - or at least a very rough estimation? The basic filter architecture, and ViewController, are reasonably cooked

bean:include of a header gives an SSL exception?

2005-02-22 Thread David Kennedy
I have a jsp which is trying to include a simple nav bar across the top of the screen: body bean:include id=header forward=header/ %=header% !-- other stuff here -- where 'header' is defined in struts-config.xml like this: global-forwards forward name=header

Re: JSP only page flow

2005-02-22 Thread Tim Christopher
If you want people to be stuck into going though: link1 link2 link3, etc... Then check out http://www.livinglogic.de/Struts/demoApp.html . I've not used it before as I've never had the need but it made it's way into my bookmarks by sounding interesting :o) On Tue, 22 Feb 2005 16:42:09

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Tim Christopher
definition name=page.login extends=base.definition put name=title value=Login Page / put name=body value=/jsp/loginBody.jsp / /definition I believe it is convention to place a leading . at the start of the definition's name. This signifies where the leading / would be if you used

Re: bean:include of a header gives an SSL exception?

2005-02-22 Thread Curtis Taylor
What's the %=header% expression do? You've already closed the bean:include tag. Have you looked at the SSLExt library (http://sslext.sourceforge.net/)? Enquiring minds need to know ;-) David Kennedy wrote: I have a jsp which is trying to include a simple nav bar across the top of the screen:

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Curtis Taylor
Hi Tim, Scott's response pretty much covers the meat potatoes. The leading dot naming convention is optional; some folks use it to clarify path confusion among Struts webapp files. I personally don't; the dot delimiter within the name does the job well enough for my usage. HTH, Curtis Tim

RE: Tiles - a reality check (contains many details) - Am Iusing this thing right?

2005-02-22 Thread David G. Friedman
Dave, You can have one template contain the header, footer, title, body, etc. components and simply set them to in templates that extend that definition and which don't need to display various components. Regards, David -Original Message- From: Eric Lemle [mailto:[EMAIL PROTECTED]

Re: [OT] HELP! -- bad links on commons site

2005-02-22 Thread Andrew Hill
Works for me. Probably just a temporary glitch? Erik Weber wrote: This is the only Apache list to which I subscribe, so sorry for the OT. I am trying to download HttpClient 3. http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi All the links on this page appear to be dead! I