ADF.shuttle- selectManyShuttle
Hi,
Please let me know whether we can customize the shuttle window(af:selectManyShuttle).
There are checkbox inside the component, instead of that we need hyperlink.
Simply on clicking on that should send that component to the other pane.
Please let us know.
Thanks,
Nitin
Hi,
no you can't
Frank
Similar Messages
-
How to change the width for adf shuttle without modify the skin file
Dear Professionals
I haven an ADF Shuttle component in my jsp screen , How can i change the width for the two boxes without modify the skin files.(I know i can do that by skin but what i want to change one shuttle just in one screen not change all shuttles on other screens).
Regards
Wish79Okay, I didnt try with the trinidad selectmanyshuttle, but this worked for me on the af:selectmanyshuttle..
<af:selectManyShuttle label="Label 1" styleClass="mycustcss">
<af:selectItem label="Label1" value="value1"/>
<af:selectItem label="Label2" value="value2"/>
</af:selectManyShuttle>
<af:selectManyShuttle label="Label 1">
<af:selectItem label="Label1" value="value1"/>
<af:selectItem label="Label2" value="value2"/>
</af:selectManyShuttle> And in my css file, I have
af|selectManyShuttle.mycustcss::content { width: 800.0px;}
The first selectManyShuttle came up very wide and the second one came up in the default width..
Julian. -
ADF Shuttle Component - Can we have multiple leading list
Hi,
I have requirement where there are multiple lists of different types on the left hand side and user should be able to shuttle the items from any of the list to the single selected list in right side. I know in ADF shuttle there is one leading and one trailing list. I wan to know how can i make ADF shuttle component support multiple leading lists and single trailing list.
Or should I go for total custom solution mimicking shuttle behavior?
JDev version is 11.1.1.6.0
Thanks,
Sandeep
Edited by: Sandeep Koul on Aug 26, 2012 10:47 PMAfter consulting other ADF experts offline, we have come to conclusion that there is no off-the shelf component which caters to my requirement.
We are now going with complete custom solution to achieve shuttle behavior.
I am marking this query as answered.
Thanks,
Sandeep -
How to programatically populate data in ADF shuttle component?
Hi,
Can anyone please let me know the code for programatically pouplating data into the shuttle Oracle ADF shuttle component using ArrayList object? I have my data(records) in an Arraylist object and I am using JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660.
Thanks,
VikasHave a look at this thread:
http://baigsorcl.blogspot.com/2010/10/creating-shuttle-component-in-oracle.html
Thanks,
Navaneeth -
ADF Shuttle Select Items rendered as checkboxes
So, we are using ADF 11.1.2.4 to develop our application. We have a requirement to use the shuttle control. However, when it is rendered, it contains checkboxes (inputItem type=checkbox). I am pretty sure this wasn't happening with 11.1.2.3, but was wondering if anyone else has seen this behaviour? I am thinking it may also be a CSS thing.
I've noticed in the rich client demo that it also uses an inputbox as a checkbox, but it has a style class associated with it. However, in our application, there is no style associated with it. Perhaps this is because our style hasn't inherited any of the Fusion skins? Thus, our items are rendered "naked". Another thing we have noticed is that nothing shows up on the right hand side of the control, but it used to with 11.1.2.3.
Any help would be greatly appreciated,
BradWOk, so it was a skinning issue. I reset the skin in the trinidad-config.xml file and violla! Checkboxes are gone. Now just to figure out what the issue is with the right hand side is doing. Separate question. Hope this helps someone.
BradW -
Adding an ADF Tree to an ADF Shuttle
Does anyone know if there is a way to attach and ADF tree to a shuttle? So in the shuttle, instead of a list, I have a heirarchy of data I want to choose from.
Thanks in advance.Referring to a few posts just to give you an idea people have not really managed to get it to work (You can try replying to these posts to see if they got a solution!) -
https://kr.forums.oracle.com/forums/thread.jspa?threadID=916324
Embedding tree in select many shuttle
ADF Tree and Shuttle -
Image icons missing from ADF faces selectManyShuttle?
Hi all, I'm using <af:selectManyShuttle and it works great, but I noticed it looks a lot different from the examples on
http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
(all I get is text, no cool images)
Also the ADF faces example apps don't seem to display icons either. Have I missed something?
There are files like images/oracle/smvall.gif inside adf-faces-impl-ea20-SNAPSHOT.jar but they don't appear to be used at all. Any help much appreciated.
Regards, MurrayI'm having a similar problem: some images show up with the selecManyShuttle, but others do not.
Also, when I add a leadingHeader and/or a trailingHeader, the text is displayed twice. Once in the correct position, and once after each list. -
Is there any ADF component similar to move and move all button
Hi,
Is there any button similar to move and move all used in the ADF shuttler component. I have implemented a custom shuttler component in that i used the images as move and move all button.
Any help would be appriciated.
Thanks,
HarishYou can put an icon to the af:button or try an af:commandImageLink ...
Timo -
Hi,
I have requirement where on the selected side of the shuttle component i need to insert the image and the image should be changed dynamically when some action is performed.
Thanks in Advance.
ManidharYour question is not clear, please specify in detail
and for adf shuttle component see-
http://www.javadrive.co.in/shuttle_component_in_ADF.html
http://oracleadf-java.blogspot.in/2012/11/shuttle-component-in-oracle-adf-allow.html -
How to insert multiple records in DB table
HI Experts,
Jdev 11.1.2.3
I have requirement where my form belongs to two different tables (TableA and TableB).
In this form am using ADF shuttle component. The number of values i select in shuttle component same number of records to be inserted in TableB with each value.
on commit TableA and TableB both should be commited.
Thanks,
NiteshHi,
You can use a managed bean as the target of the value property of the shuttle component. Then in a value change listener you read the selected values and manually update the model. For this you could e.g. expose two view objects (one for each table) as an iterator to the PageDef file, access it from Java and then call dcIteratorBindingInstance.getRowSet().createRow() to create and populate new rows
The above is a bit rough in the outline, but so is the question
Frank -
Hi,
anybody here knows a fancy jsp-tag or javascript-component like the oracle adf < af:selectManyShuttle > tag?
thanks for every suggestion....I'm not sure why your JavaScript isn't working. I created an html file using the contents of your out.print() statements and the JavaScript worked on both IE & Mozilla Firefox. What do you mean by not working? Are you getting some sort of error message or is it just not doing anything?
-
I am using:
- JDeveloper 10.1.3.0.4
- ADF Faces 10.1.3.0.4
I have a selectManyShuttle component on my page (mapped to a managed bean) and nested inside a panelPage component, like this:
<f:view>
<afh:html>
<afh:head title="Shuttle Test">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
</afh:head>
<afh:body>
<af:form>
<af:panelPage title="Shuttle Test">
<f:facet name="messages">
<af:messages/>
</f:facet>
<af:selectManyShuttle leadingHeader="Available"
trailingHeader="Selected"
leadingDescShown="true"
trailingDescShown="true"
value="#{testShuttle.selectedValues}">
<f:selectItems value="#{testShuttle.allItems}"/>
</af:selectManyShuttle>
</af:panelPage>
</af:form>
</afh:body>
</afh:html>
</f:view>The managed bean is based on the ShuttlePageBackingBeanBase class described in the ADF Developer's Guide: How to Create a Shuttle.
This works fine - as you select each item in the list, the description field is updated with the correct value. If, however, I replace the af:panelPage component with an af:page component, the descriptions do not show up.
I think this must be a bug because the main difference between the two components is the menu structure. In all other ways, they should function in the same manner.I have filed a service request on MetaLink for this problem and they have created a bug entry.
The bug is 5840131 - "LONGDESC" FROM SELECTITEM OF SELECTMANYSHUTTLE IN AN AF:PAGE IS NOT DISPLAYED. -
ADF select many shuttle value tracking in the bean
Hi All,
I am working on a one requirement,
I have adf task flow(.jsff component), here i have ADF select many shuttle component,
I need to track value value which i am moving from the left side of panel to the right side panel ,i need to track these values in the Bean class.
I am not doing in the .jspx ,doing it in the .jsff bounded task flow.
can any1 pls suggest me the approach??
thanks
SantoshHere is what I did to get the selected items in the backing bean before they are shuttled across.
Added af:clientListener (<af:clientListener method="showDetails" type="propertyChange"/>) for af:selectManyShuttle
Set ClientComponent for af:selectManyShuttle to true
Added af:serverListener (<af:serverListener type="shuttleItemSelected" method="#{backingBeanScope.mainBean.itemSelected}"/>) to parent of af:selectManyShuttle which is af:panelBox in my case.
Added af:Resource with the following code
<af:resource type="javascript">
function showDetails(event)
if(AdfRichSelectManyShuttle.SELECTION == event.getPropertyName())
var shuttleComponent = event.getSource();
var parent = shuttleComponent.getParent();
var selectedObjs = AdfShuttleUtils.getLeadSelection(shuttleComponent);
AdfCustomEvent.queue(parent, "shuttleItemSelected", {fvalue:selectedObjs}, false);
event.cancel();
</af:resource>
In the backing bean code, implemented serverListener with the following code. "DepartmentsView1" is the list binding used to populate the Shuttle.
public void itemSelected(ClientEvent clientEvent) {
ArrayList ids = (ArrayList)clientEvent.getParameters().get("fvalue");
Object idArray[] = ids.toArray();
BindingContainer bc = this.getBindings();
JUCtrlListBinding listBinding = (JUCtrlListBinding)bc.get("DepartmentsView1");
RowIterator itr = listBinding.getRowIterator();
for (int i = 0; i < idArray.length; i++) {
int idx = Integer.parseInt((String)idArray);
Object str = itr.getRowAtRangeIndex(idx);
System.out.println(str);
When I run the JSPX file, I see the selected value printed in the message window before it is shuttled. If I select multiple values, I see them in the backing bean. -
How to get the selected values from ADF select many shuttle to textfield
Hi All
Actually in my webpage, I am using text field and beside that placing the command button. When user clicks the command button, a popup window will open up with the "af:select many shuttle" component. While popup opens, it fetch the values backend and displays it to the user in left side of the component. When user selects few values to the right side of the component and clicks ok. Those selected values should be displayed in the besides inputtext field.
Code in Webpage:
<af:inputText id="disciplineVariable"
contentStyle="width:200px;"
styleClass="AFDefaultBoldFont;AFLabelTextForeground;AFDarkForeground;"
value="#{ADFStandards.input}"/>
<af:commandImageLink id="cb12" icon="/compliance/images/List.PNG" hoverIcon="/compliance/images/HoverList.PNG">
<af:clientListener type="action" method="disciplinePopupMethod"/>
</af:commandImageLink>
PopUp code:
<af:popup id="testingPopUP" contentDelivery="lazyUncached">
<af:dialog title="TestingPOPUP" dialogListener="#{testBean.testingValues}">
<af:selectManyShuttle id="sms1" valueChangeListener="#{testBean.testingPopUP}">
<f:selectItems value="#{ADFStandards.mostCommonStandards}" id="si1"/>
</af:selectManyShuttle>
</af:dialog>
</af:popup>
Could anyone please help me in this.
Regards
Venkat.SBind your value attribute for af:selectManyShuttle to the List property in ManagedBean. When the User finish the selection, in your MB set the attribute List in input string attribute (probably what you want is iterate over the list, and concatenate on the String). After that, you have to partialTriggers on the inputText component in order to refresh.
Regards, -
Problem in Cascading(Dependent) SelectManyShuttle in ADF
Hello All,
Here I am using jedveloper version -IDE 11.1.2.0.38.60.17
i am facing problem in Dependent SelectManyShuttle .
let's take a scenario
i have 2 SelectManyshuttle
First SelectManyShuttle Contains Countries ,and Second one Contains Cities.
when we select countries from first SelectManyShuttle, related cities are shown in Second SelectManyShuttle
after that i select cities from cities shuttle . and tries to save it in a table EmployeeMapCountryCity.
Related Tables1 ...Employees
Employees have attributes EmployeeId and Employee Name
Table2 - Countries
Countries have attributes CountryId and Country Name
Table3- CountryCities
CountryCities have attributes CityId, CountryId and CityName where CityId is unique
Example
CityId CountryId
11 1
12 1
13 1
14 1
23 2
26 2
29 2
30 3
34 3
Table4 -EmployeeMapCountryCity
EmployeeMapCountryCity have attributes EmployeeId ,CityId and CountryId
table Data should be saved like this
EmployeeId CityId CountryId
00001 11 1
00001 12 1
00001 13 1
00002 23 2
00002 26 2
00002 29 2
PROBLEM IS THAT THIS DATA WON'T GET REFLECTED IN TABLE -EmployeeMapCountryCity AFTER TRYING TO SAVE IT THROUGH FORM
Please help me
Thanks & Regards
Abhijeet Pratap Singh
Edited by: AbhijeetPS on Jan 31, 2013 3:42 PM
Edited by: AbhijeetPS on Jan 31, 2013 4:17 PMhi,
I m using following code for selecting Countries
public List getSelectedCountries() {
if (selectedCountries == null || refreshSelectedList) {
selectedCountries = attributeListForIterator("EmployeeMapCountryCity2", "CountryId");
return selectedCountries;
That is working but
And same code is using for selecting cities, it's not working
public List getSelectedCities() {
if (selectedCities == null || refreshSelectedList) {
selectedCities = attributeListForIterator("EmployeeMapCountryCity2", "CityId");
return selectedCities ;
Above method won't get the value of selected cities
please help me.
Regards
Abhijeet
Edited by: AbhijeetPS on Jan 31, 2013 4:49 PM
Edited by: AbhijeetPS on Jan 31, 2013 4:58 PM
Edited by: AbhijeetPS on Jan 31, 2013 4:59 PM
Maybe you are looking for
-
Is there a way to automatically open the Activity Viewer & make it float?
I just upgraded from Panther Mail, and I really miss knowing what was going on and having to constantly open the activity viewer and reordering the windows every time I do something. Is there a way to somehow make the activity viewer open with mail e
-
Unable to install the full package in Yosemite CS6
While I am installing CS6 Design Standard, asks me to close applications to continue the close and keeps asking me close "SafariNotificati" but is closed and I impdie install Acrobat Package, what should I do? This is the message: Imgur My computer i
-
ABAP runtime errors TYPELOAD_NEW_VERSI ON (SAPM/SAINT UPDATE)
Hi ,All I am using SAP4.6c with Orcle8i database on aWindows 2k Adv server. I have imported SPAM (KD00050.CAR) but after imporiting I am unable to use SPAM/SAINT Transaction code and its showing ABAP runtime error like "ABAP runtime errors TYPELOAD_N
-
How do i get around drivelock password
I got a used hp pavilian zd7000 laptop and when it starts it goes right to DRIVELOCK..esc,f12 .f10 etc doesn't by pass it..what do i do
-
Missing some menues on my AppleTV gen 1.
Apple recently opened up for renting of movies through iTunes Store on the Apple TV, but 3 menues are missing under the Film-tab; among them the Search menu. Any idea anyone?