Custom "All" label in af:selectManyChoice / with Skinning
Hi everyone,
I would like to continue this thread :
[ER] Custom "All" label in <af:selectManyChoice />
Where was discussed about the af:selectManyChoice component. I'm currently using jdev 11.1.2, and I realised that none attribute was created in order to custom "All" label.
I wanna do this requirement with Skinning, but I didn't found how can I do this? Anyone can help me?
Check the sample where the label for 'All' is modified to 'Entire Set of drinks':
http://adfsampleapplications.googlecode.com/svn/trunk/SelectManyChoice.rar
Check for SkinBundle.properties which has the key and is registered in trinidad-skins.xml
Thanks,
Navaneeth
Similar Messages
-
[ER] Custom "All" label in af:selectManyChoice /
Hi,
We need to a show a different "All" label depending on the gender of the items of the <af:selectManyChoice /> component. As our application main language is French, it is considered an usability issue.
Currently, we can customize the label with skin resources, but cannot change it on a case by case basis.
Thank you!
OlivierHi,
"Currently, we can customize the label with skin resources, but cannot change it on a case by case basis."
Why ? Skins can be changed at runtime. So if you have a base skin and s subskin that extends the base skin (but uses whatever different label you need) then this should do the trick.
Instead of hardcoding the skin family name in the trinidad-config.xml you refrence it to a managed bean or session attribute using EL. This allows you to change the skin at runtime
Frank -
With my iphone 6 with ios8 I need a new way to create custom contact labels via Apple or app
How can I create custom contact labels on my iphone 6 using ios 8?
I assume you mean in contacts you want to add a custom label, not print a label as FoxFifth suggested!
Todo this click edit on the contact, then click the name of the field you wish to rename (there should be a red circle with a minus beside it)
A list comes up and at the bottom you can click "Add Custom Label" and type in the name.
Please note this doesn't work with Exchange servers -
Sort Custom Phone Labels?
Just went to add a new phone number for one of my contacts (iPhone 5, current version of iOS 7). When I click on the phone label (for example, main, home, mobile, etc.), I noticed that all the custom labels I've added over the years seem to be in the order they were added. Given that I have dozens of them, it took a while to scroll through the list to find the one I was looking for.
Anyone know of a way to sort these alphabetically?This feature joins a long list of things that moved backwards rather than forward with the introduction of iOS7. The new operating system compromised this feature creating havoc in custom-made labels. Thousands of users (including me) have sent emails to Apple customer support requesting that the ability to correctly sort be corrected and restored. As of 7.1.1 we are still waiting for a fix.
-
Stop and Play All Child MovieClips in Flash with Actionscript 3.0
I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting and also normal flash animation.
Now I want to create pause and play functionality for the entire movie. I was able to create the pause function but when i try to play the movie it behaves very strange.
I was able to develop the pause functionality by refering to the below mentioned links:
http://www.unfocus.com/2009/12/07/stop-all-child-movieclips-in-flash-with-actionscript-3-0 /
http://www.curiousfind.com/blog/174
Any help in this regard is highly appreciated as i am approaching a deadline.
I am pasting the code below:
import flash.display.MovieClip;
import flash.display.DisplayObjectContainer;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;
import flash.events.Event;
import flash.events.MouseEvent;
stop();
// function to stop all movieclips
function stopAll(content:DisplayObjectContainer):void
if (content is MovieClip)
(content as MovieClip).stop();
if (content.numChildren)
var child:DisplayObjectContainer;
for (var i:int, n:int = content.numChildren; i < n; ++i)
if (content.getChildAt(i) is DisplayObjectContainer)
child = content.getChildAt(i) as DisplayObjectContainer;
if (child.numChildren)
stopAll(child);
else if (child is MovieClip)
(child as MovieClip).stop();
// function to play all movieclips
function playAll(content:DisplayObjectContainer):void
if (content is MovieClip)
var movieClip:MovieClip = content as MovieClip;
if (movieClip.currentFrame < movieClip.totalFrames) // if the main timeline has reached the end, don't play it
movieClip.gotoAndPlay(currentFrame);
if (content.numChildren)
var child:DisplayObjectContainer;
var n:int = content.numChildren;
for (var i:int = 0; i < n; i++)
if (content.getChildAt(i) is DisplayObjectContainer)
child = content.getChildAt(i) as DisplayObjectContainer;
if (child.numChildren)
playAll(child);
else if (child is MovieClip)
var childMovieClip:MovieClip = child as MovieClip;
if (childMovieClip.currentFrame < childMovieClip.totalFrames)
//childMovieClip.play();
childMovieClip.play();
function resetMovieClip(movieClip:MovieClip):MovieClip
var sourceClass:Class = movieClip.constructor;
var resetMovieClip:MovieClip = new sourceClass();
return resetMovieClip;
pauseBtn.addEventListener(MouseEvent.CLICK, onClickStop_1);
function onClickStop_1(evt:MouseEvent):void
MovieClip(root).stopAll(this);
myTimer.stop();
playBtn.addEventListener(MouseEvent.CLICK, onClickPlay_1);
function onClickPlay_1(evt:MouseEvent):void
MovieClip(root).playAll(this);
myTimer.start();
Other code which helps in animating the movie and other functionalities are as pasted below:
stage.addEventListener(Event.RESIZE, mascot);
function mascot():void {
// Defining variables
var mc1:MovieClip = this.mascotAni;
var sw:Number = stage.stageWidth;
var sh:Number = stage.stageHeight;
// resizing movieclip
mc1.width = sw/3;
mc1.height = sh/3;
// positioning mc
mc1.x = (stage.stageWidth/2)-(mc1.width/2);
mc1.y = (stage.stageHeight/2)-(mc1.height/2);
// keeps the mc1 proportional
mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
stage.removeEventListener(Event.RESIZE, mascot);
mascot();
this.mascotAni.y = 100;
function mascotReset():void
// Defining variables
var mc1:MovieClip = this.mascotAni;
stage.removeEventListener(Event.RESIZE, mascot);
mc1.width = 113.45;
mc1.height = 153.85;
mc1.x = (stage.stageWidth/2)-(mc1.width/2);
mc1.y = (stage.stageHeight/2)-(mc1.height/2);
// keeps the mc1 proportional
mc1.scaleX <= mc1.scaleY ? (mc1.scaleX = mc1.scaleY) : (mc1.scaleY = mc1.scaleX);
var interval:int;
var myTimer:Timer;
// function to pause timeline
function pauseClips(secs:int, myClip:MovieClip):void
interval = secs;
myTimer = new Timer(interval*1000,0);
myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
myTimer.start();
function goNextFrm(evt:TimerEvent):void
myTimer.reset();
myClip.nextFrame();
myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
// function to pause timeline on a particular label
function pauseClipsLabel(secs:int, myClip:MovieClip, myLabel:String):void
interval = secs;
myTimer = new Timer(interval*1000,0);
myTimer.addEventListener(TimerEvent.TIMER, goNextFrm);
myTimer.start();
function goNextFrm(evt:TimerEvent):void
myClip.gotoAndStop(myLabel);
myTimer.removeEventListener(TimerEvent.TIMER, goNextFrm);
MovieClip(root).pauseClips(4.5, this);
// function to fade clips
function fadeClips(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number):void
var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, 0.5, true);
fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
function fadeFinish(evt:TweenEvent):void
next_mc.nextFrame();
fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
// function to fade clips with speed
function fadeClipsSpeed(target_mc:MovieClip, next_mc:MovieClip, from:Number, to:Number, speed:int):void
var fadeTW:Tween = new Tween(target_mc, "alpha", Strong.easeInOut, from, to, speed, true);
fadeTW.addEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
function fadeFinish(evt:TweenEvent):void
next_mc.nextFrame();
fadeTW.removeEventListener(TweenEvent.MOTION_FINISH, fadeFinish);
// function to show screen transitions
function screenFx(target_mc:MovieClip, next_mc:MovieClip):void
//var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Iris, direction:Transition.OUT, duration:1.2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
tranFx.addEventListener("allTransitionsOutDone",doneTrans);
function doneTrans(evt:Event):void
next_mc.nextFrame();
tranFx.removeEventListener("allTransitionsOutDone",doneTrans);
// function to show screen transitions inverse
function screenFxInv(target_mc:MovieClip, next_mc:MovieClip):void
var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.SQUARE});
tranFx.addEventListener("allTransitionsInDone",doneTrans);
function doneTrans(evt:Event):void
next_mc.nextFrame();
tranFx.removeEventListener("allTransitionsInDone",doneTrans);
// function to zoom in
function zoomFx(target_mc:MovieClip):void
//var tweenTW:Tween = new Tween(target_mc,"alpha",Strong.easeInOut,0,1,1.2,true);
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
//tranFx.addEventListener("allTransitionsInDone",doneTrans);
/*function doneTrans(evt:Event):void
next_mc.nextFrame();
// Blinds Fx
function wipeFx(target_mc:MovieClip):void
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Wipe, direction:Transition.IN, duration:3, easing:Strong.easeOut, startPoint:9});
// Blinds Fx Center
function fadePixelFx(target_mc:MovieClip):void
var tranFx:TransitionManager = new TransitionManager(target_mc);
tranFx.startTransition({type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeOut});
tranFx.startTransition({type:PixelDissolve, direction:Transition.IN, duration:1, easing:Strong.easeOut, xSections:100, ySections:100});This movie is an animated movie from the start to end. I mean to say that though it stops at certain keyframes in the timeline it stops for only a certain time and then moves on to the next animation sequence.
Its not an application where the user can interact.
On clicking the play button i want the movie to play normally as it was playing before. If the user has not clicked on the pause button it would anyhow play from start to finish.
Is there anyway where i could send in the fla file? -
Lightroom 5 - in all of the panels starting with Basic all titles are showing "Reset".
Lightroom 5 - in all of the panels starting with Basic all titles are showing "Reset". For example, Tone is now showing Reset Tone - Resent Presence.
In all panels the titles are showing "Reset". Can you please explain and tell me how to fix?
Thank you,
LouiseSounds like you have an [Alt/Opt] key stuck down. Pressing this key changes to the Reset mode. If your key isn't stuck, did you recently custom map some keystrokes?
-
Unable to create custom phone labels for new contacts since the upgrade
I have a AT&T iphone 4 version 4.3.1 and since the last couple of recent upgrades I have been unable to create custom phone labels for any new contacts because the lower label options are gone. This is only a problem with new contacts. My existing contacts with custom labels are still there and if I edit those contacts the table that has create custom labels is also still there, but not for new contacts. Has anyone else noticed this problem.
If you read the error above about the hash and manifest, you will se this is a RB Setup error and not a CM12 error. You would be better to post your question in the SQL forum or better yet to use BIDS instead.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
How we create custom infotype and how to configure with its subtypes.
hai abap-hr gurus,
how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
plz help me for this with an example code.
thanks..
kiran kumarHi Kiran,
Please fallow the below steps to create the custom infotype. If you have any quires let me know.
For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
then select the `Employee Infotype' radio button
after that select the `PS Structure Infotype'
then click on Create A separate table maintenance window appears
then Create a PS structure with all the fields you want on the infotype
Save and Activate the PS structure
now Go back to the initial screen of PM01
Click on `All' push button. It takes a few moments
Click on `Technical Characteristics. Infotype list screen appears
Click on `Change'(pencil) button
Now select your Infotype and click on `Detail' (magnifying glass) button
Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
Give your subtype field as subtype field & Save and come back to PM01 initial screen
Click on `Infotype Characteristics' Infotype list screen appears
Click on `Change' (pencil) button & on New Entries
and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
to fill yours). Now save ur entries
Now the Infotype is created and ready to use.
If you want to change the layout of the Infotype as per your
requirement
In the PM01 initial screen Select `Screen' radio button and give
2000 as the screen name, then click on edit.
In the next screen.. Select `Layout Editor' and click `Change'.
Screen default layout appears here you can design/modify the
screen..change the attributes of the fields..etc.
Save and activate. (Don't forget to `Activate at every level)
Regards,
Ramakrishna kotha. -
T code/ report to list all material sales pricing condition with deletion i
I create sales org/ material level pricing conditions in VK11. Some unwanted material pricing conditions are with Deletion indicator active. Iu2019m looking for a report to list all material sales pricing condition with deletion indicator active.
Please advice me on this.Hi Goto v/ld and select 16 which stands for individual prices, and then populate sales organization, distribution channel, customer ,material numbers,etc...and tick "Cond.marked for deletion" check box in "list screen" tab which is the most important, execute you will be able to see all material pricing condition even though it had been deleted.
-
Publishing Dashboard into bw -- All labels in spreadsheet gone
Hi experts,
during publishing the xcelsius dashboard into the NW Environment, the SWF generation stops without any error message. Sometimes the message "Publish failed" appears (contains no error ID).
After that, ALL labels in the spreadsheet are gone. Instead of the labels the cells only contain ' #VALUE '.
The dashboard is useless then.
I can work hours with this dashboard and publish it a couple of times. Everything is fine and works as designed. But then, whyever, it deletes the labels. It happened three times, very frustrating.
Xcelsius Enterprise SP3.3
Connectiontype: SAP NW BW-Connection
Win XP & Office 2007 with latest patches
flash 10,1,85,3
Does anyone know about this issue and how to fix it?
Best regards,
DennisHi David,
Thank you very much for sharing this information.
Our connections are BICS only, not via BOE. However, you are dead-on with the size of the dashboard. It is very big, with a lot of cells (20'000+), and lookups, and xTree components.
We sometimes have the "publish failed" message, and it could well be related to the corruption error.
We have had the issue also with one smaller dashboard, though.
SAP has advised to clear the portal cache (to remove possible inconsistencies in meta data), and to upgrade to Xcelsius 3.4.
We cleared the cache, but the corrupted dashboard did of course not come back.
We are currently running 3.1, and as we do not have a package for 3.4 yet (we are in a centrally maintained environment), we would like to avoid manual upgrades. For two days, the issue has not occured. We will keep an eye on it, and upgrade if the error returns. I will keep you posted.
Cheers
Frank -
Epson RX 700 DVD label printing - "driver dealing with CD printing is not..
Thank goodness I still have my PowerBook with Tiger 10.4.11 on it so I can print DVD labels. But I would like to be able to do this with my intel iMac with Leopard on it.
When I try to print DVD labels on my iMac with Leopard 10.5.3 using the horrible Epson Print CD software I am getting, "EPSON printer driver dealing with CD printing is not installed."
I searched on this message board and others have gone to the Russian website and downloaded the newer print driver which isn't available on the American website. I found driver 3.09, download it, and installed it. It shows up in English and everything LOOKs good.
Then I try to print from the EPSON CD Print software and it gives me this error.
Note that I also bought Roxio's Toast 9 Titanium with Disc Cover RE and try to print from that it and the print job gets all the way to the printer queue which tells me, "CD/DVD guide open". Well DUH, I'm trying to print the CD/DVD so I want it open, stupid printer.
Or I'm just being stupid. Help. Did I forgot to stand on my head, rub my stomach, pat my feet, and chant something before/after installing the new printer driver which is supposed to work?I've done all that (exactly as it is suggested from the Epson support site) and I still get the same error. I called their tech support and they admitted that there is no real fix... only a workaround by doing a manual print. I had already figured that out, but all the instruction on their support site is useless.
My older machines work fine, but our new iMacs running Leopard will not print with Print CD. -
Revision: 12057
Revision: 12057
Author: [email protected]
Date: 2009-11-20 11:22:05 -0800 (Fri, 20 Nov 2009)
Log Message:
Label (and RichText) will show text as tooltip if truncated and new showTruncationTip flag is set to true (defaults to false because Label is often used in skin that have their own tooltip logic).
QE Notes: New API (showTruncationTip)
Doc Notes: New API (showTruncationTip)
Bugs: SDK-23639
Reviewer: Gordon
API Change: Yes
Is noteworthy for integration: Yes
tests: checkintests mustella/gumbo/components/Button mustella/gumbo/components/Label
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23639
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.asHi blabla12345,
(untested and without warranty)
replace this line:
const sSaveCUBE = "CUBE";
with this:
const sSaveCUBE = "cube";
Have fun -
Is there an easy way of custom axis labeling? I saw a LabVIEW application that was labeling frequency on a logarithmic scale like:
10Hz, 100Hz, 1kHz, 10kHz, 100kHz, 1MHz, 10MHz
instead of:
10, 100, 1000, 10000, 100000, 1000000, 10000000
Can this be done with the .NET version?
Thanks in advance!
DerekIt sounds like you're looking for engineering formatting with SI units. There is no direct support for this in the Measurement Studio 7.0 version of the graph, but you could get the desired appearance in the axis by setting the axis.MajorDivisions.LabelVisible, axis.MajorDivisions.TickVisible, and axis.MinorDivisions.TickVisible properties to false, then adding custom divisions to the axis.CustomDivisions collection with the appropriate values and labels. This could be done at design-time, but here's some sample code that demonstrates how to do this at run-time:
class MyForm : Form
private NationalInstruments.UI.WindowsForms.WaveformGraph waveformGraph1;
private NationalInstruments.UI.XAxis xAxis1;
private NationalInstruments.UI.YAxis y
Axis1;
private NationalInstruments.UI.WaveformPlot waveformPlot1;
protected override void OnLoad(EventArgs e)
base.OnLoad(e);
xAxis1.MajorDivisions.LabelVisible = false;
xAxis1.MajorDivisions.TickVisible = false;
xAxis1.MinorDivisions.TickVisible = false;
xAxis1.Range = new Range(10, 10000000);
xAxis1.ScaleType = ScaleType.Logarithmic;
xAxis1.CustomDivisions.Add(new AxisCustomDivision(10, "10Hz"));
xAxis1.CustomDivisions.Add(new AxisCustomDivision(100, "100Hz"));
xAxis1.CustomDivisions.Add(new AxisCustomDivision(1000, "1kHz"));
xAxis1.CustomDivisions.Add(new AxisCustomDivision(10000, "10kHz"));
xAxis1.CustomDivisions.Add(new AxisCustomDivision(100000, "100kHz"));
xAxis1.CustomDivisions.Add(new AxisCustomDivision(1000000, "1MHz"));
xAxis1.CustomDivisions.Add(new AxisCustomDivision(10000000, "10MHz"));
// Axis should now appe
ar as specified once the form loads.
- Elton -
How to create labeled table of Content with expand and collapse
Hi All,
Can somebody help me how to create labeled table of Content with expand and collapse as example given below:
User1
Template1
Template2
User2
+
User3
Template1
Template2
Like when we see expand (+) and collapse (-) button when we click on 'about this page' link.
Thanks
BhupendraHi,
Tou can use Table inside table to show the details this way but I'm not sure about Expand/Collapse.
Expand/Collapse are part of HGRID.
I think we can develop this functionality with little manipulation.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on Jun 28, 2010 4:56 AM -
How to disable the "Reply" not "Reply All" button in Outlook 2010 with GPO
How to disable the "Reply" not "Reply All" button in Outlook 2010 with GPO
I need to disable to "Reply" NOT the "Reply All" button/s in Outlook 2010. If possible, then deploy it through GPO also.Hi,
We can disable the "Reply" button by using Control IDs.
Please first make sure that you have installed the
Office 2010 Administrative Templates. To disable the "Reply" button, please follow the steps below:
1. Press Windows key + R to open the Run command, type gpedit.msc and press Enter.
2. In the Group Policy Object Editor console, expand User Configuration, expand
Administrative Templates, and then expand Microsoft Outlook 2010.
3. Expand Disable items in User Interface, click
Custom, double-click Disable commands, and then click Enabled.
4. Click Show. In the Show Contents dialog box, enter
354 (the control ID for “Reply” button) in the Value field, and then click
OK.
5. Restart Outlook and you’ll find the “Reply” button is disabled (grayed out).
For more information, please refer:
http://technet.microsoft.com/en-us/library/cc179143(v=office.14).aspx
Regards,
Steve Fan
TechNet Community Support
Maybe you are looking for
-
CALCULATE_TAX_ITEM how to use it
hello al cud u tell me what values shud be passed into CALCULATE_TAX_ITEM function module. and how to use it.
-
Sequence Settings for HD to SD DVD
I have an HD Camcorder that records to a flash 8 GB memory card. Once I import the files into Final Cut Pro, I need to export using Compressor with the "DVD Best Quality for 90 minutes" option. The problem is that Compressor takes forever. Over 60 ho
-
DEP Data Execution Protection prevents itunes from working?
Hi I'm hoping for some help as DEP on Windows XP keeps closing itunes despite the changing the settings on DEP in the windows control panel (i.e. whether itunes is ticked or unticked in the appropriate panel). I do not think I have any quicktime prog
-
Can't download JUNIT extension via "check for updates"
Hi, since a few weeks (with jdev 11.1.1.1.0 and jdev 11.1.1.2.0) I can't download e.g. JUNIT extensions via "check for updates". I have to enter a password but authentication is not possible. Even when I reset the passord (via "find password") it doe
-
How to derive EXTI1 field in VTTK in COPA
Hi, I want to derive EXTI1 field in VTTK table in COPA, how to do that please explain. I am not getting much details on how table lookup works, so appreciate your help on this