Re: [SHALE] Simple "getting started"-type question

2005-08-21 Thread Craig McClanahan
On 8/21/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Frank, > > I hate to try to answer a question after Craig, but from my JSF newbie point > of view, I didn't get an answer I'd want from his letter. So, here's my try > to help answer your questions. Just keep in mind I'm re-reading (2nd

Re: Shale/JSF examples?

2005-08-21 Thread Craig McClanahan
On 8/21/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Craig McClanahan wrote the following on 8/19/2005 7:19 PM: > > > Doing complete CRUD examples with Shale are definitely on my list of > > things I'd like to see/get done. > > Sounds good. Maybe I can help and in the process learn along the way

RE: [SHALE] Simple "getting started"-type question

2005-08-21 Thread David G. Friedman
Frank, I hate to try to answer a question after Craig, but from my JSF newbie point of view, I didn't get an answer I'd want from his letter. So, here's my try to help answer your questions. Just keep in mind I'm re-reading (2nd time around) a JSF book so I'm no authority. MyFaces, JSF actually

sort-of off topic: How to do a 3rd party cookie

2005-08-21 Thread David Thielen
Hi; I have 2 domains. I need to get a cookie from domain A to domain B. Is the best way to do this to have a http://www.domainb.com/servlet&cookie=value&cook ie=value - And if so: 1. Anyone have some sample servlet code for this so I don't have to re-invent the wheel? 2. Is ther

sort-of offtopic: gif keeps running when refresh/forward

2005-08-21 Thread David Thielen
Hi; When I go to process a credit card I first forward to a page that has an animated gif on it. The page then does a refresh to the page that processes the card & displays the results. I want the enimated gif to keep running while the request is pending for the new page - but as soon as the ref

RE: Shale/JSF examples?

2005-08-21 Thread David G. Friedman
Rick, I'd like to read your stuff here with subject's prefixed [Shale] or on the MyFaces user discussion list since I'm learning JSF and Shale all by myself and probably have some similar questions. Regards, David -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Mond

Re: Shale/JSF examples?

2005-08-21 Thread Rick Reumann
Craig McClanahan wrote the following on 8/19/2005 7:19 PM: Doing complete CRUD examples with Shale are definitely on my list of things I'd like to see/get done. Sounds good. Maybe I can help and in the process learn along the way:) What's the best list to post to in regard to shale stuff?

Re: [SHALE] Simple "getting started"-type question

2005-08-21 Thread Craig McClanahan
On 8/21/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm finally getting a little bit of time to look at Shale, with the > intent of doing the Mailreader app under it as I offered to do a few > weeks back... although I was thinking of writing a blog app instead > since I wan

[SHALE] Simple "getting started"-type question

2005-08-21 Thread Frank W. Zammetti
Hi everyone, I'm finally getting a little bit of time to look at Shale, with the intent of doing the Mailreader app under it as I offered to do a few weeks back... although I was thinking of writing a blog app instead since I wanted to re-do mine anyway, but that is neither here nor there :)

Re: Re: Login Problem

2005-08-21 Thread d d
First of all thanks for replying... Actually i am authenticating user based on session attribute. i.e if user name is present in session. As u said told abt 'sessions being serialized' can i know more about this..or how can i avoid it?? Regards. dd On Fri, 19 Aug 2005 Laurie Harper wrote : >

Re: [OT] CVS help needed

2005-08-21 Thread erikweber
Thanks Craig and Frank! Merging is *scary* business, especially at 1 AM when they're doing a new build for QA in a few hours, and, I'm the only one here . . . . :-) Erik -Original Message- From: Craig McClanahan <[EMAIL PROTECTED]> Sent: Aug 22, 2005 12:42 AM To: Struts Users Maili

Re: [OT] CVS help needed

2005-08-21 Thread Craig McClanahan
On 8/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I hope one of you fellow night owls can help me. > > I have a CVS problem that doesn't come up much I guess. I need to merge files > from the trunk to a branch. Note that this is the *opposite* of a common > situation -- where the need i

Re: [OT] CVS help needed

2005-08-21 Thread Frank W. Zammetti
Cool! Disregard my reply :) Frank [EMAIL PROTECTED] wrote: Well the next article I looked at showed me how to accomplish this. Sorry for the OT. I didn't realize you could pass "HEAD" to the -j option. But, here's the solution: switch to the branch and then: cvs update -j MY_BRANCH -jHEAD

