Actions and Session Beans

2001-03-24 Thread G.L. Grobe
I've finally got struts taglibs and a few Actions working in my jsp pages, but I'd like to be able to populate some EJB's with the model data from the ActionForms. I'm not sure how to do this. I've got a session bean which operates on an entity bean which I will then send to another machines java

RE: WebSphere 3.5.3 problem

2001-03-24 Thread dion
FWIW, the SYSTEM DTD issue is a twofold problem: a) The classloader returns a null for the URL provided b) Struts doesn't check a null for the inputstream. One of these days, I'll send a patch in for b) I'll try a simple app to test the getResource* issues, and file a PMR, early next week.

form question

2001-03-24 Thread JOEL VOGT
Hi all, I have a html form on a jsp page. This form has a table generated by the logic iterate tag. In each table row, there are two fields, one a checkbox and the other a text field. What I want is when the user clicks 'submit' all the values are sent to an action form for storing and then

Re: How to use html:errors ?

2001-03-24 Thread Ted Husted
Since Struts is a framework, there a number of inter-related parts that work together, the error handling is a good example of that. When you detect an error in your Action, you need a way to display it to the user. Since most Actions are not designed to be "views", this is a problem. Struts

init'ing session beans in an Action

2001-03-24 Thread G.L. Grobe
I finally have my struts tags working. Next step. My app has jsp pages that populate ActionForms. I now have to populate my entity beans, but one step at a time, so I'm trying to instantiate session beans from my Action classes (which will later operate on the entity beans) and I'm not sure how

Re: Iterate Tag question, again -- Short ane sweet

2001-03-24 Thread Sundar @eSaravana
Hi, This is my situation: I have a collection(Vector) of buddyListForm as session attribute. So, in my JSP, logic:iterate id="buddylist" property="buddylist" scope="session" !-- vector being iterated -- !--Now, I have the individual bean, how do I iterate the properties-- logic:iterate

never ending iterate tag questions

2001-03-24 Thread Jim Richards
I've now got the logic:iterate ... tag to work, but I'm confused about how it works with the collection attribute. I've seen examples for people where they have logic:iterate id="bean" collection="%= someObject.getValues() %" ... do something with bean ...

Re: never ending iterate tag questions

2001-03-24 Thread Martin Cooper
You've found a documentation bug, which I have just submitted to the bug database. As you discovered, you need to use an expression (e.g. %= value %) rather than a scriptlet (e.g. % method(); %) because the value needs to be returned so that it can be used in the attribute. -- Martin Cooper

Re: form question

2001-03-24 Thread Uwe Pleyer
Hey, I had some hard nights fighting with exactly this problem and got a solution wich is not very elegant but works... html:form action="/formAction.do" table border="1" width="100%" // some headings for the table % int i = 0; % logic:iterate name="Bean" property="beanItems" id="anything"

Re: never ending iterate tag questions

2001-03-24 Thread Craig R. McClanahan
On Sun, 25 Mar 2001, Jim Richards wrote: I've now got the logic:iterate ... tag to work, but I'm confused about how it works with the collection attribute. I've seen examples for people where they have logic:iterate id="bean" collection="%= someObject.getValues() %"