[S2] Action tag along with param tag

2007-12-28 Thread Justin Frost
Am I writing this correctly? My FillSelectBoxes action only does work in the preparable method. And there is a private String myString and private LocationDTO location in this action. I only implement preparable But they are alway

Re: [S2]Using javascript to hide a struts tag

2007-12-21 Thread Justin Frost
OK seeing how I can not wrap tags in a , how would I go about using the default theme to remove the whole that has the label and field? I'm out of my knowledge area with this one. newton.dave wrote: > > --- Justin Frost <[EMAIL PROTECTED]> wrote: >> I want to be able

[S2]Using javascript to hide a struts tag

2007-12-21 Thread Justin Frost
I want to be able to hide an entire tag based on an onclick event from a I was not able to hide the div. And when I tried to hide just a field only the html text box was hidden, not the label. Anyone have any suggestions for me. Here is what I have: The clickProd is fired from clicking a te

[S2]Pass error message from called page back to calling page

2007-11-09 Thread Justin Frost
My situation is that I have an input jsp. On submit I call my struts action and do a DB query. If I get an empty result I want to be directed back to the original input jsp and display an error message. What is considered the best method for doing this? I could add the message to the session c

[Solved] [S2] Retrieving values from the valuestack for the tag

2007-11-08 Thread Justin Frost
Here is what I figured out so far. headerRow is a vector of ReportCell, not ReportRow. So for the headerRow I had to create a getHeaderRow method in my action class. public Vector getHeaderRow(){ Report report = getReport(); return report.getHeaderRow();

Re: [S2] Retrieving values from the valuestack for the tag

2007-11-08 Thread Justin Frost
. Justin Frost wrote: > > I want to iterate over the dataColumns to get the "value" from each > dataColumn. > > I am trying to add S2 to an existing project. So the Vector code is old, > circa 2001. > > Thanks fo

Re: [S2] Retrieving values from the valuestack for the tag

2007-11-08 Thread Justin Frost
I want to iterate over the dataColumns to get the "value" from each dataColumn. I am trying to add S2 to an existing project. So the Vector code is old, circa 2001. Thanks for you help. newton.dave wrote: > > --- Justin Frost <[EMAIL PROTECTED]> wrote: >&g

[S2] Retrieving values from the valuestack for the tag

2007-11-07 Thread Justin Frost
I am having a difficult time figuring out a solution to my problem. I think I will start out with my class structure first. I only put in this message what I thought was valuable. public class Report implements java.io.Serializable { private java.lang.String title = "";

Adding S2 into existing servlet project

2007-10-18 Thread Justin Frost
I am new to Struts and have an existing web project that uses servlets right now. I am trying to add S2 to my existing project. When I add my s2 config info in web.xml and redeploy my application I get a blank page instead of my original default.jsp. http://localhost:16624/support/ should bri