i want to edit a field of a data base after displaying it!
i added a new controller for that
i want to show the data of the selected line(to edit) when editing!
i can not render the information...
Type: Posts; User: myriam818; Keyword(s):
i want to edit a field of a data base after displaying it!
i added a new controller for that
i want to show the data of the selected line(to edit) when editing!
i can not render the information...
spring portlet MVC, is not a lot diffrent from spring web MVC; it inherites the whole of its functions and they are all used normally with spring portlet!!!
thank you so much , i will focus on this...
you are right , it's the first time that i use spring!!
so, can u please tell me what to put in MyCommandObject? i can access the 2 dates via request.getParameter("start_date")
I don't understand...
hello
did u succeed to do a validator to compare the 2dates with spring? i want to do the same thing! so if anyone can help; i will b so grateful!
can any one tell me how to use the Validator of spring to set a DateValidator comparing the 2 dates??
:confused:
I have another question:
how can i do a check on the 2 dates, compare them to be sure that from date is before to date???
do i use validators? how?
or do i use javascript?
Thank u everyone, it's working now!
Do i need to define the controller as a SimpleFormController, or an AbstractController can do the job for me???
my problem; is that "request.getParameter("start_date") , render a String but i need to render the dates!!!
what shall i do?
thank you but i have already done this; look at my new EDao (i rename it ErrorDAO) :
package dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;...
I don't really understand the third point :
3) From your controller acess this method eDao.myMethod(start_date, end_date) passing in the parameters from the HttpServletRequest
that's really my...
i am using a portlet and not a servlet!
this is how do the controller communicate with the DAO class :
<bean id="newController" class="controller.newController">
<property name="cacheSeconds" value="120"/>
<property...
i am accessing the database within a bean DataSource
I implement a class named EDAO:
package dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;...
but i am getting the 2 parameters in the controller via
" request.getParameter(Start_date) "
so i don't see how can i use these 2 dates as parameters to the method :
myMethod(Date fromDate, Date...
Hello everyone
Iam working with Spring Portlet MVC.
here is my problem, i 'm writing a portlet that connects to a database ,do a select from it and displays the result!
i want the user to choose 2...
Good morning
Thank you for your help! i already got the solution! i had to create a hashMap and put the results inside.
any way thank you
Hello everybody
I am getting started with Spring 2.0.7 , i have to develop an application that displays results from an Oracle datebase in a portlet via JSP!
i successfully, connected to the data...
Hello everybody
I am getting started with Spring 2.0.7 , i have to develop an application that displays results from an Oracle datebase in a portlet via JSP!
i successfully, connected to the data...