lamagra1913
07-21-2005, 09:28 PM
Ok heres what i am trying to do:
Display a list of names down the center of a page and have them all be hyperlinks.. The link though will take you to the same place for each name. I am thinking that i need to use a form post method but i am not for sure here is my code as of right now..
<FORM method="post" action="DocumentName.jsp">
<div style="margin-left: 20px; overflow: hidden; padding-right: 30px; padding-left:30px;">
<Select name = "ProjectName" Size=10 id="SelectName">
<% listArray = listQuery.getList("1" ,"Project"); int i=0; while(i < listArray.size()) { project = (ProjectTable) listArray.get(i);
<a href ""> project.getProjectName()</a> i++;
}
%>
also if you could include how i am going to retreive the value that i want from that.. that would be extremly helpful as well... thanks
Display a list of names down the center of a page and have them all be hyperlinks.. The link though will take you to the same place for each name. I am thinking that i need to use a form post method but i am not for sure here is my code as of right now..
<FORM method="post" action="DocumentName.jsp">
<div style="margin-left: 20px; overflow: hidden; padding-right: 30px; padding-left:30px;">
<Select name = "ProjectName" Size=10 id="SelectName">
<% listArray = listQuery.getList("1" ,"Project"); int i=0; while(i < listArray.size()) { project = (ProjectTable) listArray.get(i);
<a href ""> project.getProjectName()</a> i++;
}
%>
also if you could include how i am going to retreive the value that i want from that.. that would be extremly helpful as well... thanks