Page to page communication

Hi
How to communicate between two pages . I need to set a value in hidden in page1
and i need to retrive it in page2..... how is it
plz help
bye

Hi,
There are several ways to achieve that.
If you have a report and link to a form to enter/edit/delete a row:
There are three fields to set items into “Page2”.
Into Page1 / Report / Link Column – you should set P2_ITEM1 and value #YourPrimaryKey#
To learn how to do that, make form and report for a simple table. ApEx will connect them and will send the value of the primary key from the report to the form.
You can use button and branch. Into the branch you can set the value from Page1 into Page2. Set these items/With these values are two fields to use. You should set P2_ITEM1 and value &P1_ITEM1.
Keep in mind that symbols “&” and “.” Are must!
Use help for any field for details.
I hope that could help.
Konstantin

Similar Messages

  • Adobe reader page commune à plusieurs dossier

    Bonjour,
    Notre entreprise à ces dossiers techniques au format PDF (dossier contenant de 15 à25 pages) sur les produits que nous fabriquons.
    Ma question : Est-il possible d'avoir une page commune entre plusieurs dossiers?
    ( exemple: nous inscrivons une modification ( cette page en commune à plusieurs dossiers), donc toutes les autres dossiers ont cette modifications en live).
    Sébastien BREBION

    Bonjour.
    Ce n'est pas possible comme ça (en mise à jour dynamique).
    Ce qui serait possible c'est d'avoir un même PDF contenant des champs de formulaire dans plusieurs dossiers.
    Ensuite, à chaque modification, un script et/ou une Action d'Acrobat peut pousser les nouvelles informations dans les champs de tous les PDF concernés dans chaque dossier en un tournemain.

  • Getting current page/community

    Hi all,
    is there a way to query for the current community page the user is in, using Plumtree core APIs?
    thank a lot
    Mauro

    Hi Randy,
    I can explain that. The actual page ID is -239, but creating the navigation links would be less performant if we queried for the community home page id. Instead of doing that we just use pageid=0, the server knows to always return the home page of the community when pageid = 0.

  • JSP page communicating with a MySQL db throw a Glassfih RESTful web service

    Hello;
    I am en newbie in servlet/JSP stuffs, and as I said in the subject, i'm looking for the best way to make my JSP pages communicate with my db. My application already consists in a RESTful web service that, just for the record, communicates with a JavaFX Client.
    (>What i'm looking for is to write datas in my database through this JavaFX client, and it seems like this can only works by passing through a intermediate scripting language like JSP).
    To get back on my issue, I don't really know about JSP. I read many tutorials but it still seems confusing to me. Can somebody show me, by a detailed example, how I can do that ? (Preferably by using jsp beans like "usebean", that i find very useful).
    Thanks a lot.

    don't make your JSP 'communicate' with a database. These tasks are for servlets and specific business logic classes which you can use in your servlets.
    To connect to a database, use the JDBC API. Plenty of tutorials about that around the net.
    I don't really know about JSPYeah well, you already identified your problem then. The solution is very simple: learn. To be able to learn, get a good resource, such as a book and not some vague tutorials that you find on the net. For example, I always recommend this free online book:
    [core servlets 2nd edition|http://pdf.coreservlets.com]

  • JSF Simple Page Communication

    Hi All,
    I have a question about how is the best way to create a simple search page, I have one but I must not understand the page Lifecycle because it acts wierd...? Here is what I want
    2 Pages -
    Page 1 Default.jspx has two inputTexts for first and last name and one commandLink which calls an action in the SearchBean managed request bean
    Page 2 has an ADF Table bound to a Table of search results Plus more inputTexts which are used to filter the results.
    What I am doing.
    When the link calls getSearchResults i have the following method in the bean
    public String searchEmployees()
    String fname = this.itFirstName.getValue() != null ? this.itFirstName.getValue().toString() : "";
    String lname = this.itLastName.getValue() != null ? this.itLastName.getValue().toString() : "";
    JSFUtils.storeOnSession("fname",fname);
    JSFUtils.storeOnSession("lname",lname);
    JSFUtils.storeOnSession("SearchType","Simple");
    return "gotoEmployeeResults";
    the return is used for JSF Navigation to send the App to the Results page where the Databound Table calls the getEmployees method
    public List<Employee> getEmployees()
    try
    String searchType = (String)JSFUtils.getFromSession("SearchType") != null ? (String)JSFUtils.getFromSession("SearchType") : "Simple" ;
    if(!"".equals(searchType) && searchType != null && searchType.equals("Filter"))
    FilterEmployeeSearch();
    else
    simpleEmployeeSearch();
    catch(Exception e)
    return this.employees;
    Now the user can use the filters and submit a new request using another commandLink which calls the following method
    public String filterSearchEmployees(){
    String fname = this.itFilterFirstName.getValue() != null ? this.itFilterFirstName.getValue().toString() : "";
    String lname = this.itFilterLastName.getValue() != null ? this.itFilterLastName.getValue().toString() : "";
    String site = this.itFilterSite.getValue() != null ? this.itFilterSite.getValue().toString() : "";
    String dept = this.itFilterDepartment.getValue() != null ? this.itFilterDepartment.getValue().toString() : "";
    String ext = this.itFilterExtension.getValue() != null ? this.itFilterExtension.getValue().toString() : "";
    JSFUtils.storeOnSession("fname",fname);
    JSFUtils.storeOnSession("lname",lname);
    JSFUtils.storeOnSession("site",site);
    JSFUtils.storeOnSession("dept",dept);
    JSFUtils.storeOnSession("ext",ext);
    JSFUtils.storeOnSession("SearchType","Filter");
    return "gotoEmployeeResults";
    and the Table gets the employees again
    The problem is that not only does the get employees method get called a ton of times but my filterSearchEmployees is never called hence my session SearchType never gets set to filter and the filter search never runs.
    I Guess the main question here is am I going about this the right way? Passing session values and using JSF Navigation? I am a .NET guy and it seems like this is much simpler in .NET so I hope there is an easier approach for JSF?
    Thanks in advance for any help.

    Hi,
    Your pages are semi-correct. From the code snippet, I see that you're probably using the "binding" attribute instead of EL to bind the field values. As for the multiple method calls, it's normal, hence why the getter should cache the result for the current request in an instance variable of the managed bean. So I would see:
    public class SearchFilter implements Serializable
        private String firstName;
        private String lastName;
        // Add missing fields
        public String getFirstName()
            return firstName;
        public String getLastName()
            return lastName;
        public void setFirstName(String firstName)
            this.firstName = firstName;
        public void setLastName(String lastName)
            this.lastName = lastName;
    public class EmployeeManager
        private SearchFilter filter;
        private transient List<Employee> filteredList;
        public SearchFilter getSearchFilter()
            return lastName;
        public void setSearchFilter(SearchFilter filter)
            this.filter = filter;
        public List<Employee> getEmployees()
            if (filteredList == null)
                // Get the full list and apply the filter on it then cache the result in filteredList
            return filteredList;
    }The searchFilter bean should be pageFlow scoped (or session) while the manager should be backingBean scoped (or request). The filter should be injected in the manager by JSF
    Regards,
    ~ Simon

  • How to achieve page 2 page communication between portlets?

    Sorry , Wrong POST
    Edited by: ebitar on Dec 1, 2011 1:18 AM

    Did you gone through the below thread:
    pass parameter FROM webcenter page TO dropped portlet
    Hope,this will help you to get your desired results.
    Regards,
    Hoque

  • In Pages, How can I get headers and footers to show up on more than the first page of each section?

    In Mountain Lion, I considered myself a fairly expert user of Pages. Since "upgrading" to Mavericks, I can't get even basic things to work anymore. My current problem is that the headers and footers are only showing up on the first page of each section. A related annoyance is that if I copy the information in a header or footer, all the associated formatting disappears when I paste it. But the first problem is the one that matters — headers and footers that only show up on one page sort of negate the whole point of headers and footers.

    If you click the link I posted previously, it takes you right to the Pages community.
    Here >  Pages: iWork: Apple Support Communities
    Then click New.

  • In Pages the first page of all my documents show the pages user guide. How can I reinstate my documents. They are still on my iPhone

    Help Please!   All my numerous documents in Pages have recently altered, so that there are no contents other than the face page, which is the Pages User Guide page. Ie Showing the pen and ink bottle. I think this was brought about by me trying to see if I could print the Guide Pages!!!  (To no avail)!
    Please. How can I reinstate my documents?  They are still showing ok on my iPhone.

    If you click the link I posted previously, it takes you right to the Pages community.
    Here >  Pages: iWork: Apple Support Communities
    Then click New.

  • Transfer Pages from Powerbook G4 to MacBook Pro

    Didn't really know where to find this answer, so I thought I would ask the knowledgeable Pages community. This is my situation...
    I have just purchased the new 17" MacBook Pro (and YES!!! it is the bomb!), anyway, during the registration process of the new laptop I transferred all of my files and applications via Apple's built in "transfer" step.... I did not install any of the applications via CD's. Since I have transferred from a G4 to an Intel processor, will my applications be running natively on the Intel chip (those that can run natively)? Or will I have to reinstall Pages, etc. from the installation CD to get the "universal" code? Naturally, I would like my software to run natively as I assume it will be quicker and less prone to "bugs".
    I thank all of you in advance for your knowledge on this subject.
    MacBook Pro   Mac OS X (10.4.6)  

    You should probably create a new subject here, as it is a slightly different question. This thread is "solved" so people may have a tendency not to check it.
    Anyhow, if you have a license for 05 you need to get the files for '05. Can you still download that somewhere, or did you download the testdrive for '06 by mistake?
    As far as I remember other people have had similar problems when they knew for certain that they had both '05 and '06 installed. You may find the answer if you search the forum, and if you post a new topic, the same people who helped before may see it and help again. I haven't had that problem myself.
    For photos published on Home Page, are they still visible on the net? If so you can ctrl+click on them and download them to your harddrive.
    How did you publish the photos? If you used iWeb you may want to ask in the iWeb form at http://discussions.apple.com/category.jspa?categoryID=188 . If not the .Mac HomePage forum at http://discussions.apple.com/forum.jspa?forumID=975 may be able to help you.
    PowerBook G4   Mac OS X (10.4)  

  • Problem with Non JSF Request to JSF Page

    Hi All,
    I am working on dynamic controls generation based on the request come from non jsf page
    For the first request, pageworks perfectly. but when we go for second request, it is not rendering and I am getting same old page.
    What I have identified is if I have 2 pages as JSF, application is not giving any problem.
    For this I have written small test application contains both JSF pages only.
    page1 contains 3 submit buttons.
    When submit buttons are clicked based on the request, I get, am able to see the dynamic controls.
    SO there is no problem with JSF PAGE to JSF Page Communication
    Now I have done some changes in First JSF page. Instead of submitting directly I am submitting the page through JavaScript which is nonb JSF request. There I am facing the problem and based on requested qaction I am not able to see correct rendered page based on the requested action.
    Any Idea why it is giving problem for non JSF requests??
    Thanks
    Sudhakar

    For Your Convenience in understanding the problem
    I am pasting entire test code
    Page 1 -- (here page2 is Page1 and Page1 is page2 - some naming convention errors :) )
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
        <f:view>
            <html lang="en-US" xml:lang="en-US">
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>Page2 Title</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                    <h:form binding="#{Page2.form1}" id="form1">
    <!-- Non JSF REquests -->
                        <h:commandButton action="#{Page2.button1_action}" binding="#{Page2.button1}" id="button1" style="left: 48px; top: 48px; position: absolute" value="Submit" onclick="document.forms['form1'].action='faces/Page2.jsp?id=1'; document.forms['form1'].submit(); return false;"/>
                        <h:commandButton action="#{Page2.button2_action}" binding="#{Page2.button2}" id="button2" style="left: 48px; top: 96px; position: absolute" value="Submit" onclick="document.forms['form1'].action='faces/Page2.jsp?id=2'; document.forms['form1'].submit(); return false;"/>
                        <h:commandButton action="#{Page2.button3_action}" binding="#{Page2.button3}" id="button3" style="left: 48px; top: 144px; position: absolute" value="Submit" onclick="document.forms['form1'].action='faces/Page2.jsp?id=3'; document.forms['form1'].submit(); return false;"/>
    <!-- this  is JSF request -->
                        <!--
                        <h:commandButton action="#{Page2.button1_action}" binding="#{Page2.button1}" id="button1" style="left: 48px; top: 48px; position: absolute" value="Submit" />
                        <h:commandButton action="#{Page2.button2_action}" binding="#{Page2.button2}" id="button2" style="left: 48px; top: 96px; position: absolute" value="Submit" />
                        <h:commandButton action="#{Page2.button3_action}" binding="#{Page2.button3}" id="button3" style="left: 48px; top: 144px; position: absolute" value="Submit" />-->
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Page1 Bean
    * Page2.java
    * Created on June 25, 2005, 11:08 AM
    * Copyright user
    package webapplication8;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import javax.faces.component.html.*;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class Page2 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlCommandButton button1 = new HtmlCommandButton();
        public HtmlCommandButton getButton1() {
            return button1;
        public void setButton1(HtmlCommandButton hcb) {
            this.button1 = hcb;
        private HtmlCommandButton button2 = new HtmlCommandButton();
        public HtmlCommandButton getButton2() {
            return button2;
        public void setButton2(HtmlCommandButton hcb) {
            this.button2 = hcb;
        private HtmlCommandButton button3 = new HtmlCommandButton();
        public HtmlCommandButton getButton3() {
            return button3;
        public void setButton3(HtmlCommandButton hcb) {
            this.button3 = hcb;
        // </editor-fold>
        public Page2() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
            } catch (Exception e) {
                log("Page2 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        protected webapplication8.ApplicationBean1 getApplicationBean1() {
            return (webapplication8.ApplicationBean1)getBean("ApplicationBean1");
        protected webapplication8.SessionBean1 getSessionBean1() {
            return (webapplication8.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
        public String button1_action()  throws Exception{
            // TODO Following code was replaced by static navigation
           getSessionBean1().setId(1);       
          /* ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
           HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
           HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
           res.sendRedirect("http://localhost:18080/webapplication8/faces/Page2.jsp");
           return null;*/
            return "case1";
        public String button2_action()  throws Exception{
            // TODO Following code was replaced by static navigation
                getSessionBean1().setId(2);
          /*  ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
           HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
           HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
           res.sendRedirect("http://localhost:18080/webapplication8/faces/Page2.jsp");
           return null;*/
            return "case2";
        public String button3_action() throws Exception{
            // TODO Following code was replaced by static navigation
                getSessionBean1().setId(3);
            /*    ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
           HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
           HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
           res.sendRedirect("http://localhost:18080/webapplication8/faces/Page2.jsp");
            return null;*/
            return "case3";
    }page 2
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
        <f:view>
            <html lang="en-US" xml:lang="en-US">
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>Page1 Title</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                    <h:form binding="#{Page1.form1}" id="form1">
                        <h:panelGrid binding="#{Page1.gridPanel1}" id="gridPanel1" style="left: 96px; top: 48px; position: absolute"/>
                        <f:selectItems binding="#{Page1.radioButtonList1SelectItems1}" id="radioButtonList1SelectItems1"/>
                        <h:commandButton action="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1"
                            style="left: 384px; top: 120px; position: absolute" value="Submit"/>
                        <h:commandButton action="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1" style="left: 384px; top: 72px; position: absolute" value="Submit"/>
                        <h:outputLink binding="#{Page1.hyperlink1}" id="hyperlink1" style="left: 480px; top: 216px; position: absolute" value="http://www.sun.com/jscreator">
                            <h:outputText binding="#{Page1.hyperlink1Text}" id="hyperlink1Text" value="Hyperlink"/>
                        </h:outputLink>
                        <h:commandLink binding="#{Page1.linkAction1}" id="linkAction1" style="left: 456px; top: 264px; position: absolute">
                            <h:outputText binding="#{Page1.linkAction1Text}" id="linkAction1Text" value="Link Action"/>
                        </h:commandLink>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>page2 bean
    * Page1.java
    * Created on June 25, 2005, 10:52 AM
    * Copyright user
    package webapplication8;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import com.sun.jsfcl.data.DefaultSelectItemsArray;
    import java.util.Vector;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UISelectItems;
    import javax.faces.component.html.*;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import javax.faces.model.SelectItem;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class Page1 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlPanelGrid gridPanel1 = new HtmlPanelGrid();
        public HtmlPanelGrid getGridPanel1() {
            return gridPanel1;
        public void setGridPanel1(HtmlPanelGrid hpg) {
            this.gridPanel1 = hpg;
        private HtmlCommandButton button1 = new HtmlCommandButton();
        public HtmlCommandButton getButton1() {
            return button1;
        public void setButton1(HtmlCommandButton hcb) {
            this.button1 = hcb;
        private HtmlOutputLink hyperlink1 = new HtmlOutputLink();
        public HtmlOutputLink getHyperlink1() {
            return hyperlink1;
        public void setHyperlink1(HtmlOutputLink hol) {
            this.hyperlink1 = hol;
        private HtmlOutputText hyperlink1Text = new HtmlOutputText();
        public HtmlOutputText getHyperlink1Text() {
            return hyperlink1Text;
        public void setHyperlink1Text(HtmlOutputText hot) {
            this.hyperlink1Text = hot;
        private HtmlCommandLink linkAction1 = new HtmlCommandLink();
        public HtmlCommandLink getLinkAction1() {
            return linkAction1;
        public void setLinkAction1(HtmlCommandLink hcl) {
            this.linkAction1 = hcl;
        private HtmlOutputText linkAction1Text = new HtmlOutputText();
        public HtmlOutputText getLinkAction1Text() {
            return linkAction1Text;
        public void setLinkAction1Text(HtmlOutputText hot) {
            this.linkAction1Text = hot;
        // </editor-fold>
        public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                ExternalContext ctx=(ExternalContext)FacesContext.getCurrentInstance().getExternalContext();
                HttpServletRequest req=(HttpServletRequest)ctx.getRequest();
                HttpServletResponse res=(HttpServletResponse)ctx.getResponse();
                String id=req.getParameter("id");
                if(id!=null)
                    getSessionBean1().setId(Integer.parseInt(id));
                if (getSessionBean1().getId()==1) {
                    addTextBox();
                else if (getSessionBean1().getId()==2) {
                    addCheckBox();
                    addRadio();
                else if (getSessionBean1().getId()==3) {
                    addRadio();
                   // addCheckBox();
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        protected webapplication8.ApplicationBean1 getApplicationBean1() {
            return (webapplication8.ApplicationBean1)getBean("ApplicationBean1");
        protected webapplication8.SessionBean1 getSessionBean1() {
            return (webapplication8.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
        private void addRadio() {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("Some Desc");
            outputText.setId("somedesc2");
            HtmlSelectOneRadio checkBox = new HtmlSelectOneRadio();
            checkBox.setBorder(0);
            checkBox.setLayout("pageDirection");
            checkBox.setId("a3");
            UISelectItems items = new UISelectItems();
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            for (int i =0;i<10;i++) {
                arrays[size - 1].add(new SelectItem(""+i+"",""+i));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{Page1.arrays["+(size-1)+"]}"));
            checkBox.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(checkBox);
            parent.getChildren().add(gridPanel);
        private void addCheckBox() {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("Some Desc");
            outputText.setId("somedesc1");
            HtmlSelectManyCheckbox checkBox = new HtmlSelectManyCheckbox();
            checkBox.setBorder(0);
            checkBox.setLayout("pageDirection");
            checkBox.setId("a2");
            UISelectItems items = new UISelectItems();
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            for (int i =0;i<10;i++) {
                arrays[size - 1].add(new SelectItem(""+i+"",""+i));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{Page1.arrays["+(size-1)+"]}"));
            checkBox.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(checkBox);
            parent.getChildren().add(gridPanel);
        private void addTextBox() {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("Some Description for Control Text Box");
            outputText.setId("somedesc");
            HtmlInputText textField = new HtmlInputText();
            //  textField.setId("textField_"+control.getId());
            textField.setId("a1");
            HtmlOutputText outputText1 = new HtmlOutputText();
            hyperlink1Text.setValue(" ");
            hyperlink1Text.setStyleClass("bodyText");
            textField.setStyleClass("frmObjects");
            gridPanel.setColumns(3);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(hyperlink1Text);
            gridPanel.getChildren().add(textField);
            parent.getChildren().add(gridPanel);
        private DefaultSelectItemsArray array = new DefaultSelectItemsArray();
        public DefaultSelectItemsArray getArray() {
            return array;
        public void setArray(DefaultSelectItemsArray dsia) {
            this.array = dsia;
        private Vector vectDefaultSelectItemsArray = new Vector();
        private DefaultSelectItemsArray[] arrays = new DefaultSelectItemsArray[10];
        public DefaultSelectItemsArray[] getArrays() {
            return arrays;
        public void setArrays(DefaultSelectItemsArray[]dsia) {
            this.arrays = dsia;
        private UISelectItems radioButtonList1SelectItems1 = new UISelectItems();
        public UISelectItems getRadioButtonList1SelectItems1() {
            return radioButtonList1SelectItems1;
        public void setRadioButtonList1SelectItems1(UISelectItems uisi) {
            this.radioButtonList1SelectItems1 = uisi;
        private ValueBinding getValueBinding(String expression) {
            return     FacesContext.getCurrentInstance().getApplication().createValueBinding(expression);
        public String button1_action() {
            // TODO Replace with your code
            return "case1";
    }my navigation.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
                                  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
        <navigation-rule>
            <from-view-id>/Page2.jsp</from-view-id>
            <navigation-case>
                <from-outcome>case1</from-outcome>
                <to-view-id>/Page1.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>case2</from-outcome>
                <to-view-id>/Page1.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>case3</from-outcome>
                <to-view-id>/Page1.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
        <navigation-rule>
            <from-view-id>/Page1.jsp</from-view-id>
            <navigation-case>
                <from-outcome>case1</from-outcome>
                <to-view-id>/Page2.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
    </faces-config>my managed beans xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
                                  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
        <managed-bean>
            <managed-bean-name>Page1</managed-bean-name>
            <managed-bean-class>webapplication8.Page1</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <managed-bean>
            <managed-bean-name>SessionBean1</managed-bean-name>
            <managed-bean-class>webapplication8.SessionBean1</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
        <managed-bean>
            <managed-bean-name>ApplicationBean1</managed-bean-name>
            <managed-bean-class>webapplication8.ApplicationBean1</managed-bean-class>
            <managed-bean-scope>application</managed-bean-scope>
        </managed-bean>
        <managed-bean>
            <managed-bean-name>Page2</managed-bean-name>
            <managed-bean-class>webapplication8.Page2</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <managed-bean>
    </faces-config>

  • Setting the Home page that is not the Login-Screen

    I would like users to see and initial portal page/community before they sign-in. This general information community is what they will see BEFORE they log-in. How do I set which one they see? I defined the default sub-community as this community, but when I go to the URL, it still displays the log-in page first.
    Thanks in advance,
    Ray [email protected]

    Hi Ray,
    You'll need to adjust some settings in your j_config.xml file if you're using Java for the UI (or in your n_config.xml file if you're using .NET) in order to get this to work. The config files are located in program files\plumtree\ptportal\5.0\settings\config. Here are the settings with the appropriate values filled in -- note that these are different from the defaults.
    <Authentication> <!-- Allow the Guest user to access the portal. If guest access is disallowed, the portal will always prompt for login information. --> <AllowGuestAccess value="1"></AllowGuestAccess> <!-- If the guest user does not specify a space, the user will normally go to their default page. If this is 1, the guest user will go to the login page. --> <GuestRedirectToLogin value="0"></GuestRedirectToLogin> </Authentication>
    The default subportal must be configured to show the community you want and the guest user must be in the default subportal folder for this to work.
    If you make changes to j_config.xml or n_config.xml, you must restart your web application server for the changes to be picked up.
    Hope this helps,
    Chris [email protected] Development Group, LLChttp://www.bucchere.com

  • Pages 2-up view in OS X Mavericks

    I've downloaded the OS X Mavericks update and all is working well, only in the new Pages it appears we've lost the ability to view documents in 2-up as we used to in Pages 09 (zoom feature.)  I also don't see the option under View in the toolbar or in the new Section or Format Inspector sidebar. Does anyone know if the 2-up viewing option was eliminated with this update or if it's still there and I just can't see it? Thanks all.

    Better to post your topic in the Pages community > Pages: iWork: Apple Support Communities

  • How to make lines for "fill in the blanks?" (iWork Pages 09)

    This should be easy since it's something many people do: design a form for others to fill out with a pen or pencil.  However, I can't find any information regarding how to make a line after text, like this:
    Name _________________ Address _________________________________ Phone __________
    ...without using the underline character.
    Back on the Clarisworks days there was some way to make nice neat lines after text using tabs.  However, It's been so long that I can't recall how it worked.  I've Googled this issue using every logical term I can think of but found nothing useful.  The Pages 09 help file and the user guide  seem to be mute on this subject. The Word 2008 help file is similarly silent.  However, I'm sure that the greater Pages community knows the answer to this one.
    Thanks,
    Bill

    What you want is called a tab leader. In Pages, to create the underline:
    To create a new tab stop using the Text inspector, click in the document where you want to create a new tab stop, click Inspector in the toolbar, and then click Tabs. Click the Add button in the bottom-left corner of the Tabs pane. The new tab stop appears in the Tab Stops column.
    Then  use the Leader drop down menu to choose a solid line:

  • Making name badge labels in pages

    I need to be able to share labels with Windows users. How can I design my own template in pages to convert to PDF? And, how do I make the PDF file writeable? I want to print on Avery 8395. I was looking for specific dimensions on Avery.com but I can't find them. They just keep referring me to their templates and Design Pro. Design Pro helps me design the labels but I can't put them in a format Windows can open.

    Try the Pages community.
    Pages Community

  • I have a document in Pages that, when I export it to Word, makes all the pages bold font no matter what I have tried.

    I have a document in Pages that, when I export it to Word, makes all the pages bold font no matter what I have tried. What am I missing?

    You might have luck in the Pages community. I’ll ask the hosts to move your post there.
    Pages Community

Maybe you are looking for

  • Window 8.1, adobe reader XI, when i double clicked pdf file, nothing happen.

    hi. i using window 8.1, adobe reader version XI. when i installed reader xi, that worked well. after some hours pass,  double click pdf file and nothing happen.(only can see adobe reader on window task manager list) i reinstalled reader several times

  • Can't download netscape

    I get to the point where I am supposed to drag the download into the applications folder, but it won't drag. What's a girl to do?

  • Music wont play after pause

    I have a little issue with mpd+ncmpcpp. When i start a song, and then pause it, if i want to listen to youtube fx. when i then wanna hear the music again it wont start. When i start a song, it says playing for about 1 second, then just change back to

  • Do I have to use WiFi to watch Amazon instant movies, or can I use 3G?

    I'm staying in a hotel with very slow WiFi, and I'd like to watch movies from Amazon on my iPad 2.  WIth WiFi, the movie buffers every few seconds, but when I try to watch using Verizon 3G, I get a message that I have to use WiFi. I'd appreciate any

  • CSAP_MAT_BOM_MAINTAIN does not update records in 3.0 Version ??

    Dear Friends, I am working on 3.0F Version.I have a requirement where when there is an update in the BOM from the 3rd party system, that changed field or quantity should be updated in the BOM. I tried using CSAP_MAT_BOM_MAINTAIN and when I enter the