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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:22:41+00:00 2026-05-22T16:22:41+00:00

Excuse me for posting here and not on the primeFaces forum, but I can’t

  • 0

Excuse me for posting here and not on the primeFaces forum, but I can’t seem to register on their forums (I never get the confirmation email EDIT: note to self: always check the spambox). I’m using primefaces 2.2RC. I have a wizard component embedded in a tabbed window component. The workflow wizard asks the user to pick a material from a . I want the outcome of that picklist (picklist.target) to populate a . I see that there is now an onTransfer attribute on picklist but no documentation on how to use it.
The code works and populates the picklist and I can pick strings and advance to the next tab. I just can’t get the updated(?) materials.target list.
Can anyone give a clue?

My code below:

<p:tab id="Step3" title="Pick materials">
  <p:panel header="Step 3" >
   <p:pickList value="#{materialPickListBean.materials}" var="mat"
    itemLabel="#{mat}" itemValue="#{mat}" converter="matConverter" onTransfer="">
    <f:facet name="sourceCaption">Available</f:facet>
    <f:facet name="targetCaption">Picked</f:facet>
   </p:pickList>

  </p:panel>
 </p:tab>
 <p:tab id="Step4" title="Adjust material quantites">
  <p:panel header="Step 4">
   <p:dataTable value="#{materialBean.materialList}" var="matList"
    dynamic="true" id="pickedMaterials">
    <f:facet name="header">Select material quantities</f:facet>
    <p:column>
     <f:facet name="header">
      <h:outputText value="Material description" />
     </f:facet>
     <h:outputText value="#{matList.name}" />
    </p:column>
    <p:column>
     <f:facet name="header">
      <h:outputText value="unit type" />
     </f:facet>
     <h:outputText value="#{matList.unitOfMeasurement}" />
    </p:column>
    <p:column>
     <f:facet name="header">
      <h:outputText value="units" />
     </f:facet>
     <h:inputText value="#{matList.quantity}" />
    </p:column>
   </p:dataTable>
   <p:commandButton value="Submit" actionListener="#{jobCardWizard.save}"/>
  </p:panel>
 </p:tab>

bean:

public void init() {
loginEJB.setupMockMaterial();
source = new ArrayList<String>();
target = new ArrayList<String>();
populateSource();
materials = new DualListModel<String>(source, target);
}

private void populateSource() {
List<Material> materialList = materialEJB.findMaterials();
for (Material m : materialList) {
source.add(m.getName());
}
}
  • 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-22T16:22:42+00:00Added an answer on May 22, 2026 at 4:22 pm
    public DualListModel<String> getContactsList() {
            return contactsList;
        }
    
        public void setContactsList(DualListModel<String> contactsList) {
            this.contactsList = contactsList;
        }
    
    public List<String> targetContacts(){
            
            this.selectedContacts = contactsList.getTarget();
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Excuse me if this is a dupe, but I couldn't seem to get the
Excuse the poor title, but I'm not sure how to word this exactly. Here's
Excuse me if this post is not related to this forum, but I couldn't
I am bouncing between posting this here and on Superuser. Please excuse me if
Excuse the poor phrasing, I know it's possible but I can't figure out what
Excuse the 'noob' question, but can someone please explain the way ASP.NET's buttons work.
Excuse me if this is a silly question but i'm a beginer here. I
(Excuse any ignorance of mine here - I'm not a seasoned Oracle user.) I'm
excuse what seems like a real noobie question but how can I implement the
Excuse my ignorance, but I've not done an Xcode upgrade before. I thought I'd

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.