Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7821407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:38:29+00:00 2026-06-02T07:38:29+00:00

The view.html looks like this, what am I missing because of which the tables

  • 0

The view.html looks like this, what am I missing because of which the tables are populated with null values ?

                <form class="form-inline form-fields" action="SubmitArticle" method="POST">

                    <fieldset>
                    <div class="control-group success">
                    <label class="control-label" for="input01"><a>Author Name</a></label>
                    <div class="controls">
                    <input type="text" class="input-xlarge" id="input01" name="${article?.author}">
                    </div>
                    </div>


                    <div class="form-actions">
                    <button class="btn btn-success btn-large span2" type="submit" name="commit"> Submit </button>
                    </div>      




                    <div class="control-group right-area success">
                    <label class="control-label" for="input01"><a>Abstract</a></label>
                    <div class="controls">
                    <textarea id="textarea" class="input-xlarge" rows="3" style="width: 498px; height: 283px;" name="${article?.abstract}"></textarea>
                    </div>
                    </div>




                </fieldset>

           </form>

and the action in my controller looks like this:

 public static void SubmitArticle(String article_name, User author, String         article_abstract) {

        Article article = new Article(article_name, author, article_abstract);
        article.save();
              }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T07:38:31+00:00Added an answer on June 2, 2026 at 7:38 am
    <input type="text" class="input-xlarge" id="input01" name="${article?.author}">
    

    The name field is incorrect, the name field should be the same as the attribute it will be mapped to in your object. What you have set as ${article?.author} should be value. Read a little more on Form to Object binding.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a basic view of what my html looks like: <form> <div id=part1> //
I have a view model that looks like this: public class VenueIndexViewModel : BaseViewModel
This is what my Html helper looks like: namespace WebApp.WebUI { public static class
If I have a model named Client and controller that looks like this class
My controller file looks like this: class QuotesController < ApplicationController def show @quote =
I have HTML view using 2010 .NET, which I am generating in the report
So I have a view containing a web view with HTML content. This is
I am just new in MVC 3. I have a html view which contain
I have a view and template called index.html. I have a image which is
In a .NET MVC partial view, I'd like to do something like this: <%

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.