Getting list of valid elements
Say I have a Schema or DTD that says that <foo /> can have 1 or more <bar /> elements in it. When parsing through an XML file and I've got a reference to the "foo" node, is there a way to "know" that only "bar" elements can be a firstChild? Or when I'm looking at "bar", is there a way to see that the nextSibling can only be "bar" or nothing?
Thanks,
Pat
PS: please email me your response if you don't mind.
Hi,
Problem and solution seems to be what Pratap has mentioned. Please Add the responsibility to your user name as mentioned by Pratap.
However, Also seems that you are just copying values for JDev guide.
To find responsibility key (Support You are using "OA Framework ToolBox Tutorial"l responsibillity for launching page through JDeveloper..)
Go to system Administrator > Security : Responsibility > Define
Query (F11) > Fill "OA Framework ToolBox Tutorial" in Responsibility Name field.
Now what you see in Responsibility Key field is what you need (FWK_TBX_TUTORIAL).
Now For finding application short name..first copy the application name from the above same screen. (In R12 Its Common Modules-AK)
Now go to Application Developer Responsibility > Application > Register.
Here again query F11, And fille name of application in the given field and press ctrl+11.
Here you can see short name of application in given field.
However, you issue its solution seems what Pratap has told. Please add that responsibility to your user name.
Abdul Wahid
Similar Messages
-
Getting list of valid responsibility keys
Hello, everyone.
I try to launch from JDeveloper page /oracle/apps/per/selfservice/hierarchy/webui/HierarchyPG having following runtime options:
Application Short Name: AK
Responsibility Key: FWK_TBX_TUTORIAL
User name and password are creditals of user that has access to the page. But when I launch it I get the following error message:
oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:158)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion.jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
It seems that responsibility key is invalid. So the question is how to get a list of valid responsibility keys (and application short names) for a given user for database (which tables contain such information)?
Thanks in advance.
--whelephHi,
Problem and solution seems to be what Pratap has mentioned. Please Add the responsibility to your user name as mentioned by Pratap.
However, Also seems that you are just copying values for JDev guide.
To find responsibility key (Support You are using "OA Framework ToolBox Tutorial"l responsibillity for launching page through JDeveloper..)
Go to system Administrator > Security : Responsibility > Define
Query (F11) > Fill "OA Framework ToolBox Tutorial" in Responsibility Name field.
Now what you see in Responsibility Key field is what you need (FWK_TBX_TUTORIAL).
Now For finding application short name..first copy the application name from the above same screen. (In R12 Its Common Modules-AK)
Now go to Application Developer Responsibility > Application > Register.
Here again query F11, And fille name of application in the given field and press ctrl+11.
Here you can see short name of application in given field.
However, you issue its solution seems what Pratap has told. Please add that responsibility to your user name.
Abdul Wahid -
Purchased and downloaded elements one yr. ago. Now new computer. Have CD, tried to install, after entering S/N get error-"not valid number" What can I do?
Go here (You may need to use the chat option.):
Activation & Deactivation Help
This is the Photoshop Forum.
Note to mod: Please move to the Photoshop Elements forum. -
Opening an image editing application for the first time can be intimidating. The more powerful the tool, the more complicated it can be to learn to use. Below are a list of resources to help you get started with the Photoshop Elements Editor.
I just bought Photoshop Elements, where do I start?
There are a lot of directions you can go when you first make your purchase. Here is your first roadmap.
Getting Started Tutorials
What do all these terms mean?
There are some common words tossed around when talking about image editing or tool use. Here is a helpful guide to define these: Photoshop Elements key concepts
Photoshop Element Help Topics:
Workspace basics
Tools
Color and tonal correction basics
Elements Basics, an overview of Elements' essential concepts on Photoshop Elements User.com
Where can I find some tutorials on the web?
There are many resources for learning Photoshop Elements on the internet. Here are some that we recommend.
Photoshop Elements: Where can I find some good basic tutorials? on the Photoshop Feedback site.
Like Photoshop Elements on Facebook for daily tutorials and inspiration. As well as the occasional contest.
Editing Tutorials for Photoshop Elements on Photoshop.com
Getting Started with the Elements Editor on Photoshop Elements User.com
Photoshop Elements for Dummies.com
What about video tutorials?
Some find it easier to watch a product being demonstrated and explained by an expert
Learn Photoshop Elements 11 on Adobe TV
Photoshop Elements channel on YouTube
Where can I find books about learning Photoshop Elements?
Photoshop Elements books on Pearson Peachpit PressHi Christoph and WarriorAnt,
Thank you both for the replies.
I don't know anything about GarageBand because I've never used it. I've never used any music software before, (other than iTunes, Ha!)
I don't have GarageBand on my Mac because it wasn't stock on the old Powerbook G4, so I would have to buy it. I'm happy to do that if I can figure out that it does what I want ... but I'm overwhelmed by the info at Apple's site. Too much for a beginner like me. Even the wikipedia.com entry for GB uses too many terms I don't know, so I'm easily lost.
I just want to be able to set up drum loops and play along with them. The main thing is that I'm able to use third party loops. There are so many really amazing loop products out there ... jungle drums, acoustic jazz drums, lounge, etc. I don't want to get caught up in anything proprietary (like Band-In-A-Box) because the selection is limited. I'm sure GarageBands loops are great, but I want access to all these other third party loops as well ... loops that were not specifically made for GarageBand.
Will GarageBand let me drop in any and all drum loops from these other companies?
And does GarageBand work like a basic sequencer, where I can program up an intro, X number of measures of a loop, then a turnaround, then a variation loop, then an ending, etc?
I know the high-end stuff like Native Instruments Kontakt does this, but unfortunately it also does a kazillion other professional-level things I will never need and don't want to pay for (and which make the software more complex and daunting).
Thank you again, both of you, for responding and helping me with this project.
Just a little more advice on those two questions would really go a long way.
-JOHN -
List/Enumeration of Elements in a View (WD for Java)
Hello,
How do I get a complete list of all elements in a view at runtime?
I want to dynamically modify 30+ elements, but I don't want to have to code each of them. Is there a way to do this?
Thanks,
MartinMartin,
Try something like this:
static interface IAction
abstract public void execute(IWDUIElement el);
static class CollectElements implements IAction
final private Map _result = new TreeMap();
public Map result() { return Collections.unmodifiableMap(_result); }
public void execute(final IWDUIElement el)
_result.put( el.getId(), el );
void traverse(final IWDView view, final IAction action)
traverse( (IWDUIElementContainer)view.getRootElement(), action );
void traverse(final IWDUIElementContainer container, final IAction action)
action.execute(container);
for (final Iterator i = container.iterateChildren(); i.hasNext(); )
final IWDUIElement el = (IWDUIElement)i.next();
if ( el instanceof IWDUIElementContainer )
traverse( (IWDUIElementContainer)el, action );
else
action.execute( el );
Sample:
final CollectElements selectAll = new CollectElements();
traverse(wdView, selectAll);
/* Now selectAll.result() contains id->element mapping */
This will not collect Table columns, or Tabs in TabStrib, however you can create "dispatching" IAction implementation, that delegates to some custom methods like traverse(IWDTable) or traverse(IWDTabStrip)
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Regarding getting list of employees on probation
Hi Guru's
i need your guidance
i need to check the list of people who are still under probation, during hiring action infotype 0016 and 0019 are maintained.. i checked with report s_PH0_48000450 (Date Monitoring)...bowever from the list we are not able to make sure if employee are currently permanent or on probation
i want to getting complete list of peolple who are still on probation till date
Please guide me if any report/Tcode is there to get.
Thanking you
warm regardsHi vibin
Thanks alot for your reply.. as u suggested i tried checking with par1 and par2, however still i need to list of employees who are currently on probation.. during hiring in contract element infotype we mark as on probation, n also make entry in 0019 infotype.
the status which we are maintaing are withdrawn, inactive, retiree and active.. how i can get list of persons on probations period
please advise
thanking you -
I need this requirement :create PR+get list of PO+ack of MIGO
Hi All,
Can u tell me the releationship for the flow of PRequistion,POrder,GRecipts.
and what are the Standard BAPI/RFC's available.
Thanks
@Prami
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Mar 28, 2011 1:24 PMI think you're making this way, way harder for yourself than you need to.
Building an entire .plist via the XML tools is hard. Writing it as text is easy, so I'd go for the approach:
-- setup the XML preamble
set XML_header to "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
<plist version=\"1.0\">
<dict>
<key>Label</key>
<string>user.watchfolder.imageSLabel</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>/Users/user/Documents/LabelFiles.scpt/</string>
</array>
<key>WatchPaths</key>
<array>
set XML_footer to " </array>
</dict>
</plist>"
set element_pre to " <string>"
set element_post to "</string>"
-- get the folder list
tell application "Finder"
set theFolders to folders of (path to desktop) as alias list
end tell
-- build a list of XML elements, one per folder
set XML_elements to ""
repeat with each_folder in theFolders
set new_element to element_pre & quoted form of POSIX path of each_folder & element_post & linefeed
set XML_elements to XML_elements & new_element
end repeat
-- now combine the data
set plist_data to XML_header & XML_elements & XML_footer
-- finally, write it all out
set XML_filepath to (path to desktop as text) & "my.plist"
set XML_file to (open for access file XML_filepath with write permission)
set eof XML_file to 0
write plist_data to XML_file
close access XML_file -
[XMLType] : Appending list of XML elements
hi everybody,
I have a lttle question : a would like to append a list of XML elements to another XML document :
I have two XMLs :
<rowset><A>..</A> <A>..</A></rowset> (1)
and
<rowset><B>..</B> <B>..</B></rowset> (2)
and I would like to have
<rowset><A>..</A> <A>..</A><B>..</B> <B>..</B></rowset>
I have generated the two XML (1) and (2) by using DBMS_XMLGEN package, and I have them stored in an XMLType, but I dont know how to operate to get the wanted result.
Can anybody tell me how to do this in a PL/SQL program?
thanks,
Marie.I don't use XSLT, i just query the XML-documents stored in an XMLType column with a simple SQL-statement.
I have posted a simple example over here Re: Is it possible to influence the creation of empty elements? -
FRM-41009: Function key not allowed. Press %s for list of valid keys.
FRM-41009: Function key not allowed. Press %s for list of valid key.
What is reason for this message, and how can we suppress it. Where should I set the system.message_level to suppress this message.The reason is you press a key that cannot be used, e.g. duplicate record cannot be used in enter query mode.
You cannot suppress this message, even with message_level 25. If you code this for key-duprec, you will still get the message:
:system.message_level := 25;
duplicate_record;Forms intercepts the error at a very early stage. Even this didn't suppress the message:
if :system.mode = 'ENTER-QUERY' then
null;
else
duplicate_record;
end if; -
Unknown error when getting list of virtual machines
I installed the VMC this morning and launched it. After validating the credentials it began a very long running process where it shows the status of 'Getting list of virtual machines'. After approx five minutes an error dialog is displayed which is blank
(aside from a red 'X'). Selecting OK leaves me with a blank list of VMs. There are no events in the application event log. Any help?
William Busby, PMPAre you connecting to vSphere 4.0? If so MVMC does not support directly connecting to vSphere 4.0. If your 4.0 host is managed by vCenter 4.1 / vCenter 5.0 you can convert VMs on the 4.0 host by connecting to the vCenter servers that is managing the host.
-
FM to get list of all directories and files on application server..
Hi All,
Can anyone tel me FM to get list of all directories and files on application server..i know 'F4_DXFILENAME_TOPRECURSION'
and '/SAPDMC/LSM_F4_SERVER_FILE' these are working too...but my requirement is when i click F4 i should get list of directories and whn i select one of these the only directory name should display.....and whn click again for 2nd text box field i want file name ...means directory name in one text box field and file name in another....plz help me out..
helpful answers wil b awarded.
Thanks,
JayshreeHi Jayashree
Please check this FM, SUBST_GET_FILE_LIST. Pass the file path and file name, if it returns an entry in table FILE_LIST, then the filename and path are valid.
Hope this helps !
~ Ranganath -
Better way how to get list of all classpath URLs in runtime
Hello everyone,
How to get list of all classpath items (URLs) in runtime from Java code?
I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
Does system property "java.class.path" contain ALL loaded JARs?
Does it contain items (JARs, class directories) loaded by bootstrap classpath?
What about JARs loaded in runtime?
Is the separator ":" always same on all operation systems?
I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
But there is nothing like this in ClassLoader, Class, Runtime or System classes.
For curious, here is code I use.
String classpath = System.getProperty("java.class.path");
StringTokenizer st = new StringTokenizer(classpath, ":");
while (st.hasMoreElements()) {
System.out.println(st.nextElement());
}For curious, here are output prints for all 3 methods:
1) parsing system property
2) tschodt
3) overcast SystemClassLoader to URLClassLoader
/home/espinosa/workspace/jboss_embedded_test1/target/test-classes
/home/espinosa/workspace/jboss_embedded_test1/target/classes
/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
package com.thoughtworks.qdox.directorywalker
package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
package java.util.jar, Java Platform API Specification, version 1.6
package org.testng.internal.thread
package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
package java.net, Java Platform API Specification, version 1.6
package sun.reflect.misc, Java Platform API Specification, version 1.6
package esp.ejb.samples1.test
package sun.security.provider, Java Platform API Specification, version 1.
file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
It prints not absolute paths but logical Java names. -
Why can't I get into photoshop or elements 10? I just get a not working message
why can't I get into photoshop or elements 10. I just get a not working message
I have the same problem, I sent my submission when 4.9 came out. No way to get in the direcotry, I am also listed anywhere else.
I have a jazz podcast which is member of Association of Music Podcasting. It's podsafe and I have a growing number of listeners. Please Apple do something.
my feed:
http://feeds.feedburner.com/NightPassagePodcast
Renato
The Night Passage Podcast
http://nightpassage.blogspot.com
http://nightpassage.org -
List Data Validation failed error
I'm getting the following error "List data validation failed." while trying to upload a document which already exists.
My Document library settings : Enabled Version Settings (Major),
Require documents to be checked out before they can be edited : YES,
Validation Formula : =[End Date]>=TODAY()
If I upload a new document to the document library, everything is
working fine. If I edit properties of the ListItem everything works fine. The system throws error only when I upload already existing document.
If i make "Require documents to be checked out before they can be edited : NO" , then everything is fine. But business requirement forces me to do checkout.
Also if i change the Validation Formula : =[End Date]<=TODAY() , then everything works fine.Hey Jatin,
unfortunately the check out before editing = true is against using the same document before overwrite.
as long as this is a business needs, i advise you to make a user control to be your document library upload form
while uploading the document, you can check this document out programmatically and the library settings will do the overwrite for you
also the validation will be easier when you check it programmatically
i hope this help, let me know if you need more clarifications
Ahmed Said Moussa SharePoint Consultant -
Purchased and downloaded/installed Captivate 7 but get 'serial number valid but' error
Purchased and downloaded/installed Captivate 7 but get 'serial number valid but a qualifying product could not be found on this computer' error. I have checked serial number, checked that I purchased correct version (7) direct and not an upgrade but the drop down list tha tthe window shows is only previous 6 versions and it is 7 I purchased/installed and is opening.
Captivate thinks you bought an upgrade. Adobe Support will have to help you.
I went through this (with an upgrade) but my qualifying product was also an upgrade, and Adobe didn't list my original product (CP2). So there was no way to put in all the info.
And, just FYI, keep that serial number handy. Even after Adobe Support fixed my Captivate so that it will run, every once in awhile...for no apparent reason...Captivate will start in "trial" mode and I have to re-enter the serial number. It always works after I do that. But, it's a pain so I now keep the serial number posted on my bulletin board for handy reference.
Rebecca
Maybe you are looking for
-
Itunes only finding and syncing some of my voice memos on my iphone
I have an iphone 4s with the current updated operating system and use the most current itunes program. I am trying to find a way to sync/upload all my voice memos from my iphone to itunes/computer and be able to play them and label them. Through rese
-
I need to Change my Apple ID on my I-Phone 4 to a new E-Mail Address, What can I do to Change it.
-
I've always assumed that I can't make any assumptions about the order in which elements are indexed by a for...each...in loop. Not even for a conventional indexed array. (Emphasis!: I'm not talking about associative arrays here, I'm talking about n
-
I can't use my apps: serial number is required but I have an student edition!
Please, help me! I can't use my apps. I haven't a serial number because have an cc student edicion. What can i do?
-
Hi Folks, Which tables would give me the revenue details of a GL account between a date range? And is there a way to track the details of these line items to find what is the payor's country of origin etc? Thx.