I see.

Ok anyway, I'll use <db:linkURL and pass parameters in my url string. It
works nicely with currentRow_tableName.get("someParameter");

That way I can filter my next search based on a user choice (other than
making them search).

for example :
<%String
t="/courses_list_editable.jsp&course="+(String)currentRow_courses.get("tier"
);%><a href="<db:linkURL href="<%=t%>" tableName="courses"/>" ><%=
currentRow_courses.get("tier") %> </a>&nbsp;</td>

then in the next page

<%StringBuffer myFilter = new StringBuffer();
myFilter.append("tier=");
myFilter.append(request.getParameter("tier"));%>

....and later...<db:dbform......tableName="courses"
filter="<%=myFilter.toString()%>">



 > Hi Shawn,
>
>
> > <db:select fieldName="tier">
> >  <db:tableData
> >                         name = "tier"
> >                         foreignTable = "courses"
> >                         visibleFields = "tier"
> >                         storeField = "tier"
> >                       />
> >     </db:select>
>
> the 'fieldName' is the name of the table column, but
> the name of the HTML select field will be different from that.
> The name of the form field is calculated by method
> getFormFieldName() within DbBaseHandlerTag. The result
> will eventually change, if you insert new tables
> into dbforms-config (or if the algorithm will be
> updated some day), so it would be a bad idea to have
> a look at the source of the html result page for the
> real form field name and use it somewhere.
>
> Regards
>
> Dirk
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to