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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:05:28+00:00 2026-06-10T01:05:28+00:00

I have a page that allow to edit user, and when a user click

  • 0

I have a page that allow to edit user, and when a user click in “edit” button, I redirect him to another page for some seconds an I want to redirect him again but this time to another page once and for all,
I tried to use <p:poll>

but it doesn’t work
here is my code :

 <?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./template_admin.xhtml">

            <ui:define name="content">
                <h:form id="form">

                            <p:panel id="panel" header="Confirmation" style="width: 400px;margin: auto;" >

                                <h:panelGrid columns="1">
                                    <h:outputText value="votre edition est sauvegardé avec succée"/>
                                    <h:outputText value="vous serez rediriger vers la page de la liste des utilisateurs dans quelques instants" />
                                    <p:poll interval="3" action="utilsateurs" />
                                </h:panelGrid>


                            </p:panel>

                        </h:form>

            </ui:define>

        </ui:composition>

    </body>
</html>

do you have any idea
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-06-10T01:05:29+00:00Added an answer on June 10, 2026 at 1:05 am

    You don’t need poll. you can do it with plain html. add this tag to the head of the page

    <meta http-equiv="refresh" content="5;URL=otherUrl.jsf" />
    

    This will redirect to “otherUrl.jsf” after 5 seconds. Since you are using a template, maybe you can add a ui:insert in the header, so you can insert the meta into the header from template client.

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

Sidebar

Related Questions

I have a web page that uses three controls to allow a user to
I have a page that lets the user edit the content of the page
Let us have some simple page that allows logged users to edit articles. Imagine
I have a page that allows for used input, when the user inputs his/her
I have an ASP.NET (3.5) page that allows a user to upload an Excel
I have an online store. A products page that allows the user to view
I have next situation: I should allow to see Add Rendering button in Page
I'm trying to create an ASP.NET/C# page that allows the user to edit a
I'm working on a page that will allow a user to upload a photo
I have a page on my MVC application where a user can edit /

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.