-
Changing the State of the application from a custom component
Hello, I have several custom components that are included in the original application.
When I try to change the State of a custom component, I get an error saying "undefined state: name of the State." How can I change the State of the application from a custom component? All States are defined in the original application.
@linrsvp,.
If you are using Flex3 try Application.application.currentState = "somestate;
If you use Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate;
Don't forget to import the namespaces corresponding to the above.
Thank you
Jean Claude
-
Requried helps the creation of function
Hi all
I need assistance to create feature my input parameters for this function will be 1 or 1,2 1,2,3
my output should be
If I pass 1 as an input parameter, it should return 1
If I spend 1, 2 as input parameter it should return 1.2 in different lines
Even if I switch 1,2,3 as an input parameter it should return 1,2,3 in different lines.
Can someone help me please in the creation of this function.
Thanks in advance.
Published by: p78 on January 16, 2012 03:31
Published by: p78 on January 16, 2012 03:31 Hello
It will be something like that. You must first type to return lines (use another number, for example data type if you must):
CREATE OR REPLACE TYPE t_list AS TABLE OF VARCHAR2 (4000);
/
Then, the function will be a pipeline function:
CREATE OR REPLACE FUNCTION in_list (p_list IN VARCHAR2)
RETURN t_list PIPELINED
AS
l_text VARCHAR2(32767) := p_list || ',';
l_idx NUMBER;
BEGIN
LOOP
l_idx := INSTR(l_text, ',');
EXIT WHEN NVL(l_idx, 0) = 0;
PIPE ROW (TRIM(SUBSTR(l_text, 1, l_idx - 1)));
l_text := SUBSTR(l_text, l_idx + 1);
END LOOP;
RETURN;
END;
/
now, you can query (or whatever the needs):
select * from table(in_list('aa','bb'));
Herald tiomela
http://htendam.WordPress.com
-
Pots in the path of a custom component class
I use the dom4j - 1.6.1.jar in a custom component library, but my JBoss server has dom4j.jar in jboss\server\all\lib. My custom component is throwing the following error message:
DefFoundError message: org/dom4j/xpath/DefaultXPath during the call to service XmlToCsvService and convert operation and no way fault proved be configured.
This makes me suspect that the Dom4J version in the server lib directory is takes precedence over that of my component. Any suggestions for how to manage this? Thank you.
Jared Langdon
Even the suggestion of Marcel does not always work, but it is certainly worth a quick try. I remember nothing but try and find one of LiveCycle EAR files has a version of dom4j buried in it (I don't remember which version of LC it was).
Of course change an Adobe provided EAR is not recommended and can break your support agreement. There is an alternative, however; If you change the JBoss lib folder does not work. To avoid conflict, you can use Victor to rename the package within the DOM4J class and deploy the jar in your component to avoid the conflict.
http://code.Google.com/p/jarjar/
You would then use the classes renamed in your component:
Import org.mypackage.dom4j.Document;
Import org.mypackage.dom4j.DocumentException;
Import org.mypackage.dom4j.DocumentHelper;
Import org.mypackage.dom4j.Element;
Import org.mypackage.dom4j.Node;
Import org.mypackage.dom4j.io.DOMReader;
Import org.mypackage.dom4j.io.DOMWriter;
-
How to change the State of a custom component
HI (sorry for my English)
I am new to flex and actionscript...
I hava a < Application > with 3 States.
I also create and a custom component that I use in the 'Phase A '.
Inside the element, I have a < LinkButton > click = "" currentState = "" but do not work. "
I know that the easy solution is to get out the < LinkButton > component and put it on 'Stage-A' in the Application <>
Please any other solution?
Thank you
You must add an import or you can use it like this
mx.core.Application.application.currentState = "
Sincerely,
Michael
Sent from my iPhone
El 20/06/2009, a las 16:27, Ant - will [email protected]> escribio:
>
It gives me an error
«1120: access of undefined property Application.»
>
I think I need to change the Application.application. But what?
>
Thank you
>
-
Need help with creation of legend custom pass/fail
Hello
I need help in creating custom legends of success/failure to Quiz questions. Here, I enclose the screenshot for your reference, how I wanted to.
Thanks for your help in advance.
Thank you
Ajay
The question is that whatever color of the upper-left pixel of the image, the color will be considered transparent. If the BMP image for this custom caption can have the upper-left pixel as white, then any place in the legend that is white will appear transparent.
I recommend that the change in developer top left pixel of the image in Photoshop to roses or bright green, a color that does not appear anywhere else in legend. Then, it should look as expected. For images with rounded corners, it's pretty easy. For images that have square corners, you may need to add a 1 or border 2 pixels around the image and brand that border the transparent color.
-
Helps the creation of a continuous horizontal line <; hr >;
Well, this should be a real easy. Should be...
Thus,.
I'm trying to create a horizontal line in Dreamweaver.
So I added < hr > - here's my code:
< hr style = height: 1px; COLOR = "#A2CAE0" >
Here's what it looks like on the page:
http://www.rerdownloads.com/?page_id=2245
The line that I did then is second, under the alphabet. The problem is that I want it to look as the other lines - really thin. BUT... I can't. I tried to copy the same code as the other lines without success. And I've tried about 30 different code combinations. AM very frustrated, I can't even do a simple thing like this on my own so I humbly request assistance here.
It would make my day if someone could help me. Thank you
Or, to get rid of the
-
How to align my text on the LEFT in this custom component?
package {
import mx.controls.LinkButton;
import flash.text.TextLineMetrics;
public class multiLineLinkButton extends LinkButton {
override protected function createChildren():void {
super.createChildren();
if (textField){
textField.wordWrap = true;
textField.multiline = true;
}
}
override public function measureText(s:String):TextLineMetrics {
textField.text = s;
var lineMetrics:TextLineMetrics = textField.getLineMetrics(0);
lineMetrics.width = 700;
lineMetrics.height = textField.textHeight;
return lineMetrics;
}
}
}
I found this component that encapsulates LinkButton.
When I use this component it makes centered
I tried autosize up there, but it doesn't work here.
Try this-
Just add these lines.
public function multiLineLinkButton (): void {/ / constructor}
this.setStyle ("textAlign", "left");
}
-
Helps the creation of a simple fade in/out slide show
I have Flash MX (not pro). I just want to have a cover page at about 5 or 6 pictures that fade in and out on a loop of rotation. I know it must be simple, basic stuff - but can someone point me in the right direction (total newbie obviously). I found a good tutorial here:
http://journalism.Berkeley.edu/Multimedia/Tutorials/Flash/slideshow.html
-
Standards for the creation of custom Pages/Applications in Oracle eBS OFA
Hello
Have we not a document of standards/Steps for the creation of Pages CUSTOM OA Framework in Oracle eBS. I'm looking for something similar to the development of custom form in Oracle eBS.
If so, please share the same.
Waiting is, to have these standards, in order to ensure future versions of Oracle, supported the custom developed objects.
Thanks in advance, Please see jdeveloper help documentation, framework.
Kristofer Cruz
-
With the help of API OIM10g for the creation of a certificate custom...
Hello
I had a need to create certificate requests in bulk may be 100 + number. Can I have some information about the creation of certificate by using the OIM10g API. I could find the function for creating it - AttestationDefinitionOperationsIntf.createAttestationDefinition (com.thortech.xl.vo.AttestationProcessDefinitionVO definition)
but do not know what is this 'AttestationProcessDefinitionVO' mean and how to pass the details required for the creation of certificate like name, code, description, critical, scope user, scope of resource, departure, delay etc.? Use link below:
Issue certificate - need help
-
Getting the list of Custom Component ListView
Hello
I'm trying to figure out how to get the 'checked' property of a custom component of QML.
Basically, it's the same as the first example on https://developer.blackberry.com/cascades/documentation/ui/custom_components/index.html
This is a list, with a listItemComponents, whose type: "item" contains a check box and the label.
I have an ActionItem whose job is to take all elements that are enabled and do something.
The ActionItem triggers a C++ code that should get this list.
Problem is, I can't figure out how to get the selected items. I tried the selected() function but it returns empty.
I have to turn this into a multiple selection?
I got so far is the back of GroupModel, after selection, but this does not include anything other than what I fed in the first place. Which makes sense.
There are a lot of similarities between this issue and the other. Should help to my code and comments in this post, I think: http://supportforums.blackberry.com/t5/Cascades-Development/LstItemComponent-doesn-t-track-the-model...
-
Need to include classes in the custom component
Dear Experts,
I have created custom components, for custom components, I used some different classes and jars and libs and now I want to include these pots, the lib and classes in the generation of custom component file.
Please advise me how can I add these files in the component so that when I create the zip file included in the zip file.
Please send me a link where I can get this information.
Any help will be really appreciated.
Kind regards
Elena
See the tutorial Services Intradoc
-
Custom component gR 10, 3 of the Complutense University of MADRID
We have an obligation to build a custom, component in order to change enamel teample for 'Notice of expiry'. From now on, we have a component inside the 'custom' folder called "CS10gR35CoreUpdate" that has the file "query_notification_mail.htm" inside the folder teamplate and many other model. Now I will create a new custom component of the based on the existing "CS10gR35CoreUpdate" and edit the required file 'query_notification_mail.htm' and will allow this component of the Components Wizard and restarts the UCM.
My Question is: how I'll make sure that new custom component is called when an email is sent for documents to be expired? What abt the existing one?
Please help me as soon as possible, because I provide the soultion. Thank you!! Our custom component is not any file of defination resouce, and I do not see the loadorder in defination of resource. Where can I configure the order of loading on the custom component?
Yes, that's what I meant (in the .hda folder).
I have another Q? Is it safe to manually change model "query_notification_mail.htm" who that is on the inside:
Install dir\custom\CS10gR35CoreUpdate\core\templates\query_notification_mail.htm, I ask this question because I have to make changes only in query_notification_mail.htm, so instead of creating the new component based on exit, if I change the file manually?
What do you mean by "safe"? Of course, if change you it on a hard drive, it will work (ie. in this particular system, the change will apply). You should be careful when you implementCS10gRXCoreUpdate in the future (a global patch will replace most likely your changes). In general, the change of standard resources is not considered to be a very good practice (quick and dirty), but if it is a change in one system, you can probably live with that.
-
Use the custom component to retrieve form data
Hi, I'm creating a custom component that can extract data from form for a task, when I run the component in the workflow, it will throw an exception:
"com.adobe.idp.taskmanager.dsc.client.task.TaskImpl cannot be cast to com.adobe.idp.taskmanager.dsc.client.task.TaskInfo.
on line:
' TaskInfo tinfo = taskManager.getTaskInfo (taskId);
If I put the same code on a java console app to test it, it works fine.
I tried Google but offer nothing for TaskImpl.
Thank you
hkho
These links should help:
http://help.Adobe.com/en_US/LiveCycle/9.0/componentXMLRef/webframe.html
http://help.Adobe.com/en_US/LiveCycle/9.0/programLC/help/index.htm?content=001379.html
http://www.Adobe.com/devnet/LiveCycle/articles/dsc_development.html
-Note that for the import-package, it must be explicit. specifying a.b.c won't matter in a.b.c.d classes.
-for classes that you import, you can not have the jar in the classpath of component.xml and do not want it in included in your container of components.
-If you use ServiceClientFactory.createInstance () without a context, then you will get the current context. Which it is depends on how your service operation is called. I have direct invocation by a user will have the context of the user. So called by the engine of workflow in a long-lived process then it will run in a system context. Since you call TaskManager to extract data from a task, rights of access apply so you should be aware of the context. The context of the system has full access rights so it can get the desired results. But runs under the context of the user calling, that user must be the owner of the task or the request fails.