Re: [OT] CVS help needed

2005-08-21 Thread Frank W. Zammetti
Eric, when you say trunk, do you mean head? If so, would it be feasible to just delete the tag for your branch and re-tag head with that tag? Assuming that ALL the changes in head are changes you want to add to the branch, I *think* this will have the desired effect. Not sure if it has an und

Re: [OT] CVS help needed

2005-08-21 Thread erikweber
Well the next article I looked at showed me how to accomplish this. Sorry for the OT. I didn't realize you could pass "HEAD" to the -j option. But, here's the solution: switch to the branch and then: cvs update -j MY_BRANCH -jHEAD myFile This merges all changes in the trunk since the branch wa

[OT] CVS help needed

2005-08-21 Thread erikweber
I hope one of you fellow night owls can help me. I have a CVS problem that doesn't come up much I guess. I need to merge files from the trunk to a branch. Note that this is the *opposite* of a common situation -- where the need is to merge files from a branch to the trunk. A branch was created

Re: Struts Download Action

2005-08-21 Thread Frank W. Zammetti
It actually does say right at the top that it was added in 1.2.6. If you think that should be expanded upon, feel perfectly free to add to the page... that's the beauty of a Wiki after all :) Frank Anuradha S.Athreya wrote: Thanks , I got it working with Download Action. But one thing missin

RE: Struts Download Action

2005-08-21 Thread Anuradha S.Athreya
Thanks , I got it working with Download Action. But one thing missing in the tutorial was that there was no mention that this Download Action was available post struts 1.2.6. Would be great if this is included. Thanks all. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTE

Re: How to Debug easier

2005-08-21 Thread Martin Gainty
C.F. You can log to any of the available logs or write your own Custom LogHandler Take a look at how to configure logging at http://docs.sun.com/source/819-0076/logging.html HTH, Martin-- - Original Message - From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> To: "Struts Users Mailing

Re:How to Debug easier

2005-08-21 Thread netsql
I use https://simple-log.dev.java.net .V People are conversing... without posting their email or filling up their mail box. ~~1124674147263~~ roomity.com http://roomity.com/launch.jsp No sign up

Re: Struts Download Action

2005-08-21 Thread Frank W. Zammetti
That's good info... might be worth adding to the Wiki (hint-hint :) ) Also, I don't think there is anything to stop you from using the DownloadAction in Struts prior to 1.2.6 when, IIRC, it was added. I could be wrong, but I don't remember anything that would make that not work. Frank Sudha

Re: How to Debug easier

2005-08-21 Thread Laurie Harper
C.F. Scheidecker Antunes wrote: Hello all, If I have a System.out.Println() statement on my Struts code where would that be written to? I would like to write stuff to either the console or the Tomcat log text file. How can I achieve that? System.out.println() does not seem to be doing anyt

How to Debug easier

2005-08-21 Thread C.F. Scheidecker Antunes
Hello all, If I have a System.out.Println() statement on my Struts code where would that be written to? I would like to write stuff to either the console or the Tomcat log text file. How can I achieve that? System.out.println() does not seem to be doing anything. I want to know what it is

Re: List selection manager 'widget'

2005-08-21 Thread C.F. Scheidecker Antunes
Hi Laurie, I am trying to do the same and I've done some research. One of the things I've found is the one bellow. I would appreciate, if you find something diferent, to email it back to the list as well so that it would same time for me and other developers as well. Thanks, C.F. Maybe so

Re: Struts Download Action

2005-08-21 Thread Sudhaker Raj
http://wiki.apache.org/struts/StrutsFileDownload is great, but in case you are using struts older than 1.2.6... You just return null from execute method, framework will not do any thing further. Now it is your responsibility to read the target file, set correct content-type and then write the cont

Re: bread crumb

2005-08-21 Thread Wendy Smoak
From: "Miloslav Vlach" <[EMAIL PROTECTED]> Can somebody help me with implementing $SUBJ ? I couldn't find somethings useful. Have you looked at struts-layout? It lists breadcrumbs among its features: http://struts.application-servers.com/features/index.html -- Wendy Smoak -

Re: bread crumb

