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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:01:29+00:00 2026-05-14T06:01:29+00:00

I just cannot figure this out, it looks really simple but I’m relatively new

  • 0

I just cannot figure this out, it looks really simple but I’m relatively new at jsf.

Here is the old stuff:
Plain old html form tag like this:

<form name="someForm" action="somewhere" method="post">
   <input name="param1"/>
   <input name="param2" />
</form

That is sending data by post to a location specified in the action attribute of the form.

The new stuff:

<h:form id="paymentForm">
<h:panelGroup> 
    <h:inputText id="param1" value="#{facesView.param1}" ></h:inputText>
    <h:inputText id="param1" value="#{facesView.param2}" ></h:inputText>
    <h:panelGroup>
    <h:commandLink>Submit</h:commandLink>
</h:panelGroup>
</h:form>

This other new stuff doesn’t work.

1.How do I specify to this h:form where to go(like setting action in old html) because I need it to go to a totally new url.

2.how to pass params with POST?

Any help is appreciated.
Milos

  • 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-14T06:01:30+00:00Added an answer on May 14, 2026 at 6:01 am

    If you want to submit a form to a URL where it will be handled by you (or someone else) manually, then you can still use the “old stuff” with JSF and have the form submitted. That way you will lose the ability to bind the values of the inputs to properties of managed bean.

    Otherwise you can’t choose the URL to submit to and at the same time use the bindings – in order to get the JSF functionality you have to submit to the JSF servlet, which in turn to handle everything.

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

Sidebar

Related Questions

I just downloaded MonoDevelop for my Mac, but I cannot figure out how to
I cannot figure this out. The workflow of passing IEnumerable<T> (T is some my
Maybe it's just me, but I cannot understand the documentation regarding Junit test integration
I have just started using silverlight 2 beta and cannot find how to or
I've just added the Twitter script to my website, and cannot, despite inexpertly consulting
Just looking for the first step basic solution here that keeps the honest people
I am taking a principles of programming languages course right now but I cannot
I am sure this question has been asked and answered; but I haven't managed
I definitely searched for this, but I can't find the answer, even though it
this question probably wont be explained very well and that's because I don't really

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.