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 8229311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:45:24+00:00 2026-06-07T16:45:24+00:00

I am binding fields with name , value attributes. but it is not comfortable.

  • 0

I am binding fields with name , value attributes. but it is not comfortable.

input(name='user[name]', value='#{user.name}')

I want data-binding similar to knockout.js but without loading javascript in the client (traditional mobile devices). Something like the following code:

 input(databind='username[value]')
  • 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-07T16:45:26+00:00Added an answer on June 7, 2026 at 4:45 pm

    A big part of the power of knockout.js is “two way binding”, detecting changes and events on DOM elements and reflecting them in the Model. This part is not possible without loading javascript.

    So I assume you are asking about some form of one way binding when generating html to send to the client.

    This makes me wonder what benefits you seek. Is it simply a preference for a different style of coding?

    Knockout.js’s data binding is presented as an extensible set of ‘bindings’ each tailored to a specific purpose, to make a specific range of use scenarios convenient. knockout’s foreach, or repeat bindings can be convenient for generating lists or tables, for example. To me, knockout’s greatest strength is the ease of creating new bindings to suit your specific needs.

    For what it’s worth here are some ideas…in no particular order.

    1. You might be able to use jade mixins and blocks to define some simple reusable bindings that fit common use scenarios.
    2. Look at other template libraries that fit your server side environment, see if there’s something you like better than jade.
    3. A template library with an extension mechanism (EJS filters, Mustache lambdas, JSP custom tags) would allow you to create some frequently used bindings for your use scenarios and reuse them.

    Probably the best thing to do is to be more specific about the benefits you want. That might inspire some better responses here.

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

Sidebar

Related Questions

Is it possible to do data binding on the fields of an object just
The Binding syntax, {Binding /} , works in WPF but does not work at
Data binding is all about declarative code, right? So I specify what I want
When Binding a GridView to a DataTable, How can we Change the value displayed
Auto-binding of request params seems like default behaviour, but I can't find a lot
I'm building a Spring MVC app with Spring 3.0.3. I have data binding of
Sorry if this is elementary, but I've not found a good example precisely describing
I'm binding the jquery datepicker to an input field. This works fine with static
I have the following listpicker in my XAML; <toolkit:ListPicker Name=CategoryPicker ItemsSource={Binding Category} CacheMode=BitmapCache FullModeHeader={Binding
I have a form with two fields with the name attribute of 'photo_title' and

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.