Accessing a component
Hi, I've a MXML Application using a viewStack that connect to
compenents. But I don't find the way to access thoses compements
betwen themselves:
I wish to do somethiing like competitions.myfield from the
calendar page...but no way. Any odear how to write the reference??
Seb
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns="*" width="100%" layout="absolute" height="100%">
<mx:ApplicationControlBar x="0" y="0" width="838">
<mx:ToggleButtonBar
height="100%"
dataProvider="{viewStack}"
styleName="storeButtonBar"/>
</mx:ApplicationControlBar>
<mx:ViewStack x="10" y="39" id="viewStack" width="97%"
height="600" creationPolicy="all">
<Calendar label="Calendar" width="100%" height="100%"
/>
<Competitions label="Competitions results" width="100%"
height="100%" />
<Athletes label="Athletes" width="100%" height="100%"
/>
</mx:ViewStack>
</mx:Application>
see accessing a property
Similar Messages
-
Access a component in an mxml file from a different mxml file
Hi,
I want to access a component in an mxml file 1 such as this one <mx:Image id="img" width="101" height="200" source="{product.image}"/> using the
id
from the actionscript function from a different mxml file 2
public function init():void
HERE.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
so i can make it dragable, Please help me in this if u can urgently!!!!okay,
I have the image component in ProductCatalogThumbnail.mxml, which has an id of "img"
so, i created a public variable in the file and a public function that returns the value of the object.
public var imagecopy:Object;
[Bindable]
public function imagecopyfunction():Object{
imagecopy = img;
return imagecopy;
now, I want to access this image in the mxml file ProductList.mxml in a function
public function init():void
ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
// accepting a drag/drop operation...
this.area.addEventListener( DragEvent.DRAG_ENTER, acceptDrop );
// handling the drop...
//this.area.addEventListener( DragEvent.DRAG_DROP, handleDrop );
I tried to use the variable, and then i tried to use the function:
I got this error when I tried the variable : 1119: Access of possibly undefined property imagecopy through a reference with static type Class.
ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
and this error when i tried the function: 1061: Call to a possibly undefined method imagecopyfunction through a reference with static type Class.
ProductCatalogThumbnail.imagecopyfunction().addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
i made sure i imported ProductCatalogThumbnail file in the beginning of my application.
I am not sure what went wrong. -
Accessing a component property
How can a access a component property defined in the portal.xml file
simulair to this
<property name="plainDescription" value="Number of messages"/>
I use a JSPDynPage.
what I realy want is this.
<env-entry>
<env-entry-name>CONFIGURATION_FILE</env-entry-name>
<env-entry-value><![CDATA[/configuration.properties]]></env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>see accessing a property
-
Can not access a component already placed in Ultiboard, only way to highlight is in spreadsheet view/parts. It is not locked.
Anyone encountered anything similar?How is your selection filter set up?... make sure that you have 'enable selecting parts' checked. In that way you can select the component. Otherwise you can go to Edit >> Selection Filter >> Enable selecting parts.
If that is not the problem, then please attach your project file here so we can check it out.
Nestor
National Instruments -
How do you access parent component from a child in Flex 4?
Suppose I have a Component A (as a Spark Group) that generates an event, eventX. Inside Component A, I add Component B (also a Spark Group) that wants to add itself as an event listener for eventX. How do I access Component A from Component B to register for the event?
For reference, this relationship should be similar to the MVC pattern where Component B is the view, and Component A is the model and controller.
If I were implementing this in ActionScript, I'd have no problem coding this. However, I am using flex, and am still trying to figure out how the FLEX API works.GordonSmith wrote:
B could "reach up" to A using the parentDocument property. Or you could set a reference-to-A onto B.
Gordon Smith
Adobe Flex SDK Team
B could "reach up" to A using the parentDocument property
Would you mind explaining that?
set a reference-to-A onto B.
That is something I am trying to avoid. I do not want to create tightly coupled code.
Here is a generic form of the code I am using. Feel free to tell me what I'm doing wrong in your explanation of how B can "reach up" to A. Thanks!
Component A
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="837" height="733"
creationComplete="componentA_creationCompleteHandler(event)"
xmlns:components="components.*">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
public static const STATE_CHANGED:String = "stateChanged";
private var currentModelState:String;
protected function componentA_creationCompleteHandler(event:FlexEvent):void
changeModelState("second");
public function changeModelState(newState:String):void
if (newState != currentModelState)
currentModelState = newState;
dispatchEvent(new Event(IP_Dragon.STATE_CHANGED));
public function getModelState():String
return currentModelState;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<components:Component_B id="b" x="0" y="0"/>
</s:Group>
Component B
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:components="components.*"
width="837" height="733" contentBackgroundAlpha="0.0" currentState="first"
creationComplete="componentB_creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function componentB_creationCompleteHandler(event:FlexEvent):void
currentState = parent.getModelState;
parent.addEventListener(Component_A.STATE_CHANGED, modelStateListener);
private function modelStateListener (e:Event):void
currentState = parent.getModelState();
]]>
</fx:Script>
<s:states>
<s:State name="first"/>
<s:State name="second"/>
<s:State name="third"/>
</s:states>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<components:Component_C includeIn="first" x="220" y="275"/>
<components:Component_D includeIn="second" x="2" y="0"/>
<components:Component_E includeIn="third" x="0" y="8"/>
</s:Group>
For the record, I know this code does not work. It has to do with the parent calls in Component B. Comment out those lines, and the code will compile. -
How to access the component id from another mxml?
I tried to set the data to a DataGrid in another mxml, but the complier said there's a problem, like this:
the components/FileDataGrid.mxml:
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" >
<mx:DataGrid x="150" y="50" id="dgFile"> <mx:columns>
<mx:DataGridColumn headerText="COL"/>
</mx:columns>
</mx:DataGrid>
</s:Group>
the main mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
xmlns:custom="components.*" layout="absolute">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
private function loadDG():void
var arrFile:Array= new Array("abc","123");
dgFile.dataProvider = arrFile;
trace( "The data has successfully loaded" );
]]>
</fx:Script>
<s:Button x="300" y="50" label="Load" click="loadDG()" />
<custom:FileDataGrid/>
</mx:Application>
The compiling error is :
Multiple markers at this line:
-1120: Access of undefined property dgFile.
-arrFile
Anybody can tell me, how to achieve it?
Thanks a lot!Hi, You cant access it like this. To access, first give some id to the custom component you have added.
i.e
<custom:FileDataGrid id="custFDG"/>
Then you can acces it from script,
custFDG.dgFile.dataProvider = arrFile;
Hope this shud work fine.
Thanks.
Abhinav -
How does one Component access another Component via Component Interface ?
Folks,
Hello. I have developed my project as 2 Components ( A and B). I have created a Search Record and a Component Interface for each Component.
Now, a push button in a page in Component A needs to access all pages in Component B via its Component Interface. What are the steps to do for Component A to access Component B via their Component Interface ?
Thanks.You could define the PeopleCode to make the Component Interface work on the FieldChange event of that push button you were talking about, but it would be better to put your PeopleCode in a Save event. To do that, you would use the DoSaveNow() function on the button's FieldChange event. Then, that would trigger a save, and you could put your code on the SavePostChange of any field or on the Component itself.
Once you decide on an event, the easiest way to start is to open the blank PeopleCode window. Also, place the Component Interface in your project. Next, drag the Component Interface from the Project and drop it into your PeopleCode editor window. This will generate a bunch of PeopleCode that you can use as a starting place.
The Component Interface allows you to remote control a component as if your code were a user sitting at the Browser. So, when coding the program that uses the Component Interface, you have to have that mindset. It helps me to open a browser and walk through what I want my code to do. Then, I code each step as I do it online.
There is probably a lot more that you need to know, but is this a good starting point? Is it somewhat on track with what you were asking? Let me know were to go from here with more information. -
Access a component inside external swf file
Hi, I loaded a external swf file that it is a dialog.
var swfLoader : Loader = new Loader();
var swfURL : URLRequest = new URLRequest("dialog.swf");
swfLoader.load(swfURL);
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
function imgLoaded(event:Event):void
var movie : * = swfLoader.content;
var clip : MovieClip = movie;
parent.addChild(clip);
Now, inside the movieClip there is a TextField component
named message that i want to change its 'text' property.
The question is: How can i access to this property to change
it?
Regardsokay,
I have the image component in ProductCatalogThumbnail.mxml, which has an id of "img"
so, i created a public variable in the file and a public function that returns the value of the object.
public var imagecopy:Object;
[Bindable]
public function imagecopyfunction():Object{
imagecopy = img;
return imagecopy;
now, I want to access this image in the mxml file ProductList.mxml in a function
public function init():void
ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
// accepting a drag/drop operation...
this.area.addEventListener( DragEvent.DRAG_ENTER, acceptDrop );
// handling the drop...
//this.area.addEventListener( DragEvent.DRAG_DROP, handleDrop );
I tried to use the variable, and then i tried to use the function:
I got this error when I tried the variable : 1119: Access of possibly undefined property imagecopy through a reference with static type Class.
ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
and this error when i tried the function: 1061: Call to a possibly undefined method imagecopyfunction through a reference with static type Class.
ProductCatalogThumbnail.imagecopyfunction().addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
i made sure i imported ProductCatalogThumbnail file in the beginning of my application.
I am not sure what went wrong. -
I am trying to access a COM component in Java. I want to bring up the Windows clock (which I understand is a component) and call it up from within my code. I just need it to appear - not do anything specific. I did post this question and one person said it was not something normally done in Java and that I should use a Java-COM bridge. While I am not opposed to that - I am trying to keep the solution within Java without using third party components if possible.
I have got the impression from some things I've read in various forums and elsewhere that it is possible to do with JNI by using a wrapper written in C. Have I got that right? If so - how would I go about doing that? Could someone point me in the right direction of some examples that might be similar to what I'm trying to do?
Any help would be appreciated....Regarding the reasons behind the clock:
I am using a product (work-related) that has a java engine built into it to allow the user to manipulate columns of a database with built in functions written in Java. However, within this mini-development area you can also run regular java code.
I will in the not-too-distant future need to access a COM component from a third party vendor that will allow me to do various data checks on data (i.e. post code verification) so I want to know how to access COM components generally as well. The idea behind accessing the windows clock (and by "accessing" I mean just throwing it up on the screen and not doing anything else) is that (a) it is an easily recognizable COM component in the windows environment and (b) it should then be fairly easy to translate what I have learned to allow me to integrate the other component. ( I hope! )
I think for the time being I will look to the tutorial and see if I can get anywhere with that.
Having explained a little further what I'm trying to do - any further suggestions on things to read or look at are welcome. And thanks to everyone who responded - this is new territory for me and I'm muddling through it as best I can. I do appreciate you all taking the time to help me. -
Access selectItems component from javaScript
Hi,
In the source below I want to access a selectItems component inside of a selectOneRadio from javaScript. I can access the selectOneRadion as in the code below but I can not the selectItems. Anyone who has an idea?
<afh:script text='
function showValue() {
var test=document.getElementById ("form1:radio1").value;
alert(test);
/>
<af:selectOneRadio label="Label 1" id="radio1" >
<f:selectItems value="1" id="radio2" />
</af:selectOneRadio>
thanks in advanceHi,
for a select item the code is
2nd value of a list
================================================
<input type="button" name="click" onClick="alert(document.form1.select.options[1].value)">
2nd label in a list
====================================================
<input type="button" name="click" onClick="alert(document.form1.select.options[1].text)">
selected value
==========================================
onClick="alert(document.form1.select.value)"
where
<form name="form1" method="post" action="">
<select name="select" size="1">
<option value="1" selected>A</option>
<option value="2">B</option>
<option value="3">C</option>
</select>
<input type="button" name="click" onClick="alert(document.form1.select.value)">
</form>
Frank -
Accessing Tab component in prerenderer
I was trying to set the visibility of my Tab components based on current user roles.
To my surprise I found out that for the first time the event executed all the tabs
was not listed as a children of the tabset yet. TabSet getChildrenCount return 0.
Everything went normal after the second and the subsequent call to prerenderer event.
Is there any other event I can use to access my Tab component in the first time ? Any work around ? Or should I just hack my way through the JSP files like the old day ?I have the same problem. I dont know whether this is by design or it is a bug.
For your information, the only stage when getChildren() returns the correct value is in the PageBean destroy method, by which time is it useless to do something meaningful with a component. -
Hi I have a requirement to extend BP role automatically to "sold-to-party" based on the change of status in the "life cycle stage". For example, if the status changes to "A", the role should be extended to "sold-to". Can I get some help on how to achieve this programmatically on the UI. How do I access the field attribute from a different component BP_ROLE.
Hi Dhara,
Hope ur looking for this type of code ..........Try this code,
*-- Start By Lokesh
DATA: CURRENT TYPE REF TO IF_BOL_BO_PROPERTY_ACCESS.
DATA: LV_PARTNER_NO TYPE STRING,
LV_PATADDR_NO TYPE STRING,
L_PARTNER_NO TYPE REF TO DATA,
L_PATADDR_NO TYPE REF TO DATA.
FIELD-SYMBOLS: <L_PARTNER_NO> TYPE ANY,
<L_PATADDR_NO> TYPE ANY.
IF ITERATOR IS BOUND.
CURRENT = ITERATOR->GET_CURRENT( ).
ELSE.
CURRENT = COLLECTION_WRAPPER->GET_CURRENT( ).
ENDIF.
TRY.
DATA: COLL TYPE REF TO IF_BOL_ENTITY_COL.
DATA: ENTITY TYPE REF TO CL_CRM_BOL_ENTITY.
ENTITY ?= CURRENT.
COLL = ENTITY->GET_RELATED_ENTITIES(
IV_RELATION_NAME = 'BTPartner_PFT_0001_MAIN' ). "'BTPartnerAll' ). "#EC NOTEXT
CURRENT = COLL->GET_CURRENT( ).
IF CURRENT IS NOT BOUND.
RETURN.
ENDIF.
TRY.
*-- Get the Partner/Customer Address No
L_PATADDR_NO = CURRENT->GET_PROPERTY( 'ADDR_NR' ). "#EC NOTEXT
CATCH CX_CRM_CIC_PARAMETER_ERROR.
ENDTRY.
CATCH CX_SY_REF_IS_INITIAL CX_SY_MOVE_CAST_ERROR
CX_CRM_GENIL_MODEL_ERROR.
RETURN.
ENDTRY.
ASSIGN L_PATADDR_NO->* TO <L_PATADDR_NO> .
LV_PATADDR_NO = <L_PATADDR_NO>.
CONDENSE LV_PATADDR_NO.
*-- End By Lokesh
Regard's
Lokesh -
Can't access PublishingMessageSource component in dyn/admin of ATG10.2 BCC
Hi,
I want to use PublishingMessageSource to revert my stuck project in BCC, but When I access /atg/epub/messaging/PublishingMessageSource/ in 10.2 BCC, It throw the following exception.
It seems cased by permission issue, But I did not hear that the account of dynamo/admin need role to access it before. I found out CRS has the same issue, Is it a new feature in 10.2?
Thanks.
javax.ejb.EJBException: QUERY_EXCEPTION_MESSAGE: RQL query: status = ?0 ORDER BY ?3 ASC IGNORECASE RANGE ?1+?2, Args: ?0=Edit ?1=0 ?2=-1 ?3=displayName
atg.repository.tojava.runtime.RJSupport.executeRqlStatement(RJSupport.java:1045)
atg.epub.project._ProcessHome_ReposImpl.findProcessesByStatusSort(_ProcessHome_ReposImpl.java:129)
atg.epub.messaging.PublishingMessageSource$1AdminServlet.printAdmin(PublishingMessageSource.java:250)
atg.nucleus.ServiceAdminServlet.printService(ServiceAdminServlet.java:343)
atg.nucleus.ServiceAdminServlet.service(ServiceAdminServlet.java:272)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
atg.nucleus.Nucleus.service(Nucleus.java:2992)
atg.nucleus.Nucleus.service(Nucleus.java:2892)
atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:555)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1252)
atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:930)
atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
CONTAINER:atg.repository.RepositorySecurityException; SOURCE:atg.security.PermissionDeniedException: You do not have read access to the process item descriptor.
atg.adapter.secure.GenericSecuredRepository.checkAccess(GenericSecuredRepository.java:451)
atg.adapter.secure.GenericSecuredRepositoryView.executeQuery(GenericSecuredRepositoryView.java:401)
atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:227)
atg.repository.tojava.runtime.RJSupport.executeRqlStatement(RJSupport.java:1031)
atg.epub.project._ProcessHome_ReposImpl.findProcessesByStatusSort(_ProcessHome_ReposImpl.java:129)
atg.epub.messaging.PublishingMessageSource$1AdminServlet.printAdmin(PublishingMessageSource.java:250)
atg.nucleus.ServiceAdminServlet.printService(ServiceAdminServlet.java:343)
atg.nucleus.ServiceAdminServlet.service(ServiceAdminServlet.java:272)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
atg.nucleus.Nucleus.service(Nucleus.java:2992)
atg.nucleus.Nucleus.service(Nucleus.java:2892)
atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:555)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1252)
atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:930)
atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
atg.security.PermissionDeniedException: You do not have read access to the process item descriptor.
atg.adapter.secure.GenericSecuredRepository.checkAccess(GenericSecuredRepository.java:451)
atg.adapter.secure.GenericSecuredRepositoryView.executeQuery(GenericSecuredRepositoryView.java:401)
atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:227)
atg.repository.tojava.runtime.RJSupport.executeRqlStatement(RJSupport.java:1031)
atg.epub.project._ProcessHome_ReposImpl.findProcessesByStatusSort(_ProcessHome_ReposImpl.java:129)
atg.epub.messaging.PublishingMessageSource$1AdminServlet.printAdmin(PublishingMessageSource.java:250)
atg.nucleus.ServiceAdminServlet.printService(ServiceAdminServlet.java:343)
atg.nucleus.ServiceAdminServlet.service(ServiceAdminServlet.java:272)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
atg.nucleus.Nucleus.service(Nucleus.java:2992)
atg.nucleus.Nucleus.service(Nucleus.java:2892)
atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:555)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196)
atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1252)
atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:930)
atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
帖子经 959284编辑过Hi,
Yeah, I think my db account has the write / read access. That component works fine in ATG10.0.3 and ATG10.1.2, After I upgraded ATG to ATG10.2 and connect the same db, it is faild. this issue also occur in ATG10.2 CRS of my colleague computer.
Thanks. -
Accessing library component properties
Im having trouble accessing my library components properties... For example, a textInput doesn't have a text property.
Any thoughts?Nope.textDisplay is the id of the richTextEditor inside the component. I need to access the text property of the textDisplay object via MXML so I can use dataBinding.
Any thoughts? Maybe someone besides myself?
catalyst code view for component
<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009">
<fx:Metadata>[HostComponent("spark.components.TextInput")]</fx:Metadata>
<s:states>
<s:State name="normal"/>
<s:State name="disabled"/>
</s:states>
<s:RichEditableText x="0" y="0" color="#000000" fontFamily="Calibri Bold" fontSize="130" tabStops="S0 S50" text="(Text)" height="109" width="236" heightInLines="1" id="textDisplay"/>
</s:Skin>
mxml view
<local:temp id="temperature" x="185" y="200">
example of it working in AS3
public function init():void {
temperature.textDisplay.text = "78.4"; -
Access the component of the include structure..
dear all,
i am using a bapi called CRM_ORDER_READ which has a export parameter name et_status type crmt_status_wrk.
crmt_status_wrk which in turn includes a structure name crmt_status_logicalkey.
crmt_status_logicalkey has a component status.
i need to access this status. can any body help me with this issue.
thanks,
regards,
akshay ruia.solved
-
Accessing a component though a loader
i have created an app that loads an external swf though a
flash loader. the external flash swf contains a flash menu bar. the
problem im having is making a script in the master swf change the
properties of the menu bar in the embedded swf. the script works
when in the ebmbeded swf itself.
I am using the following code:
Thanks for any helpsee accessing a property
Maybe you are looking for
-
Please help - this morning I tried updating one of my old ipods for my wife (this ipod hasn't been updated in 2-3 years). I plugged it into my pc, it was recognized and the software updated. I created a new playlist and tied to sync the ipod. This
-
Procedure and Functions from ADF View Layer
Hi, Before i ask my question ,I would like to mention that I have done lot of googling on this topic before asking this question. http://adfhowto.blogspot.in/2010/11/call-db-procedure-or-function-from-adf.html http://adf-tools.blogspot.ca/2010/03/adf
-
Hello, I've installed the Server and Manager components. I'm trying to discover the VM server from the manager's web interface. I'm getting the following error message: OVMAPI_4010E Attempt to send command: get_api_version to server: <Internal_IP_Of_
-
Flattened to Parent Child Hierarchy
Hi, My client has a little different requirement from normal. We want to convert the flattened version of hierarchy to parent child format. Does anyone have any sql script or idea how we can achieve this quickly? Thanks in advance.
-
Hello, I configured my AP1231 with 2 SSID wih a vlan assign to each one. The first one is in guest-mode without WEP the second one with WEP mode mandatory 40bits and no guest-mode. I have no problem to connect to the guest-mode SSID but big problem f