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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:00:03+00:00 2026-05-25T13:00:03+00:00

I have a html mockup with lots of css images refs etc. and need

  • 0

I have a html mockup with lots of css images refs etc. and need to convert it to a jsf 2.0 app.

I know of the facelets attributes jsfc, but as i see it this does not work for jsf tags that need an attribute itself. Say you have a simple login form that needs to be converted. within there is a submit button. does not work, my action will not be called.

jsfc=”h:button” action=”#{auth.authenticate}”

I am having a hard time to believe that the interaction between developers and designers still is an unsolved problem, after all those iterations in Java EE. Designers do their stuff in html, css, maybe js but no jsf tags or el code. So there must be an efficient way how we can annotate html where the only difference between rendered from the filesysem and rendered from a jsf container is that the later has dynamic functionality.

anyone?

  • 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-25T13:00:04+00:00Added an answer on May 25, 2026 at 1:00 pm

    As to the concrete problem as stated in your question, you’re confusing <h:button> with <h:commandButton>. The <h:button> sends a GET request and supports a navigation case outcome only and the <h:commandButton> sends a POST request and can invoke a bean action method.

    So fix it accordingly as

    jsfc="h:commandButton" action="#{auth.authenticate}"
    

    or

    jsfc="h:button" outcome="nextPage"
    

    I’ll ignore the remnant of your question as that’s subjective. Try http://programmers.stackexchange.com instead (only try to make it a bit more constructive, or it’ll get closed as non-constructive).

    See also:

    • JSF View Declaration Language Documentation – the ultimate JSF tag documentation
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have HTML like this: <div> <a href=>sometext<img src=images/001.jpg /></a> <a href=>sometext<img src=images/002.jpg /></a>
I have html files/Directories, I want to convert them to .chm help file, under
I have a mockup here http://dummytest.herokuapp.com/ At the moment the plain vanilla HTML shows
I have this mock up HTML/CSS website here that is working perfectly fine on
I have HTML and CSS as shown in http://jsfiddle.net/Lijo/Ydjde/ The problem is the text
I have special problem which I am trying to solve using CSS. My HTML
http://blog.helpcurenow.org/test/mockups/mar2010/lp.html In the above landing page, I have an offers box that has four
i have html elements <ul> <li> <dl class=details clear> <dt>TIME&nbsp;:&nbsp;&nbsp;&nbsp;</dt> <dd>09:00:00-10:00:00</dd> <dt>Availible&nbsp;Days&nbsp;:&nbsp;&nbsp;</dt> <dd>monday,tuesday,wednesday</dd> <dt></dt>
I have HTML like this: <article> <header> <hgroup> <h1>Wk 25 </h1> <h2>(18-06 tot 24-06)</h2>
I have HTML which includes scripts in following order <script src=../static/js/jquery.js type=text/javascript> <script src=../static/js/bootstrap.js

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.