Dynamically creating components on the page gives problems

Hello,
we are creating a number of custom UI components dynamically on the page, depending on informations we only know at runtime (for some reasons, we could not just create them statically and hide and show them dynamically- please don't suggest doing this way for now).
The custom components are derived from ADF components, this way, as an example:
public class MyRichInputText extends RichInputText implements Serializable {
}They are successfully created dynamically in a bean associated with a button and used for the first time. That is, once wle navigate the page, for example via tabs or fragments, we always get a "Session timeout" exception. Below is the log from the server:
<Error> <org.apache.myfaces.trinidadinternal.application.StateManagerImpl> <BEA-000000>
java.lang.InstantiationException: mycompany.lib.MyRichInputText
     at java.lang.Class.newInstance0(Class.java:340)
<Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> *<ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6*
java.lang.NullPointerException
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:978)
javax.faces.application.ViewExpiredException: viewId:/myPage - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
Also, just to your knowledge, we use javax.faces.STATE_SAVING_METHOD="client" in web.xml. Note that MyRichInputText is already Serializable.
Do you have any solution?

Hello Frank,
thanks for the quick answer. Below is the full stack. I think it will be difficult to quickly change all the code by building RichInputText directly. I'll do my best to be back to you with all the necessary informations as soon as possible. However, for now, if you have any possible idea by just look at the following more accurate log, let me know:
<Error> <org.apache.myfaces.trinidadinternal.application.StateManagerImpl> <BEA-000000> <
java.lang.InstantiationException: mycompany.lib.MyRichInputText
     at java.lang.Class.newInstance0(Class.java:340)
     at java.lang.Class.newInstance(Class.java:308)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:86)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:95)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.Structure.createComponent(Structure.java:107)
     at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:697)
     at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
     at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.restoreView(ViewDeclarationLanguageFactoryImpl.java:334)
     at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
     at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288)
     at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:245)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:689)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
     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:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)
     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:57)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     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:57)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     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)
>
<Mar 28, 2012 12:28:46 PM CEST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
java.lang.NullPointerException
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:978)
     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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     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)
>
javax.faces.application.ViewExpiredException: viewId:/myPage - ADF_FACES-30107:The view state of the page has expired. Reload the page.
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:718)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:341)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
     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:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:469)
     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:57)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     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:57)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     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)

