Wildcard for any types of Array?
Hi,
I want to create a method who convert an array of any type
to an array of type Object.
Is there a way to use a wildcard for the arrays like "T[]"
My compiler - JBuilder 2005 - don't accept this.
Olek
You will have to build special cases for each primitive type. Basically, a series of (inputArray instanceof int[]) conditions, and in each you need to copy from the primitive array to the Object array (or the primitive-specific wrapper such as Integer[], depending on what you want).
System.arraycopy() will not copy between primitive and reference type arrays, so that won't work.
Similar Messages
-
How to create a vi that can be connected to any type of array
I would enjoy to create a vi that can perform an operation (like resizing) on any type of array (array of string, of cluster, of num,...): Which type of control or indicator could I use for this purpose? Any Idea?
Thank's for your helpOlivier,
to do this you have to use a variant input. You can wire any type of data to a variant input. Inside the VI you flatten the variant to a string. The flattened string of an array contains both data and length of the array. You reshape the array manipulating the string. When done, you unflatten the data to a variant and output it from the VI. The caller has to convert the variant input to the source array type. OpenG.org provides a quite extensive toolkit to manipulate variant data. Some VIs specifically manipulates arrays. To see a description of VIs go to : http://opengtoolkit.sourceforge.net/lvdata/index.html
LabVIEW Data Tools can be downloaded from http://sourceforge.net/projects/opengtoolkit/
You need both packages lvdata AND error.
LabVIEW, C'est LabVIEW -
This might be covered elsewhere in the forum but my searches have been fruitless.
Given:
public Object genKey(Class clazz) {
}and
public interface Keyed<K> {
public void setKey(K key);
public Class<K> keyClass();
}this is a valid use:
Keyed<X> keyed = ...;
Object key = genKey(keyed.keyClass());
keyed.setKey(keyed.keyClass().cast(key));
...Now, say I have some framwork code that checks that an arbitrary object implements Keyed and assigns a key if it does:
if ( Keyed.class.isAssignableFrom( obj.getClass() ) {
Keyed keyed = (Keyed)obj;
Object key = genKey(keyed.keyClass());
keyed.setKey( keyed.keyClass().cast(key));
...Of course, the call to setKey generates a warning. But there is enough information there for the compiler to determine that the call is type-safe.
What I seek is a way to declare the variable keyed with the semantics "for any type Y" as the generic selector. A wildcard doesn't work because it doesn't provide a handle to the selected type.
Is there some way to to express this meaning in Java 5 or am I stuck with the warning?
if ( Keyed.class.isAssignableFrom( obj.getClass() ) {
Keyed<any Y> keyed = (Keyed)obj;
Object key = genKey(keyed.keyClass());
keyed.setKey( keyed.keyClass().cast(key));
}Tia,
-=gregI omitted some explanation to keep it simple, but I probably made it less clear.
this is a valid use:
What do you mean by "valid use"? Do you mean it
"compiles"? Of course, it does compile, as cast()
takes any Object as parameter, regardless if the cast
will succeed.I understand this. By valid, I mean the it is type-safe from the compiler's
point of view. I know that an invalid cast will throw an exception at runtime
and that by using the cast call, I assume responsibility.
if ( Keyed.class.isAssignableFrom( obj.getClass() )
Keyed keyed = (Keyed)obj;
Object key = genKey(keyed.keyClass());
keyed.setKey( keyed.keyClass().cast(key));
...Of course, the call to setKey generates a warning.
But there is enough information there for the
compiler to determine that the call is type-safe.No, it's not. You are using raw type Keyed here, so
there is no type-safety involved. The cast may
succeed or fail, who knows? Again, just talking about the compile-time safety interpretation here. Ignore
the potential runtime exceptions.
There is enough information here in the sense that any Class instance
returned from the keyClass() call is guaranteed to be compatible with the
parameter type of the setKey(..) call--according to the interface definition
alone. The interface implementation could, of course, return all kinds of
wrong things. But the issue I was trying to address in this post has only to do
with the compiler warning issued in the setKey(..) call.
You can use Keyed<T> keyed = (Keyed)
obj; so you actually see the origin of the
warning. Information on T only is available at
compile-time. There is no Keyed<T>.class, so you can
neither test its assignability nor cast to it. Hence,
the warning about erasure. The rest of your code
still remains the same, unsafe code, while the
compiler gets forced to accept it as type safe.I know this. I am simply trying determine if there is a way to, as a
compile-time benefit only, introduce a binding of the "for any" kind. It is a
useful semantic that I don't think is available in the language.
A first thing would be to parametrize genKey, e.g.:
public <T> T genKey(Class<T> clazz) throws
InstantiationException, IllegalAccessException {
return clazz.newInstance();
And, indeed, it is actually implemented in such a fashion--I provided the
version I did because it spells out the problem more clearly. The problem
is that in the framework code snippet ONLY, there is no way to express the
selector because, as you have pointed out, it cannot be determined.
So, the original question is the same--and I think the answer is probably
"no": can an arbitrary selector be introduced with the meaning "for any?"
Wildcarding is inches from being the right meaning but there is no selector
introduction.
Secondly, you will have to define a type to be used
in the context, so you can connect outcomes to a
@SuppressWarnings("unchecked")
Keyed<T> keyed = (Keyed) obj;
Right. Doing this is closest to what I was seeking but it is not a true
representation of the semantic (i.e. it still generates a warning).
So, what I'm hearing so far is, "no, there is not a syntactic construct that will
express a 'for any selector' concept other than to force it and accept the
resulting warning." That answer is fine with me, I just didn't want to miss out
on any better way.
-=greg -
How can I find Top music charts for any type of music? Reggae, French etc.
Itunes used to have a way to see all the charts for any type of music. 60's, international, Latin, but I don't see a way to find this anymore. Can anybody help me?
Charts by those categories no longer exist in the iTunes Store, unless they've been hidden somewhere I can't find. Most of those charts were compiled by Billboard and were removed at least a couple of years ago, probably due to licensing issues.
You can, however, hover your cursor over the Music tab, click the arrow, and select the listed genres, and the page for that genre will list the Top Songs for that genre only.
Regards. -
Conditional Columns in Select Statement for any type of Report
Okay so I had a requirement to conditionally show columns on a report when the data in the column was not null. I played around the "vertical" report mentioned in other posts but it didn't work well for my needs. Also I know that there is a javascript solution for this as demonstarted in Denes Kubicek's app (which was copied from Vikas :) ). Anyways listed below is my approach.... Hope this can help anyone else out as it's just pl/sql returning sql. Also you will need execute on dbms_sql for this to work.
declare
v_count number := 0;
v_row_count number := 0;
v_col_name varchar2(100);
q varchar2(4000) := 'select ';
v_table_name varchar2(100) := :SOME_TABLE_NAME;
v_id varchar2(100) := 'num = '||:SOME_APEX_VALUE;
my_c INTEGER;
fdbk INTEGER;
statement varchar2(2000);
cval_out varchar2(2000);
nval_out number;
begin
select count(*) into v_count from cols
where table_name = v_table_name;
for counter in 1..v_count
loop
select column_name into v_col_name
from cols where table_name = v_table_name
and counter = column_id;
statement := 'select count(*) '||
' from '||v_table_name||
' where '||v_col_name||' is not null and '||v_id;
my_c := dbms_sql.open_cursor;
dbms_sql.parse(my_c,statement,dbms_sql.native);
dbms_sql.define_column(my_c,1,nval_out);
fdbk := dbms_sql.execute(my_c);
LOOP
exit when dbms_sql.fetch_rows(my_c) = 0;
dbms_sql.column_value(my_c,1,nval_out);
end loop;
v_row_count := nval_out;
dbms_sql.close_cursor(my_c);
if v_row_count > 0 then
q:=q||v_col_name||',';
end if;
end loop;
if(substr(q,length(q),1) = ',') then
q:= substr(q,0,length(q)-1);
end if;
q:= q||' from '||v_table_name||' where '||v_id;
end;Hope this helps...
-David
Message was edited by:
rdpatricHi Gints,
Thank you for your reply. This is my query and
nvl(TICKET_JOIN.TDQRLV,0) ACC_SHIPPED_QTY,
TICKET_JOIN.TDSOQS QUANTITY_TICKETED are the columns tha's creating issue. If I comment those columns Index is accessed properly.
select
'TKT' SOURCE,
TICKET_JOIN.TKDO01 HIRE_ID,
TICKET_JOIN.TKQ101 TRUCK_ID,
TICKET_JOIN.TKVEHT TRUCK_TYPE,
1 TRUCK_COMM,
nvl(TKCMP1,0) TICKET_NUM,
nvl(TKADTM,0) TICKET_TIME,
--TICKET_JOIN.TDSOQS QUANTITY_TICKETED,
0 CHECKIN_TIME,
--nvl(TICKET_JOIN.TDQRLV,0) ACC_SHIPPED_QTY,
nvl(DDADTM,0) START_TIME
from
(select
TICKET.TKCMP1,
TICKET.TKDO01,
TICKET.TKQ101,
TICKET.TKADTM ,
TICKET.TKVEHT,
TICKET_DETAILS.TDAITM ,
TICKET_DETAILS.TDQRLV ,
TICKET_DETAILS.TDSOQS ,
TICKET.TKCNTF,
TICKET.TKTRDJ,
TICKET.TK58GA8
from
CRPDTA.F5800091 TICKET_DETAILS ,
CRPDTA.F5800090 TICKET
where TICKET.TKCMP1 = TICKET_DETAILS.TDCMP1
and TICKET.TKTRDJ = TICKET_DETAILS.TDTRDJ
and TICKET.TKTRDJ = 107085
and TICKET.TKEV12 <> 'Y'
and TICKET.TK58GA8='ECSEO'
and TICKET.TKCNTF = '11') TICKET_JOIN ,
(select
DDDOCO,
DDCNTF,
DDQTFN,
DDAITM,
DDADTM,
DD58GA8,
DDTRDJ
from
CRPDTA.F5800051 ORDER_DETAILS,
CRPDTA.F5800050 ORDER_HEADER
where
ORDER_HEADER.DHDOCO = ORDER_DETAILS.DDDOCO
and ORDER_HEADER.DHTRDJ = ORDER_DETAILS.DDTRDJ
and ORDER_HEADER.DH58GA8 = ORDER_DETAILS.DD58GA8
and ORDER_HEADER.DHDCTO = ORDER_DETAILS.DDDCTO
/*and
(ORDER_HEADER.DHTRDJ = 107085
OR (ORDER_HEADER.DHTRDJ = 107084 and ORDER_HEADER.DHEV04='Y')
and TRIM(ORDER_HEADER.DH58GA8) = 'ECSEO'
and TRIM(ORDER_DETAILS.DDCNTF) = '11' ) ORDER_VIEW
where TICKET_JOIN.TKTRDJ = ORDER_VIEW.DDTRDJ
and TICKET_JOIN.TDAITM = ORDER_VIEW.DDAITM
and TICKET_JOIN.TKCNTF = ORDER_VIEW.DDCNTF
and TICKET_JOIN.TK58GA8 = ORDER_VIEW.DD58GA8
and NOT EXISTS ( select 1 from CRPDTA.F5800120 TRUCK_ASSIGNMENT
where TATRDJ = 107085
and TACNTF = '11'
and TA58GA8 = 'ECSEO'
and TICKET_JOIN.TKQ101||TICKET_JOIN.TKVEHT = TAQ101||TAVEHT )
Thanks
GM -
I've resorted to running Safari when downloading anything. I really would like to remain with Firefox, but I can't figure anything out. I recently upgraded to 10.5 (Leopard) and that's when the downloading issues started.
In addition my default location to download files was the desktop, after the OS upgrade, Firefox will not even allow me to choose the desktop to download to.Has nobody got any suggestions?
-
SE80 : Source for the tree structure display for any type of Object
Hi Experts ,
I have developed a report which takes in a TR .Given a TR , I get the list of objects under it from table e071 table .
Now , I need all the objects (includes,screen,status,etc) related each of this object . SE80 perfectly does this in the form of a tree structure but now sure how.
Is there any Standard Table in which this information is stored or any FM/Method using which these details can be retrieved ?Hi,
You may use this tool : [SDN wiki: ABAP program to read where-used lists|http://wiki.sdn.sap.com/wiki/display/ABAP/ABAPprogramtoreadwhere-used+lists ]
Sandra -
Installation of FireFox 5 after deleting FireFox 3.6v results in the following error message which I cannot resolve or fix. My system is configured with IE 8v and dial-up only.
"FIREFOX BROWSER 4.0v and 5.0v
The proxy server is refusing connections
Firefox is configured to use a proxy server that is refusing connections.
* Check the proxy settings to make sure that they are correct.
* Contact your network administrator to make sure the proxy server is working."Please try to go to tools, options, advanced, networking, settings, set "no proxy", re-try. More details here: [[options window - advanced panel]].
-
What are the wildcards for FILE_MASK in FM EPS_GET_DIRECTORY_LISTING
The wildcard for exactly 1 character is '?'.
example: with mask ????????.STA , I get the following files:
BWMDAACW.STA
BWMDAADW.STA
BWMDAAEW.STA
BWMDAAFW.STA
BWMDAAGW.STA
(all files ending with .STA, with 8 characters before .STA)
But what is the wildcard for 'any character' ?
I tried with *.STA , but the result is
test1
test2
test3
test4
y5c01
(all the filenames with exactly 5 characters)
with *STA, the result is
IBAN
PBCL
rfbi
stxh
stxl
(all the filenames with exactly 4 characters)
(the result is the same with *123 or *XYZ !!!)
with BW*, the result is
BWMDAACW.STA
BWMDAADW.STA
BWMDAAEW.STA
BWMDAAFW.STA
BWMDAAGW.STA
as expected, but * seems the right wild character for 'any character' only at the end of the mask; it seems not work as expected when it is not the last character of the mask.
It seems very strange! What are the rules for wildcards ? (I'm in 4.7)
thanks in advanceCONSTANTS DAYS1980 TYPE I VALUE 3652.
DATA: linelength TYPE i VALUE 0.
DATA: linelength1 TYPE i VALUE 0.
DATA: text TYPE string.
DATA: DLIST LIKE EPSFILI OCCURS 0 WITH HEADER LINE,
DPATH LIKE EPSF-EPSDIRNAM,
PFILE LIKE EPSF-EPSFILNAM,
MDATE LIKE SY-DATUM,
MTIME LIKE SY-UZEIT,
POINT_IN_TIME TYPE I.
DATA: BEGIN OF FATTR OCCURS 0,
FILE_NAME LIKE EPSF-EPSFILNAM,
FILE_SIZE LIKE EPSF-EPSFILSIZ,
FILE_OWNER LIKE EPSF-EPSFILOWN,
FILE_MODE LIKE EPSF-EPSFILMOD,
FILE_TYPE LIKE EPSF-EPSFILTYP,
FILE_MTIME(12),
END OF FATTR.
PARAMETER P_PATH(50) TYPE C DEFAULT '/TMP' LOWER CASE.
PARAMETER P_FILE(50) TYPE C DEFAULT ' ' LOWER CASE.
DPATH = P_PATH.
PFILE = P_FILE.
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
DIR_NAME = DPATH
* FILE_MASK = PFILE
TABLES
DIR_LIST = DLIST
EXCEPTIONS
INVALID_EPS_SUBDIR = 1
SAPGPARAM_FAILED = 2
BUILD_DIRECTORY_FAILED = 3
NO_AUTHORIZATION = 4
READ_DIRECTORY_FAILED = 5
TOO_MANY_READ_ERRORS = 6
EMPTY_DIRECTORY_LIST = 7
OTHERS = 8.
break developer.
IF SY-SUBRC EQ 0.
LOOP AT DLIST.
linelength = STRLEN( DLIST-NAME ).
linelength = linelength - 3.
linelength1 = STRLEN( P_FILE ).
linelength1 = linelength1 - 3.
if DLIST-NAME+linelength(3) = P_FILE+linelength1(3).
CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
EXPORTING
FILE_NAME = DLIST-NAME
DIR_NAME = DPATH
IMPORTING
FILE_SIZE = FATTR-FILE_SIZE
FILE_OWNER = FATTR-FILE_OWNER
FILE_MODE = FATTR-FILE_MODE
FILE_TYPE = FATTR-FILE_TYPE
FILE_MTIME = FATTR-FILE_MTIME
EXCEPTIONS
READ_DIRECTORY_FAILED = 1
READ_ATTRIBUTES_FAILED = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
FATTR-FILE_NAME = DLIST-NAME.
APPEND FATTR.
ENDIF.
endif.
ENDLOOP.
SORT FATTR BY FILE_NAME.
LOOP AT FATTR.
POINT_IN_TIME = FATTR-FILE_MTIME.
CALL FUNCTION 'POINT_IN_TIME_CONVERT'
EXPORTING
POINT_IN_TIME = POINT_IN_TIME
IMPORTING
DATE = MDATE
TIME = MTIME
EXCEPTIONS
OTHERS = 1.
SUBTRACT DAYS1980 FROM MDATE.
WRITE: / FATTR-FILE_NAME,
FATTR-FILE_SIZE,
MDATE,
MTIME.
ENDLOOP.
ENDIF.
Edited by: kk.adhvaryu on Sep 25, 2010 12:08 PM -
My ringtones don't sound off for any message on my new BB Q10
I just bought a BB Q10 and a major disappointment so far is that the ringtones do not sound off for any type of message that I enable a ringtone for?
I have gone over the steps over and over and I cannot seem to get them to work!
Can anyone help with any trouble shooting or helpful information that will help me get my ringtones up and running?
Much grateful to the community!
TotsnrocsAt your Settings > Notifications, what is your profile set to, Normal, Silent, Vibrate, etc.?
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
All SCOM 2012 R2 dashboards are blank on Windows 7 for any user
All SCOM dashboards are showing up completely blank on several (but not all) Windows 7 machines and a 2008 R2 server (with RDS)...for any type of user. It's not a permissions issue as the same user can RDP to the SCOM Mgt server and view the dashboards just
fine. It seems to be some underying pre-requisite that isn't there, or isn't working. We've installed the pre-reqs (reportviewer, SQLSsyClrtypes, etc) to no avail. I've also tried doing a "repair" on .Net, and rebooted as described in another thread,
but that didn't work. I'm guessing it's something baked into our desktop images, but what am I missing...also, we're seeing this event in the application log when the console is opened on an affected machine (but, not necessarily when opening the dashboard)...so, not sure it's 100% relevant.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. : System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for
more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.LoadModuleCatalogFromAssembly(IModuleCatalog bootstrapperCatalog, ModuleCatalog catalog, Assembly assembly)
at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.CreateModuleCatalog(IEnumerable`1 assemblies)
at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.LoadInternal(IEnumerable`1 assemblies)
at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.Load(DeclaredAssembly assembly)
at Microsoft.EnterpriseManagement.Monitoring.Components.ComponentRegistry.<>c__DisplayClass3e.<GetAssemblies>b__3c(DeclaredAssembly declaredAssembly)
at System.Reactive.Linq.Observable.<>c__DisplayClass413`2.<>c__DisplayClass415.<Select>b__412(TSource x) -
LabVIEW Certificated MSc student looking for any related job
I am a MSc student studying Electronic & Computer Based System Design in the UK. I have LabVIEW project experience and got certificate from National Instruments. I am looking for any type of job relating to my course.
My E-mail: [email protected]
My CV:
Attachments:
CV.doc 40 KBI like the optical bay caddy idea, as I barely use my optical drive anyway and it has some issues. The NewModeUS caddy seems a tad expensive for what it is, but it doesn't seem like there are any other options to choose from. I think I would probably just get an external USB optical drive to replace the internal optical drive completely.
So, NewModeUS caddy, and how's this for a HDD? One possible issue; I've read that some people have had issues with a 7200 RPM drive not working correctly when used as a secondary drive. A fluke, I hope?
I've looked at the generic disk setup guidelines, and I'm wondering how much of a performance boost I would get from getting a 3rd drive (using eSATA). Is it worth going all in with that, or is getting even just a second drive going to help out significantly? The external option I've come up with: docking station (thanks John T Smith), and HDD (recommended on the forum)
The Cineform neoscene looks useful, but I'm not sure I'm prepared to spend $130 on what is essentially a file converter. Thoughts on how much that would actually affect performance?
Thanks for everyone's help so far, there's been more helpful suggestions than I'm allowed to mark, it looks like . -
Hello experts,
I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
string tempFileName = fileName;
int count = 1;
while (allFiles.Contains(tempFileName ))
tempFileName = String.Format("{0} ({1})", fileName, count++);
output = Path.Combine(folderPath, tempFileName );
string fullPath=output + ".xml";
However, it gives the following compilation errors
for the Select and Contain methods respectively.:
'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
(are you missing a using directive or an assembly reference?)
'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
found (are you missing a using directive or an assembly reference?)
I googled on these errors, and people suggested to add using System.Linq;
I did, but the errors persist.
Any help and information is greatly appreciated.
P. S. Here are the using clauses I have:
using System;
using System.Data;
using System.Windows.Forms;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Linq;Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace consAppFileManipulation
class Program
static void Main(string[] args)
string fullPath = @"c:\temp\trace.log";
string folderPath = @"c:\temp\";
string fileName = "trace.log";
string output = "";
string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
string extension = Path.GetExtension(fullPath);
string path = Path.GetDirectoryName(fullPath);
string newFullPath = fullPath;
string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
string tempFileName = fileName;
int count = 1;
//THIS IS AN INFINITE LOOP
while (allFiles.Contains(fileNameOnly))
tempFileName = String.Format("{0} ({1})", fileName, count++);
//THIS CODE IS NEVER REACHED
output = Path.Combine(folderPath, tempFileName);
fullPath = output + ".xml";
//string fullPath = output + ".xml";
UML, then code -
Hi all,
So I've have built an application on flash builder 4.5 using Christophe Coenraets' tutorial "Building an EmployeeDirectory" (http://www.adobe.com/devnet/flex/articles/employee-directory-android-flex.html#articlecont entAdobe_numberedheader).
I'm getting this error message "In initializer for 'mxmlContent', type Object is not assignable to target Array element type mx.core.IVisualElement." and then the debugger highlights my code this line of my code "</s:List>" in my EmployeeDetails.mxml file. This started after I coded Part 5, Step 2 "Integrating with the Device Capabilities: Triggering the Actions". The rest of the code debugged fine.
I think it relates to Christophe's note "Note: Make sure you import spark.events.IndexChangeEvent (and not mx.events.IndexChangedEvent) for this code to compile.". I don't know where to place this
" import spark.events.IndexChangeEvent;" line of code.
Any help? Tks in advance..
Any help would be greatly appreciated. ThanksYou have a DataGrid directly inside a State element. Perhaps wrap it in an AddChild element?
More information on using states can be found here:
http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_1.html -
I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?
This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
Please enter a value and try to re-run Quick Pay.
Maybe you are looking for
-
J_security_check servlet problems
Hi, we use forms based authentication in our web app and I've come across some bizarre behavior in j_security_check. The problem is as follows: if a user goes to a form that is within our web application and sits on that form until their session time
-
Why a non static member class can be defined in an interface
Non-static member classes are defined as instance members of other classes, just like fields and instance methods are defined in a class. An instance of a non-static member class always has an enclosing instance associated with it. An interface can't
-
How to read and write XML in java
I have a code that reads a large XML file, splits it into smaller files, filters and then writes it into a new XML file. My problem is that I had coded the input file name into the code, so that only the specified file can be read. How can I rewrite
-
5.1 Audio; I can see one definite speech channel. Can I cancel it out?
Aspiring soundtrack composer here. I've imported a movie with 5.1 audio. Here's a screenshot: http://img100.imageshack.us/img100/8908/5channels.jpg Can you see the channel with the red arrow? It's by far the highest when there is only speech, it's ab
-
Hi, I have two different pages personList and personDetail and two managed beans PersonList and PersonDetail. I have a problem to pass a personId parameter to PersonDetail bean when moving from personList to personDetail page. It works fine when I do