Sadly, I am a Webwork guy, so I can only help you in general direction rather
than specific detail.
So when you edit an existing record you can edit values, post to the server
and debug your controller and see the command object populated with your
updated values? But when you post a new object you don't see any of the
values you posted.
Of course, the first instinct is that _ is a problem, and the first thing I
would try is to remove the _ on a few fields and see if their values come
through on a new item. Some web framework jsp tags use the
formname_fieldname as the actual HTML post variable name. The extra _ could
be confusing it when its trying to post the values to your command object.
But if that were the case, it seems like it should do that when you edit as
well.
The only other thing I can think of if we cannot isolate a test that shows
it works without the underscore is that the controller is creating a new
RequestDao object after the values have been posted from the web. Its
possible that your logic says something like:
<blockquote>
Post HTML form with model.fieldname=fieldvalue request parameters
Framework creates your model object and applies what ever values it
finds that match the properties of your model.
If I see an _id then I need to load the item from the database
else I need to create a new object //Oops, did I just overwrite the
frameworks object?
</blockquote>
I have had problems in the past where I was overwriting the model object the
framework created for me with a fresh and blank model object. I would focus
on the order that the model object gets created. This would seem like where
the problem would lie if I could save updates but not new item values.
The inner workings of the Spring MVC is a mystery to me so I am not sure
what order your controller code gets executed.
Msarda wrote:
>
> Here is my JSP page..
>
> <%@ include file="/common/taglibs.jsp"%>
>
> <head>
> <title><fmt:message key="requestdaoDetail.title"/></title>
> <meta name="heading" content="<fmt:message
> key='requestdaoDetail.heading'/>"/>
> </head>
>
> <form:form commandName="requestdao" method="post"
> action="requestdaoform.html" id="requestdaoForm" onsubmit="return
> validateRequestdao(this)">
> <form:errors path="*" cssClass="error" element="div"/>
> <form:hidden path="_id"/>
> <ul>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._title"/>
> <form:errors path="_title" cssClass="fieldError"/>
> <form:input path="_title" id="_title" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._requestorsName"/>
> <form:errors path="_requestorsName" cssClass="fieldError"/>
> <form:input path="_requestorsName" id="_requestorsName"
> cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._requestorsExtensionNo"/>
> <form:errors path="_requestorsExtensionNo" cssClass="fieldError"/>
> <form:input path="_requestorsExtensionNo"
> id="_requestorsExtensionNo" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._requestorsEmailId"/>
> <form:errors path="_requestorsEmailId" cssClass="fieldError"/>
> <form:input path="_requestorsEmailId" id="_requestorsEmailId"
> cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._LOB"/>
> <form:errors path="_LOB" cssClass="fieldError"/>
> <form:textarea path="_LOB" id="_LOB" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._iTSolutionLeadsName"/>
> <form:errors path="_iTSolutionLeadsName" cssClass="fieldError"/>
> <form:input path="_iTSolutionLeadsName" id="_iTSolutionLeadsName"
> cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._iTSolutionLeadsExtensionNo"/>
> <form:errors path="_iTSolutionLeadsExtensionNo"
> cssClass="fieldError"/>
> <form:input path="_iTSolutionLeadsExtensionNo"
> id="_iTSolutionLeadsExtensionNo" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._iTSolutionLeadsEmailId"/>
> <form:errors path="_iTSolutionLeadsEmailId"
> cssClass="fieldError"/>
> <form:input path="_iTSolutionLeadsEmailId"
> id="_iTSolutionLeadsEmailId" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._typeofRequest"/>
> <form:errors path="_typeofRequest" cssClass="fieldError"/>
> <%-- <form:input path="_typeofRequest" id="_typeofRequest"
> cssClass="text medium"/> --%>
> <spring:bind path="requestdao._priority">
> <input type="radio" name="priority"
> value="Enhancement"/>Enhancement<br>
> <input type="radio" name="priority"
> value="Table/ConfigChange"/>Table/Config Change<br>
> <input type="radio" name="priority"
> value="GeneralEnquiry"/>General Enquiry<br>
> <input type="radio" name="priority" value="Report"/>Report<br>
> <input type="radio" name="priority" value="Support"/>Support(enter
> #):
> <%-- <appfuse:label styleClass="desc"
> key="requestdao._typeOfReqSupportNo"/> --%>
> <form:errors path="_typeOfReqSupportNo" cssClass="fieldError"/>
> <form:input path="_typeOfReqSupportNo" id="_typeOfReqSupportNo"
> disabled="true" cssClass="text medium"/>
> <%-- <%
> if(Form.priority(4).checked == true)
> {
> Form._typeOfReqSupportNo.disabled=false;
> }
> %> --%>
> <br>
> <input type="radio" name="priority" value="PartOfProgram"/>Part Of
> Program
> <%--<appfuse:label styleClass="desc"
> key="requestdao._partOfProgram"/> --%>
> <form:errors path="_partOfProgram" cssClass="fieldError"/>
> <form:input path="_partOfProgram" id="_partOfProgram"
> disabled="true" cssClass="text medium"/>
> <br>
> </spring:bind>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._systems"/>
> <spring:bind path="requestdao._systems">
> <select name="_systems" multiple="true">
> <option
> value="BPAYBiller">BPAY Biller </option>
> <option
> value="DocumentGenerationSystem">Document Generation
> System</option>
> <option
> value="RelationshipPricingModel">Relationship Pricing
> Model</option>
> <option value="Business
> Banking">Business Banking</option>
> <option
> value="BisTracker">BisTracker</option>
> <option
> value="EventTracker">Event Tracker</option>
> <option
> value="Other:">Other:</option>
> </select>
> </spring:bind>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._reasonWorkRequired"/>
> <form:errors path="_reasonWorkRequired" cssClass="fieldError"/>
> <form:textarea path="_reasonWorkRequired" id="_reasonWorkRequired"
> cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._descriptionOfWorkRequired"/>
> <form:errors path="_descriptionOfWorkRequired"
> cssClass="fieldError"/>
> <form:textarea path="_descriptionOfWorkRequired"
> id="_descriptionOfWorkRequired" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._impactIfChangeIsNotMade"/>
> <form:errors path="_impactIfChangeIsNotMade"
> cssClass="fieldError"/>
> <form:textarea path="_impactIfChangeIsNotMade"
> id="_impactIfChangeIsNotMade" cssClass="text medium"/>
> </li>
>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._relatedProjectProgramActivity"/>
> <form:errors path="_relatedProjectProgramActivity"
> cssClass="fieldError"/>
> <form:textarea path="_relatedProjectProgramActivity"
> id="_relatedProjectProgramActivity" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._quantifiedFinancialBenefits"/>
> <form:errors path="_quantifiedFinancialBenefits"
> cssClass="fieldError"/>
> <form:textarea path="_quantifiedFinancialBenefits"
> id="_quantifiedFinancialBenefits" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._otherBenefits"/>
> <form:errors path="_otherBenefits" cssClass="fieldError"/>
> <form:textarea path="_otherBenefits" id="_otherBenefits"
> cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._funding"/>
> <form:errors path="_funding" cssClass="fieldError"/>
> <%-- <form:input path="_funding" id="_funding" cssClass="text
> medium"/> --%>
> <spring:bind path="requestdao._funding">
> <input type="radio" name="funding" value="ProjectFunded"/>Project
> Funded<br>
> <input type="radio" name="funding" value="BAU"/>BAU<br>
> <input type="radio" name="funding" value="Don'tKnow"/>Don't Know
> <br>
> </spring:bind>
> </li>
>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._priority"/>
> <form:errors path="_priority" cssClass="fieldError"/>
> <%-- <form:input path="_priority" id="_priority" cssClass="text
> medium"/> --%>
> <spring:bind path="requestdao._priority">
> <input type="radio" name="priority" value="TOP PRIORITY"/>TOP
> PRIORITY(requires GE sign off)<br>
> <input type="radio" name="priority" value="Not date driven,but
> ASAP"/>Not date driven,but ASAP<br>
> <input type="radio" name="priority" value="Date driven:date
> required is:"/>Date driven:date required is:
> <%-- <appfuse:label styleClass="desc"
> key="requestdao._priorityDate"/> --%>
> <form:errors path="_priorityDate" cssClass="fieldError"/>
> <form:input path="_priorityDate" id="_priorityDate"
> disabled="true" cssClass="text medium"/> <!-- todo: add calendar -->
> <br>
> <input type="radio" name="priority" value="Not date driven,not
> urgent"/>Not date driven,not urgent<br>
> </spring:bind>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._timingIssues"/>
> <form:errors path="_timingIssues" cssClass="fieldError"/>
> <form:textarea path="_timingIssues" id="_timingIssues"
> cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc"
> key="requestdao._alternativeSolutions"/>
> <form:errors path="_alternativeSolutions" cssClass="fieldError"/>
> <form:textarea path="_alternativeSolutions"
> id="_alternativeSolutions" cssClass="text medium"/>
> </li>
> <li>
> <appfuse:label styleClass="desc" key="requestdao._areasImpacted"/>
> <spring:bind path="requestdao._areasImpacted">
> <select name="_areasImpacted" multiple="true">
> <option value="GI
> Personal Lines">GI Personal Lines </option>
> <option value="Group
> Strategy">Group Strategy</option>
> <option value="Retail
> Bank & Wealth Management">Retail Bank &
> Wealth Management</option>
> <option value="Business
> Banking">Business Banking</option>
> <option value="GI
> Commercial Lines">GI Commercial Lines</option>
> <option
> value="IT">IT</option>
> <option
> value="Other">Other</option>
> </select>
> </spring:bind>
> </li>
> <li class="buttonBar bottom">
> <input type="submit" class="button" name="save"
> value="<fmt:message key="button.save"/>"/>
> <c:if test="${not empty requestdao._id}">
> <input type="submit" class="button" name="delete"
> onclick="bCancel=true;return confirmDelete('requestdao')"
> value="<fmt:message key="button.delete"/>" />
> </c:if>
> <input type="submit" class="button" name="cancel"
> value="<fmt:message key="button.cancel"/>" onclick="bCancel=true"/>
> </li>
> </ul>
> </form:form>
>
> <v:javascript formName="requestdao" cdata="false" dynamicJavascript="true"
> staticJavascript="false"/>
> <script type="text/javascript" src="<c:url
> value="/scripts/validator.jsp"/>"></script>
>
> <script type="text/javascript">
> Form.focusFirstElement($('requestdaoForm'));
> </script>
>
>
> Here is my controllers code...this is generated by maven..
>
>
>
> package au.com.suncorp.webapp.controller;
>
> import org.apache.commons.lang.StringUtils;
> import org.appfuse.service.GenericManager;
> import au.com.suncorp.model.Requestdao;
> import org.appfuse.webapp.controller.BaseFormController;
> import org.springframework.validation.BindException;
> import org.springframework.web.servlet.ModelAndView;
>
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
> import java.util.Locale;
>
> public class RequestdaoFormController extends BaseFormController {
> private GenericManager<Requestdao, Long> requestdaoManager = null;
>
> public void setRequestdaoManager(GenericManager<Requestdao, Long>
> requestdaoManager) {
> this.requestdaoManager = requestdaoManager;
> }
>
> public RequestdaoFormController() {
> setCommandClass(Requestdao.class);
> setCommandName("requestdao");
> }
>
> protected Object formBackingObject(HttpServletRequest request)
> throws Exception {
> String _id = request.getParameter("_id");
>
> if (!StringUtils.isBlank(_id)) {
> return requestdaoManager.get(new Long(_id));
> }
>
> return new Requestdao();
> }
>
> public ModelAndView onSubmit(HttpServletRequest request,
> HttpServletResponse response, Object
> command,
> BindException errors)
> throws Exception {
> log.debug("entering 'onSubmit' method...");
>
> Requestdao requestdao = (Requestdao) command;
> boolean isNew = (requestdao.get_id() == null);
> String success = getSuccessView();
> Locale locale = request.getLocale();
>
> if (request.getParameter("delete") != null) {
> requestdaoManager.remove(requestdao.get_id());
> saveMessage(request, getText("requestdao.deleted", locale));
> } else {
> requestdaoManager.save(requestdao);
> String key = (isNew) ? "requestdao.added" :
> "requestdao.updated";
> saveMessage(request, getText(key, locale));
>
> if (!isNew) {
> success = "redirect:requestdaoform.html?_id=" +
> requestdao.get_id();
> }
> // else{
> // EmailGenerator emailgen = new EmailGenerator();
> // emailgen.sendEmailNotification(requestdao.get_id());
> // request.getSession().setAttribute("requsetId",
> requestdao.get_id());
> // }
> }
>
> return new ModelAndView(success);
> }
> }
>
>
> dusty wrote:
>>
>> OK, tell me about your JSP page or show the code.. that should help get
>> to the bottom of it.
>>
>> Also your action code.
>>
>> -D
>>
>> Msarda wrote:
>>>
>>> I am using spring framework and i have customized my jsp also...
>>> what you are saying( your understanding ) is also correct...
>>>
>>> Command object is my model object.
>>> I am also able to save updated value for the entries generated by
>>> maven...
>>>
>>>
>>>
>>>
>>>
>>> dusty wrote:
>>>>
>>>> A couple of questions to help me understand your problem:
>>>>
>>>> 1) Are you using Struts? What web framework are you using.
>>>> 2) Have you customized your jsp form or the action the form posts to?
>>>>
>>>> Also, help me understand your problem but confirming my understanding.
>>>>
>>>> You have a model object for which you used the appfuse plugin to
>>>> generate the necessary Dao,Service and Web plumbing to do basic CRUD
>>>> functionality. As part of that generation, the appfuse plugin has
>>>> created some sample data and inserted rows via dbunit for your model
>>>> object.
>>>>
>>>> You fire up jetty and go to the list page for your model object and
>>>> select to create a new model object. The form displays and you fill
>>>> out all of the text fields (references like your @ManyToMany will not
>>>> show up on a generated form). You post the form to the action and it
>>>> claims to have saved the new object. You return to the list page and
>>>> you have an entry for your new object but all of the values in the list
>>>> are blank. You look in the database and you see a new row, but only
>>>> the _id column is populated. Correct?
>>>>
>>>> When you refer to your command object do you mean your model or your
>>>> web action? When you edit the records inserted by Maven can you save
>>>> them with the updated values? Can you configure hibernate to
>>>> show_sql=true to see what its trying to insert?
>>>>
>>>> Losing field values when you post to the server could be a number of
>>>> things. I can be a field naming issue in the web form, it can be an
>>>> interceptor problem on the web framework applying your field values to
>>>> the model object. I am not sure about what effect a leading _ in your
>>>> field name would do. I will have to run a test to see if that breaks
>>>> anything.
>>>>
>>>>
>>>>
>>>>
>>>> Msarda wrote:
>>>>>
>>>>> Here is my model object....I have generated only this object....(also
>>>>> two other model objects for many to many relationship)
>>>>> Every thing else i got generated by maven mvn appfuse:install command.
>>>>> i think this may be because of underscore (_) before variable
>>>>> name...but i have to use in this way only...
>>>>>
>>>>> package au.com.suncorp.model;
>>>>>
>>>>> import org.appfuse.model.BaseObject;
>>>>>
>>>>>
>>>>> import javax.persistence.Entity;
>>>>> import javax.persistence.GeneratedValue;
>>>>> import javax.persistence.GenerationType;
>>>>> import javax.persistence.Id;
>>>>> import javax.persistence.ManyToMany;
>>>>>
>>>>> import java.util.Date;
>>>>> import java.util.Set;
>>>>>
>>>>> @Entity
>>>>> public class Requestdao extends BaseObject{
>>>>>
>>>>> private Long _id;
>>>>> private String _title;
>>>>> private String _requestorsName;
>>>>> private int _requestorsExtensionNo;
>>>>> private String _requestorsEmailId;
>>>>> private String _LOB;
>>>>> private String _iTSolutionLeadsName;
>>>>> private int _iTSolutionLeadsExtensionNo;
>>>>> private String _iTSolutionLeadsEmailId;
>>>>> private String _typeofRequest;
>>>>> private String _typeOfReqSupportNo;
>>>>> private String _partOfProgram;
>>>>> private String _descriptionOfWorkRequired;
>>>>> private String _relatedProjectProgramActivity;
>>>>> private String _quantifiedFinancialBenefits;
>>>>> private String _otherBenefits;
>>>>> private String _funding;
>>>>> private String _impactIfChangeIsNotMade;
>>>>> private String _reasonWorkRequired;
>>>>> private String _priority;
>>>>> private String _timingIssues;
>>>>> private String _alternativeSolutions;
>>>>> private Date _priorityDate;
>>>>> private Set<WebAppsSystem> _systems;
>>>>> private Set<AreasImpacted> _areasImpacted;
>>>>>
>>>>>
>>>>>
>>>>> @Id @GeneratedValue(strategy=GenerationType.AUTO)
>>>>> public Long get_id() {
>>>>> return _id;
>>>>> }
>>>>> public void set_id(Long _id) {
>>>>> this._id = _id;
>>>>> }
>>>>>
>>>>>
>>>>>
>>>>> public String get_title() {
>>>>> return _title;
>>>>> }
>>>>> public void set_title(String _title) {
>>>>> this._title = _title;
>>>>> }
>>>>> public String get_requestorsName() {
>>>>> return _requestorsName;
>>>>> }
>>>>> public void set_requestorsName(String name) {
>>>>> _requestorsName = name;
>>>>> }
>>>>> public int get_requestorsExtensionNo() {
>>>>> return _requestorsExtensionNo;
>>>>> }
>>>>> public void set_requestorsExtensionNo(int extensionNo) {
>>>>> _requestorsExtensionNo = extensionNo;
>>>>> }
>>>>> public String get_requestorsEmailId() {
>>>>> return _requestorsEmailId;
>>>>> }
>>>>> public void set_requestorsEmailId(String emailId) {
>>>>> _requestorsEmailId = emailId;
>>>>> }
>>>>> public String get_LOB() {
>>>>> return _LOB;
>>>>> }
>>>>> public void set_LOB(String _lob) {
>>>>> _LOB = _lob;
>>>>> }
>>>>> public String get_iTSolutionLeadsName() {
>>>>> return _iTSolutionLeadsName;
>>>>> }
>>>>> public void set_iTSolutionLeadsName(String solutionLeadsName) {
>>>>> _iTSolutionLeadsName = solutionLeadsName;
>>>>> }
>>>>> public int get_iTSolutionLeadsExtensionNo() {
>>>>> return _iTSolutionLeadsExtensionNo;
>>>>> }
>>>>> public void set_iTSolutionLeadsExtensionNo(int
>>>>> solutionLeadsExtensionNo) {
>>>>> _iTSolutionLeadsExtensionNo = solutionLeadsExtensionNo;
>>>>> }
>>>>> public String get_iTSolutionLeadsEmailId() {
>>>>> return _iTSolutionLeadsEmailId;
>>>>> }
>>>>> public void set_iTSolutionLeadsEmailId(String solutionLeadsEmailId) {
>>>>> _iTSolutionLeadsEmailId = solutionLeadsEmailId;
>>>>> }
>>>>>
>>>>> public String get_typeofRequest() {
>>>>> return _typeofRequest;
>>>>> }
>>>>> public void set_typeofRequest(String request) {
>>>>> _typeofRequest = request;
>>>>> }
>>>>> public String get_descriptionOfWorkRequired() { return
>>>>> _descriptionOfWorkRequired;
>>>>> }
>>>>> public void set_descriptionOfWorkRequired(String ofWorkRequired) {
>>>>> _descriptionOfWorkRequired = ofWorkRequired;
>>>>> }
>>>>> public String get_relatedProjectProgramActivity() {
>>>>> return _relatedProjectProgramActivity;
>>>>> }
>>>>> public void set_relatedProjectProgramActivity(String
>>>>> projectProgramActivity) {
>>>>> _relatedProjectProgramActivity = projectProgramActivity;
>>>>> }
>>>>>
>>>>> public String get_quantifiedFinancialBenefits() {
>>>>> return _quantifiedFinancialBenefits;
>>>>> }
>>>>> public void set_quantifiedFinancialBenefits(String financialBenefits)
>>>>> {
>>>>> _quantifiedFinancialBenefits = financialBenefits;
>>>>> }
>>>>> public String get_otherBenefits() {
>>>>> return _otherBenefits;
>>>>> }
>>>>> public void set_otherBenefits(String benefits) {
>>>>> _otherBenefits = benefits;
>>>>> }
>>>>> public String get_funding() {
>>>>> return _funding;
>>>>> }
>>>>> public void set_funding(String _funding) {
>>>>> this._funding = _funding;
>>>>> }
>>>>>
>>>>> public String get_impactIfChangeIsNotMade() {
>>>>> return _impactIfChangeIsNotMade;
>>>>> }
>>>>> public void set_impactIfChangeIsNotMade(String ifChangeIsNotMade) {
>>>>> _impactIfChangeIsNotMade = ifChangeIsNotMade;
>>>>> }
>>>>>
>>>>> public String get_reasonWorkRequired() {
>>>>> return _reasonWorkRequired;
>>>>> }
>>>>> public void set_reasonWorkRequired(String workRequired) {
>>>>> _reasonWorkRequired = workRequired;
>>>>> }
>>>>> public String get_priority() {
>>>>> return _priority;
>>>>> }
>>>>>
>>>>> public void set_priority(String _priority) {
>>>>> this._priority = _priority;
>>>>> }
>>>>> public String get_timingIssues() {
>>>>> return _timingIssues;
>>>>> }
>>>>> public void set_timingIssues(String issues) {
>>>>> _timingIssues = issues;
>>>>> }
>>>>>
>>>>> public String get_alternativeSolutions() {
>>>>> return _alternativeSolutions;
>>>>> }
>>>>> public void set_alternativeSolutions(String solutions) {
>>>>> _alternativeSolutions = solutions;
>>>>> }
>>>>> public String toString() { return null; }
>>>>> public boolean equals(Object o) { return false; }
>>>>> public int hashCode() { return 0; }
>>>>> public String get_partOfProgram() {
>>>>> return _partOfProgram;
>>>>> }
>>>>> public void set_partOfProgram(String ofProgram) {
>>>>> _partOfProgram = ofProgram;
>>>>> }
>>>>> public Date get_priorityDate() {
>>>>> return _priorityDate;
>>>>> }
>>>>> public void set_priorityDate(Date date) {
>>>>> _priorityDate = date;
>>>>> }
>>>>> public String get_typeOfReqSupportNo() {
>>>>> return _typeOfReqSupportNo;
>>>>> }
>>>>> public void set_typeOfReqSupportNo(String ofReqSupportNo) {
>>>>> _typeOfReqSupportNo = ofReqSupportNo;
>>>>> }
>>>>> @ManyToMany
>>>>> public Set<AreasImpacted> get_areasImpacted() {
>>>>> return _areasImpacted;
>>>>> }
>>>>> public void set_areasImpacted(Set<AreasImpacted> impacted) {
>>>>> _areasImpacted = impacted;
>>>>> }
>>>>> @ManyToMany
>>>>> public Set<WebAppsSystem> get_systems() {
>>>>> return _systems;
>>>>> }
>>>>> public void set_systems(Set<WebAppsSystem> _systems) {
>>>>> this._systems = _systems;
>>>>> }
>>>>>
>>>>> }
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> mraible wrote:
>>>>>>
>>>>>> I don't understand your problem very well. Maybe you can post some
>>>>>> code that will make things easier to understand? You also might
>>>>>> consider writing a unit test for your issue to see what tier it's
>>>>>> happening in.
>>>>>>
>>>>>> Matt
>>>>>>
>>>>>> On 6/28/07, Msarda <[EMAIL PROTECTED]> wrote:
>>>>>>>
>>>>>>> I have one model object....when i am trying to save new entry in
>>>>>>> table...i am
>>>>>>> getting everything null in the command object...
>>>>>>> But when i am trying to edit automatically generated values by
>>>>>>> maven....i am
>>>>>>> getting those values in command object....
>>>>>>> I don't know whats wrong happening when trying to add new row....
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/Command-object-null-tf3997586s2369.html#a11353330
>>>>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> http://raibledesigns.com
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Command-object-null-tf3997586s2369.html#a11363049
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]