Re: Beginner's question on Struts and JSP

2006-04-23 Thread Vinit Sharma
You are using Map-Backed action form. This link might solve your problem: http://struts.apache.org/struts-action/userGuide/building_controller.html#map_action_form_classes http://struts.apache.org/struts-doc-1.2.9/faqs/indexedprops.html HTH, On 4/22/06, Developer Developer <[EMAIL PROTECTED]>

hi

2006-04-23 Thread Sakalareddy.T
  With Thanks & Regards, Sakala Reddy.T 108, II Floor, Gavipuram Guttahalli Extn.,Off Bull Temple Road, Bangalore 560019 Karnataka, INDIA.Voice: +91+80+6529260/6529358/6525013

Re: How dose JFS deal with multi-threads

2006-04-23 Thread 王曾wang_zeng
Thank you, Craig. If we preserve the tree on the server, then the tree sholud be saved in session scope. If we don't save the tree on server, then everytime a request arrives, the tree should be reconstructed using the value of the hidden field. Am I right?

Re: iteration with indexed properties

2006-04-23 Thread Rick Reumann
martin wrote: I've a problem with indexed properties inside an iteration. Some of the properties are rendered as a text-area and should be editable by the user. The rendering goes fine but if the user makes some changes, they are not committed to the form. You might want to look at using the

Re: Modularized app and hiding JSPs

2006-04-23 Thread Ted Husted
Yes, it's easy. The configuration point you need is pagePattern * http://struts.apache.org/struts-action/userGuide/configuration.html You would probably want to use something like so that the locations resolve to /WEB-INF/jsp/search/search.do -Ted. On 4/21/06, Alan Treece <[EMAIL PROTECTED]>

Re: iteration with indexed properties

2006-04-23 Thread ot 811
Interesting! How did tip.scoreHome render as tip.guessedScoreHome ? On 4/23/06, martin <[EMAIL PROTECTED]> wrote: > Hello > > I've a problem with indexed properties inside an iteration. Some of the > properties are rendered as a text-area and should be editable by the > user. The rendering goes f

Re: .NET/WebServices/Java

2006-04-23 Thread Ted Husted
On 4/23/06, John B. Walker <[EMAIL PROTECTED]> wrote: > My next question for you Ted (or others), is: > "How would I contribute this source back to Struts, and do you think that > the committee would be interested in adopting this framework into the Struts > project?" The first step would be to ge

Re: How dose JFS deal with multi-threads

2006-04-23 Thread Craig McClanahan
On 4/23/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: > > Graig,thank you for your answer. > Acorrding to your answer, JSF component tree should be created everytime a > request arrives. Will it be a waste of time. > Asp.net use hidden-type input html tag to record the status of the > component > tree

Re: How dose JFS deal with multi-threads

2006-04-23 Thread 王曾wang_zeng
Graig,thank you for your answer. Acorrding to your answer, JSF component tree should be created everytime a request arrives. Will it be a waste of time. Asp.net use hidden-type input html tag to record the status of the component tree. Dose JSF do it the same way?

Re: How dose JFS deal with multi-threads

2006-04-23 Thread Craig McClanahan
On 4/23/06, 王曾wang_zeng <[EMAIL PROTECTED]> wrote: > >JSF provides us with a collection of standard UI components, and these > components are integrated with JSP via JSF tag. when the JSP is executed, > a > tree of components will be constructed on the server. I wonder how many > copies of this

Re: .NET/WebServices/Java

2006-04-23 Thread John B. Walker
Ted wrote: > If the situation is that you have business logic trapped in Struts > Actions that you want to access from an ASPX application, then you > might be able to create web service to front the Action, and have the > ASPX application access the web service. (The inverse of what I > mentioned

Re: [ANNOUNCE] What to Do if Your Code Has Few, If Any Tests?

2006-04-23 Thread Ted Husted
Ummm, it's a longstanding tradition that we don't tolerate personal attacks. I would consider it a personal courtesy if people would not engage in personal insults, even on my behalf. We all have a limited number of volunteer hours to spend. I choose to my time helping earnest users. If anyone wan

Re: friday ha ha

2006-04-23 Thread Ted Husted
Ummm, it's a longstanding tradition that we don't tolerate personal attacks. I would consider it a personal courtesy if people would not engage in personal insults, even on my behalf. We all have a limited number of volunteer hours to spend. I choose to my time helping earnest users. If anyone wan

Re: Declarative Exception Handling

2006-04-23 Thread Ted Husted
On 4/21/06, Asad Habib <[EMAIL PROTECTED]> wrote: > When using declarative exception handling, where do you create the > exception instances? In the action itself? Yes. The framework first catches all exceptions thrown by an Action. Then, it looks to see if there's an exception handler for that ex

Re: .NET/WebServices/Java

2006-04-23 Thread Ted Husted
> > Is there a way that I can have a Struts application that services a .NET > > view, Struts controller, and Struts model objects? If you need to render an ASPX page, then either ASP.NET or MONO needs to be in the picture. Right now, I don't know of a way to run both ASP.NET and J2SE in the same

iteration with indexed properties

2006-04-23 Thread martin
Hello I've a problem with indexed properties inside an iteration. Some of the properties are rendered as a text-area and should be editable by the user. The rendering goes fine but if the user makes some changes, they are not committed to the form. Please take a look at the jsp/html/java snippets

How dose JFS deal with multi-threads

2006-04-23 Thread 王曾wang_zeng
JSF provides us with a collection of standard UI components, and these components are integrated with JSP via JSF tag. when the JSP is executed, a tree of components will be constructed on the server. I wonder how many copies of this tree should be preserved on the server to remember the status

complex validation problem.

2006-04-23 Thread Jakub Milkiewicz
Hi I have a problem with conditional validation. Currently i am working with struts 1.1 - because of its WSAD support but i am thinking of migrating to the newest one. My problem is that on my jsp page i have 2 radio buttons: I am using struts validator and in my validation.xml i want to have pas