Bizzare component behavior

Hello,
I have created a custom component called a ChartCell based
off a tilelist. I have a SuperPanel (from
http://www.wietseveenstra.nl)
with a viewstack and a tabbar, with 4 types of ChartCells inside
(see code below).
I retrieve data from an external xml file and sort the data
based on types (in this case, glyph_form_type_id) into each
ChartCell using the populatePanels function.
the problem: if I only supply the first ChartCell with data,
(therefore, commenting out the other addItem methods in
populatePanels as illustrated below) everything works as expected.
But if i uncomment any other addItem (eg:
graphemes.dataProvider.addItem(i);) then a "cannot access a null
reference" error is thrown in the debugger. What completely baffles
me is, in the debugger->variables tab, the first chartCell
(phonemes) has a value of ChartCell, but the others (graphemes,
allophones, and sources) have a value of null! How can this be
possible? I've been banging my head over this for hours, please
help! (and let me know if you need any other information) Thanks in
advance

"bmilesp" <[email protected]> wrote in
message
news:glrkcs$4ku$[email protected]..
> Hello,
>
> I have created a custom component called a ChartCell
based off a tilelist.
> I
> have a SuperPanel (from
http://www.wietseveenstra.nl)
with a viewstack and
> a
> tabbar, with 4 types of ChartCells inside (see code
below).
> I retrieve data from an external xml file and sort the
data based on types
> (in
> this case, glyph_form_type_id) into each ChartCell using
the
> populatePanels
> function.
>
> the problem: if only supply the first ChartCell with
data, (therefore,
> commenting out the other addItem methods in
populatePanels as illustrated
> below) everything works as expected. But if i uncomment
any other addItem
> (eg:
> graphemes.dataProvider.addItem(i);) then a "cannot
access a null
> reference"
> error is thrown in the debugger. What completely baffles
my is, in the
> debugger->variables tab, the first chartCell
(phonemes) has a value of
> ChartCell, but the others (graphemes, allophones, and
sources) have a
> value of
> null! How can this be possible? I've been banging my
head over this for
> hours,
> please help! (and let me know if you need any other
information) Thanks in
> advance
http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
Q5
You may also find this example useful for other things you're
doing:
http://flexdiary.blogspot.com/2008/09/groupingcollection-example-featuring.html

Similar Messages

  • ARB Issue: Pattern for Exposing Component Behaviors

    Posted today:
    http://opensource.adobe.com/wiki/display/flexsdk/Pattern+for+Exposing+Component+Behaviors
    Please post comments by Wednesday COB. Thanks!

    The best forum for general question like this are the JDeveloper ADF forum here:
    JDeveloper and ADF
    When posting there, could you clarify what you mean by "be rendered aside"

  • PanelGrid component behavior - initialization

    I have a behavior that I do not understand.
    I have a page that has several components including a 'gridPanel' and a 'pageFragment' with a javascript date slection menu. On the page fragment, I have an 'OK' button that initiates a display sequence within the 'gridPanel'. The display sequence is in a separate session bean and consists of creating a set of components within the 'gridPanel'.
    Here is what I can do.
    1) Navigate to the page.
    2) Push the 'OK' button.
    3) The 'OK' button returns null and the page passes through the prerender code for a second time and calls the display code in the session bean.
    4) The display is drawn as expected.
    Here is what I want to do, but cannot.
    1) Navigate to the page.
    2) In the 'prerender()' method, do something that will call the display sequence in the session bean. without having to push the OK button.
    Basically, I want the display to come up when the page is navigated to, without having to push another button to generatre another redisplay.
    When I attempt to call the display sequence in the session bean directly, the components that are used are null.
    Here is the layout for the 'gridPanel' in the page
    <h:panelGrid binding="#{OverviewPage.tsOverviewPanel}" id="tsOverviewPanel">
         <ui:panelLayout binding="#{OverviewPage.titlePanel1}" id="titlePanel1">
              <h:panelGrid binding="#{OverviewBean.titleGrid}" >
         </ui:panelLayout>
         <ui:panelLayout binding="#{OverviewPage.summaryPanel1}" id="summaryPanel1" >
              <h:panelGrid binding="#{OverviewBean.summaryGrid}" id="summaryGrid"/>
              <h:panelGrid binding="#{OverviewBean.errorGrid}" id="errorGrid"/>
         </ui:panelLayout>
    </h:panelGrid>
    The main panelGrid component 'tsOverviewPanel' belongs to the page 'OverviewPage'. It contains two additional panels that belong to the page "OverviewPage". These panels contain one or two panelGrid components that belong to the session bean 'OverviewBean'.
    When I attempt to draw directly from the prerender() method of the page 'OverviewPage" the components that belong to the session bean 'OverviewBean" are null, however, the session bean is not. Once I push the 'OK" button it apparently submits the page to be redrawn in the JSF context and the components get initialized
    What I suspect is happening is that I am getting messed up with the display phases of JSF.
    When I attempt to draw directly from the prerender() method, the components belonging to the session bean 'OverviewBean" have not been instantiated, even though the 'init()' method of the session bean is being called, based on my logging.
    Does anyone know how I can get the necessary components to initiate in this phase?
    I do not have the option of moving everything into the page itself.
    Thanks.

    Well, I discovered how to resolve this.
    The component that you bind to can not be recreated in the backing bean. Only the components within the bound component can be recreated. So what i did was added a panelGroup and binded that to my backing bean and then was able to recreate the panelGrid that was a child of the panelGroup.

  • Unexpected skipLinkTarget component behavior

    Hello,
    I am working on a web application created with JDeveloper 11.1.1.6 and ADF that needs to meet accessibility requirements such as Section 508. I have noticed a strange behavior of the af:skipLinkTarget component - Rather than jumping to the start of the content area (defined by the content facet), it jumps to the first button or link in the content area.
    This is very problematic for our visually impaired users who must rely on screen reader software to use the application. As a workaround, we have told them to ignore the "Skip to content" link and use the H key to jump to the h1, which marks the start of the content area.
    We would like to find a good solution rather than relying on this workaround so that our site is compliant with today's accessibility standards and our visually impaired users have the same experience as sighted users.
    Like our users, I would expect a "Skip to content" link to actually skip to the content. After all, the link does not say "Skip to the first button in the content"
    Thank you for reading and any assistance is greatly appreciated!
    JW

    Hi,
    my best suggestion for you is to contact customer support and open a service request if you have a customer support contract. Not many in this forum have a screen reader setup to reproduce the issue, which I think would be required to help you out
    Frank

  • Weird jsf component behavior after exporting pdf to outputStream ~~

    Hi,
    I have a page which has a selectOneMenu control (allows user to select a workshop name) and a commandLink (generates a corresponding workshop pdf and opens in a separate browser window). All command actions are working fine(including the pdf generation).
    I used the following code to export pdf to the browser
                    HttpServletResponse response =
                       (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext ().getResponse ();
                 response.setContentType ("application/pdf");
                 response.getOutputStream ().write (bytes);
                 response.getOutputStream ().flush ();
                 response.getOutputStream ().close ();
                 FacesContext.getCurrentInstance().responseComplete ();However, after viewing and exporting the pdf successfully from the browser, when I choose a different value in the slectOneMenu control again, the page then displays
    %PDF-1.4 %���� 4 0 obj <>stream x&#156;�&#155;]o�6&#134;��+�&#155;�T~&#136;"��dm �$z1��&#147;&#153;��ey�&#146;b�~&#148;(:�c3&#134;���K_RP�kr9I81����&#133; I&#149;|�����}������&#151;I��Cn�&#150; ?�&#131;;�G��&#159;��Y"�&#153;�*Q&#134;�{&#139;�����?�2���o��vv7ehpvv7er��1Fe��U���A4&#147;)�&#155;.g]&#151;}W]���f����~�X��q`����u34�c�)�� ��H�"i2SP�T�_���(L|�&#155;1C�'&#149;O�27&#148;&#145;��X#&#147;��te�r&#135;~ ��1�H&#149;���U3&#154;)�7&#147;�T�
    instead of the same page with a different value in the selectOneMenu control.
    Any ideas or suggestions? Thanks in advanced!!
    Moreover, while searching for a solution for the problem on google and developer forums, I found a posting suggesting adding
    {code}
    context.getApplication().getStateManager().saveSerializedView(context);
    {code}
    before
    {code}
    FacesContext.getCurrentInstance().responseComplete ();
    {code}
    however, the suggestion did not solve the problem.
    Any ideas or suggestions would be greatly appreciated. Thanks!!

    Hi all,
    I was able to resolve this issue by forcing the page to refresh itself when the commandLink control was clicked. However, for IE users, there would be a dialog box asking the user to click on "Retry" in order to refresh the page.
    Any ideas or suggestions on how to eliminate the dialog box in IE would be greatly appreciated. Thanks in advanced!!

  • Flash 8 pro flv playback behaviors

    Could someone show me where I can get the FLV playback
    component behaviors
    for flash 8 pro? I couldn't find them on the Adobe exchange.
    Thanks
    -mark

    I got them, thanks.
    > That came from here
    >
    http://www.adobe.com/devnet/flash/articles/flvplayback_behaviors.html

  • ARB Issue: Styling Component Parts

    Posted Today:
    http://opensource.adobe.com/wiki/display/flexsdk/Styling+Component+Parts
    Please comment by EOD April 6th. Thanks!

    Hey there again,
    Just bringing a few updates to this subject. I have tried to enforce some specific behavior on af|menu::child-container, calling it according to its container, like this:
    af|panelGroupLayout.MyClass1 af|menu::child-container {
         position:fixed !important;
         top:100px !important;
    af|panelGroupLayout.MyClass2 af|menu::child-container {
         position:fixed !important;
         top:200px !important;
    and, even though the browsers see this exact code (tried with both IE Dev Tool and Firebug), the behavior is still the default one (position:static I guess and, by default, the top property is ignored). I also tried the same for af|menu::scroll-box, af|menu::scroll-content and tried the syntax af|menu::bar-item > table.nth-child(2) {position: fixed; top:100px} (tried this because the 2nd child of the af|menu::bar-item is an html table and indeed, as I said above, the browser sees my specifications for this component but still does not apply them.)
    Just to make it clear, when I say that the browser sees my specifications I mean that it's not just some css that's overwritten by the default component behavior. Firebug / IE Dev Tool say that my specifications are applied, yet the desired behavior does not happen. It's the first time that I encounter a component that does not respect the specifications stated in Firebug / IE Dev Tool.
    I honestly believe this is a framework bug. If anybody has any clue about this kind of behavior, please let me know.
    Thanks,
    Toma

  • Dialog/Widget to behave like a parsys component

    Hello All:
    I have a client requirement to basically develop a custom component which will allow the authors to drag & drop any component (which is available from sidekick) on to the wizard and configure it. In a way, essentially they would like to mimic the parsys component behavior on the page to the dialog/widget. Ideally dialog should have something like parsys and which should allow drag & drop of other components into this dialog/widget. I was just wondering whether is it technically possible to have something like this? I know ideal usage component is not like this - but unfortunately this is what my client wants - please throw some ideas/ approach... Appreciate your time!!!
    - Kc

    This forum is for C# code related issues, please move your question to MVC forums for a better assistance on your issue:
    http://forums.asp.net/1146.aspx
    Fouad Roumieh

  • Sling mapping issue with Query String

    For a button component, URL behaves differently with query string. Please let me know the sling mapping example for query string.
    Button component behavior across env:-
    Working Scenario:-
    - In Author edit mode, URL pointing to "/content/<websitelink>"
    - In Author preview mode shows URL "<host>:<port>/content/<websitelink>.html"
    - In Publisher mode shows URL, "<host>:<port>/<websitelink>", we do not want "/content" before website link so it is fine.
    Failure Scenario with query string:-
    - In Author edit mode URL pointing to "/content/<websitelink>?username=han"
    - In Author preview mode with URL "<host>:<port>/content/<websitelink>?username=han"
    - In Publisher mode, <host>:<port>/content/<websitelink>?username=han - Here we see the content, which is not acceptable in our scenario.
    Please let me know the mapping changes when we have a URL with query string.

    1) I assume you configure as per the rules mentioned in http://sling.apache.org/site/mappings-for-resource-resolution.html --> 'Mapping Entry Specification' under /etc/map. Based on the configuration in /etc/map and the website that we publish, it translates and shows all the applicable combination in the Felix console http://<host>:<port>/system/console/jcrresolver.
    2) How does Adobe CQ 5.4 resolve the right mapping, if we have multiple map folder like below in /etc directory with the same website with different rules.
    etc/map --> http --> <website> with property sling:match, sling:internalRedirect
    etc/map.publish --> http --> <website> with property sling:match, sling:internalRedirect
    etc/map.publish-stag --> http --> <website> with property sling:match, sling:internalRedirect
    Kindly clarify.

  • How to implement ajax at ADF table column or ADF table column button.

    I want to use ajax in table column selection. I have two table. One is master table and second one is detailed table. I have requirement to click master table column and display data in detail table column against the master table column.
    let assume i have two tables 1.
    <af:form id="f1">
    <af:panelSplitter id="ps1" orientation="vertical">
    <f:facet name="first">
    <af:table value="#{radionBean.generatedData}" var="item" columnSelection="single" rowBandingInterval="0"
    id="tableData">
    <af:column sortable="false" selected="true" headerText="Ticket No" align="start" id="c1">
    <af:outputText value="#{item.ticketno}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="Requestor" align="start" id="c2">
    <af:outputText value="#{item.requestor}" id="ot2"/>
    </af:column>
    <af:commandButton text="More" id="cb1" action="#{radionBean.myrow}">
    <f:ajax execute="@this" render=":f1:detailTableData"/>
    <f:setPropertyActionListener target="#{radionBean.currentrow}" value="#{item}"/>
    </af:commandButton>
    </af:column>
    </af:table>
    </f:facet>
    Second table
    <f:facet name="second">
    <af:table value="#{radionBean.detailData}" var="itemdet" rowBandingInterval="0"
    id="detailTableData">
    <af:column sortable="false" headerText="Ticket No" align="start" id="c21">
    <af:outputText value="#{itemdet.ticketno}" id="ot21"/>
    </af:column>
    <af:column sortable="false" headerText="Date" align="start" id="c22">
    <af:outputText value="#{itemdet.date}" id="ot22"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:panelSplitter>
    </af:form>
    The above is my two table when i run the program i have this exception
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    <FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[untitled1.jsf]
    java.lang.IllegalArgumentException
         at org.apache.myfaces.trinidad.component.UIXComponentBase.findComponent(UIXComponentBase.java:708)
         at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.getResolvedId(AjaxBehaviorRenderer.java:279)
         at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.appendIds(AjaxBehaviorRenderer.java:269)
         at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.buildAjaxCommand(AjaxBehaviorRenderer.java:214)
         at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.getScript(AjaxBehaviorRenderer.java:86)
         at javax.faces.component.behavior.ClientBehaviorBase.getScript(ClientBehaviorBase.java:103)
         at oracle.adf.view.rich.render.RichRenderer._encodeClientBehaviors(RichRenderer.java:3740)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1409)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeChildInContext(RichRenderer.java:3118)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1468)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:166)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:2803)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:2433)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1634)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:560)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:617)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:116)
         at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:531)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._visitFacetAsStretched(PanelSplitterRenderer.java:393)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._visitFacet(PanelSplitterRenderer.java:371)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.visitChildrenForEncodingImpl(PanelSplitterRenderer.java:338)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.visitChildrenForEncodingImpl(DecorativeBoxRenderer.java:214)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._visitFacetAsStretched(PanelStretchLayoutRenderer.java:856)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._visitFacet(PanelStretchLayoutRenderer.java:834)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.visitChildrenForEncodingImpl(PanelStretchLayoutRenderer.java:793)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2404)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.render.CoreRenderer.visitChildrenForEncoding(CoreRenderer.java:228)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncodingImpl(RichRenderer.java:2421)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2404)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.render.CoreRenderer.visitChildrenForEncoding(CoreRenderer.java:228)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncodingImpl(RichRenderer.java:2421)
         at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2404)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:410)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:695)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:558)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
         at org.apache.myfaces.trinidad.component.UIXDocument.visitTree(UIXDocument.java:82)
         at javax.faces.component.UIComponent.visitTree(UIComponent.java:1496)
         at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:487)
         at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:42)
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:756)
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:525)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3713)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1475)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1652)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Please reply this.......
    THANK YOU IN AN ADVANCE
    Regards
    Muhammad Khurram
    Edited by: 912134 on Feb 3, 2012 4:28 AM

    I don't think you need the f:ajax tag - you should be able to do the synchronization between the tables with the built-in partial page refresh functionality.
    Just define the partialTrigger property of the second table to point to the firsttable.
    http://docs.oracle.com/cd/E16162_01/web.1112/e16181/af_ppr.htm#BGBEGIDF

  • Chart Components : Option to select a item for drill down by Label name

    Hi
    Currently for all Chart components in Xcelsius in Drill down mode we do not have the option to insert the X Axis Label values by selecting the Label on the X- Axis. It is made mandatory that we should click on any of the Series and that too we get only Position or Value but not Label.
    Why should some one necessarily click on a particular series to drill down. Why cant he drill down by just clicking on x axis label. This seems to be a general requirement but I did not find this option. Am I missing something?
    I want to check whether if we will do have the option to select the label name by just clicking on the X-axis labels.
    Please note: I know the other alternatives of getting the label by enabling a series and inserting the position and using some label based menu to derive the Label.
    Regards
    Gangadhar

    hi
    then do like this
    dont use drill down option for that.
    take push buttons and one combo box.
    place those pushbuttons into X-Axis Labels and transparent them.
    combobox is used for dynamic Data Retrival.
    in ComboBox Component behavior properties you have option Selected Item(Type and Item) in that item should be map to Pushbutton Destination cell.
    you will get data as per your Requirement(Like you can drill down from X-axis Labels).
    Regards
    Prasad

  • Powerbuilder and Java

    On a wider note I'm very surprised that Java hasn't catered for extending base classes and still be able to keep the inheritance chain. If I compare this with Powerbuilder for a second, their Foundation Classes all come with an empty extension object between all their pre-defined classes. This would be the same in Java as having:
    Object
    |
    Object extension (empty)
    |
    Component (changed to have Object extension as ancestor)
    |
    Component extension (empty)
    |
    TextComponent (changed to have Component extension as ancestor)
    |
    etc, etc.
    The reason I bring up the comparison is I was wondering if any Third Party Vendors have done a similar thing with Java, i.e. not just created a series of extension objects but INSERTED objects between the higher classes?
    Is there such a thing to the best of anyone's knowledge or does everyone go down a route similar to the service one I've discussed above?

    Well, for one thing, this wreak havoc on code code reusability. For example, if I create a program similar to Eclipse and allow plug in components, if you have altered the heirarchy of classes, how does that impact my code? Wht if we have both done this? Who wins?
    I do agree that there is a real issue here. It's definitely a huge pain to have to extend every subclass of Component to add a little functionality. What's worse is that you can't even create a subinterface of a concrete class meaning that you can't create a MyComponent and have all your Components implement it.
    I think Component should have been an interface. Other people disagree and I respect that but I think it really makes things difficult. Then all the current concrete classes would just implement these classes. Then each sub-class would implement a subinterface and use the decorator patter to get the effect you are after.
    For example:
    Component  <--- BasicComponent
       ^               ^       ^
       |               |       |
       |<--Label<--BasicLabel  |
       |                       |
    Button <--------------BasicButtonNow you could create your own classes like so (or keep going with decorators):
    MyButton extends BasicButton
        MyButton()
           super(new BasicComponent());
    MyLabel extends BasicLabel
        MyLabel()
           super(new BasicComponent());
    }Then down the road you want to implement a simple change in all Component behavior:
    class MyComponent extends BasicComponent
       // blah blah blah
    MyButton extends BasicButton
        MyButton()
           super(new MyComponent());
    MyLabel extends BasicLabel
        MyLabel()
           super(new MyComponent());
    }

  • NI Certified LabVIEW ARCHITECT, NI Week Winner, Author of the LabHSM Toolkit

    Thank you for your interest. I already posted here, but since the header of the original said "Certified Developer" and I am a Certified ARCHITECT now, I decided to post again.
    If you need a LabVIEW developer, you will find that my resume which is attached, outlines why I am an excellent fit for a position with your company.
    In addition to my broad educational background including two Masters Degrees in Electrical Engineering and Physics, numerous Computer Science courses taken, and twelve years of diverse experience in programming, system administration, and support, I am a National Instruments Certified LabVIEW ARCHITECT. As you can see on the National Instruments website, there are only about 50 people worldwide who were granted this title. I have a history of numerous successful projects in the areas of industrial automation, control and data acquisition. In particular, I have implemented several LabVIEW test systems projects including the following:
    - Real-Time Natural Gas Mixtures Characterization System, based on near infrared absorption spectroscopic data for Gas Technology Institute;
    - Real-Time Electron Beam Doses Monitoring, Beam Parameters Measurement, and Ion Charge Measurement Systems for Steris Corporation (NI WEEK 2003 BEST APPLICATION CONTEST WINNER in R&D/Lab Automation Category);
    - Control and Data Acquisition Program for an Electron Spectrometer System in the Western Michigan University Accelerator Laboratory;
    - LIMS II (Temperature Test), Surge Test Automation, Locked Rotor Test, Variable Ambient Chamber Control and Data Acquisition systems for Underwriters Laboratories (UL);
    - Abrasion Wear Test for Caterpillar;
    - Distributed Data Acquisition and Reporting System for Hydraulic Spray Nozzles Testing for Spraying Systems Co.
    It was me who created LabHSM (http://labhsm.com), a toolkit for advanced event-driven development in LabVIEW. It allows creating complex applications as a collection of active object type components that have uniform structure, but different purposes. Each component runs independently providing services to other components and exchanging data via standardized queued messages. The resulting code has the same structure and looks similar regardless of specific functionality. It is easily readable and modifiable by developers other than the author. LabHSM implements the powerful paradigm of hierarchical state machines (Harel/UML statecharts) and has a separate specialized editor for defining component behavior on a higher level of abstraction.
    I also have done several projects involving HMI, digital I/O, motion control, communication between a PC and PLC's, using Visual Basic, Think & Do, Steeplechase and other software tools.
    My experience and background enable me to master any software development tool quickly, making me a perfect candidate who can always keep up with the ever-changing world of computer technologies.
    I am looking forward to discussing this opportunity with you.
    Sincerely,
    Stanislav Rumega, CLA
    http://labhsm.com/resume
    Attachments:
    Stanislav Rumega Resume 06-2005.doc ‏87 KB

    An update: I am still in Milwaukee, Wisconsin, USA. The current client ran out of projects for me,
    so I am ACTIVELY looking now. An updated resume is attached. If you are in US and any farther from me than Chicago, relocation assistance is highly desired.
    Again,
    I am so fed up with US immigration "process" (almost NINE years here LEGALLY and green card is nowhere in sight!) that would SERIOUSLY consider UK, Australia, Canada, EU if somebody is SERIOUSLY willing
    to help with the papers and relocation.
    An updated resume is attached.
    Recent achievements:
    1. A couple of test stands  for testing  high voltage (15kV, 27kv, 38kV)  high current (up to 100A) reclosers. Those devices are used by electrical utilities companies. They are made by Cooper Power Systems. It's sort of a big three phase breaker but with the brains - it's own computer. Very sophisticated device. It is programmed at which currents and for how long to wait before opening the circuit, when and how many times to try to close it again before locking out, etc. See http://cooperpower.com/Products/Distribution/Reclosers/ for more info on.
    2.Updated the David Boyd's famous Tunnel Wiring Wizard to make it work with LV 8. See LAVA forums: http://forums.lavag.org/index.php?s=&showtopic=211&view=findpost&p=9207
    3. Created a Property and Method Selection (PMS :-)) Assistant to simplify access to undocumented (private) properties and methods in LabVIEW 7 through 8 - very useful for anybody experimenting with VI Scriping features. Again, see it on VI Scripting LAVA forum:
    http://forums.lavag.org/index.php?s=&showtopic=2662&view=findpost&p=10812
    Attachments:
    Stanislav Rumega Resume 05-2006.doc ‏96 KB

  • NI Certified LabVIEW Developer, NI Week Winner, Author of LabHSM, a Toolkit for Complex Event-Driv​en Developmen​t in LabVIEW

    Thank you for your interest. If you need a LabVIEW developer, you will find that my resume which is attached, outlines why I am an excellent fit for a position with your company.
    In addition to my broad educational background including two Masters Degrees in Electrical Engineering and Physics, numerous Computer Science courses taken, and twelve years of diverse experience in programming, system administration, and support, I am a National Instruments Certified LabVIEW Developer. As you can see on the National Instruments website, there are only about 400 people worldwide who were granted this title. I have a history of numerous successful projects in the areas of industrial automation, control and data acquisition. In particular, I have implemented several LabVIEW test systems projects including the following:
    - Real-Time Natural Gas Mixtures Characterization System, based on near infrared absorption spectroscopic data for Gas Technology Institute;
    - Real-Time Electron Beam Doses Monitoring, Beam Parameters Measurement, and Ion Charge Measurement Systems for Steris Corporation (NI WEEK 2003 BEST APPLICATION CONTEST WINNER in R&D/Lab Automation Category);
    - Control and Data Acquisition Program for an Electron Spectrometer System in the Western Michigan University Accelerator Laboratory;
    - LIMS II (Temperature Test), Surge Test Automation, Locked Rotor Test, Variable Ambient Chamber Control and Data Acquisition systems for Underwriters Laboratories (UL);
    - Abrasion Wear Test for Caterpillar;
    - Distributed Data Acquisition and Reporting System for Hydraulic Spray Nozzles Testing for Spraying Systems Co.
    Descriptions and code examples of projects I have done are available upon request.
    It was me who created LabHSM (http://labhsm.com), a toolkit for advanced event-driven development in LabVIEW. It allows creating complex applications as a collection of active object type components that have uniform structure, but different purposes. Each component runs independently providing services to other components and exchanging data via standardized queued messages. The resulting code has the same structure and looks similar regardless of specific functionality. It is easily readable and modifiable by developers other than the author. LabHSM implements the powerful paradigm of hierarchical state machines (Harel/UML statecharts) and has a separate specialized editor for defining component behavior on a higher level of abstraction.
    I also have done several projects involving HMI, digital I/O, motion control, communication between a PC and PLC's, using Visual Basic, Think & Do, Steeplechase and other software tools.
    My experience and background enable me to master any software development tool quickly, making me a perfect candidate who can always keep up with the ever-changing world of computer technologies.
    I am looking forward to discussing this opportunity with you.
    Sincerely,
    Stanislav Rumega
    The web version of my resume is available at:
    http://styrum.bizhat.com
    Attachments:
    Stanislav Rumega Resume 02-2005.zip ‏26 KB

    Symtx is currently hiring the following position. Please contact me if interested.
    Amy Cable
    Symtx, HR
    [email protected]
    Symtx, the leading supplier of functional test equipment, hires the brightest & most talented engineering professionals to design & manufacture complex custom electronic systems for advanced technology leaders in the defense, aerospace, communications, medical, transportation & semiconductor industries. Symtx’ challenging & dynamic work environment seeks to fill openings with highly qualified electronic engineering design professionals.The ideal candidate will be responsible for defining the requirements, software design and code development, and integration of test control software for custom functional test systems. Candidate should be familiar with data acquisition concepts, instrument control, complex test, measurement and calibration algorithm development and definition and implementation of control interfaces to hardware. Prefer familiarity with instrument control via GPIB, VXI, MXI, RS-232 desirable. Requires BS/MSEE and 3 -7+ yrs of experience in one or several of the following test applications in a Windows NT/2000/XP environment using Labwindows CVI, TestStand, Labview, Visual Basic, C++ and knowledge of RF systems is a plus. Job responsibilities will include software design, development, integration, team leadership, and interfacing with customers( includes PDR’s & CDR’s).

  • Here maps under SherPoint 2013

    Hi all,
    I have a problem with imputing bellow code in SP2013 embed code option:
               <script type="text/javascript"
                    src="http://js.api.here.com/se/2.5.3/jsl.js" charset="utf-8">
                </script>
                <div id="map" style="z-index: -1; left:0px; top:0px; width: 50%; height: 50%; ;"></div>
                <script type="text/javascript">
                   nokia.Settings.set("app_id", "nokia dev key");
                   nokia.Settings.set("app_code", "nokia dev key");
                   var map = new nokia.maps.map.Display(document.getElementById("map"),
                     'components': [
                          new nokia.maps.map.component.Behavior(),
                         new nokia.maps.map.component.ZoomBar()],
                        'zoomLevel': 16,       
                        'center':[0.00, 0.00]  
                </script>
    Could you please help me on this case ? (I can't use SP developer and I am running out of ideas)
    Thanks !

    Hi,
    According to your post, my understanding is that you want to use Here maps in SharePoint 2013.
    We can create a visual web part using visual studio 2012/2013, then add the following code into the web part.
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="X-UA-Compatible" content="IE=7; IE=EmulateIE9; IE=10" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>Nokia Maps API for JavaScript Example</title>
    <meta name="description" content="Search by category"/>
    <script type="text/javascript" charset="UTF-8" src="http://js.cit.api.here.com/se/2.5.3/jsl.js?with=all"></script>
    </head>
    <body>
    <div id="map" style="width:540px; height:334px;"></div>
    <script type="text/javascript" id="exampleJsSource">
    /* Setup authentication app_id and app_code
    nokia.Settings.set("app_id", "YOUR APP ID");
    nokia.Settings.set("app_code", "YOUR APP CODE");
    // Use staging environment (remove the line for production environment)
    nokia.Settings.set("serviceMode", "cit");
    // Get the DOM node to which we will append the map
    var mapContainer = document.getElementById("map");
    // Create a map inside the map container DOM node
    var map = new nokia.maps.map.Display(mapContainer, {
    // Initial center and zoom level of the map
    center: [52.51, 13.4],
    zoomLevel: 10,
    components: [
    new nokia.maps.map.component.Behavior(),
    new nokia.maps.map.component.ZoomBar()
    </script>
    </body>
    </html>
    We can also add the code above into a Content Editor Web Part.
    More information:
    http://dannyjessee.com/blog/index.php/2013/12/create-a-custom-sharepoint-2013-geolocation-field-using-nokia-here-maps/
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • How to get rozetta with lion?

    how to get rozetta with lion? I have put all of Snow Leopard on an external drive (checked to include Rozetta) but when I try to use it to start up my computer with Lion installed - it calls this external drive "Recover Drive" and it asks me to selec

  • Adobe Interactive Forms without Web Dynpro and ACF???

    Hi All, we would like to build an interactive forms solution based on the Adobe software integrated into WAS. However, the customer requires a true thin client application with no additional installation on the client. Integrating Adobe Interactive F

  • 14 years-old no payment method?

    i'm 14 and i don't have any of the payment methods in my apple id form, i want to download free apps but i can't since i can't create my apple id help

  • Decimal Printing in Smartforms

    Hi, I have a Qty field LBBIL_IT_GEN-FKIMG in the Invoice Layout.In the dictionary it has 3 decimals but in printing i want only 1 decimal. I tried Using &GS_IT_GEN-FKIMG(.1)& which referrs to LBBIL_IT_GEN-FKIMG.But is giving as wrong formating option

  • OREDRS IDoc User exit

    Hi Experts, we have a the below requirement for creating sales order using ORDERS05 IDoc If   ../E1EDP01/E1EDP19/QUALF = 002         If u2026/E1EDP01/E1EDP19/IDTNR =  'DEL-0123456'         Then           Drop the respective.../E1EDP01 segment Please