logic:Iterate question

2001-09-23 Thread Shea Kelly



Hi 
all,

I am using 
the iterate tag to iterate over a collection of items stored in the FormBean. 
And all work fine (so far :) ). My question is: AI have a large number of 
items in the collection is it possible arrange them in columns?? Here is a code 
snippet:

logic:iterate id="facility" scope="session" name="surveyForm" 
property="generalFacilityList" 
table 
tr 
bean:write name="facility" 
property="code"/ 
bean:write name="facility" 
property="description"/ 
html:checkbox name="facility" 
property="state"/ 
bean:write name="facility" 
property="state"/ 
/tr 
/table /logic:iterate

This 
prints everything in one long column. Is there a html thing I can 
use??
regards 
Shea Kelly 
Consultant Software 
EngineerObject Oriented Pty LtdPO Box 528, North Sydney NSW 2059Phone: 
+61 2 9957-1092Direct: +61 2 9459-3335Fax: +61 2 9956-5089 
Mobile: 0416 110 
499Email: 
[EMAIL PROTECTED]Web: http://www.oopl.com.au 



can html:checkbox indexed??

2001-09-23 Thread Shea Kelly



Hi, 


I'm using 
the html:checkbox tag in an iterate tag. I am trying to set the indexed property 
but I get the following exception and the value doesnt seem to 
exist:

org.apache.jasper.compiler.CompileException: 
D:\project\dod\codeBase\dodJBProject\src\pages\survey.jsp(132,10) Attribute 
indexed invalid according to the specified TLD	at 
org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator.java:170)	at 
org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:119)	at 
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)	at 
org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)	at 
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)	at 
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
Here is my code snippet:

logic:iterate id="facility" name="surveyForm" 
property="generalFacilityList"

 td height="15" 
colspan="4" 
bean:write name="facility" 
property="code"/ 
bean:write name="facility" 
property="description"/ 
/td td width="5%" 
height="15" 
font size="1" 
face="Arial" 
html:checkbox name="facility" property="state" value="true" 
indexed="true"/ 
!--bean:write name="facility" 
property="state"/-- 
/font 
/td

 % if(i % numOfColumns == 
0){ % 
/tr 
tr % } 
%

 % i++; 
%

 /logic:iterate

regards 
Shea Kelly 
Consultant Software 
EngineerObject Oriented Pty LtdPO Box 528, North Sydney NSW 2059Phone: 
+61 2 9957-1092Direct: +61 2 9459-3335Fax: +61 2 9956-5089 
Mobile: 0416 110 
499Email: 
[EMAIL PROTECTED]Web: http://www.oopl.com.au 



Struts and JBuilder

2001-09-11 Thread Shea Kelly



Hi 
all,

Anyone 
know how to setup struts to be used with JBuilder4 EE??
regards 
Shea Kelly 
Consultant Software 
EngineerObject Oriented Pty LtdPO Box 528, North Sydney NSW 2059Phone: 
+61 2 9957-1092Direct: +61 2 9459-3335Fax: +61 2 9956-5089 
Mobile: 0416 110 
499Email: 
[EMAIL PROTECTED]Web: http://www.oopl.com.au 



Form Beans quick questions

2001-09-10 Thread Shea Kelly



Is is 
possible within the Struts framework to have multiple Form beans 
definedfor anaction-mapping. This would be handy when trying to 
divide up larger imput forms into reusable Form components. Any comments would 
be appreciated.
regards 
Shea Kelly 
Consultant Software 
EngineerObject Oriented Pty LtdPO Box 528, North Sydney NSW 2059Phone: 
+61 2 9957-1092Direct: +61 2 9459-3335Fax: +61 2 9956-5089 
Mobile: 0416 110 
499Email: 
[EMAIL PROTECTED]Web: http://www.oopl.com.au 



Hello all

2001-09-04 Thread Shea Kelly



Hi,

I am 
currently setting up my development environment in order to use struts. 
Doesanyone have arecommendation on how I structure my code? 
Obviously I am starting with the struts-blank.war file and it internal directory 
structory, however I would like to use ItelliJ as my IDE and tomcat as my 
servlet container and am wondering if it is possible to usea debugger with 
struts??

Please 
help with any configuration ideas that you think are useful
cya
Shea Kelly 
Consultant Software 
EngineerObject Oriented Pty LtdPO Box 528, North Sydney NSW 2059Phone: 
+61 2 9957-1092Direct: +61 2 9459-3335Fax: +61 2 9956-5089 
Mobile: 0416 110 
499Email: 
[EMAIL PROTECTED]Web: http://www.oopl.com.au