Forwarding to another action over a jsp page

2004-03-19 Thread Frers Michael
Hello here is my situation i have a page in which a foreachtag prints values from a bean into the page <% out.flush(); %> now i want that after all values are printed an action is called to do something else at the end of page doesnt do anything anyone knows? -

Validate and Global Errors

2004-03-18 Thread Frers Michael
Hello i have a little question in the MessageTag i can specify an attribute called name to say where he can find the errors or messages in request. Lets say the value is "DOIT" now how can i make that if i use validate in my FormBean, the ActionErrors are saved under "DOIT" instead of Globals

DispatchAction and validate

2004-03-02 Thread Frers Michael
Hello i want to use DispatchAction now my questions is can i use in one action the struts-config entry validate="true" and in the other action validate="false" Thx for any hints Michael

Checkbox deselect problem

2003-12-15 Thread Frers Michael
Hello i have a problem with the checkbox tag i have a ActionForm Bean containg one value test private class testBean extends ActionForm{ private String test; //+ Getter and Setter } no i inserted in my jsp page: now if i select the field the checkbox is marked as checked but now if i deselec

iterate and checkbox (getting frustated)

2003-12-12 Thread Frers Michael
Hello i have a little problem with the iterate tag and checkbox i have a collection of some beans: private aBean{ String id; //+ getter and Setter } The collection is in another bean private colBean{ Hashtable col; //+ getter and setter } the bean is posted in the session under "sc

iterate over string array and html:text tag

2003-12-10 Thread Frers Michael
hello i probalbly have a simply question but i dont get it working i have a bean which i use as a action form public class SearchBean extends ActionForm{ private String[] searchString; //+ getter setter methods ... } now i want to present this searchString in jsp page in input field i made it a

Re: MessageResources in ActionForm

2003-11-25 Thread Frers Michael
Globals are in the struts.jar org.apache.struts.Globals Have a nice day Michael - Original Message - From: "Honza Spurný" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 11:07 AM Subject: Re: MessageResources

Re: Best Practices in Struts for Form objects?

2003-11-06 Thread Frers Michael
Hello it totally depends what you need. different names: if u use different names than there will be created five different forms, each under an other name. if all are in request it makes not really sense to do this because they are deleted if the request is over. but if you use them in session t

html:submit and 2 buttons

2003-11-06 Thread Frers Michael
Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do "new" the other "update" how can i make my action class know which button was hit? additionally i want that the buttons get there labels from a property file that works as shown bel

Re: Doing an action and get back to executing page?

2003-10-31 Thread Frers Michael
nput from both the jsp's and returning the both of them and then well u have the two different flows. > -----Original Message- > From: Frers Michael [mailto:[EMAIL PROTECTED] > Sent: 30 October 2003 16:41 > To: Struts Users Mailing List > Subject: Doing an action and get back

Doing an action and get back to executing page?

2003-10-30 Thread Frers Michael
Hello is there anyway to get back to the side which called an action? here more specific example i have 2 jsp sides: a.jsp and b.jsp from both i can call a strutsaction dosomething.do after executing i want to get back to a or to b (depending who called the side) i think best solution would

Locale - how to set?

2003-10-30 Thread Frers Michael
Hello just a simple question how can set the actual used local? i have two propertie files: application.properties application_de.properties application_en.properties struts takes as default application_de.properties how can i make it that a user can click a GreatBritain flag and then the app

Re: Manually populating a dynaActionForm

2003-10-30 Thread Frers Michael
Hello have a look at http://www.reumann.net/do/struts/lesson3/step5 there the DynaActionForm is populated over an ActionClass with the Values needed in the select boxes Hope this is what you have meant Good luck Michael - Original Message - From: "Looser" <[EMAIL PROTECTED]> To: <[EM

Re: tiles question

2003-10-30 Thread Frers Michael
Hi well this is ok tiles is used to manage many jsp sides with all nearly the same layouts over one configuration file this means you have to maintain (if you use full tiles power) minimum 3 files: the layout jsp (setting positions of header, body, footer, and so on) the content files (foreach (h

Re: a query regarding

2003-10-29 Thread Frers Michael
Hello on my first look: shouldnt u use i think there is a missing "s" - Original Message - From: "Mahin Jeyachandran" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 4:57 AM Subject: a query regarding good day all, I'm new

dynaactionform values to a bean

2003-10-28 Thread Frers Michael
Hello i try to get Values from a dynaactionform to a bean but BeanUtils.copyproperties(...,...); doesnt work; How can i do this in an easy way? Looking in my logfile says that the value is in the DynaActionForm but not in the bean after copying My Ressources: # DynactionForm: #

DynaValidatorForm and copyProperties

2003-10-27 Thread Frers Michael
Hello anyone have an idea how to easy copy values from a dynavalidatorform to an existing bean? i have a dynavalidatorform like: and a Bean looking like: public class SearchValues { private String sSearchString; public String getSearchString() { return sSearchString; } public void setSearch

Re: Struts and Tiles

2003-10-23 Thread Frers Michael
or in other words how can i make that i can use while 'body' is replaced with a tiles defnition - Original Message ----- From: "Frers Michael" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 23,

Re: Struts and Tiles

2003-10-23 Thread Frers Michael
s a tiles definition any idea? - Original Message - From: "Frers Michael" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 23, 2003 3:12 PM Subject: Struts and Tiles > Hello > again a small quest

Struts and Tiles

2003-10-23 Thread Frers Michael
Hello again a small question about tiles i have a layout with header,body and footer and a another with left and right now i want that in body of the first is again another tile to get the second layout into it like: so if i call result-lyout-top than i want to have the header,

Tiles and Frames

2003-10-22 Thread Frers Michael
Hello did anyone ever tried to combine Frames and Tiles? i want to build a page with one left and one right frame. is there any chance to build frames with tiles? (i need the frames because i get results from database slowly and want to print results as soon as they arrive) if i only use tile