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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:38:32+00:00 2026-05-26T00:38:32+00:00

since I know I can’t use the Spring tag library in Facelets, I wonder

  • 0

since I know I can’t use the Spring tag library in Facelets, I wonder if anyone can tell me what should I use instead of

<sf:form method="POST" modelAttribute="spitter">
.....
</sf:form>

Where prefix sf refers to (in JSP only):

<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>

I really like the idea of this form, that it binds all properties directly to modelAttribute object.
Is there any possibility that <h:form>...</h:form> can do the same?
Or is there any other tag, that can handle it?

I can’t use JSP because i want to use PrimeFaces.

I’m just a beginner in J2EE, so please be patient 🙂

Thank you in advance

  • 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-26T00:38:33+00:00Added an answer on May 26, 2026 at 12:38 am

    Yes, <h:form> does a similar thing. Even though the JSF approach is a bit different, the end result is similar: With spring the object gets submitted, and with jsf the field values end up in your managed bean. You will just have to use

    <h:inputText value="#{bean.property}" />
    

    (where bean is a @ManagedBean-annotated class (for jsf2), or declared in faces-config (for jsf1))

    This difference is that the spring form is submitted to the target url, and spring finds the target method based on the mapping, while here you specify which method of the managed bean to invoke in your <h:commandButton />

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

Sidebar

Related Questions

I know since the 3.0 SDK we can use accessories, so my question is
I know it can't be done since using var can only be done for
Do you know of any practical use of If-Unmodified-Since in the wild? From the
If I have a string, I know I can use If System.IO.File.Exists(mystring) or System.IO.Directory.Exists(mystring)
Can anyone please suggest how should I implement column drag and drop (with auto
Does anyone know how i can delete a column of a table in word
I know I can use android build in email app when I use the
Can someone tell me why I cannot use $.proxy to remove a dom element.
i wanted to know how can we implement call back mechanism in .net, since
I know I can reset the Java timer, but, since I already have so

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.