2005-08-21 Thread Martin Gainty
Mila- Could you be more specific? What are you trying to do? What are contents of web.xml, JSP/Servlet, struts-config.xml? Martin - Original Message - From: "Miloslav Vlach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 21, 2005 3:46 PM Subject: bread crumb Can s

bread crumb

2005-08-21 Thread Miloslav Vlach
Can somebody help me with implementing $SUBJ ? I couldn't find somethings useful. Thanks. Mila - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Exception with Download Action

2005-08-21 Thread Frank W. Zammetti
Can you please post your extended DownloadAction? That's what we'll need to help. The stack trace below would seem to imply you haven't done that, but I don't see how that's possible since DownloadAction is abstract. It's Sunday and my brain is more or less shut off for the weekend, but this

Exception with Download Action

2005-08-21 Thread anuradhasa
When trying to implement Download Action, I got this exception. Can some one help please ? 2005-08-21 20:14:15 StandardWrapperValve[docAction]: Servlet.service() for servlet docAction threw exception java.lang.NullPointerException at org.apache.struts.actions.DownloadAction.copy (DownloadA

Re: Struts Download Action

2005-08-21 Thread Frank W. Zammetti
Thanks Martin, that's precisely the page I was referring to. I couldn't get out to it a few minutes ago... looks like my network hiccuped momentarily. Frank Martin Gainty wrote: Frank et al This may be useful for your development effort http://wiki.apache.org/struts/StrutsFileDownload Mar

Re: Struts in Desktop Application

2005-08-21 Thread Martin Gainty
Gregoire- Personally I prefer developing Internet applications so you can store the main body logic or processing residing on a secure server Every binary download to a desktop means you have to test/configure your download for every desktop configuration permutation on the planet I think I wo

Re: Struts Download Action

2005-08-21 Thread Frank W. Zammetti
I can't seem to access the Wiki right now to give you an exact link, but if you search for DownloadAction there, you will find a page that includes a sample app I wrote to demonstrate using the action. It shows downloading a file on the file system and also from a database, if that is relevant

Re: Struts in Desktop Application

2005-08-21 Thread Gregoire Diboula
Larry Meadors wrote: I agree, desktop applications are sometimes a requirement or just an improvement over a browser based application. For example: compare maps.google.com to google earth. :-) What I still don't understand is why you would include any part of struts with a desktop application.

Re: Struts in Desktop Application

2005-08-21 Thread Larry Meadors
I agree, desktop applications are sometimes a requirement or just an improvement over a browser based application. For example: compare maps.google.com to google earth. :-) What I still don't understand is why you would include any part of struts with a desktop application. :-) Larry On 8/21/0

Re: Struts in Desktop Application

2005-08-21 Thread Gregoire Diboula
Martin Gainty wrote: As a followup Why limit users to downloading a clumsy desktop app when a browser based solution would run leaner and capture a much wider audience? A desktop application can also be browser based. A typical example is Google Desktop search. So, I guess you meant a centra

Re: Struts in Desktop Application

2005-08-21 Thread Martin Gainty
As a followup Why limit users to downloading a clumsy desktop app when a browser based solution would run leaner and capture a much wider audience? Martin- - Original Message - From: "Larry Meadors" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday,

Re: Struts in Desktop Application

2005-08-21 Thread Larry Meadors
For a desktop app? Struts makes very little sense in that environment. If you layer your application well (Data Access -> Business Logic -> View), struts would just get in the way of a desktop application. Larry On 8/21/05, Gregoire Diboula <[EMAIL PROTECTED]> wrote: > Hi *, > > Please help me

Struts in Desktop Application

2005-08-21 Thread Gregoire Diboula
Hi *, Please help me in taking this decision. I am leading the development team of a desktop application. We are considering the eventuality of having our application running in Jetty and based on Struts. We are, however afraid of the size that the final application will get. My question is

Re: Struts Download Action

2005-08-21 Thread Larry Meadors
I have used a straight servlet to download a blob from a database using a URL like this: http://someserver/documents/123/file.pdf I did it this way instead of using struts because IE is a pile of crap. :-) In this URL, the /123/ is the record's id, and file.pdf is the suggested extension for the

Struts Download Action

2005-08-21 Thread anuradhasa
Hi All, I'm developing a web application based on Struts. In this, one of the features to be included is , to download a file, when the user clicks on the link in the JSP page. Also, when the user clicks on the link, the Save/Open dialog box should appear. If nyone has used the DownloadAction pr