How to Conditionally enable a date segment in flex based on Prior segment
i need to enable 'Retest Date' - Date segment, only if a prior segment 'Result' has a value 'Fail'.In case 'Result' is passed, the 'Retest Date' should not be enabled.
Retest Date should allow all possible dates . These values dont come from any table.
I can use :$FLEX$.Result or :$FLEX.Result_valueset in my where clause of table validated valueset if the datatype is varchar2 . For date type, I have always used validation type as 'None' .Where do i mention the :$FLEX$.Result and what should be the validation type?
Any ideas about how to achieve the beahviour mentioned above?
Many Thanks,
Lal
Hi,
Here is the solution:
http://livedocs.adobe.com/flex/3/html/help.html?content=08_Dates_and_times_3.html
Best,
Similar Messages
-
How do I enable "Access data sources across domains" in firefox?
Couple of links do not work on my firefox however they work fine on IE. This is because the "Access data sources across domains" is enabled in IE and i am not sure on how to make this setting enable on Firefox as well.
Please provide the steps to enable "Access data sources across domains" setting in Firefox.
Please help!This should add the permanent exception:
[https://support.mozilla.org/en-US/kb/connection-untrusted-error-message#w_bypassing-the-warning Connection Untrusted Error Message: Bypassing the Warning]
However if it is not staying until the next time that the user opens up Firefox, is it possible that they are in permanent private browsing? [[Private Browsing - Browse the web without saving information about the sites you visit]] - that should have instructions to get in and out of it. -
How to show double byte data in a Flex application
Hi
I am looking for a way to show UTF-8 formatted data in a Flex
application. I have a Java app in the backend that generates an xml
file. Some attributes in the file are encoded in UTF-8 (when data
is Japanese or Chinese...). My Flex app is showing box characters.
I have XSLT app that generates html based off this xml file. The
browser i showing the Japanese characters fine.
I am wondering what the trick is to get Flex app show this
data.
Thanks
VideoguyIt turned out to be my XP that didn't have the the right lang
sets installed. I have two PCs. On one everything showed up fine. I
was able to view arabic, chinese data from xml just fine. On the
other one, same swf didn't show them. There is MS knowledgebase
article on how to enable east asian languages etc. I didn't give it
a try. I am using other pc for my dev now. -
How To Populate An Advanced Data Grid In Flex With An XML Document Created In JAVA
Flex Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="856" height="698" initialize="onInitData()">
<mx:RemoteObject destination="utilityUCFlexRO" id="utilityUCFlexRO">
<mx:method name="updateStationDetails" result="handleUpdateStationDetailsResult(event)" fault="handleUpdateStationDetailsFault(event)"/>
</mx:RemoteObject>
<mx:RemoteObject id="uniqueIdMasterUCFlexRO" destination="uniqueIdMasterUCFlexRO">
<mx:method name="readByCustomerName" result="handleReadByCustomerNameResult(event)" fault="handleReadByCustomerNameFault(event)"/>
<mx:method name="getCustomerAcDetails" result="handlegetCustomerAcDetailsResult(event)" fault="handlegetCustomerAcDetailsFault(event)"/>
</mx:RemoteObject>
<mx:Script>
<![CDATA[
import mx.events.ListEvent;
import mx.collections.ItemResponder;
import com.citizen.cbs.model.UniqueIdMaster;
import mx.managers.PopUpManager;
import mx.controls.ProgressBarMode;
import mx.effects.Fade;
import mx.controls.ProgressBar;
import com.citizen.cbs.CitizenApplication;
import mx.core.Application;
import mx.messaging.messages.ErrorMessage;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
import mx.controls.Alert;
private var moduleCloseFlag:Boolean=false;
private var v:UniqueIdMaster;
[Bindable]
private var customerDetails:ArrayCollection;
[Bindable]
private var branch:int=0;
[Bindable]
private var XMLDocument:XML;
[Bindable]
private var acDetails:XMLList;
private var _progBar:ProgressBar = new ProgressBar();
private function showLoading(e:Event = null):void
_progBar.width = 200;
_progBar.indeterminate = true;
_progBar.labelPlacement = 'center';
_progBar.setStyle("removedEffect", Fade);
_progBar.setStyle("addedEffect", Fade);
_progBar.setStyle("color", 0xFFFFFF);
_progBar.setStyle("borderColor", 0x000000);
_progBar.setStyle("barColor", 0x6699cc);
_progBar.label = "Please wait.......";
_progBar.mode = ProgressBarMode.MANUAL;
PopUpManager.addPopUp(_progBar,this,true);
PopUpManager.centerPopUp(_progBar);
_progBar.setProgress(0, 0);
private function onInitData():void
utilityUCFlexRO.updateStationDetails(CitizenApplication.menuParameters["modulecode"]);
private function handleUpdateStationDetailsResult(event:ResultEvent):void
if(moduleCloseFlag==true)
Application.application.unloadModule();
private function handleUpdateStationDetailsFault(event:FaultEvent):void
var errorMessage:ErrorMessage = event.message as ErrorMessage;
Alert.show(errorMessage.rootCause.message);
private function onSearch():void
if(txtName.text=="" || txtName.text==null)
Alert.show("Enter a name for search");
return;
if((txtName.text).length < 4)
Alert.show("Search should contain more than 3 alphabets");
return;
var d:String = txtName.text;
branch = CitizenApplication.initInfo.registeredUser.branchDetails.bdBranchNo;
uniqueIdMasterUCFlexRO.readByCustomerName(d,branch);
showLoading();
private function handleReadByCustomerNameResult(event:ResultEvent):void //In handle if record does not exists, dsiplays error message and resets the field
customerDetails =ArrayCollection(event.result);
PopUpManager.removePopUp(_progBar);
if(customerDetails.length==0)
Alert.show("Record Not Found, Enter Proper Name ");
onReset();
private function handleReadByCustomerNameFault(event:FaultEvent):void
Alert.show(event.fault.faultDetail + " -- " + event.fault.faultString + "handleReadByCustomerNameFault");
private function onReset():void
customerDetails=new ArrayCollection();
txtName.text="";
private function onCancel():void
utilityUCFlexRO.updateStationDetails("MM0001");
moduleCloseFlag=true;
private function btnBackClick():void
view1.selectedIndex=0;
private function btnBackClick1():void
view1.selectedIndex=1;
private function onItemClick( e:ListEvent ):void
if(dgCustDetails.selectedItem == null)
Alert.show("Select Proper Record");
else
lblId.text = e.itemRenderer.data.uimCustomerId;
lblName.text = e.itemRenderer.data.uimCustomerName;
var custId:int = Number(lblId.text);
uniqueIdMasterUCFlexRO.getCustomerAcDetails(custId,branch);
showLoading();
private function handlegetCustomerAcDetailsResult(event:ResultEvent):void
//XMLDocument = event.result as XML;
acDetails = new XMLList(event.result.menu);
//Alert.show("Name: "+event.result.@name);
PopUpManager.removePopUp(_progBar);
view1.selectedIndex=1;
//adg1.dataProvider=acDetails;
private function handlegetCustomerAcDetailsFault(event:FaultEvent):void
PopUpManager.removePopUp(_progBar);
Alert.show(event.fault.faultDetail + " -- " + event.fault.faultString + "handlegetCustomerAcDetailsFault");
]]>
</mx:Script>
<mx:ViewStack height="688" width="856" id="view1">
<mx:Canvas>
<mx:Panel x="51" y="25" width="754" height="550" layout="absolute" title="Customer Search Page">
<mx:HBox x="174" y="26" horizontalAlign="center" verticalAlign="middle">
<mx:Label text="Enter Name:"/>
<mx:TextInput id="txtName" width="228"/>
<mx:LinkButton label="Search" click="onSearch()"/>
</mx:HBox>
<mx:Label text="--" id="lblId" x="40" y="194"/>
<mx:Label text="--" id="lblName" x="40" y="226"/>
<mx:DataGrid dataProvider="{customerDetails}" id="dgCustDetails" allowMultipleSelection="false" editable="false"
showHeaders="true" draggableColumns="false" width="718" height="373" itemClick="onItemClick(event);" x="10" y="61">
<mx:columns>
<mx:DataGridColumn headerText="Customer Id" dataField="uimCustomerId" width="150"/>
<mx:DataGridColumn headerText="Customer Name" dataField="uimCustomerName"/>
</mx:columns>
</mx:DataGrid>
<mx:ControlBar>
<mx:Button label="CANCEL" click="onCancel()" width="80"/>
<mx:Button label="RESET" click="onReset()" width="80"/>
</mx:ControlBar>
</mx:Panel>
</mx:Canvas>
<mx:Canvas>
<mx:TitleWindow x="10" y="10" width="836" height="421" layout="absolute">
<mx:AdvancedDataGrid x="6.5" y="10" id="adg1" designViewDataType="tree" variableRowHeight="true" width="807" height="278" fontSize="14">
<mx:dataProvider>
<mx:HierarchicalData source="{acDetails}"/>
</mx:dataProvider>
<mx:groupedColumns>
<mx:AdvancedDataGridColumn headerText="Type Of A/c" dataField="@Name" width="150"/>
<mx:AdvancedDataGridColumn headerText="Details Of A/c"/>
</mx:groupedColumns>
<mx:rendererProviders>
<mx:AdvancedDataGridRendererProvider id="adgpr1" depth="2" columnIndex="1" renderer="AcDetails1" columnSpan="0"/>
</mx:rendererProviders>
</mx:AdvancedDataGrid>
<mx:ControlBar height="56" y="335">
<mx:Button label="BACK" width="80" click="btnBackClick()"/>
<mx:Spacer width="100%"/>
<mx:Button label="EXIT" click="onCancel()" width="80"/>
</mx:ControlBar>
</mx:TitleWindow>
</mx:Canvas>
</mx:ViewStack>
</mx:Module>
XML File Generated In JAVA:
<?xml version="1.0" encoding="UTF-8"?>
<menu>
<AcType Name="Savings">
<SavingAcDetails AcName="Mr. MELROY BENT" AccountNo="4" ClearBalance="744.18" ProductID="SB" TotalBalance="744.18">
<SavingMoreAcDetails AcStatus="OPERATIVE" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="AnyOne Single Or Survivor"/>
</SavingAcDetails>
</AcType>
<AcType Name="TermDeposit">
<TDAcDetails AcName="Mr. BENT MELROY" AccountNo="1731" ProductID="TD">
<TDMoreAcDetails AcStatus="OPERATIVE" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="Either or Survivor"/>
</TDAcDetails>
<TDAcDetails AcName="Mr. BENT MELROY" AccountNo="2287" ProductID="TD">
<TDMoreAcDetails AcStatus="NEW" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="Self"/>
</TDAcDetails>
<TDAcDetails AcName="Mr. BENT MELROY" AccountNo="78" ProductID="TD">
<TDMoreAcDetails AcStatus="OPERATIVE" AcType="NORMAL" FreezeCode="No Freeze" ModeOfOper="Self"/>
</TDAcDetails>
</AcType>
</menu>
Tried Alot Of Examples Online But In Vain....
Need Help....
Thanks In Advance....Please help me !!!! I have been stuck up with this issue for the past two days and I need to atleast figure out if this is possible or not in the first place.
-
How to convert from ifs date format to sql based dates
I want to write a sql query using dates, to search an ifs
database. Ifs stores dates as numbers created using the
java.util.Date class. These dates are accurate to seconds.
PLSQL uses a different format.
What I need is a PLSQL function that converts PLSQL date format
to and from the java.util.date format.
This is an example of what I would like to do.
String classname = "DOCUMENT";
String whereclause = "CREATEDATE > theNeededFuction(to_date('01-
Jan-2001', 'DD-Mon-YYYY'),'j')";
Selector mySelector = new Selector(login.getSession());
mySelector.setSearchClassname(classname);
mySelector.setSearchSelection(whereclause);
I do realize that I could simply convert the date in java, but
in the long run, I want to use the oracle tools that support
busness day calulations.
-MitchHi Mitch - our ViewSpecification functionality automatically
includes an Oracle Date column, which is derived from the java
date values we store. These views are the supported way of
performing read-only operations against an iFS instance.
For yor reference, the Oracle date column is derived using the
following SQL operation (e.g. for createdate):
to_date('01-JAN-1970', 'DD-MON-YYYY') + (createdate/86400000)
regards,
dave -
Chart report Condition fields and Data fields
Hi all,
i have tried chart report by adding two condion fields and one data field, the report is more meaning full in this scenario. the first condition field is taken as x-axis, the 2nd condition fields is taken as legend.
while adding more condition fields and data fields, i feel its not showing meaningfull data.
can anyone explain how the condition fields and data fileds are manipulated by crystal report.
i am using CR XI R2 Server.
Thanks
Padmanaban Vi am using Crystal Report XI R2 RAS Embedded in my server.
as we can add any number condition fields programatically using the method
ConditionField.Add(FieldObj), i would like to know how these fields are manipulated internally by the RAS server.
that means, what is the significance of condition fieldobject 1, condition fieldobject 2,condition fieldobject 3 etc...
if i add more than two condition fields , RAS Chart Report always returns 0 as legend value for all legends.
Thanks in advance
Regards,
Padmanaban V
Edited by: Padmanaban Viswanathan on Dec 22, 2008 9:53 AM -
I unfortunately just got my IPhone 4s stolen.I thought I had the find my iPhone enabled but I didn't because I cannot locate the phone when I sign in ICloud.I have a password on the phone but i'm not sure if I turned on the option where the phone resets if you incorrectly put the password more than ten time. I immediately called my phone company (Verizon) and reported the phone stolen.So I know whoever took the phone cannot place calls or use the phone. But can they still access my data on the phone if they manage to unlock the phone? If so how can I erase all data on the phone so the thief can't access my personal information? is there any other way other than Find my IPhone to wipe off the data on the phone? I really don't want my personal information such as pictures, text messages, notes and social networks profile available to a stranger!!? Help please!!!
Hello thewrongway,
I'm sorry to hear about your phone! I understand the need for an active device. You are able to activate an old device and process an insurance claim for your iPhone 4s within 60days from the incident date. Keep in mind if the old phone is not a smartphone and you currently have unlimited data that feature will fall off. If you have a tier data plan no changes will be made. Please let me know if you have any additional questions. Thank you.
TominqueBo
VZW Support
Follow us on Twitter at @VZWSupport -
How do I enable "Use Cellular Data" for streaming?
How do i enable "Use Cellular Data" in Settings for streaming?
Theres not a setting like ckuan said, but you do need to go to settings, general, cellular, cellular data and turn it on.
-
How to put condition for one date range should not interfear with another ?
hi friends,
how to put condition for one date range should not interfear with another date range.
my data base table has two fields
from date
to date.
when we enter the date range in the data base , new date range means from date and to date should not interfear.
can anybody help me.
thanks &Regards,
Revanth
Edited by: rk.kolisetty on Jul 1, 2010 7:18 PMDo it the SAP way....
First entry...from is today, to is 99991231.
New dates entered, now we have two rows...:
from is original date to becomes yesterday.
From is today to is 99991231 -
How do i enable my international data while traveling abroad? in settings?
how do i enable my international data while traveling abroad? in settings?
Settings/General/Network - Data Roaming (off/on). If you plan to turn it on be sure to subscribe to a data roaming package or you could be hit with a bill for thousands of (your currency). And you also need to have your carrier provision your account for internatonal usage.
-
HOw can I enable my cellular data in using my apps even without toggling ? I mean there's no toggle option on my other apps .. Please help me.. Apps like facebook , skype instagram and any other social apps . And also clash of clans ..
You have to restore your iPhone to factory reset using iTunes and make it as a new iPhone.
-
How to represent conditional expressions as data in an xml
Hi All,
Re phrasing my earlier question,
1. How can I represent conditional expressions as data in an xml doc.
2. How do I query these conditional expressions using xPath functions.
Any pointers towards achieving this?
Regards,
Nishanth
Edited by: user10947302 on Apr 16, 2009 4:18 PM
Edited by: user10947302 on Apr 16, 2009 4:22 PMNishanth,
just for your understanding. I only understand your question a little bit because you left information bits all over the OTN forum sections. First off all, these forums are based on people that (most of the time) are not paid for what they doing here. Its all free will and takes effort. So be so curtious to me as specific as possible PLUS don't spam all the forum posts in the hope that someone will provide the answer.
This forum is mend for XMLDB questions. The functionality that supports XML handling in the Oracle database.
--> OR you have a question for this forum
--> OR you have to ask your question on the "Rules Manager & Expression Filter" forum
last time someone shattered the same question all over the place, the only thing it triggered with me was looking up the following Monty Python scetch about spam (and then I went to bed): http://www.youtube.com/watch?v=anwy2MPT5RE -
I have no cellular tab under settings/general, so have no idea how to activate a cellular data plan. Help!
When you ordered your iPad, you had a chance to get 3G/4G data plan for your iPad. You probably didn't get 3G/4G one. You either didnt get it or didnt order from AT&T, Verizon, or Apple's site. Unfortunetly, you can't upgrade to a 3G/4G model. 3G/4G is a service through a cell phone carrier and costs montly to do. You would have to pay for internet usage.
-
I have synced my ipad with my computer then downloaded latest ios version. How do I resync my data back to my ipad?
You Restore from iTune Backup.The syncing is towards the end of the Restore.
1. Settings>General>Reset>Erase all content and settings
2. You'll be asked twice to confirm
3. You'll see Apple logo and progress bar
4. You'll see a big iPad logo on screen
5. Configuration start
6. Set language
7. Set country
8. Select Network and input Password>Join
9. Enable Location Service>Next
10. You'll be given 3 options (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
11. Select Restore from iTune Backup
12. You will see picture of USB cable pointing towards iPad
13. Connect iPad to iTune (make sure iTune is on standby)
14. Tap Continue (computer)
15. Restore iPad from Backup (computer)
16. See progress bar with estimated time (computer)
17. See Restore in Progress on iPad
18. See Apple logo
19. See Apple and Progress Bar
20. Slide to Unlock
21. Copying Apps back to iPad (computer)
22. You'll see Loading/Installing/Waiting below the Apps (iPad)
23. Sync Music/Podcast/Movies to iPad (computer)
24. Sync completed (computer) -
How can I enable embedded pl/sql gateway to run on port 80
I have a new 11G install on OEL 4.0, database created. I would like to be
able to access the instance using the pl/sql gateway. Works fine with
port 8080, the default. How to I enable it to run on port 80?
I found this statement in the following docuementation:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#ADXDB2500
Using HTTP(S) on Nonstandard Ports
By default, HTTP listens on a nonstandard, unprotected port: 8080. To use HTTP(S) on
the standard port, such as 80, your DBA must chown the TNS listener to setuid ROOT
rather than setuid ORACLE, and configure the port number in the Oracle XML DB
configuration file /xdbconfig.xml.I have root priviledges on the box.
I've tried setting the listener file permissions:
chown root:dba /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
chmod 6775 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
Also put root in the dba group.
The permissions turn out like this:
-rwsr-sr-x 1 root dba 830854 Jun 17 21:04 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
I stopped the listener, bounced the database, and started the listener again.
But it still shows the process being owned by oracle:
oracle 29682 1 0 21:08 ? 00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER -inherit
Changing the port is easy:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
8080 2100
At this point, I can access the apex home page with the following url:
http://hostname:8080/apex/f?p=4550:10:1454849288245548
I can than change it to port 80:
SYS>begin
dbms_xdb.sethttpport('80');
dbms_xdb.setftpport('2100');
end;
2 3 4 5
PL/SQL procedure successfully completed.
SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
80 2100
When I try to access apex with the following url:
http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
I get the following:
Failed to Connect
Firefox can't establish a connection to the server at hostname.com.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings
* can interfere with Web browsing.I can set the port. Just can't talk to it.
This is the entry from the listener log:
<msg time='2008-07-03T15:40:09.741-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='hostname'
host_addr='xxx.xxx.xxx.xxx'>
<txt>TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
Linux Error: 13: Permission denied
</txt>
</msg>
So this looks like an permissions problem. But where? I posted
this on the apex forum here:
Re: How can I enable embedded pl/sql gateway to run on port 80
They suggested asking here.No, that thread did not provide the information that I need. Some more data:
I have the port set to 8080:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
8080 2100
At this point, I can access the apex home page with the following url:
http://hostname:8080/apex/f?p=4550:10:1454849288245548
I can than change it to port 80:
SYS>begin
dbms_xdb.sethttpport('80');
dbms_xdb.setftpport('2100');
end;
2 3 4 5
PL/SQL procedure successfully completed.
SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
80 2100
When I try to access apex with the following url:
http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
I get the following:
Failed to Connect
Firefox can't establish a connection to the server at hostname.com.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
I can set the port. Just can't talk to it.
Maybe you are looking for
-
Align like InDesign anchored objects
I often use anchored text frames in InDesign so that margin text flows with the main body copy. I've attempted to do something similar in Muse, inside a Tabbed Panel. I'm having difficulty aligning the margin text to top of its relevant paragraph. Yo
-
How to make a crystal report in labwindows?
i want to make a crystal report in labwindows ,do you know where i can get some example of crystal report?
-
IPhone wants to 'Modify' 504 Outlook Calendar entries on Syncingvis iTunes
Hi, Until a few months ago (possibly when the clocks went forwards an hour??), my iPhone 4S synced without problems with my Outlook Calendar via iTunes, but now I get a message saying that continuing will result in modifying 504 entries on my Outlook
-
External handling unit number range upload
Hi all, what would be the configuration procedure to upload the inventory with an external HU number range for legacy inventory and moving forward using the internal number range for new HU's created. should the HU unique check box needs to be disa
-
Hi All, Searched threads but not found appropriate reply so raising this new thread. Can you please suggest where we can get change log/Documents for CJR2 transaction code? Or its not avaiable there in SAP? - Swapnil Kharul