on 10-08-2004 12:17 PM
Hi again
I would like to remove the Posnr from the Order.jsp so that it in not visible to the customer.
But if I simply comment the lines out - witch works in the first place - the order.jsp goes bananas if I click the Update button at the bottom of the page.
Somehow the application is using this value when updating.
I have to somehow make it hidden on the screen but valid in the jsp.
Any suggestions out there ?
Best regards
Lars Henrik Andersen
Hi Lars,
couldn't you change the field to a hidden input field ?
The field wouldn't be visible but is still available for the application.
Good Regards, Astrid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could You show me how ?
-
Original Header line data :
-
<th class="poslist" colspan="2">
<isa:translate key="b2b.order.display.posno"/>
</th>
Original item data :
-
<td class="<%= tag_style %>" colspan=2 >
<%= JspUtil.removeNull(item.getNumberInt()) %>
<input type="hidden" name="pos_no[<%= line %>]" value="<%= JspUtil.removeNull(item.getNumberInt()) %>">
</td>
Hi Lars!!
Could do something like this:
-
Original Header line data :
-
<!--
<th class="poslist" colspan="2">
<isa:translate key="b2b.order.display.posno"/>
</th>
-->
Original item data :
-
<!--
<td class="<%= tag_style %>" colspan=2 >
<%= JspUtil.removeNull(item.getNumberInt()) %>
-->
<input type="hidden" name="pos_no[<%= line %>]" value="<%= JspUtil.removeNull(item.getNumberInt()) %>">
<!--
</td>
-->
*****
Or this other (can be <b>better</b>):
-
Original Header line data :
-
<%
/*
<th class="poslist" colspan="2">
<isa:translate key="b2b.order.display.posno"/>
</th>
*/
%>
Original item data :
-
<%
/*
<td class="<%= tag_style %>" colspan=2 >
< % = JspUtil.removeNull(item.getNumberInt()) % > !!<b>Separate '<' or '>' from '%'</b>!!
*/
%>
<input type="hidden" name="pos_no[<%= line %>]" value="<%= JspUtil.removeNull(item.getNumberInt()) %>">
<%
/*
</td>
*/
%>
Hope that helps!!
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.