Declarative component doesn't update the model

Hi,
I have a simple declarative component which has an attribute called 'val' and a input text field which uses the 'val' as its value like "#{attrs.val}"
I use this declarative component within a page and i set the value 'val' attribute to something like "#{bindings.val.inputValue}" where val is an attribute from a bean data control.
What i observe is that if i change the value in the UI the corresponding attribute in the data control is not affected.
However this happens in the case of a normal input text field.
Is it that declarative component are meant for only 'reading' in and not 'writing' out?
Please let me know if there is a way to update the model with the value changes within a declarative component.
Cheers,
Raj

Hi Frank,
I want to avoid the managed bean here.
For a simple text field the data in the data control gets updated without using a managed bean.
I would expect the same for the declarative component too.
Please let me know if i am missing something here.
Cheers,
Raj

Similar Messages

  • How do i skip process validations and still update the model?

    how do i skip process validations and still update the model? This has got to be a bug or a really huge design flaw. And no I don't want to using 'binding' to bind to every component on my form just so I can set its value. I just want to use value binding.
    Perhaps there should be a FacesContext.getCurrentInstance().updateModel() method?

    how about if I want clear the form or load a new model:
    <h:commandButton action="#{customer.clear_action}" immediate="true" value="clear" />
    <h:commandButton action="#{customer.load_action}" immediate="true" value="load" />
    public void clear_action() {
    Customer c = new Customer();
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();
    public void load_action() {
    Customer c = new Customer(1000);
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();

  • Does changes in ViewRowImpl update the model?

    Hi, I have two related application modules A and B.
    Using A, I get a ViewRowImpl from UI using iterator binding and getCurrentRow() method and update some data.
    I do not post changes in database.
    In B, I tried to get an instance of the same ViewRowImpl using the findByKey() method. The data contained in ViewRowImpl does not contain the changes happened earlier in A.
    I also tried to relate A and B and get an instance of A from B using a getter from AppModuleImpl but again the ViewRowImpl got using findByKey() does not contain changes?
    Why does changes in a ViewRowImpl doesn't update the Data Model?
    I also tried findInCacheByKey() method but nothing changed
    Any comment will be helpful.
    Thanks.
    Edited by: IliasS on 2 Ιαν 2012 2:35 πμ

    Even if making B nested in A i didn't managed to get a ViewRowImpl with updated fields.
    I tried to use the B's service methods directly from UI through pageDef or
    indirectly calling a wrapper method in A's appModuleImpl that uses B's method.
    In A's service method I get the updated VOImpl,
    in B's service method I get an outdated VOImpl.
    Really I can't imagine an EJB container to handle object relational model in such a problematic way....

  • Updating the model via AJAX

    Victor,
    I find Tor's and Greg M's bpcatalog documents describing AJAX and JSF useful. However they do not address 'updates'.
    Updating the model via an AJAX request that is handled by the JSF framework as suggested by bccatalog examples is a challenge.
    I am not sure if it is best to use the "Update Model" phase of the life cycle or just cheat and put he update code in the tags render response phase. Also, it appears that the "update model Phase" may not be included in the lifecycle as the ajax request is not really a JSF "postback".
    Does anyone know what tradeoff result in doing an update in the Render Response Phase?
    Cheers,
    Godfrey

    I've tried updating the model using AJAX and a RenderPhaseListener, but never succeeded. I have a simple CRUD form with two selectOneMenu components, some text boxes, and a submit button. When a selection is made in the first select list, an AJAX call is made that populates the second select list. Once that happens, the second select list contains a different list of <f:selectItems> in the DOM than it does in the underlying component model. If the array of SelectItems that are used to populate the second select list is in a managed bean, when the form is submitted, the second select list fails validation (Validation Failed: Not a Valid Value) because the selected item exists in the DOM, but not in the SelectItem array in the managed bean. To work around this, I placed the SelectItem array in the session, instead of in the managed bean. When the AJAX call is made, the backend Java code updates the SelectItem array in the session. This prevents the model and the DOM from getting out of synch. I hate putting anything in the session, because sessions tend to die, but this is the best workaround I could come up with. I'm open for any better solutions. Oh, by the way, if I use AJAX enabled select lists on a JSF page in a JSF 1.0 web app, the Invoke Application phase is mysteriously skipped when the form is submitted, which prevents the form contents from being saved. If I use JSF 1.1_01, the form saves like a charm. You gotta love being on the bleeding edge.

  • My iPad 2 wifi keeps rebooting , and it doesn't update the battery status . Can anyone help me with this one?

    My Ipad 2 keeps rebooting and it doesn't update the battery status anymore.
    Here is the error
    Incident Identifier: D729F1DF-6960-4847-A6C3-75351A67AE9B
    CrashReporter Key:   c7e1a298a42fc9bbb41b4ed79ff29a1655de12a6
    Hardware Model:      iPad2,1
    Date/Time:       2013-02-16 02:58:06.115 -0800
    OS Version:      iOS 6.0 (10A403)
    CRC ERR!
    I had this problem for quiet sometime now, and I would really appreciate your help. THANKS

    I did try restoring the ipad a couple of times and it didn't do the trick. I also tried updating the firmware.
    The only thing that worked for a while when the ipad - on it's own - rebooted itself into a black screen with white text and automatically fixed the issue. It worked perfectly for a couple of months but it came back after I forgot to charge the ipad , does anyone know how I can force the ipad into that screen again ?

  • ISR ADOBE Workflow Scenario - Data doesn't update the Backend

    Hi,
    I am currently working on ISR-LOA Scenario. I have made all the ISR-Form-Process configurations and linked with my workflow. I event tested my process in the backend and portal. The process goes end to end. But does not update the infotyptes. No error was reported either in Portal or Backend. I was able to complete the termination process by copying the SAP standard scenario (STN1) and the workflow task WS17900391. But this LOA is a custom scenario. I dont see any difference? But i am really puzzled about this.
    As a simple process My workflow contains Task TS17900101 - Approve Form task and a mail step. According to, http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/f280b91e5132c3e10000000a1553f6/frameset.htm
    the approve form step doesn't update the backend directly. I also tried task TS17900102 and TS17900108 (Save Data - Background Processing). I also applied authorizations P_ASRCONT and P_ORGIN to WF-Batch user. Please give me your suggestions.
    I was continuing the completed thread Re: Events Definition in Adobe Interactive Form - Help required, but i am opening this new thread.
    Thanks,
    Peterson.

    Hi
             I am facing some strange problem, in my project we are using the new HCM concept using Process Object and not the Notification type,
          I have take standard scenario SBC1 - child birth, done the config and checked the form and also process its not giving any error.
        But when i tried test process execution "HRASR_TEST_PROCESS", getts error message " Work Item Not Found; Workflow Not Started" and "Process Object Not Created",
    when i check the log in SLG1 tcode for Object: HRASR, Subobject: POBJ. "Case 46CC2D7604BB275EE1000000995893A9 does not exist. No administration authorization in Change and Transport System", this error message only consfuse me more.
        Can you help me on this, if you required i will send the screen shot of the error message

  • Itunes doesn´t update the media information on my mp3 files

    I hjust moved all my media library to a "My book" external drive. I had to rebuild my entire library (throug shift + init itunes) but now I tunes is neither updating my library nor the multimedia information of my pm3 files. For example when i update the albun info, I tunes would change the file from it´s location and create a folder with the new album name inside the folder with the artist name. I have already gone to preferences and in the advanced tab activated the option "Keep ITunes music folder organized". Can somebody help me?

    doesn't update the files or delete them
    First off it is not supposed to delete them, just
    because you delete them from iTunes. I am not sure
    it created new folder names after the initial
    download either.
    Is the "iTunes keep my library organized" option in
    the preferences menu checked?
    Whenever i deleted a file form my library Itunes would ask if i wanted to delete the file from the library or also from the hard disk. now it doesn´t do it and it just remove the file from the itunes library.
    The option is checked.

  • How to  not update the model value whe, multiple back-end validation failed

    Hello !
    I have a save button who perform in backend code multiple validations on some fields. The validations can be ok, if not, I show specific error messages in my page. It's working fine.
    The problem is that all the InputText I need to valid are value binded with value=#{backing.somepropery} to the model and when the code of the ActionEvent is called the model was already update.
    So the validation is useless, you see error message ok but I can't prevent action to be done.
    As the validation occurs only when I press a specific button I can't use custom validator.
    does someone have an idea to manage that ?
    Thank You.
    Dan.

    Thnaks for your repsonse but, it"s not working because the values are bound so the modifications are already done.
    I'm sure that there is a way to do that.

  • How to update the model for a checkbox

    Hello,
    I have a series of check boxes. The first checkbox when checked, programmatically checks the others.
    The bidrectional binding of the UI and the model is done in the controller.
    However, when I dumped the model to the console I noticed that the actual visualized states of the checkboxes are not reflected in the console.
    I have been searching for a refresh() method or some mechanism to to the update but failed so far.
    Any help will be appreciated.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • Struts2 - ScopedModelDriven - Unable to update the model in session

    Hi,
    I have a problem implementing ScopedModelDriven.
    I Have Model / User Java Bean object in action class.
    I am trying to implement concept of same model object being used for 3 JSP pages with PREVIOUS and NEXT button navigation.Data to be updated in Model object for every page navigation and to be saved in session.
    It is found the latest data is found from value stack when jsp page is navigated to next page, but not updated in Model object either in request or session scope I am sure I have configured necessary interceptors properly.
    This could be easily done in struts1 by setting the Actionform in session scope.Any advice or thought?.
    Struts.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
    <struts>
    <constant name="struts.enable.DynamicMethodInvocation" value="false" />
    <constant name="struts.devMode" value="false" />
    <package name="myPackage" namespace="/" extends="struts-default">
    <interceptors>
    <interceptor name="myMultipleForm"
    class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor">
    <param name="scope">session</param>
    <param name="name">user</param>
    <param name="className">com.ut.p.s2.beans.User</param>
    </interceptor>
    </interceptors>
    <global-results>
    <result name="error">/jsp/Error.jsp</result>
    <result name="invalid.token">/jsp/Error.jsp</result>
    <result name="login">/jsp/login.jsp</result>
    </global-results>
    <global-exception-mappings>
    <exception-mapping
    result="error"
    exception="java.lang.Throwable"/>
    </global-exception-mappings>
    <action name="ShowScopedModel" class="com.ut.p.s2.actions.ServletTestAction" >
    <interceptor-ref name="servletConfig"/
    <interceptor-ref name="app_common"/>
    <result name="model_test_page">/jsp/smodelTest.jsp</result>
    <result>/jsp/smodelTest.jsp</result>
    </action>
    <action name="scopedModelAction_*" class="com.ut.p.s2.actions.ScopedModelDrivenAction" method="{1}">
    <interceptor-ref name="basicStack"/>
    <interceptor-ref name="defaultStack" />
    <interceptor-ref name="prepare"/>
    <interceptor-ref name="debugging"/>
    <interceptor-ref name="scopedModelDriven">
    <param name="scope">session</param>
    <param name="name">user</param>
    <param name="className">com.ut.p.s2.beans.User</param>
    </interceptor-ref>
    <interceptor-ref name="params"/>
    <interceptor-ref name="conversionError"/>
    <interceptor-ref name="workflow"/>
    <result name="input">/jsp/smodelTest.jsp</result>
    <result>/jsp/smodelResult.jsp</result>
    <result name="model_test_page">/jsp/smodelTest.jsp</result>
    <result name="model_test_page2">/jsp/smodelTest2.jsp</result>
    <result name="model_test_page3">/jsp/smodelTest3.jsp</result>
    <result name="model_result_page">/jsp/smodelResult.jsp</result>
    </action>
    </package>
    </struts>
    Action:
    package com.ut.p.s2.actions;
    import java.util.ArrayList;
    import com.ut.p.s2.beans.Books;
    import com.ut.p.s2.beans.Dept;
    import com.ut.p.s2.beans.User;
    import com.opensymphony.xwork2.ActionSupport;
    import com.opensymphony.xwork2.Preparable;
    import com.opensymphony.xwork2.interceptor.ScopedModelDriven;
    public class ScopedModelDrivenAction extends ActionSupport implements ScopedModelDriven,Preparable {
    private User user =null;
    private static final long serialVersionUID = 1271130427666936592L;
    private String scope = null;
    public void prepare() throws Exception {
    user = new User();
    ArrayList arlList=new ArrayList();
    Books b1 = new Books("Java",100);
    Books b2 = new Books("VB",200);
    arlList.add(b1);
    arlList.add(b2);
    Dept dept = new Dept();
    dept.setDeptNo("100");
    dept.setDeptName("Mechanical");
    user.setDept(dept);
    user.setArlList(arlList);
    public String getScopeKey() {
    return scope;
    public void setModel(Object arg0) {
    this.user = (User) arg0;
    public void setScopeKey(String arg0) {
    scope = arg0;
    public Object getModel() {
    return user;
    public User getUser() {
    return user;
    public void setUser(User user) {
    this.user = user;
    public String execute() {
    System.out.println("execute()........."+user);
    return INPUT;
    public String input() throws Exception {
    System.out.println("input()........."+user);
    return SUCCESS;
    public String save() {
    System.out.println("save()........."+user);
    return "model_result_page";
    public String page1() {
    System.out.println("page1()........."+user);
    System.out.println("page1()....scope....."+scope);
    return "model_test_page";
    public String page2() {
    System.out.println("page2()........."+user);
    System.out.println("page2()....scope....."+scope);
    return "model_test_page2";
    public String page3() {
    System.out.println("page3()........."+user);
    System.out.println("page3()....scope....."+scope);
    return "model_test_page3";
    }//end class
    JSP Page:
    <%@ page errorPage="/jsp/Error.jsp" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@taglib uri="/struts-tags" prefix="s" %>
    <html>
    <head>
    <s:head theme="simple"/>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>User Details</title>
    </head>
    <body>
    <h2>User Details</h2>
    <hr>
    User Name :<s:property value="name" /><br>
    Age :<s:property value="age" /><br>
    Hobbies :<s:property value="hobby" /><br>
    Country :<s:property value="country" /><br>
    <TABLE border="1">
    <s:iterator value="arlList" status="row">
    <TR>
    <TD><s:textfield name="arlList[%{#row.index}].name" value="%{name}" /></TD>
    <TD> <s:text name="arlList[%{#row.index}].price" /></TD>
    </TR>
    </s:iterator>
    </TABLE>
    <h2>
    User Department :<s:property value="dept" /><br>
    <s:property value="dept.id" />
    <s:property value="dept.name" />
    <jsp:include page="Footer.jsp"/>
    </body>
    </html>

    I am very surprised that you aren't aware of the CODE tags after being registered here for 5 years. Now your whole post with raw and unformatted code is hard to read. Make use of CODE tags to post code. You can use the CODE button in the toolbar of the message editor to get them.
    With regard to your actual problem: as this is a Struts specific issue and you're here at a JSP forum, all I can do is to suggest you to use a forum/mailinglist devoted to Struts if you don't get sufficient support here after a while.

  • Tree table doesn't update the data for checkboxes properly

    Hi All,
    I'm trying to use tomahawk tree table component to render a tree column of items along with checkboxes in other columns. Note that all the other columns except tree column are generated dynamically inside backing bean and checkboxes too added to the column dynamically.
    All works fine until it comes to the valuechangelistener.Inside valuechangelistener if try to fetch the component id from the event, it doesn't return the correct id and instead always return the id that corresponds to the last node of tree.
    Has anyone successfully used tree table to display input components? or any workaround my problem would be much appreciated.
    The code where I'm adding my dynamic columns as well as checkboxes is as below.
    for (int i = 0; i < roleNames.size(); i++) {
    HtmlSimpleColumn column = new HtmlSimpleColumn();
    htmlTree.getChildren().add(column);
    // Create header
    HtmlOutputText header = new HtmlOutputText();
    header.setValue(roleNames.get(i));
    column.setHeader(header);
                   ValueExpression valueExpression = FacesContext
    .getCurrentInstance().getApplication()
    .getExpressionFactory()
    .createValueExpression(
    FacesContext.getCurrentInstance().getELContext(),
    "#{treeItem.name}",
    Object.class);
    // Create check box
    HtmlSelectBooleanCheckbox checkbox = new HtmlSelectBooleanCheckbox();
                   // add the hidden input elements
                   HtmlInputHidden input = new HtmlInputHidden();
                   HtmlInputHidden input1 = new HtmlInputHidden();
                   // Bind changeRolePresent method in to listen to the
    // role permission change
                   checkbox.setImmediate(true);
    Class<?>[] parms = new Class[] { ValueChangeEvent.class };
    System.out.println("Adding value change listener to permission grid");
    MethodExpression valueChangeListener = FacesContext
    .getCurrentInstance().getApplication()
    .getExpressionFactory().createMethodExpression(
    FacesContext.getCurrentInstance()
    .getELContext(),
    "#{customTreeBean.changeRolePermission}",
    String.class, parms);
    checkbox
    .addValueChangeListener(new MethodExpressionValueChangeListener(
    valueChangeListener));
    input.setValueExpression("value", valueExpression);
                        input1.setValue(roleNames.get(i));
                   valueExpression = app
    .getExpressionFactory()
    .createValueExpression(
    FacesContext.getCurrentInstance().getELContext(),
    "#{treeItem.roleDetailsList["+i+"].selectedRole}",
    Object.class);
    checkbox.setValueExpression("value", valueExpression);
                   //checkbox.setOnclick("selectAll(this)");
                   checkbox.getChildren().add(input);
                   checkbox.getChildren().add(input1);
    column.getChildren().add(checkbox);
    In above code there will be four columns added dynamically and for each column a checkbox component is being added here. Rest JSF takes care to create checkboxes for each row of tree. But one thing that I noticed while viewing source that JSF is creating duplicate names for checkboxes in a batch of four (So for say if I had 3 rows, every row of checkboxes had same set of four ID's assigned, like ID1, ID2, ID3, ID4)
    Please help,
    Umesh

    Hi!!!
    Could you see this document : http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=BUG&p_id=3970326
    It describes the exactly bug, but there isn't solution...

  • Doing new JTable doesn't "update" the table on the screen

    Hello
    I am writing a program in java/swing which has several "layers" of panels. In the constructor method of the frame (using JInternalFrame) I create a new instance of JTable, place it inside JScrollPane which is then inside JSplitPane and then place that as the frame content pane.
    In this program I run an sql command and the table is the result from that. Every time I execute a query it should update the table with the new results.
    What is bothering me now is that when I execute a query I call new JTable() on the variable that held the JTable() object created on startup. When I create a new instance of JTable() and place it in this variable nothing seems to happen. What I need is some kind of "refresh" button. I tried to construct the whole window again but then the program started behaving odd so I gave up that method.
    So, does anyone know how to do this?
    The code behind this class can be found at http://www.heilabu.net/kari/Session.java (little commented, sorry :/)
    You can see the table being constructed in the constructTable() method.
    If I am a bit unclear I apologize, don't know all these technical words in english ;)
    Thanks in advance!

    You really need to use a table model. The table you created is great and once that is in you shouldn't mess with it. Instead, when you create the table be sure to create it sort of like this:
    DefaultTableMode dtm = new DefaultTableModel(<various constrcutors use the one suited for you>);
    JTable table = new JTable(dtm);
    To set different data on the table set it in the table model and then refresh the table, also through the table model. This works perfectly every time.
    dtm.setDataVector(---) <- 2 methods, one for vectors and one for arrays...
    dtm.fireTableChanged();
    the folowing code shows exactly how to use it
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class RandomTable extends JFrame
    GridBagLayout gbl = new GridBagLayout();
    JPanel buttonPanel = new JPanel(gbl);
    JTable table = null;
    DefaultTableModel dtm = null;
    JScrollPane tableSP = new JScrollPane();
    JButton randomButton = new JButton("Randomize");
    Object[] headers = { "a", "b", "c", "d", "e" };
    public RandomTable()
    this.getContentPane().setLayout(gbl);
    randomButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent evt)
    dtm.setDataVector(randomStrings(), headers);
    this.dtm = new DefaultTableModel();
    this.table = new JTable(dtm);
    this.dtm.setDataVector(randomStrings(), headers);
    this.tableSP.getViewport().add(table);
    this.buttonPanel.add(randomButton, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    this.getContentPane().add(buttonPanel, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(3, 6, 6, 6), 0, 0));
    this.getContentPane().add(tableSP, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(6, 6, 3, 6), 0, 0));
    this.setSize(300, 300);
    public Object[][] randomStrings()
    Random rand = new Random();
    int rowCount = Math.abs(rand.nextInt())%50;
    int colCount = headers.length;
    Object[][] array = new Object[rowCount][colCount];
    for(int row = 0; row < rowCount; row++)
    for(int col = 0; col < colCount; col++)
    array[row][col] = Long.toString(Math.abs(rand.nextLong())%100);
    return array;
    public static void main(String[] args)
    RandomTable rt = new RandomTable();
    rt.setVisible(true);
    }

  • Button configure as Update but doesn't update the document

    Hi, 
    I have a form for a document library.  I also created an Approval workflow for it.  Once the requester completed and created a form, the WF then starts by emailing the approver to approve/reject the request.  I have 2 optional button for Deny
    or Approve.  Each have rules that sets the Request-Status field to show approved or deny.  There is a button that I configure as "Action: Update Form".  
    Well, I select the Approve/Reject button, then select the Update button, close the form and no data was updated.  I added back the Form's Save button in the top ribbon, using that Save button then saves the data.   The Update button on the ribbon
    also doesn't save the data.  
    What is wrong with my Update button and how to fix this?
    Thank you.

    Could you just map the buttons functionality to the Save action instead?  Same result if it works.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • SiteManager doesn't update the list of websites after creating a LiveCopy

    Hi,
    I am facing a strange issue with the SiteAdmin LiveCopy feature.
    I have created a LiveCopy website from a BluePrint site. The new livecopy site is created successfully with all the necessary rollout config changes. But for some reason the SiteAdmin refresh doesn't show the website list. The page is blank. I can only see the list of websites on the left side frame. The right side frame is empty. Please see the attached image and the firebug error log.
    Any suggestions to resolve this issue are most welcome. Appreciate for your time.
    Best,
    Suku.
    Header 1
    {"pages":[{"index":0,"path":"/content/geometrixx","label":"geometrixx","title":"Geometrixx Demo Site","title_xss":"Geometrixx Demo Site","title":"Geometrixx Demo Site","monthlyHits":0,"type":"cq:Page","dialogPath":"/libs/foundation/components/page/dia log","lastModifiedBy":null,"lastModifiedBy_xss":null,"lastModified":0,"timeUntilValid":0," onTime":0,"offTime":0,"replication":{"numQueued":0},"inWorkflow":false,"workflows":[],"sch eduledTasks":[],"msm:isLiveCopy":false,"msm:isInBlueprint":true,"msm:isSource":false},{"in dex":1,"path":"/content/geometrixx_mobile","label":"geometrixx_mobile","title":"Geometrixx Mobile Demo Site","title_xss":"Geometrixx Mobile Demo Site","title":"Geometrixx Mobile Demo Site","monthlyHits":0,"type":"cq:Page","dialogPath":"/libs/wcm/mobile/components/page/dia log","templateTitle":"Geometrixx Mobile Content Page","templateTitle_xss":"Geometrixx Mobile Content Page","templatePath":"/apps/geometrixx/templates/mobilecontentpage","templateShortTitle": "Mobile Content","templateShortTitle_xss":"Mobile Content","lastModifiedBy":"Administrator","lastModifiedBy_xss":"Administrator","lastModif ied":1268041912426,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":0} ,"inWorkflow":false,"workflows":[],"scheduledTasks":[],"msm:isLiveCopy":false,"msm:isInBlu eprint":false,"msm:isSource":false},{"index":2,"path":"/content/campaigns","label":"campai gns","title":"Campaigns","title_xss":"Campaigns","title":"Campaigns","monthlyHits":0,"type ":"sling:Folder","lastModifiedBy":null,"lastModifiedBy_xss":null,"lastModified":-1,"timeUn tilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":0},"inWorkflow":false,"workf lows":[],"scheduledTasks":[]},{"index":3,"path":"/content/dam","label":"dam","title":"Digi tal Assets","title_xss":"Digital Assets","title":"Digital Assets","monthlyHits":0,"type":"sling:OrderedFolder","lastModifiedBy":null,"lastModifiedB y_xss":null,"lastModified":-1,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"nu mQueued":0},"inWorkflow":false,"workflows":[],"scheduledTasks":[]},{"index":4,"path":"/con tent/wiki","label":"wiki","title":"Wiki Content","title_xss":"Wiki Content","title":"Wiki Content","monthlyHits":0,"type":"wiki:Topic","lastModifiedBy":null,"lastModifiedBy_xss":n ull,"lastModified":-1,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued" :0},"inWorkflow":false,"workflows":[],"scheduledTasks":[]},{"index":5,"path":"/content/blu eprintdemo","label":"blueprintdemo","title":"BluePrint demo","title_xss":"BluePrint demo","title":"BluePrint demo","monthlyHits":23,"type":"cq:Page","dialogPath":"/libs/foundation/components/page/di alog","lastModifiedBy":"Administrator","lastModifiedBy_xss":"Administrator","lastModified" :1333643319629,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":30,"pu blished":1333575432993,"publishedBy":"Administrator","publishedBy_xss":"Administrator","ac tion":"ACTIVATE"},"inWorkflow":false,"workflows":[],"scheduledTasks":[],"msm:isLiveCopy":f alse,"msm:isInBlueprint":true,"msm:isSource":true},{"index":6,"path":"/content/livecopydem o","label":"livecopydemo","title":"LiveCopy Demo","title_xss":"LiveCopy Demo","title":"LiveCopy Demo","monthlyHits":7,"type":"cq:Page","dialogPath":"/libs/foundation/components/page/dia log","lastModifiedBy":"Administrator","lastModifiedBy_xss":"Administrator","lastModified": 1333646845631,"timeUntilValid":0,"onTime":0,"offTime":0,"replication":{"numQueued":0},"inW orkflow":false,"workflows":[],"scheduledTasks":[]<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
    <head>
    <title>500 String index out of range: -1</title>
    </head>
    <body>
    <h1>String index out of range: -1 (500)</h1>
    <p>The requested URL /content.pages.json resulted in an error in com.day.cq.wcm.core.impl.servlets.PageListServlet.</p>
    <h3>Exception:</h3>
    <pre>
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1937)
        at java.lang.String.substring(String.java:1904)
        at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.computeRolloutConfigs(LiveRelationshi pManagerImpl.java:1149)
        at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.buildRelationship(LiveRelationshipMan agerImpl.java:1085)
        at com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl.getLiveRelationship(LiveRelationshipM anagerImpl.java:936)
        at com.day.cq.wcm.core.impl.servlets.PageListServlet$PageListItem.writeLiveRelationshipState (PageListServlet.java:346)
        at com.day.cq.wcm.core.impl.servlets.PageListServlet$PageListItem.write(PageListServlet.java :270)
        at com.day.cq.commons.servlets.AbstractListServlet.write(AbstractListServlet.java:234)
        at com.day.cq.commons.servlets.AbstractListServlet.doGet(AbstractListServlet.java:108)
        at com.day.cq.commons.servlets.AbstractPredicateServlet.doGet(AbstractPredicateServlet.java: 75)
        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet. java:268)
        at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:139)
        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:344)
        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:375)
        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:529)
        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )
        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:269)
        at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
        at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:119)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:84)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)
        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:161)
        at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:183)
        at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)
        at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
        at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)
        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)
        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)
        at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)
        at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
        at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)
        at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)
        at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)
        at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)
        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)
        at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)
        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)
        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)
        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)
        at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)
        at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )
        at java.lang.Thread.run(Thread.java:662)
    </pre>
    <h3>Request Progress:</h3>
    <pre>
          0 (2012-04-05 12:49:08) TIMER_START{Request Processing}
          0 (2012-04-05 12:49:08) COMMENT timer_end format is {&lt;elapsed msec&gt;,&lt;timer name&gt;} &lt;optional message&gt;
          0 (2012-04-05 12:49:08) LOG Method=GET, PathInfo=/content.pages.json
          0 (2012-04-05 12:49:08) TIMER_START{ResourceResolution}
          1 (2012-04-05 12:49:08) TIMER_END{1,ResourceResolution} URI=/content.pages.json resolves to Resource=JcrNodeResource, type=sling:redirect, superType=null, path=/content
          1 (2012-04-05 12:49:08) LOG Resource Path Info: SlingRequestPathInfo: path='/content', selectorString='pages', extension='json', suffix='null'
          1 (2012-04-05 12:49:08) TIMER_START{ServletResolution}
          1 (2012-04-05 12:49:08) TIMER_START{resolveServlet(JcrNodeResource, type=sling:redirect, superType=null, path=/content)}
          1 (2012-04-05 12:49:08) TIMER_END{0,resolveServlet(JcrNodeResource, type=sling:redirect, superType=null, path=/content)} Using servlet com.day.cq.wcm.core.impl.servlets.PageListServlet
          1 (2012-04-05 12:49:08) TIMER_END{0,ServletResolution} URI=/content.pages.json handled by Servlet=com.day.cq.wcm.core.impl.servlets.PageListServlet
          1 (2012-04-05 12:49:08) LOG Applying Requestfilters
          1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.portal.container.internal.request.PortalFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
          1 (2012-04-05 12:49:08) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
          1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
          1 (2012-04-05 12:49:08) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)
          1 (2012-04-05 12:49:08) LOG Applying Componentfilters
          1 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
          2 (2012-04-05 12:49:08) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
          2 (2012-04-05 12:49:08) TIMER_START{com.day.cq.wcm.core.impl.servlets.PageListServlet#0}
         55 (2012-04-05 12:49:08) TIMER_END{53,com.day.cq.wcm.core.impl.servlets.PageListServlet#0}
        100 (2012-04-05 12:49:08) TIMER_START{handleError:throwable=javax.servlet.ServletException}
        114 (2012-04-05 12:49:08) TIMER_END{14,handleError:throwable=javax.servlet.ServletException} Using handler org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
        119 (2012-04-05 12:49:08) TIMER_END{119,Request Processing} Dumping SlingRequestProgressTracker Entries
    </pre>
    <hr>
    <address>ApacheSling/2.2 (Java HotSpot(TM) 64-Bit Server VM 1.6.0_30; Windows 7 6.1 amd64)</address>
    </body>
    </html>

    I ran into a similar issue when creating a new live site using the name of a previously deleted site. Are you reusing the name of a previously deleted site?

  • ITunes doesn't update the data anymore

    Hey,
    I've got a little problem with my iTunes as the topic states. After synchronizing, the data like for example "last heard" aren't updated. For this reason I restored both iPod Video and iTunes..then I tried it one more time and the data were updated. However, the problem occured once again now..and I don't know what to do.
    There's also another problem: It's not possible for me to deactivate the iPod in iTunes. It appears a message which says something like "Couldn't close the link to the iPod since it includes data which are used by another program". o.o
    Sounds strange for me..that's why I have to pull the USB-cable out of the iPod even though the display says the WHOLE time (even after synchronizing!) that I should not detach the cable...
    So..can someone please help me?
    Message was edited by: Gammaeon
    Message was edited by: Gammaeon

    Can't anyone help me please?

Maybe you are looking for

  • IOS 8.1 Affects WiFi on iPad Air - can't downgrade

    Hello all, I just got a warranty replacement iPad Air the other day that came with iOS 7.1.2 on it - worked well, but, of course, I was pressured to update to iOS 8.1. After doing so, on a "brand new" iPad (did not restore from backup), I've noticed

  • Input needed reagrding JAI.create()

    Hello, Can any one pls let me knoe the list of operations that are supported by JAI.create("op",Obj). I have a problem in passing the byte[] to JAI.create(). My issue is to pass byte[] constructed from an image thru FileI/O and then find out the heig

  • Urgent Help Please : Peer not authenticated

    Hello Everyone, I am using JBoss with Tomcat. I have imported my CER file into the JRE/lib/cacerts file as a trusted certificate. I have a simple client and a simple servlet. Here is the code. Client import java.io.*; import java.io.FileInputStream;

  • Report within a report

    <p>Hi All </p><p>I have a problem in crystal reports.My problem is like this </p><p>There is field (e.g;ModelName) and after clicking on the model name I want all the details of that model name in another report (but I don't want to use sub reports).

  • N80 - Video transfer

    I've got an .mpg file on my pc which I'm trying to transfer to my phone. Does anyone have any idea of the best way to do this?