form:link

2001-01-05 Thread Wong Kok Wai

Weblogic 5.1 refuse to compile the following line:

form:link
href="quickNews.do?pageSearch=truestockExchange=%=
request.getParameter("stockExchange") %stockCode=%=
request.getParameter("stockCode") %stockName=%=
request.getParameter("stockName") %pPage=%= p %"
u%= p %/u/form:linknbsp;nbsp;

Is the bug with Weblogic or I cannot use multiple RTE
inside the "href" attribute?




__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/



Re: form:link

2001-01-05 Thread Craig R. McClanahan

Wong Kok Wai wrote:

 Weblogic 5.1 refuse to compile the following line:

 form:link
 href="quickNews.do?pageSearch=truestockExchange=%=
 request.getParameter("stockExchange") %stockCode=%=
 request.getParameter("stockCode") %stockName=%=
 request.getParameter("stockName") %pPage=%= p %"
 u%= p %/u/form:linknbsp;nbsp;

 Is the bug with Weblogic or I cannot use multiple RTE
 inside the "href" attribute?


Note that you are trying to use double quotes nested inside double quotes, which
will create syntax errors in the resulting Java code.  It is also not legal to
make PART of an attribute a runtime expression -- it is all or nothing.

Try this:

%=
  String temp = ". the expression above ...";
%

form:link href="%= temp %"/

Craig