Re: Implementation of new row functionality of HTML table in Struts

2005-12-16 Thread atta-ur rehman
Irfan, How are you storing data required for initial rows? As a collection of objects in some scope that uses to paint them on the page? When user submits the page how are you getting the updated values? Populating the objects in the same collection or constructing a new collection and adding a

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-16 Thread Paul Benedict
Rick, > It sounds like to me you are suggesting that we'd create a "brand new" Player > object that had some String properties in it. I am not suggestign you create a new business object. I am suggesting you create a new object for input purposes. You need a transport layer between your model

Re: Back Button Problem..

2005-12-16 Thread Michael Jouravlev
His browser message means that browser was not redirected at all. On 12/16/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > just as a quick sanity check > > HTTPSession strSession = request.getSession(false); > strSession.removeAttribute("sessionState"); > > strSession = session.getId(); > while(str

Re: Upload all files of a dir at one go

2005-12-16 Thread Martin Gainty
George- Lots of ideas on handling FileUpload via Servlet here http://java.sun.com/developer/onlineTraining/Programming/JDCBook/aucserv.html Anyone else? Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, December 16, 2005 2:42 PM Subject: RE: Upload all files of a

RE: Specify a file name when using DownloadAction

2005-12-16 Thread George.Dinwiddie
Vu, Thai asked > I looked at these examples > (http://wiki.apache.org/struts/StrutsFileDownload) on using > DownloadAction and saw nothing like your code :( So I wonder > if you could post your whole Action file here. Did you look at http://wiki.apache.org/struts/StrutsFileDownload#head-188719b6

RE: Upload all files of a dir at one go

2005-12-16 Thread George.Dinwiddie
Dave Newton responded > Shivani Sawhney wrote: > > >And tell me something, probably I am just thinking aloud and am even > >wrong, but if I can do it through code then can't we just > have a custom > >tag that zips the chosen directory at client side, uploads > the zipped > >file on to the se

Re: Back Button Problem..

2005-12-16 Thread Martin Gainty
just as a quick sanity check HTTPSession strSession = request.getSession(false); strSession.removeAttribute("sessionState"); strSession = session.getId(); while(strSession != null) { //session information is still there session.invalidate(); strSession = session.getId(); } response.sendRedirect(

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Preston Crawford
> I have never had a concern about the "umbrella" idea, which is the latest > description of what is happening. I would in fact encourage that and > cannot > see any problem with it. However, I pay more attention to people's feet > than their lips. "Is Shale the Next Struts?" is the feet. The c

Re: Back Button Problem..

2005-12-16 Thread Michael Jouravlev
For some reason your redirect does not work. Maybe session is not invalidated as well? Is this piece of code ever evaluated? Michael. On 12/16/05, Priya Saloni <[EMAIL PROTECTED]> wrote: > Hi there, > > I facing a BIG problem in my struts based application.When i logout my > website and hit back

RE: ServletException: duplicate class definition ?!

2005-12-16 Thread Garner, Shawn
Your web server has jar files already, check those. For me on JRun it is JRUN\servers\lib. For apache tomcat it is a commons\lib or something like that. It might be two different JAR files with the same class in it. You'll have to look inside the jar files to see if there is more than one instance

Re: Back Button Problem..

2005-12-16 Thread Priya Saloni
Thanks for your time.But i can't use Appuse at this time because my project ready for production(Except this problem). Priya On 12/16/05, Garner, Nigel M <[EMAIL PROTECTED]> wrote: > > You could always use a ServletFilter to make sure that users never have > access to pages that you don't want t

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Wendy Smoak
On 12/16/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > Based on your comments at the BOF ... Was anyone taking notes? (Or did you save the envelopes and napkins you were scribbling on? ;) ) I'd love to hear how the presentations went, as well as what was discussed afterwards. Maybe a new t

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Craig McClanahan
On 12/16/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote: > > This sounds familiar :) > > I definitely would recommend changing the slides and title of the > presentation. Just yesterday I ran in to this: > > > http://javasymposium.techtarget.com/html/det_descriptions.htm#McClanahanShale > > Changi

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Frank W. Zammetti
I understand what your saying, and even agree, but on the point of marketing... granted, none of us, whether committer or not, is here to do marketing, but isn't there a certain degree of responsibility (potentially) to not confuse the market when there is precedent? I mean, if I wanted to change

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Ted Husted
On 12/16/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > unreasonable. Is Struts an umbrella for two different paths, Shale and > Action Framework, or is Shale really potentially the next Struts? I do > think there is a contradiction there. One of the core Apache beliefs is that "Darwin decid

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Frank W. Zammetti
On Fri, December 16, 2005 12:10 pm, Patrick Lightbody said: > Craig committed to changing his slides moving forward and attributed > it to an honest mistake and a case of "laziness" :) There was a time where I would have doubted that, but that is what I was referring to before when I said I regret

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Dakota Jack
I have never had a concern about the "umbrella" idea, which is the latest description of what is happening. I would in fact encourage that and cannot see any problem with it. However, I pay more attention to people's feet than their lips. "Is Shale the Next Struts?" is the feet. The community i

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Frank W. Zammetti
And I too have made some disparaging comments about certain things (Shale/JSF/Craig) in the past (although I regret much of it, especially the things with regard to Craig directly, so I'm not about to do the Googling for you!)... However, I have come to see the "Struts Umbrella" approach as being n

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Dakota Jack
I have no reservations about your sincerity, Patrick, and I am glad to find you at Struts. Welcome! However, I would be careful if I were you about being sanguine about your new companions. I hope things turn out as you have indicated. On 12/16/05, Patrick Lightbody <[EMAIL PROTECTED]> wrote: >

Re: how to customize applicationresources

2005-12-16 Thread Danny Lee
That's cool! Can you change the values dynamicaly in run-time, so it works without the need to restart the app? Greets, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Frank W. Zammetti
I think it is fair to say that many of us have made similar comments over the past few months, and have every time been basically told that it is our problem we are not "getting it". Usually we've been told nicely, but not always. That isn't the point though, The point is that this is not a new

RE: Problem with using Logic:equla tag.

2005-12-16 Thread Gary Feidt
Or you use: Gary >>> [EMAIL PROTECTED] 12/15/2005 6:52:42 AM >>> Hi Don't use this. Use the jstl tags instead. In this case If you read the tag doc's you will see that you are encouraged to switch to the jstl tags in place og the struts tags. In so doing, use the struts-el tag librarys

Implementation of new row functionality of HTML table in Struts

2005-12-16 Thread Irfan Shaikh
Hi All, I am new to Struts and need to implement a functionality where a new row is added to table (generated using logic:iterate tag on JSP page ) on the fly(using javascript) and handling newly added row in DynaActionForm so that row gets saved to database. Need to know how to create a

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Dakota Jack
With some people like Craig McClanahan delivering talks at significant conferences entitled with contrary ideas like "Is Shale the next Struts", you might excuse people for thinking that this "subproject" ruse is baloney. I didn't fall off the turnip truck yesterday and I have read all about the T

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-16 Thread Rick R
On 12/16/05, Paul Benedict <[EMAIL PROTECTED]> wrote: > > Rick, > > Do you control the requirements? It's going to be an ugly screen with that > :) Agreed. For that example it was more so to exaggerate a problem that does come up when dealing with more specific situations. In regard to the solu

Re: how to customize applicationresources

2005-12-16 Thread Rahul Akolkar
On 12/16/05, Sony Thomas <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to read my application resources from a database rather than > using properties file. Do I need to extends MessageResoursces class in > order to do this ?? Is there any examples of this or is ther any links > which give some i

Re: chinese characters and bean tags

2005-12-16 Thread Rahul Akolkar
On 12/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > >>> make sure that you have the UFT-8 charsett declared in the content type > >>> of the response -- e.g. with <%@ page contentType="text/html; > >>> charset=UTF-8"%> and/or HTML META-tags. > >>> > >>> L. > >

Re: how to customize applicationresources

2005-12-16 Thread Gareth Evans
Take a look at http://jakarta.apache.org/commons/resources/ There is a JDBCMessageResourceFactory to load values from the database, in your struts-config file you can specify a different message resource factory class. http://wiki.apache.org/jakarta-commons/ResourcesUserGuide It works well f

RE: Specify a file name when using DownloadAction

2005-12-16 Thread Vu, Thai
Thanks so much for your answer. May I ask you to clarify what you said (because I haven't understood much yet)? I looked at these examples (http://wiki.apache.org/struts/StrutsFileDownload) on using DownloadAction and saw nothing like your code :( So I wonder if you could post your whole Action fi

Back Button Problem..

2005-12-16 Thread Priya Saloni
Hi there, I facing a BIG problem in my struts based application.When i logout my website and hit back button it showing a page like the following // Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a secu

Re: how to customize applicationresources

2005-12-16 Thread Danny Lee
The only easy solution I can think of is to write some application, which is performing DB->File transformation before MessageResoursces consumer-application starts. But this is not a real solution, becouse you still can't change properties dynamicaly. I'm not sure if Struts allows you to do i

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Gary VanMatre
>From: Alexandre Poitras <[EMAIL PROTECTED]> > By the way, is David Geary still working on Shale or has quit? There > has been nothing new on his blog since this summer. > Well, I think that he just has allot going on right now. I guess it takes some time to write two books on different tech

Re: The Age-Old problem of validation when you have Nested Items- opinions and Dyna question

2005-12-16 Thread Paul Benedict
Rick, Do you control the requirements? It's going to be an ugly screen with that :) Web applications should be concerned with doing one unit of task at a time, if possible, because it does simplfy development and help the user focus on what needs to be typed. Still, I don't see this problem as

RE: how to customize applicationresources

2005-12-16 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
I am also looking like this, If any one know please let me know. -Original Message- From: Sony Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 3:55 PM To: user@struts.apache.org Subject: how to customize applicationresources Hi all, I want to read my application resour

how to customize applicationresources

2005-12-16 Thread Sony Thomas
Hi all, I want to read my application resources from a database rather than using properties file. Do I need to extends MessageResoursces class in order to do this ?? Is there any examples of this or is ther any links which give some idea, how to do this?? thanks all Sony -

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Alexandre Poitras
By the way, is David Geary still working on Shale or has quit? There has been nothing new on his blog since this summer. On 12/16/05, Bernhard Slominski <[EMAIL PROTECTED]> wrote: > > -Ursprüngliche Nachricht- > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag > > von Craig > > >

AW: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Bernhard Slominski
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag > von Craig > > I'd be happy to answer any specific questions on points that > are in the > slides. > I realized that all features are documented except for the "Remoting" one http://struts.apache.or

Re: chinese characters and bean tags

2005-12-16 Thread news
> [EMAIL PROTECTED] wrote: I have problem to show chinese characters stored in MySQL database with use of struts bean tag. Data is read out using Hibernate. When I call myHibernateObject.getMyProperty() method - everything works fine. But using does show text in