Tab Component Not Updating (Bug?)
Wow. Just discovered the forums today and already making the
most of them!
Anyways, I've come across another problem possibly a bug. I
have a parent component that makes a call to a server side
component. On completion it dispatches a custom event. I've added
listeners to 5 other components so that when they detect this event
they all enable a corresponding button. These seven components are
contained within a parent component that is in term contained
within the first component.
So it goes something like this;
grandparent--->parent-->children. The grandparent dispatches
the event and the children register listeners. In addition the
children extend the box component and are wrapped around a tab
navigator in the parent component.
Now the problem is this. When the event is fired the children
are supposed to enable the button (btn.enabled = true;). But it is
only those components whose tabs that have been selected prior to
the event being fired that are able to enabled the button. For
example, if I click on Tab1 and Tab 2 (children 1 and 2) and THEN
the event is dispatched, Tab1 and Tab2 will enable their buttons.
However Tab 3 - 5 will not enable their buttons. Then if click on
tab 3 and the event is again dispatched Tab3 will enable its
button, but 4 and 5 will not.
Its extremely strange and to be honest its doing my head in!
LOL. Has anybody else had this kind of behavior? is this a bug that
I am not aware of? Is there a solution or a possible workaround?
Thank You
Jaz
May I remind you that we still have this great thing called
DataBinding.
What I am doing is it like this:
(ro is remote Object with a specific function)
<mx:Button
enabled="{ro.myRemoteFunction.lastResult!=null}" .....>
Or when you get some data collection back you store in a
array collection, for example:
[Bindable] private var myArray:ArrayCollection=new
ArrayCollection();
function myResult(event:ResultEvent):void {
myArray = new ArrayCollection(event.result as Array);
<mx:Button enabled="{myArray.length>0}" .....>
The above was done from the top of my head, but you get the
idea...
Use DataBinding!!!!
Ries
Similar Messages
-
New tabs are not updating the names of the sites they have loaded. When I open a new tab and load a site, the tab simply stays named "New Tab". When I open a link in a new window, it shows "Connecting..." even while its fully loaded.
This issue can be caused by an extension that isn't working properly.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]] -
RG23A PARTI & PARTII register & tab is not updating in MIGO by 103 105 mvt
Hi Experts,
I am doing MIGO by 103 & 105 movements. My problem is RG23A PARTI & PARTII register is not updating & also in Detail DATA (below the header details tab) Excise ITEM tab is also not coming.
I have done the configuration like LOG GEN->Tax on Goods Movements ->under business transcations->Incoming excise details->specify movement types involve in excise invoices.
Actually, after doing MIGO PARTI is updated in table J_1IPART1 but no values updated for J_1IPART2.
Can anybody help me?
Thanks
TruptiHello
as per you part1 values updationg while doing the time of migo and part2 values not updating while doing the j1iex post .
your not getting the excise tab on details so check the tax code mentioned in po assigned the co code or not ?
if your using the TAXINN procedure check the condition records in fv12.
check the j1id settings for material and vendor.
Regards
Laxman -
First tab will not close and address bar in tab does not update.
The first tab and its address bar are not working as expected. I am unable to close the first tab using the close icon on the tab or by selecting close tab from right click menu.
I also find that the address bar when displaying the first tab does not display the current web address, only text that has been previously written into the address bar field.While trying to figure out a solution, I removed my themes and I closed the tabs I could, then clicked on the new tab button, doing so changed my original tab into an (Untitled) tab and created a new (Untitled) tab. I then found I couldn't close either tab, I clicked on new tab again, got a third (Untitled) tab, which again I couldn't close. I then closed Firefox choosing not to save. This appears to have fixed the problem; however I do not know which of the above action(s) resolved it.
-
Panel tab component not stretching vertically
I have a jsff page.
I have two sections in the page .
1. top is a panel header and
2. below it is a panel tab component.(ADFStretchwidth is already set .)
When i ran the page the the page is renderring, but below the tab panel Still there are some space left .
I want to render the tab to occupy the whole space .
I have already tried using a panel stretch layout but it didnot work.
Any pointers ??
Thanks
Sumit YadavHi Sumit,
Try as mentioned below:
<af:panelTabbed id="pt2" dimensionsFrom="disclosedChild">
<af:showDetailItem text="#{'Tab1'}" id="sdi1"
styleClass="AFStretchWidth" stretchChildren="first" >
</af:showDetailItem>
<af:showDetailItem text="#{'Tab2'}" id="sdi2"
styleClass="AFStretchWidth" stretchChildren="first" >
</af:showDetailItem>
</<af:panelTabbed>
Thanks,
Navaneeth -
For example, whenever we download pictures and torrents, the download tab will update, so whenever we want to view or use the torrent, we go directly to the download tab.
However, after 23rd June, for no reason, all new downloads do not show up on the download tab. I have to manually open the download folder to search for the files or torrents. May I know the reason why this happen or any way I can reverse this?Tools > Options > Privacy > History: [X] "Remember download history"
Make sure that you do not run Firefox in permanent Private Browsing mode.
*https://support.mozilla.com/kb/Private+Browsing
*You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
*To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
* Deselect: [ ] "Permanent Private Browsing mode" -
Custom Component Not Updating Display List
Hi all... I've created a component which is basically a meter (extends skinnable container). The skin to the component contains two rectangles (background and the actual meter). This component receives an arraycollection with the following fields value, max and min(the arraycollection I am passing is Bindable). When I initialize and pass the data to be used to draw It works great (keep in mind - only works the first time). I've created a button that changes the data array and shows the current meter value. Apparently the meter's value is changing everytime I modify the ArrayCollection I've set to be used for rendering.(dont want to say "dataProvider" because it is not a Flex dataprovider, just a variable )... here is the code...
public class meter extends SkinnableContainer {
[SkinPart( required = "true" )]
public var meter:spark.primitives.Rect;
[SkinPart( required = "true" )]
public var meterBackground:spark.primitives.Rect;
private var _dataProvider:ArrayCollection;
private var _renderDirty:Boolean = false;
public function Meter() {
super();
public function set dataProvider( value:Object ):void {
if ( value )
if(value is ArrayCollection)
_renderDirty = true;
_dataProvider = value as ArrayCollection;
if(_dataProvider)
_dataProvider.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, propertyChanged);//used both eventlisteners but none actually ever fire off
_dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE,collectionChanged);
invalidateDisplayList();//only happens the first time
private function collectionChanged(event:CollectionEvent):void
Alert.show("In collection Change");//this never goes off when I change the "dataProvider"
_renderDirty = true;
invalidateDisplayList();
private function propertyChanged(event:PropertyChangeEvent):void
Alert.show("In property Change");//this never goes off when I change the "dataProvider"
_renderDirty=true;
invalidateDisplayList();
public function get dataProvider():Object {
return _dataProvider;
override protected function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void {
if(_dataProvider))
var span:Number = unscaledWidth / _dataProvider[0].max;
var meterWidth:Number = _dataProvider[0].value * span;
meter.width = meterWidth;
_renderDirty = false;
And this is the mxml code where I change the "value" field....
<fx:Script>
<![CDATA[
[Bindable]
private var meterData:ArrayCollection = new ArrayCollection([
{value:80, max:100, min:0}
protected function mySlider_changeHandler(event:Event):void
meterData[0].value = Math.round(mySlider.value)*10;
protected function button1_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
var array:ArrayCollection = testMeter.dataProvider as ArrayCollection;
var value:Number = array[0].value as Number;
Alert.show(value.toString());
// testMeter.meter.width= Math.random()*100;
]]>//initial value in "meterData" does get drawn...but when it's changed with the slider..nothing happens..
<custom:Meter id="testMeter" dataProvider="{meterData}" />
<s:HSlider id="mySlider"
liveDragging="true"
dataTipPrecision="0"
change="mySlider_changeHandler(event)"
value="3"/>
<s:Button click="button1_clickHandler(event)"/>
Can you help me figure out what's going on??Thanks guys!!!Hi.
Now there are some serious bugs in your code:
Put a call to super.updateDisplayList(unscaledWidth, unscaledHeight) in your overriden method (or some funky things will start happening or it won't work at all).
Why don't you check your _renderDirty flag in the updateDisplayList() method? You should do that (personally I would go with commitProperties() instead but it's not much of a difference I guess)
And now the reason why your events don't fire is that because you use plain objects (just generic istances of Object). Those are not IEventDispatchers and therefore do not fire any events when you change any of the properties (which are all dynamic by the way). You have to define a custom value object class which extends the EventDispatcher (or you can implement IEventDispatcher on your own). So instead of this:[Bindable]
private var meterData:ArrayCollection = new ArrayCollection([
{value:80, max:100, min:0}
You should do something like this:[Bindable]
private var meterData:ArrayCollection = new ArrayCollection([
new MyValueObject(80, 100, 0)
Where MyValueObject could look like this:// this instructs MXML compiler to automaticly implement IEventDispatcher
// and make all public properties bindable
[Bindable]
public class MyValueObject
public function MyValueObject(value:Number, max:Number, min:Number) {
this.value = value;
this.max = max;
this.min = min;
public var value:Number;
public var max:Number;
public var min:Number; -
Samsung Galaxy Tab 4 Not updating
I am working on provisioning several (3) Samsung Galaxy Tab 4's Model SM-T530, and one of them is not getting the latest system updates. It is stuck at Android 4.4.2, Kernel version 3.4.0-3235464. I have tried manually running the Update now, verified I am online, all that fun stuff.
This is the WiFi Only version, so it is not dependent on the carrier releasing the update, and the other two that were purchased from the same vendor at the same time, updated just like they were supposed to, and are now at 5.0.2.
What can i do to troubleshoot this issue? (Logs, check settings, etc)
This topic first appeared in the Spiceworks CommunityUnfortunately, Adobe Reader on Android does not provide this functionality. You will not be able to add any comments to a protected pdf file. This is a limitation with all mobile versions of Adobe Reader.
Thanks,
Adobe Reader Team -
Regarding contract sales tab value not updating into the standard VA42 t-co
Hello Experts!!!
How to add screen shots in sdn...
so that i can add my screen shots in SDN
The below shown screen shot is the output of our Zprogram.The table field name:VBKD-BZIRK, where is has been marked as red colur in box.
While dropping the from Source contract to Target Contract, where the value is not picking to the target contract and finally it is not displaying in the Standard VA42 transaction
Input value
That same field should come in the final alv output and also include in the va43 transaction sales tab( sales district)
This value must then be inserted into every document which is being transferred.
The above input field dragged from Source Contract to Target Contract, the picked value should reflected in the VA42 transation , but it is not effecting.
Regards,
Preethi...i already used same But it's not working
s_order_header_inx-updateflag = 'U'.
Line items
REFRESH: i_order_item_in, i_order_item_inx.
LOOP AT t_data INTO wa_data.
LOOP AT t_data_item INTO wa_data_item WHERE vbeln = wa_data-vbeln. .
BAPISDITM
i_order_item_in-itm_number = wa_data_item-posnr.
i_order_item_in-profit_ctr = wa_data_item-profit_ctr.
BAPISDITMX
i_order_item_inx-itm_number = wa_data_item-posnr.
i_order_item_inx-updateflag = 'U'.
i_order_item_inx-profit_ctr = 'X'.
APPEND: i_order_item_in, i_order_item_inx.
ENDLOOP.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_data-vbeln
IMPORTING
output = wa_data-vbeln.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = wa_data-vbeln
order_header_in = s_order_header_in
order_header_inx = s_order_header_inx
behave_when_error = 'P'
TABLES
return = it_return
order_item_in = i_order_item_in
order_item_inx = i_order_item_inx. -
Retention amount paid to vendor is not updated in PO history tab
Dear All,
I had activated business function 'LOG_MMFI_P2P'. As a result i am getting Payment processing tab in PO.
There i can define Down payment and Retention percentages. I had created a service purchase order and then service entry sheet.
After the acceptance of service entry sheet i did invoicing (MIRO). Here i get an option to clear down payment (an additional button becomes available to clear down payment). That scenario is working perfectly fine. System also proposes the retention amount. I can change retention amount/percentage or continue with same.After invoice is posted the retention amount is visible under PO history tab against Invoice number.
Now my problem is when i am doing payment of retention amount(after doing payment of services deducting down payment and retention) to vendor the 'Posted Retention in Document Currency' column in PO history tab is not updated.
Regards,
KamalDear Pankaj,
Thanks for quick Reply.
I think you did not understand my question. In PO history tab for down payment scenario (defined through PO and cleared in MIRO) proper lines are getting created. For retention new line will not be created. But the invoice row in PO history tab is having two columns -
1) Retention in Document Currency.
2) Posted Retention in Document Currency.
The first column is having value which is the retention amount. But second column is not having any value even after the payment (portion held as retention)is made.
I will add one more thing. If i run FK10N for the vendor- then Special G/L account for retention is updated properly.
Regards,
Kamal
Edited by: kamal.anandani1 on Apr 22, 2011 8:02 AM -
Average Active Sessions graph not updated after restart
Hi,
I just wanted to ask - I have restarted a database (11.1.0.7) with GC 11.1.0.1 but after the restart of the db the graphs on a performance tab are not updated. It means that the doesn't refresh and doesn't show actual data...
I checked jobs on the target database and GC repository but nothing is broken. Info on Home tab of the target DB is actual but not the graphs..
I also tried to clearstate and restart the agent but no change..
Any idea?
ThanksThis is a bug and can be solved by applying
Patch 10307099: PERFORMANCE CHARTS DO NOT UPDATE AFTER DATABASE IS RESTARTED
This patch is included in the july 2011 PSU: Grid Control Patch Set Update 11.1.0.1.4 for the Oracle Management Service, see MOS doc ID 1334286.1
Eric -
Source of supply is not updating in me53n from fiori App order from Requisition
Hi,
I am using Order from Requisition APP, to create a PO from Approved PRs.
while doing this, there is a step assign Supplier, i am assigning the supplier and created the PO Successfully.
But in backend, when i checked in t-code ME53N for Source of supply tab for a particular PR item. that tab is not updated with vendor details.
when i checked in created PO it gets updated there.
Purchase REquisiton
PO CREATed with above PR
Is there any workaround to update the source of supply in backend.
Thanks,
Venu
Tags edited by: Michael ApplebyHi,
We are using classic scenario in SRM 5.0.
We are using desired vendor in the purchase requisition, whenever the Purchase requisition is moving into the SRM Sourcing cockpit. We are unable to see the source of supply.
Source of supply is missing in sourcing cockpit (SOCO).
desired vendor number which is not updating, instead it is showing empty.
I have found some BADI like BBP_SOS_BADI and BBP_SOS_BADI_ICC, this BADI will trigger when a shopping cart has contract GUID, but we donu2019t have contract for this purchase requisition.
Could you please tell me the BADI or user EXIT name, by using this BADI I can populate the populate the source of supply and vendor in SOCO. -
Last stock update Date Tab not updating in ICH
Hi Team
I observed that in ICH screen Last stock update Tab is not going to update every time while demand and stock information coming from ECC to ICH.
There is no stock inconsistency. All stock tab information are updating correctly in ICH compare to ECC system.
Only this Last stock update tab Date are not updating.
What is the reason behind this?
Could you please help me to resolve this?
Regards
Virendra Kumar
09769396038Hi Virendra
It is a bug, please report to SAP and get fix
which version you are using and what is the patch level?
1341691 should be helpful check out
Best Regards
Vinod -
Can not update tab if its not the default sub-tab.
Can not update tab if its not the default sub-tab.
JDeveloper Version 10.1.2.1.0 (Build 1913)
Hi. I have a problem with a lovOpenWindowAction
The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
The lovOpenWindowAction lies in the included UIX-page
The sub-tab I have a problem with has a table with users. Then I have a Create New button than I want to click on and select a new user that should be included in the table in the sub-tab.
When I click on the button I open a LOV-window. Here I select the user that I want to add.
In the LOV Action-class I save my new value in the database. Then in the method onLovUpdate I update the iterator with the new values from the database.
But in my GUI the subtab is not updated until I click on it.
But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
<tableActions>
<button text="Create New" id=" createNewRollperson" accessKey="N">
<primaryClientAction>
<lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
source=" createNewRollperson "
targets="joinedRollpersfiskeer message"/>
</primaryClientAction>
</button>
</tableActions>
Here is some code from the master UIX-page
<subTabLayout id="flikar">
<subTabs>
<subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
<contents>
<link id="resorFlik" text="Resor"
disabled="${sessionScope.fiske.id == null}"
selected="${(param.source == 'resorFlik') or empty param.source}">
<primaryClientAction>
<firePartialAction event="changeTab" targets="flikar globalHeader">
<parameters>
<parameter key="source" value="resorFlik"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
<link id="rollpersonerFlik" text="Rollpersoner"
disabled="${sessionScope.fiske.id == null}"
selected="${param.source == 'rollpersonerFlik'}">
<primaryClientAction>
<firePartialAction event="changeTab" targets="flikar globalHeader">
<parameters>
<parameter key="source" value="rollpersonerFlik"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
</contents>
</subTabBar>
</subTabs>
<contents>
<switcher childName="${param.source}"
defaultCase=ResorFlik">
<case name="resorFlik">
<include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
</case>
<case name="rollpersonerFlik">
<include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
</case>
</switcher>
</contents>
</subTabLayout>
What am I missing?? I cant have this subtab as the default subtab! Please help me with a solution!hi,
Change the condition type to manual entry.
or
for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
Thanks & Regards,
Kiran -
Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...
Maybe you are looking for
-
IMac as a monitor for iPad photographs.
Is it possible to use my iMac as a monitor to share my iPad screen when scrolling through photographs? This is my plan for classroom use.
-
Hello all I am having problems viewing my flash buttons on my website
Hello all I am new to creating my own websites. I am using DW8. At the moment all is going ok as I have managed to get my home page up and running, though my website is far from over i have decieded to add flash buttons. Now when i preview the site i
-
Clipboard FlavorListener on Mac OS X
Hi all, for an Eclipse plug-in, I need to intercept text that another application copied to the clipboard (unfortunately, communication through the clipboard is currently the only way to communicate with that other application). I implemented this by
-
Photoshop Elements 7 - Thumbnails
I loaded PSE 7 onto a new PC then did a recovery from the latest backup. The correct number of files loaded. The problem is that no thumbnails are shown. Whenever PSE is opened it shows 'generating thumbnails' however it quits doing this after a
-
Unable to Edit the Target Audience in SharePoint Central Admin 2010
Hi, I'm currently running SharePoint 2010 SP1, and generating this error when I tried to either add/remove a rule within one of my Audiences w/n the Central Admin. The error I'm getting is, "An error has occurred while accessing SQL database or syst