473,387 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

date from datetimepicker tag is coming null

<s:form action="Insert_Record_Rbt_in_DataBase">

<s:hidden value="%{tableName}" name="tableName"></s:hidden>

<s:textfield name="PLAN_NAME" label="planName"></s:textfield>
<s:textfield name="PLAN_CODE" label="planCode"></s:textfield>

<s:select name="PLAN_TYPE" label="planType" list="{1,2,3,4,5,6,7,8,9}" value="PLAN_TYPE" />

<s:select name="CIRCLE_ID" label="circleId" list="circle_id_list" value="circle_id_list" ></s:select>

<s:select name="INTERFACE" label="interface" list="{'C','X','J','I'}" value="PLAN_TYPE" />

<s:textfield name="VALIDITY" label="validity"></s:textfield>
<s:textfield name="PRICE" label="price"></s:textfield>
<s:textfield name="CONTENT_TYPE" label="contentType" ></s:textfield>

<s:datetimepicker name="START_TIME" id="date1" label="start time" displayFormat="yyyy-MM-dd" > </s:datetimepicker>
<s:datetimepicker name="END_TIME" id="date2" label="end time" displayFormat="yyyy-MM-dd" > </s:datetimepicker>

<s:select name="STATUS" label="status" list="{1,2,3,4}" ></s:select>
<s:select name="CHARGING_STATUS" label="chargingStatus" list="{1,2,3,4}"></s:select>

<s:textfield name="USER_DEF1" label="userDef1"></s:textfield>
<s:textfield name="SERVICE_ID" label="serviceId"></s:textfield>
<s:textfield name="SERVICE_TYPE" label="serviceType"></s:textfield>

<s:select name="SUBSCRIBER_TYPE" label="subscriberId" list="{'P','C'}"></s:select>

<s:textfield name="max_corp_user" label="max_corp_user"></s:textfield>

<s:submit type="button" name="InsertRecord" value="InsertRecord"></s:submit>
</s:form>
Apr 11 '12 #1
0 1208

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Aad Aldus | last post by:
Ik have created an index on a date field. 99% of all data in the table has a filled in date. 1 % is NULL When I do a select with clause ... WHERE ADATE IS NULL, Oracle does not use the index. ...
0
by: Kal | last post by:
I have a particular problem: I am working at a client site where they have the following oracle system: Oracle7 Server Release 7.3.3.0.0 - Production Release PL/SQL Release 2.3.3.0.0 -...
3
by: John Smith | last post by:
Hello all: Does anyone happen to know the best way to handle null values for DateTimePickers? We have quite a few columns in our db that will not necissarily have a date for certain entries. ...
5
by: tshad | last post by:
I have the following code: *************************************************************************** Dim CommandText as String = "INSERT INTO ftsolutions.dbo.position (client,dateposted) VALUES...
0
by: Bernie Yaeger | last post by:
How can I use a datetimepicker as the control for entry of, say, enddate, when enddate may be any date but also may be null (because the end hasn't been reached yet)? Also, can I set up a...
1
by: David Batt | last post by:
Hello, I wish to set a date in a datarow to dbNull. the column fixeddate does allow nulls in the dataset Whenever I try and set the value to dbNull or "" I get an invalid cast error, is there...
7
by: Pieter | last post by:
Hi, I'm looking for a DateTimePicker that supports 100% databinding (and support null-values)... It's a shame that the normal control doesn't, but when searching on the internet, I didn't find...
4
by: davide507 | last post by:
Hello, I've created a select query with a date range parameter as well as a text field parameter Between and The second parameter: Like or Like Is Null. When you run the query, and...
3
by: BD | last post by:
I have sent several posts on this topic and feel my lack of information is not helping to find the solution. I am developing application in C# with Visual Studio 2005 to connect with remote SQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.