Similar Messages

  • Dynamically created components in a gridpanel and rendering

    Problem: I have a gridpanel in a PORTLET that I fill with components dynamically. I do it in the init() method. After submitting the page, the components are created from scratch in the init() (I write their values in the log and everything is OK).
    Then the page should be rerendered. But it is not. No matter what I do, the page is rendered as it looked like for the first time.
    If I navigate to another page and then back, the page is rendered OK.
    How to avoid that? I really need help with this, because I need to create a custom tree-like structure with textfields and buttons. The standard tree component is of no use (it doesn't work in portlets anyway).

    Try to move the code to the getGridPanel(), instead of in the init()

  • How to set/get value in dynamically created components?

    I need to create dynamically form based on definition written in database.
    I created an empty panelGreed in my jsf page
    <h:panelGrid columns="2" id="parseg"
    binding="#{ParsegBean.uiKatparam}">
    </h:panelGrid>I can�t use dataTable, because my form contains various component types (SelectOneMenu, OutputText, and InputText).
    In my bean I create components dynamically:
    Private UIPanel uiKatparam = null;
    Iterator componentIt = myComponentList.iterator()
    while(componentIt.hasNext()){
         MyComponent myComponent = (MyComponent)  componentIt.next();
         HtmlOutputText prompt = new HtmlOutputText();
         prompt.setValue(myComponent.getPrompt());
         prompt.setId(myComponent.getPromptId());
         uiKatparam.getChildren().add(prompt);     
         switch (myComponent.type) {
         case 1: //InputText
              HtmlInputText iText = new HtmlInputText();
              iText.setId(myComponent.getId());
              iText.setValue(myComponent.getDefaultValue());
              uiKatparam.getChildren().add(iText);
              break;
         case 2: //SelectOneMenu
              HtmlSelectOneMenu selectOneMenu = new HtmlSelectOneMenu();
    // �
              uiKatparam.getChildren().add(select);
              break;
         default:
              break;
    }When I try to get values in my Action:
    Iterator it = myBean.getUiKatparam().getChildren().iterator();
    while (it.hasNext()) {
    Object ob = it.next();
    if (ob.getClass().getName().matches(".*HtlmInputText")) {
    HtmlInputText t = (HtmlIputText) ob;
         String id = t.getId();
         String value = (String) t.getValue();
    //�
    //�
    }and value is still equal initial value
    How can I get velue entered to my InputText created dynamically?
    Michal

    I solved my problem creating UIData with dynamically added and dynamically rendered components (in each row is rendered another component).

  • WPC - Dynamic List - Link to the page of an wpc_article

    Dear all,
    Im working with dynamic Lists to show a list view of my wpc_articles.
    In the default settings the elements of the list have a link directly to an article. Therefor the property "contentLink" is used.
    I wanna change this link to the page where an article is placed. So Im wondering:
    Is there anyway to get the path of a page from the article instance e.g. a property like "parentString" or something like that?!
    Thanks in advance.
    Greetings,

    Thanks for the answer.
    Guess i have to put everything I need in the article element so i do not need to show the page.
    Another question occured to me while I was doing that:
    When I navigate from a Dynamic List to an Element, it should be possible to navigate back and forth with the buttons I created using the history api.
    Instead of the "<a href..." in the default dynamic list I created an onclick event. Right now im trying to navigate to the article with its guid and the method "EPCM.doNavigate(...)" but until know i haven't been able to get it done.
    Is it even possible to reach that goal and in case it is am I on the right track or is there a better approach available?!
    Thanks in advance...
    Greetings,

  • Creating restaurant menu in pages - alignment problems

    Hi,
    I'm trying to create a draft takeaway menu in pages, but as you can see from the image I'm having problems aligning the prices correctly. The left-side of the text is fine, it's only after I put full stops in leading to the prices where I'm having problems. I want all the prices to be neat and tidy, not the way it is now i.e. some prices scattered to the left, and some scattered towards the right.
    Here's what I've tried:
    1. Align left
    2. Aligh right
    3. Align center
    4. Align full
    5. More full stops, (still can't get it perfect)
    Does anyone know how to fix this problem? I did a search through the forums, but the closest I found was something to do with iWeb, which I don't think applies to Page 09.
    Regards,

    In Inspector > Text > Tabs > Tab Stops
    Click on Leader Pop-up and choose ........... as the leader.
    Regards,
    Ian.

  • Flash Builder will not let me drag components to the page

    Just like the heading says.
    I set up a new mobile projec5t and tried to follow an instruction video on the net and it won't let me drag any component to the .mxml page.

    So if you are on the second page, and you attempt to slide to the left back to the first, it stays on the second?
    It works sliding from the first to the second, to the third though?

  • Dynamically created combo box

    I am using ActionScript to create component instances for use
    within the
    Accordion component. One of those ia a ComboBox where one can
    select an
    entry from a list of twenty items. The ComboBox works
    properly in the Flash
    IDE but not when uploaded to the site. All other dynamically
    created
    components work fine. I should also mention that the SWF is
    loaded into a
    maste SWF as a movie clip using the loadMovie statement. That
    doesn't seem
    to be the problem sice most components work.
    Anyone have any thoughts?

    It was done this way from the start.
    I should clarify. The combobox appears correctly but will not
    function
    (i.e., it does not open to reveal the choices.
    Thanks anyway.
    Greg

  • Error creating a CA or Page

    Hi all,
    I was creating a bunch of content areas and suddenly I've got the following error message:
    An unexpected error has occurred (WWS-32100)
    ORA-1: User-Defined Exception (WWC-36000)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    An unexpected error occurred: ORA-00001: unique constraint (PORTAL30.WWNLS_STRI_PK) violated (WWC-51004)
    Error while creating layout for the page. (WWC-44283)
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    An unexpected error occurred: ORA-00001: unique constraint (PORTAL30.WWNLS_STRI_PK) violated (WWC-51004)
    I have no idea what could cause this problem. Please I need help on this.
    TIA,
    Arturo

    i think at this time you have to create  a new group.
    here is information, how important this group is:
    Do not remove all authenticated users from this group. Because Master Page Gallery and Style Library are shared across all sites in the
    site collection and must be accessible to all users of all sites. If you remove all authenticated users from the group, anyone with this permission level on a subsite will not be able to render the site. SharePoint will not automatically add or remove users
    of subsites to or from this group as needed.
    http://technet.microsoft.com/en-us/library/cc262690.aspx#section1
    to recreate the group .
    a new "All Users" group can be created. When you go to add users, there's a link to include all authentcated
    users. Click that link and click OK.
    once the group is created...add newly created group into "Master pages and page layouts" and Style
    Library( Themes) as reader...
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Passing variables from a dynamically created textinput in AS2?

    Hey everyone,
    I have a contact form in my flash file with name/email/message fields which a user can fill out and then click send, which passes these to a php script which then emails the information that they entered. This works fine when the text inputs are manually placed on the stage and all the information is passed to the php script and emailed to me. I am just updating it so the textinputs are created via AS2 so that I can style them more easily etc. This is fine however when created via script they no longer get passed to my php file. I am creating the textinput using the following code (which works fine):
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.bold = false;
    my_fmt.font = "Arial";
    my_fmt.color = inputcol;
    contact_form.createTextField("contact_name", getNextHighestDepth(),112.6, 27, 174, 20);
    contact_form.contact_name.wordWrap = true;
    contact_form.contact_name.multiline = false;
    contact_form.contact_name.border = true;
    contact_form.contact_name.borderColor = inputcol;
    contact_form.contact_name.type = "input";
    contact_form.contact_name.setNewTextFormat(my_fmt);
    contact_form.contact_name.text = "";
    FYI I am creating this outside the movieclip containing the form (called contact_form) and then adding it into that mc specifically because I thought this may be necessary as doing it within the mc itself (using this.createTextField....) didn't work, however both seem to have the same effect.
    I am then doing various checks on the input box contents (to make sure it's not empty etc), this also works fine and gives me the relevant error if it is empty so it's accessing it correctly. I then use the following code to submit the variables and check_status checks the success/failure of the php script and alerts the user accordingly:
    loadVariables("http://www.makeaportfolio.com/send_email.php?flashmo=" + random(1000), this, "POST");
    message_status.text = "sending....";
    var interval_id = setInterval(check_status, 400);
    This works fine however does not pick up the value of the dynamically created text input (however does pick up all the text inputs that are manually added to the stage). I am rather confused as to why it's not picking this up and am not sure how I set it to do so, i would be immensely grateful if someone could point me in the right direction?
    Thanks so much for your help as ever,
    Dave

    Hi kglad,
    I'm sorry but i still don't understand what you mean? They are all text inputs which are defined in AS2 (you can see the code in my first post), the values (inputtext.text) are surely set by the user when they enter information into the input boxes. Accessing these works fine within my flash file, they just don't get passed to my php file. I got round this by manually creating duplicate textinputs on the stage for each dynamically created textinput which are all hidden, then assigning the values of the dynamically created inputs to the manually created inputs before loading the php file. This works fine as it picks up the manually placed inputs as local. I assume it's something to do with the scope of the dynamically created inputs but I cannot work out how you would ensure they would be picked up as even when you explicitly create them within the relevant mc it doesn't pick them up. As I say i've managed to get it working in a rather convoluted way which is good but would be most interested to understand why the other method doesn't work.
    Thanks so much for your help,
    Dave

  • Dynamically created traverse image

    Hello,
    I was given the task of recreating this report that our software vendor hard-coded into our system.  In it there are simple floor plan images created dynamically from a traverse string, which may look like the following:
    BAS2003=N42E14S11E12 FOP2003= N11W12S11E12$ N11E23S45W21 FGR2003=S20E21N20W21$ N3W9N2W6 FOP2003=S4E6N4W6$ S2W13$.
    Explanation:
    BAS= Basement
    FOP= Front Open Porch
    FGR= Full Garage
    I'm not sure how much anyone knows about these building traverses, but the numbers represent a measurement of how long each wall is, the letter directly preceding each number is the direction (ie the basement has a wall 42 feet long, running "north" (or bottom-to-top in the graphic), which connects to a wall 14 feet long running east, etc)
    I already asked around and these images are NOT stored in our database, they are dynamically created based on the string.  They are simple images, with nothing more than accurately proportioned, colored polygons with their accompanying measurement labels.  These images DO appear in the reports that are hard-coded, so I'm assuming this CAN be done somehow. 
    Any help is appreciated.
    /holly

    Holly,
    Do you know if the original report was created in CR? Extracting the wall lengths shouldn't be too much a problem using formulas. The real problem is going to the the dynamic rendering of shapes. You have to bear in mind that CR doesn't have this ability.
    There is a Box object but you can't adjust the box's height with a formula (only the width can be adjusted this way).
    Odds are you are trying to replicate a report that is the result of some custom programming. If it was done in CR, I'd be very interested in seeing how it was done.
    Jason

  • Web garden - first time the page loads only one chart appears

    I have a page with 2 charts in a web garden(it's a sharepoint application).  The charts are created programmatically in the Page Load ethod of a custom webpart.  Originally we had issues with charts appearing and disappearing but I have changed
    the config setting to the following and both charts appear most of the time:
       <add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\inetpub\wwwroot\wss\VirtualDirectories\Myweb\uploadertemp\;" />
    The problem I'm having is that the first time a user views the page only one of the charts appears.  If i navigate away and return to the page both charts appear.  Is there and issue with my config settings that is causing this behaviour?
    Thanks
    Karen 

    The answer to this (after months of toying with settings and permissions) is not to user the chart control in a web garden.  I have seen the same issue multiple times on-line, with no concrete solution offered .
    My workaround is to save the chart to a memory stream and write it to the page as an image, not as a chart control:
    Chart chart = new Chart();
    //Add data and chart settings here........
    using (var chartStream = new MemoryStream())
    chart.SaveImage(chartStream, ChartImageFormat.Png);
    System.Web.UI.WebControls.Image chartImage =
    new System.Web.UI.WebControls.Image();
    chartImage.ImageUrl =
    "data:image/png;base64," + Convert.ToBase64String(chartImage.GetBuffer());
    chartParentControl.Controls.Add(chartImage);

  • How-to handle dynamically created AppModules with JUApplication, JUMetaobjectManager

    Hi,
    I've got a JClient App, where I want to dynamically create AppModules in the Context of the RootAppModule.
    How can I best do this??? The problem is that I can't really use the JUMetaObjectManager.createApplicationObject method and hence I can't use PanelBindings.....well I can't use the JClient Framework.
    Is there a way to elegantly manage this issue??
    Every solution would be very appreciated! thanks.

    Hi, first off, no need to determine what has been checked or not. If the checkbox is checked, on the post, the value will be submitted as part of the request. If the checkbox is not checked, it will not be submitted (it's value will be null). Depending on what you need, I have approached this a number of different ways. One way is to name all checkboxes the same name. If you need to distinguish between two rows in the form, then in the value field for the checkbox, use some type of distinguishing factor, for example,
    <input type=checkbox name=chkName value="1:abc">
    <input type=checkbox name=chkName value="1:def">
    Now, you only have to make one call on the Servlet/JSP receiving the form post, request.getParameterValues("chkName") which will return an array of the non-null Strings that were checked.

  • How to make the page disabled or unvisible with specific password ?

    I am student. I need your help in my assignment.
    I have 2 main page called = call problem and call report. The call problem page only can access by operator and call report page only can access by manager with the specific paasword.
    Did any body know how to disabled or invisible the page with the specific password ? Or have other method to do that ?
    Thanks.

    Hello,
    You can create a Authorization Scheme 'operator' and 'manager'.
    And then you attach the 'operator' and 'manager' authorization schemes to the pages 'call problem' and 'call report' respectively.
    Regards,
    G.

  • Fill The Page with ONE Picture

    I would like to figure a way to fill the whole page with just one picture for my Home Page other than the various page links at the top. iWeb will only allow me to size the pic to about 50% of the page give or take. Does anyone know how I can get it to fill the entire screen?

    Create and publish your page.
    Open the page in a HTML Editor of your choice and paste this line at the top of the <body>.
    +<object width="100%" height="100%" data="url/to/your/picture.jpg" type="image/jpeg" style="position: fixed; top: 0px; left: 0px;"></object>+
    The image will scale when you resize the browser window.
    To get the idea, see this page:
    http://web.mac.com/wyodor/helloworld/helloworld.html
    It's not made in iWeb, but it will work there too.

  • How to set a value to a dynamically created node/attribute?

    Hi,
    I dynamically created attributes using the following method,
    IWDNodeInfo cbOptions = wdContext.getNodeInfo().addChild("cbOpt"+count, null, true, true, false, false, false, true, null, null, null);
    cbOptions.addAttribute("opt"+critEle.getQuest_Critid(), "ddic:com.sap.dictionary.string");
    How do i assign a  value to it now, since the node/attribute cannot be accessed via wdcontext?
    On a side note, it seems really troublesome if i need to use a checkbox grp(s) dynamically. I actually need to dynamically create a seperate node + attribute for each checkbox grp i have. Is there any better way to do this?
    Thanx in advance

    Hi
    Steps:
    1) Create the  action click is done statically (you cannot create action dyanmically)
    2) binding the  action click to checkbox dynamically 
    code
    public static void wdDoModifyView(IPrivateDynamicProgrammingView wdThis, IPrivateDynamicProgrammingView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         if(firstTime){
                      IWDTransparentContainer con=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
              IWDCheckBox checkBox=(IWDCheckBox)view.createElement(IWDCheckBox.class,"ck");
              IWDAction act=wdThis.wdCreateAction(IPrivateDynamicProgrammingView.WDActionEventHandler.CLICK,"");
              checkBox.setOnToggle(act);
              con.addChild(checkBox);
        //@@end
    Thanks and Regards,
    Arun

Maybe you are looking for

  • Can software be downgraded?  New version won't allow iPod to be played through my speakers.

    I'm not sure what version iOS my 4th Gen iPod Touch came with, but since upgrading to 4.3.1 it won't play through my Logitech Pure-Fi speakers.  Upgrading to 4.3.3 doesn't offer any features I need, so I'd liek to hear from someone who could step me

  • After tryed all of the suggested website still looks wrong

    Youtube looks like this on Firefox latest version. [http://img9.imageshack.us/img9/5070/image1ik.jpg link to picture] http://img9.imageshack.us/img9/5070/image1ik.jpg On internet explorer: [http://img269.imageshack.us/img269/8207/image2uv.jpg link to

  • Which Macbook Pro should I buy: Refurbished Oct 2012 13.3" model with Retina display or the 2013 version?

    I am a average user, watch a lot of movies, play music, word processing, lots of internet browsing etc. I am currently considering the following: Refurbished 13.3-inch MacBook Pro 2.6GHz Dual-core Intel i5 with Retina Display Originally released Octo

  • Missing sound at the begining of chapter

    I built a blu-ray disk with the following flowsheet (this flowsheet is OK according the "check project" feature) : After the disk burning (with Nero 12 Burning Rom, not with Encore CS 6 which generates a well known error not fixed by Adobe), the "rea

  • Re: Distribution

    you cannot distribute Flash Lite 2.1. you can create a cab file installer for your swf and other assets. The end user will need to install your cab file and the Flash LIte 2.1 player in seperate steps. You might "tune in" to Part 3: Creating your own