Re: Can struts do it?

2006-04-21 Thread Tremal Naik
2006/4/21, Marco Mistroni <[EMAIL PROTECTED]>: > I have a DynaActionForm. It has two array fields (String[] ownerRef and > Boolean[] suspendPart) and some other fields. I want to populate these > arrays from a form and be able to submit the value from the page. > That's it. why don't you define

Re: Can struts do it?

2006-04-21 Thread Tremal Naik
2006/4/21, Marco Mistroni <[EMAIL PROTECTED]>: > I have a DynaActionForm. It has two array fields (String[] ownerRef and > Boolean[] suspendPart) and some other fields. I want to populate these > arrays from a form and be able to submit the value from the page. > That's it. why don't you define

JSTL formatNumber and Locale

2006-04-21 Thread Tremal Naik
Hello, I use the following syntax into a jsp page: The minIncome is initially defined into the scenarioForm as something similar to an ordinary double, i.e. 2.0 The double is displayed into the minIncome text field as 2,0 accordingly to my regional settings. Ok When the action defined for thi

Re: sslext

2005-12-08 Thread Tremal Naik
2005/12/6, Jim Reynolds <[EMAIL PROTECTED]>: > If I put a object into the request, and switched protocols, the > request object was no longer found? Since most struts work has I see that when sslext switches from a protocol to another what is really happening is: a redirect is sent in the response

Re: http proxy

2005-12-08 Thread Tremal Naik
2005/12/8, Nicolas De Loof <[EMAIL PROTECTED]>: > Do you know any opensource (java) proxy that could help me doing this ? i've used muffin for a while: http://muffin.doit.org/ I used it for much simpler tasks then those you need, but I see it's very flexible and maybe it gives you what you need

Re: Shale documentation

2005-12-08 Thread Tremal Naik
2005/12/7, Gary VanMatre <[EMAIL PROTECTED]>: > I'm planning on some Shale white papers that will be available on my > employers website (so I can get paid for doing it and promote services :-). > Please feel free to ask questions here about Shale. thanks to you -- TREMALNAIK ---

Shale documentation

2005-12-07 Thread Tremal Naik
Hi everibody, I suppose this question has already been asked, so please apologize: Where can I find a User Guide for Shale? Are there tutorials for Shale around? I gave a look to the example app in the binary build, but I'm a theory man, I need a book which tells me all the story. thanks -- TREMA

Re: nesting radio buttons

2005-10-04 Thread Tremal Naik
2005/10/4, Tremal Naik <[EMAIL PROTECTED]>: > Hello, > I'm trying to render a questionnaire on a page using radio buttons. I'm using Struts 1.1 -- TREMALNAIK - To unsubscribe, e-mail: [EMAIL PROTECTED] F

nesting radio buttons

2005-10-04 Thread Tremal Naik
Hello, I'm trying to render a questionnaire on a page using radio buttons. The questionnaire is built as a list of questions, each with some answers the user may check using radio buttons. . My form has an ArryList property, populated with QuestionBean beans which have a property that i

Re: struts on jboss

2005-09-16 Thread Tremal Naik
2005/9/16, mlists <[EMAIL PROTECTED]>: > Is this an configuration-issue? (It's not very comfortable to restart the > server everytime after a change). what version of Jboss? And what the message you are receiving? Is your application composed by either a WAR and a JAR? If that is the case, do y

Re: Forwarding to the previous page

2005-09-07 Thread Tremal Naik
2005/9/7, Michael Jouravlev <[EMAIL PROTECTED]>: > Apparently, in "standard" approach with pre/post actions it makes > sense only to store pre-actions, that is, the rendering actions. In > the case above it would be "showForm.do". well, I didn't really want to store the previous action path (showF

Re: Forwarding to the previous page

2005-09-07 Thread Tremal Naik
2005/9/7, Frank W. Zammetti <[EMAIL PROTECTED]>: > I don't think there's anything inherently in Struts to do that, however, > it shouldn't be too hard to do on your own... how about this right before > you return your ActionForward from ANY Action: > > session.setAttribute("previousPage", mapping.

Re: Forwarding to the previous page

2005-09-07 Thread Tremal Naik
2005/9/7, Duane Rosengartner <[EMAIL PROTECTED]>: > This works very well for me. > > Back aehm,probabily I didn't explain well my problem: I don't have to get back to the previous page from the actual. Look at this code: public class DisplayAboutAction extends Action { public ActionForward

Forwarding to the previous page

2005-09-07 Thread Tremal Naik
Hi, I have a menu on my application, which is tiled in all the pages. I have an action of the menu which is common to all the page in which I am, so the execute() method of the action class associated to it must return a forward to the page which called it. I know how to map the forward of an acti

Re: logout problem

2005-09-05 Thread Tremal Naik
2005/9/5, Adam Hardy <[EMAIL PROTECTED]>: > Fourthly I think the work involved in making something track all > sessions like this and then inactivate any that stop would be > considerable. At least I can't think of a suitable algorithm off the top > of my head. I had the same problem: avoiding dup

Re: showing nested collections in a JSP

2005-08-18 Thread Tremal Naik
2005/8/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I think I can figure out how to display the tables using the nested:XX tags, > but cant figure out how to display the nested collection by radio button. I > guess I need to understand how to "index" a collection dynamiclly. I know > JSTL is the p

Re: how to include a jsp into another

2005-08-10 Thread Tremal Naik
2005/8/10, Gareth Evans <[EMAIL PROTECTED]>: > so easy that I didn't noticed in the documentation ;) thanks! -- TREMALNAIK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

how to include a jsp into another

2005-08-10 Thread Tremal Naik
hello, I'm trying to realize the functionality throught pure Struts tags. I included in my JSP the following: when I display it within a scriptlet: <%=report%> the page is rendered as expected, but when I try to display it with I don't see the content of the otherPage ,but the html code

Re: retrieving exception from page context using tags

2005-08-03 Thread Tremal Naik
2005/8/3, Laurie Harper <[EMAIL PROTECTED]>: > Huh? From the documentation: "page - Expose a specified item from the page > context as a bean." yes, I saw it, if you read deeply my post you'd notice it, but the lets me retrieving only some objects, not the exception. I need some tag which let me

retrieving exception from page context using tags

2005-08-03 Thread Tremal Naik
Hi, according to the article which url is http://java.sun.com/developer/EJTechTips/2003/tt0114.html in case an exception is thrown by a web component a new implicit variable named exception is put in the page context. The exception can be retrieved by a scriplet (it works, i tried it): <%= excep