on 01-18-2009 2:31 PM
Dear Friends
I am using this code to get the date help in my bsp page, i cant see any button near to date field and that field is not working as well. please check with my code and advice me i havent dont anything except this.
<%@ page language = "abap %>
<%@ extension name= "htmlb" prefix "htmlb" %>
<htmlb:content id="form1" lableDesignBar="Standard">
<htmlb:form action="Post">
<htmlb:inputField id="date_field" value="<%= ecdate %>"showHelp='X' type="DATE" />
</htmlb:form>
</htmlb:content>
please help me ot make this thing work
any help of yours will be appreciated.. thank you very much
Regards
Naeem
Hi Friend,
Nothing wrong in your codings.The one and only thing you have to do is ,insert a tag of
<htmlb:page>
in between the
<htmlb:content > and <htmlb:form>
tags .This will do. You will be getting the desired output.
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content id="form1" design="design2003" >
<htmlb:page >
<htmlb:form action="Post">
<htmlb:inputField id="date_field" value="<%= ecdate %>"showHelp='X' type="DATE" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
Declare the variable ecdate as of type date under attributes .
With Regards,
SHARMILA BRINDHA.M
Edited by: SHARMILA BRINDHA on Jan 19, 2009 5:56 AM
Edited by: SHARMILA BRINDHA on Jan 19, 2009 6:03 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Naim Khan S Babi ,
Follow the below code.
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content design="design2003">
<htmlb:form>
<htmlb:label text="Date : " />
<htmlb:inputField id = "fmtDate"
value = "<%=wf_date%>"
maxlength = "10"
type = "date"
showHelp = "X" />
</htmlb:form>
</htmlb:content>
Hope this will be helpful.
Regards,
Gokul.N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.