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

  • Home
  • SEARCH
  • 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 7414943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:12:04+00:00 2026-05-29T07:12:04+00:00

This is now in addition to this question I asked earlier(2nd day on play

  • 0

This is now in addition to this question I asked earlier(2nd day on play here)

tag not receiving the model bean (it's null) but containing page does?

but now I get the value on the page in the input text box, but on post it is not delivered to my controller while the company object is delivered to my controller.

I basically have a page like this

    #{form @Login.registerFinish(), id:'register'}

        #{registerUserImpl user:user/}  
//then there are more input fields for the company

then, there is my tag file which has fields like so

<div id="register:firstDecorate">
    <div class="entry">
        <div class="spacer"></div>
        #{field '_user.firstName'}
        <span class="label ${field.errorClass}">User's First Name:</span>
        <span class="input ${field.errorClass}">
            <input type="text" class="boxtpl" name="${field.name}" value="${_user?.firstName}">
            <a id="newinfo" class="help" title="&{'help.usersFirstName'}">Help</a>
            <span class="error">${field.error}</span>
        </span>
        #{/field}
    </div>
</div>

Soooo, then my first controller to get to this page passes a UserDbo and CompanyDbo and I see the email from the UserDbo fill in the input type=text element just fine and when I then submit the form, I see CompanyDbo passed to my controller but UserDbo is null???

My method signature for the controller in the java code is

public static void registerFinish(UserDbo user, CompanyDbo company) {
        //here we show the invite user page first normally...
        log.info("user="+user+" company="+company+" c="+company.getAlias());

I have no idea why my user data is not being passed to me. We have two pages re-using this page(well, this is a port from seam to try out the playframework).

thanks,
Dean

  • 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-05-29T07:12:05+00:00Added an answer on May 29, 2026 at 7:12 am

    try change name=”${field.name}” in the input tag to name=”user.firstName”. I’m guessing that when your above template is rendered the ${field.name} is rendered to _user.firstName which then doesn’t bind to the signature of the controller “UserDbo user”.

    You can test this by either making the change and trying it or looking at the actual rendered page source from your current code. Also, if this doesn’t work can you add your page source for the form section to the question so we can have a look at it.

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

Sidebar

Related Questions

This is very similar to a question I asked the other day but my
This is very similar to a question I asked the other day but my
This question has been asked before, but not with this exact issue. I have
Never asked a question here before, I'll try to lay this out as succinctly
I'm really struggling with this now, been on it for ages and asked two
Now this isn't a question as to which of the technologies is better, since
Now this may seem like a silly question, but I need to know how
I'm having this crash now and then, in a thread that is not started
I've asked a similar question before here and the answer solved my problem. However,
This is an addition to this similar question: Which is faster when animating the

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.