Dropdown in tableview iterator doesn't show values

Hi everybody;
I'm new to BSP. I'm creating a small BSP MVC application.
I have a table with a few columns; I needed to add an extra column in which a dropdown would be shown.
I created an iterator class and implemented the following in the GET_COLUMN_DEFINITIONS in order to add the extra column:
method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS .
FIELD-SYMBOLS: <def> LIKE LINE OF p_column_definitions.
*First normal columns
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'CAMPAIGN_CD'.
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'CAMPAIGN_NM'.
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'COMMUNICATION_CD'.
*<def>-EDIT = 'X'.
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'IDCLIENT'.
*<def>-EDIT = 'X'.
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'CONTACT_DTTM'.
*<def>-EDIT = 'X'.
*Finally; our defined column for status dropdown
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'STATUS'.
<def>-TITLE      = 'Status'.
endmethod.
Then I coded the following in the render_cell_start method to create the dropdown itself:
method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START .
  DATA: lt_table TYPE TIHTTPNVP,
        ls_table TYPE IHTTPNVP.
  CASE p_column_key.
    WHEN 'STATUS'.
      CLEAR: ls_table, lt_table.
      REFRESH lt_table.
      ls_table-name = 'OK'.
      ls_table-value = 'OK'.
      APPEND ls_table TO lt_table.
      ls_table-name = 'KO'.
      ls_table-value = 'KO'.
      APPEND ls_table TO lt_table.
      DATA lt_stat TYPE REF TO DATA.
      GET REFERENCE OF lt_table INTO lt_stat.
      p_replacement_bee = CL_HTMLB_DROPDOWNLISTBOX=>FACTORY(
                            id                = p_cell_id
                            table             = lt_stat
                            nameOfKeyColumn   = 'NAME'
                            nameOfValueColumn = 'VALUE'
  ENDCASE.
endmethod.
The strange thing is that the dropdown is shown but no values at all. Can someone help me out?
Thanks
Kind regards,
Allan

Hi,
Yes indeed. I did not know that the table and its reference had to be declared in the attributes of the iterator.
Another question; how to set the selected value of the dropdown after choosing a value which executes an action via the event DO_HANDLE_DATA?
The right value is passed through to DO_HANDLE_DATA, but how do I have to set the dropdown to the selected value? In which event etc?
Thanks
Kind regards

Similar Messages

  • Calculated item doesn't show values

    Hi!
    I have created a report in which I'm showing number of vacancies for two different months (depending uopn the values of months selected in the parameter). I have created a calculated item in Desktop that is supposed to give me difference between the values for both months. In other words, this calculated column is supposed to show me if there is any increase or decrease in the number of vacancies.
    The datatype for values for both months is 'number'in the database and I've set it as 'default' in my report...and my report displays them correctly. However, when it comes to the calculated column, no values get displayed. I tried to experiment with the datatype for this column...like set it to 'none', 'default', number etc. But, no success! I tried to experiment with the datatype of the other two columns (values for months) as well...like setting them as 'number', however, this too brings no success!
    I don't think that this has anything to do with the joins as the other sheets in the same workbook display correct data with totals too.
    Can someone help me on this?
    Thanks and regards,
    Aparna
    Message was edited by:
    Aparna

    Hi !
    Let me post my calculations here: I'm giving them here in logical order.
    1) Total = No Female Required SUM+No Male Required SUM+No Mixed Required SUM
    Here 'No Female Required SUM' and the other two are from a table in the database. Puppethead, answer to your question: these three columns are from the same table and thus, form part of the same folder and BA. Their datatype in the db table is specified as 'Number'.
    And this calculation is supposed to give me total of vacancies whether for female candidates or male or for those where no sex is specified.
    Please note that problem persists even if I select 'details' instead of 'sum' as aggregation for all the three columns.
    Please note that I do not directly display this calculation in my report.
    2) Month 1 Vacancies = CASE WHEN ( "Month" = :From month ) THEN Total END
    This is where I reference the Total that I create before. Here I'm also using 'Month' which is created based on a date using Hierarchy functionality in Administrator. From month is a parameter. Thus, the Total that I display should be for the month that the user selects as a parameter value.
    This column 'Month 1 Vacancies' displays correct values.
    3) Month 2 Vacancies = CASE WHEN ( "Month" = :To month ) THEN Total END
    Same logic as calculation no. 2. Please note that this column too displays values correctly. To month is a parameter.
    4) Change = "Month 2 Vacancies"-"Month 1 Vacancies"
    What I would like to see here is the difference (whether positive or negative) between the vacancies for two months. This column is displaying nothing. And that's where the problem lies.
    Please note that all the four calculations are being created in the Desktop while creating the report.
    Could you please advise me?
    Thanks and regards,
    Aparna

  • MMT DFF doesn't show value

    I defined new DFF value in Transaction history name “Receipt Detail”, where i defined column name receiving id and i have plan to get receiving id from MMT results. I select get value from field, save and compile DFF. I open DFF receipt detail but shows blank column, Pl suggest about the system behavior and remedy?

    I found a blog that contained the answer. You just reassign the dataProvider when the values have been edited like this:
    dataInput.addEventListener(DataGridEvent.ITEM_EDIT_END, updateCell, false, -100);
    function updateCell(e:DataGridEvent):void{
        dataInput.dataProvider = dp;

  • HT201304 My iTunes card doesn't show value

    I entered a brand new I tunes card and it says all ready entered I can not find it on my ipad

    How to Redeem a Code  >  http://support.apple.com/kb/ht1574
    Note:  iTunes Gift Cards are only Valid in Country of Issue.
    If necessary... Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Balancing Segment Value set Does't show values and Giving error Page.

    In R12,LOV of Balancing segment, doesn't show values and giving error page while creating Retained Earnings Account in Ledger Options Page.
    If once the ledger options finished, and it gets the status completed, can't we modify the Ledger options in future.
    By mistake we finished. can i delete Primary ledger from Accounting stucture?
    Thanks in advance,
    VRC Murthy

    Turn on the dynamic insert for your chart of account structure.
    Make sure you have at least one value in each of the value value set attached to COA segments. Make sure retained earning account value exists in your Account value set.
    Now you will be able to pick your retained earnings account in Accounting Setups screen.
    After completing your ledger setup you will be able to modify some options like suspense account, reversal set, future enterable periods etc.
    I have explained the GL setup in detail in my online training videos at http://handsonerp.com
    Regards
    Edited by: user2648997 on Nov 13, 2009 11:50 AM

  • French characters in run time parameter values doesn't show up in emails

    We have a custom workflow with configurations to send email when a request is assigned to a person and also to send email on request rejections.
    We are encountering following issues with respect to French characters that are available in the message body and message subject.
    Issue 1:Notifications are configured in Human Task (ApprovalTask.task) when a task is assigned. Since the message body contains French characters we have used ISO-8859-1 encodings to render the message properly to the user. The message body also has some run time content from the task payload.
    For e.g. &#192; titre de responsable fonctionnel, une demande d''approbation pour un acc&#232;s informatique vous est assign&#233;e.
    Acc&#232;s informatique demand&#233; : <%/task:task/task:payload/ns1:ObjectDetails/ns1:name%>
    In this case all static text values are rendered properly to the end user in his email. However the French characters in run time parameter values doesn't show up properly and has some weird characters.
    Issue 2: Unable to change the default subject shown in the approval task emails i.e. Notifications are configured in Human Task (ApprovalTask.task) when a task is assigned. By default it shows Action Required: Approval. How can this default value be changed?
    Issue 3: We have an Email Activity in Bpel process that follows a task rejection. The emailpayload is ISO-8859-1 encoded and works for the message body. However the email subject shows up with ISO-8859-1 encodings itself and doesn't convert to proper string in the end user's email. Is there any specific setting required for french characters in subject?

    Hi Kulwinder,
    Thanks for your reply.
    In fact I do, I've follewed the "Using SAP HANA Variables with SAP BusinessObjects BI4.0" guide.
    Please note, when I use a fix value to parameter is working fine, for example:
    SELECT *
    FROM "_SYS_BIC"."prueba-concepto/CV_TEST_VAR_II" ('PLACEHOLDER' = ('$$FECHA$$','20130530'))
    But when I set prompt of the DataFoundation parameter I get and error, this is my sentence:
    SELECT *
    FROM "_SYS_BIC"."prueba-concepto/CV_TEST_VAR_II" ('PLACEHOLDER' = ('$$FECHA$$',@Prompt(FECHA)))
    To me is very curious that I can't enter a value in the DataPreview in Hana Studio, because is not requested, even when the input parameter have been set as mandatory
    Have you idea of what could be happening?

  • Value doesn't show up after selection in matchcode

    I made a few screenshots and put them in links to explain my problem. Thx!
    I'm in MR22, the matchcode is not a standard one.
    Link: [http://i698.photobucket.com/albums/vv348/su_blimo/screen1.jpg]
    I click on F4 for the material
    Link: [http://i698.photobucket.com/albums/vv348/su_blimo/screen2.jpg]
    I Click on OK
    Link: [http://i698.photobucket.com/albums/vv348/su_blimo/screen3.jpg]
    I get a list of materials and doubleclick on one
    Link:[http://i698.photobucket.com/albums/vv348/su_blimo/screen4.jpg]
    The material doesn't show up??!!

    Hi,
    Make sure that the Export flag against the Material field is selected in the custom search help that you are referring to.
    Values can be returned from the hit list to the input template (screen) with an export parameter.
    Hope this is helpful.
    Regards,
    Hemanth

  • MB52 doesn't show return quantyties values

    Dear experts
    After sales return, the qty shows under 'Returns'. But in MB51, corrosponding values are not shown under any column. can anybody guide on this issue, where i can see the return qty values? or in sap, return values doesn;t show in MB51?
    Thanks
    Venugopal

    Hi,
    This looks like a bug. A workaround is to set snapInterval=.1 as well as stepSize. Could you please log a bug on https://bugs.adobe.com/flex/?
    Thanks,
    -Kevin

  • My iTunes  doesn't show any of the dropdown menus at the top, ex. file, help... help!

    All that has been cut out is my music from below.  I don't see any of the menus and my Ipod is not being detected by itunes, or at least it doesn't show that it is detecting it!

    Cntrl + B will display the Menu.
    Cntrl + S will display the Sidebar.

  • Composite Element in Tableview Iterator

    I want to use a <phtmlb:matrix> element in a tableview iterator to arrange the content of a cell.
    I tried to follow Brians Weblog on composite elements.
    In my test example, I just want to combine two fields of t000 into one cell. Of course I know, that concatenation would be more easy here, but that would not answer my questions.
    Thought it could look like this:
    METHOD render_cell_start.
      DATA:
        l_o_matrix             TYPE REF TO cl_phtmlb_matrix,
        l_o_bsp_element        TYPE REF TO cl_bsp_element,
        l_string               TYPE STRING.
      CASE p_tableview_id.
        WHEN 'TABLE_T000'.
        l_o_matrix = cl_phtmlb_matrix=>factory( ).
        WHILE o_page_context->element_process( element = l_o_matrix )
          = cl_bsp_element=>co_element_continue.
    Cell 1
          CLEAR: l_o_matrix->mc_backgrounddesign,
                 l_o_matrix->mc_design,
                 l_o_matrix->mc_separation.
          l_o_matrix->do_set_data( element_name = 'matrixCell' ).
          l_string = me->t000-mandt.
          l_o_bsp_element = cl_htmlb_textview=>factory( text = l_string ).
          WHILE o_page_context->element_process( element = l_o_bsp_element )
           = cl_bsp_element=>co_element_continue.
          ENDWHILE.
    Cell 2
          CLEAR: l_o_matrix->mc_backgrounddesign,
                 l_o_matrix->mc_design,
                 l_o_matrix->mc_separation.
          l_o_matrix->mc_halign = 'LEFT'.
          l_o_matrix->mc_valign = 'TOP'.
          l_o_matrix->do_set_data( element_name = 'matrixCell' ).
          l_string = me->t000-mtext.
          l_o_bsp_element = cl_htmlb_textview=>factory( text = l_string ).
          WHILE o_page_context->element_process( element = l_o_bsp_element )
           = cl_bsp_element=>co_element_continue.
          ENDWHILE.
        ENDWHILE.
        p_replacement_bee = l_o_matrix.
      ENDCASE.
    ENDMETHOD.
    However, that does not work.
    First, the list of T000-MANDT fields is rendered twice:
    into the tableview and into a list before the tableview.
    Second:  T000-MTEXT does not show up at all.
    What do I do wrong?
    I feel that I do not completely understand how the rendering is processed.
    Thanks for our help.
    Juergen

    The following is the example from Brian's weblog, updated for design2003.  It doesn't use the Matrix however.  Perhaps it will help.
    It still doesn't render quite like it did under design2002.  I'm not sure if there is a good way to combine multiple input fields into one cell any longer.  I know others have had a problem with this as well.  I will have to look closer at your matrix attempt.
    when 'SEATS'.
          if p_edit_mode is initial.
            data: max type string, occ type string,
                  value type string.
            max = m_row_ref->seatsmax + m_row_ref->seatsmax_b
                + m_row_ref->seatsmax_f.
            occ = m_row_ref->seatsocc + m_row_ref->seatsocc_b
                + m_row_ref->seatsocc_f.
            condense: max, occ.
            concatenate occ ` / ` max into value.
            p_replacement_bee = cl_htmlb_textview=>factory(
                text = value ).
          else.
            data: icon_plane2 type string.
            icon_plane2 = cl_bsp_mimes=>sap_icon(
                 id = 'ICON_WS_PLANE' ).
            data: image type ref to cl_htmlb_image.
            image = cl_htmlb_image=>factory(
                 id = p_cell_id
                 src = icon_plane2 ).
            data: if_first type ref to cl_htmlb_inputfield.
            if_first = cl_htmlb_inputfield=>factory( id = p_cell_id
                id_postfix = '_first'
                type = 'INTEGER' size = '4' ).
            if_first->value = m_row_ref->seatsocc_f.
            data: if_bus   type ref to cl_htmlb_inputfield.
            if_bus   = cl_htmlb_inputfield=>factory( id = p_cell_id
                id_postfix = '_bus'
                type = 'INTEGER' size = '4' ).
            if_bus->value = m_row_ref->seatsocc_b.
            data: if_econ  type ref to cl_htmlb_inputfield.
            if_econ = cl_htmlb_inputfield=>factory( id = p_cell_id
                id_postfix = '_econ'
                type = 'INTEGER' size = '4'  ).
            if_econ->value = m_row_ref->seatsocc.
            data: tag_gl       type ref to cl_htmlb_gridlayout,
                  tag_glc_if1  type ref to cl_htmlb_gridlayoutcell,
                  tag_glc_if2  type ref to cl_htmlb_gridlayoutcell,
                  tag_glc_if3  type ref to cl_htmlb_gridlayoutcell.
            tag_gl       = cl_htmlb_gridlayout=>factory(
                        columnsize  = '3' rowsize  = '1' ).
            tag_glc_if1 = cl_htmlb_gridlayoutcell=>factory(
                        columnindex = '1' rowindex = '1' ).
            tag_glc_if2  = cl_htmlb_gridlayoutcell=>factory(
                        columnindex = '2' rowindex = '1' ).
            tag_glc_if3  = cl_htmlb_gridlayoutcell=>factory(
                        columnindex = '3' rowindex = '1' ).
            data: seats_bee type ref to cl_bsp_bee_table.
            create object seats_bee.
            seats_bee->add( level = 1 element = tag_gl ).
            seats_bee->add( level = 2 element = tag_glc_if1 ).
            seats_bee->add( level = 3 element = if_first ).
            seats_bee->add( level = 2 element = tag_glc_if2 ).
            seats_bee->add( level = 3 element = if_bus ).
            seats_bee->add( level = 2 element = tag_glc_if3 ).
            seats_bee->add( level = 3 element = if_econ ).
            p_replacement_bee = seats_bee.
          endif.
    Message was edited by: Thomas Jung

  • Attributes in tableview iterator

    how to retrive my inputField value in tableview iterator ?
    I have a page with inputField : eno
                    & tableview (and onclicking the cellvalue in the column it goes to other page)
    <i>
    <b> here i want to get the value of my inpufield </b>
    concatenate 'preview.htm?ref_no=' wf_text into wf_url.
          call method cl_htmlb_link=>factory
            exporting
              id        = p_cell_id
              reference = wf_url
              target    = '_self'
              text      = wf_text
            receiving
              element   = p_replacement_bee.
    </i>
    Pts Assured.
    Thanks,
    JBP.
    I have added the field also in the row iterator and now able to get its value.
    Message was edited by: P24101990

    Hi Mark,
    Thanks for your reply. I tried that in DO_INIT and in DO_REQUEST as well. I started of this application well with the values selecting from Dropdown and then rendering the table columns. But now I have commented everything and just trying to render one column of the table....
    I have one concern.
    I have declared like this
    tv_iterator type ref to ZITERATOR.
    and in DO_INIT I have instantiated. Create Object tv_iterator.
    If you have any suggestions please let me know....
    Thanks

  • The document Address doesn't show the block when country isn't USA

    hello
    i have a little problem, when I create a new document for a customer which ship to address's country is different from USA, the document Address doesn't  show the block. i checked the bp address in the bp master data and the block is written, also when i click on the ... button near the ship or bill to address the block has a value !! but when i go back to the document, there is an empty space where the block has to be in the document address.
    is there any configuration to solve this problem
    thanks a lot!

    Hi,
    The configuration is under Admin-Setup-BP-Address Format. Each country has a built-in format for address initially.
    Thanks,
    Gordon

  • Applet doesn't show after plugin update & using JNLP, no errors

    We have an applet that worked after the plugin update, then I wrote the JNLP file and can't get it working, it seems to be loading but doesn't show anything. I have tried and searched for possible errors but doesn't seem to be any obvious error for me. Also JaNeLA doesn't give any errors. When I try to load the applet I can see how open two java consoles (maybe this is an error?), in the first console the last output is:
    network: Created version ID: 1.0+
    network: Created version ID: 6.0.18
    basic: Progress indicator deleted: nullAnd in the second:
    basic: Subprogram loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 309262 us, pluginInit dt 2161125 us, TotalTime: 2470387 us
    basic: Loading Java Miniapplication
    basic: Loading Java MiniapplicationThe jnlp file I wrote is this:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://genomedu.net/applet/applet/" href="jvrmed_applet.jnlp">
      <information>
        <title>JApplet demo</title>
        <vendor>Jungle waa</vendor>
        <homepage href="http://funforyou.net/"/>
        <description>This is a demo</description>
        <offline-allowed/>
      </information>
        <resources>
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
          <jar href="http://download.java.net/media/applet-launcher/applet-launcher.jar"/>
          <jar href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar"/>
          <jar href="http://download.java.net/media/gluegen/webstart/gluegen-rt.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar"/>
          <jar href="pixelmed.jar"/>
          <jar href="gdata-core-1.0.jar"/>
          <jar href="gdata-media-1.0.jar"/>
          <jar href="gdata-photos-2.0.jar"/>
          <jar href="gdata-photos-meta-2.0.jar"/>
          <jar href="google-collect-1.0.jar"/>
          <jar href="mail-1.4.3.jar"/>
         <jar href="jvrmed.jar" main="true"/>
       <extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp"/>
        </resources>
      <applet-desc
          name="JVRMed_app"
          main-class="vrmed.app.jVRMed.JVRMed_app"
          width="793"
          height="563">
      </applet-desc>
    </jnlp>
    And the applet tag in the html is:
    <applet name="jvrmed" code="org.jdesktop.applet.util.JNLPAppletLauncher"
          width=793
          height=563 >
       <param name="jnlp_href" value="http://genomedu.net/applet/jvrmed_applet.jnlp">
    </applet>The old applet tag that launched the applet before the plugin update:
    <applet name="jvrmed" code="org.jdesktop.applet.util.JNLPAppletLauncher"
          width=793
          height=563
          archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
                   http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
                   http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
                http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar,
                http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar,
                   http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar,
                pixelmed.jar,
                gdata-core-1.0.jar,
                gdata-media-1.0.jar,
                gdata-photos-2.0.jar,
                gdata-photos-meta-2.0.jar,
                google-collect-1.0.jar,
                mail-1.4.3.jar,
                   jvrmed.jar">
       <param name="codebase_lookup" value="true">
       <param name="subapplet.classname" value="vrmed.app.jVRMed.JVRMed_app">
       <param name="subapplet.displayname" value="jVRMed">
       <param name="noddraw.check" value="true">
       <param name="progressbar" value="true">
       <param name="jnlpNumExtensions" value="1">
       <param name="jnlpExtension1"
              value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
       <param name="idsession" value="jvrmed_snaps">
       <param name="idprofile" value="1">
    </applet>I know there are many extra parameters in the old version, I have deleted them for debugging because there was the same result with them. What really bothers me is that I don't get any error and the java process is running while tries to load the applet. Anyone had a similar experience and can give a clue?

    Hi,
    since JRE 6u21 the JNLPAppletLauncher doesn't work anymore.
    The Java 3D's jars and native libraries hosted by Oracle.Sun can be accessed by including the extension http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp. More details can be found here : Java 3D Web Start Release https://j3d-webstart.dev.java.net/release/index.html
    See also the example 'H'weight & L'weight in Harmony' http://www.interactivemesh.org/testspace/appletpropelleruniverse1200x800_J3D.html and search in the Java 3D forum http://www.java.net/forums/javadesktop/java-desktop-technologies/java-3d
    This is an attempt to adapt your JNLP file :
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://genomedu.net/applet/applet/" href="jvrmed_applet.jnlp">
      <information>
        <title>JApplet demo</title>
        <vendor>Jungle waa</vendor>
        <homepage href="http://funforyou.net/"/>
        <description>This is a demo</description>
        <offline-allowed/>
      </information>
      <resources>
        <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
        <!-- !!! Includes the remote Java 3D / JOGL libraries !!! -->
        <extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
        <jar href="pixelmed.jar"/>
        <jar href="gdata-core-1.0.jar"/>
        <jar href="gdata-media-1.0.jar"/>
        <jar href="gdata-photos-2.0.jar"/>
        <jar href="gdata-photos-meta-2.0.jar"/>
        <jar href="google-collect-1.0.jar"/>
        <jar href="mail-1.4.3.jar"/>
        <jar href="jvrmed.jar" main="true"/>
        <property name="sun.awt.noerasebackground" value="true"/> 
        <property name="sun.awt.erasebackgroundonresize" value="true"/> 
      </resources>
      <applet-desc
          name="JVRMed_app" main-class="vrmed.app.jVRMed.JVRMed_app" width="793" height="563">
      </applet-desc>
    </jnlp>
    Applet tag:
    <!-- please check if codebase="??" is needed -->
    <applet name="jvrmed" width=793 height=563 >
       <param name="jnlp_href" value="http://genomedu.net/applet/jvrmed_applet.jnlp">
    </applet>August

  • Workflow models doesn't show up

    I have a problem with that my workflows doesn't show up in the list http://myserver:4502/libs/cq/workflow/content/console.html
    There are several workflows that are there and they are visible on all the other servers i have including the publisher instance.
    When i access the page i get these warnings in the log and the list is just empty:
    04.07.2013 14:04:54.095 *WARN* [10.36.76.11 [1372939494095] GET /libs/cq/security/userinfo.json?cq_ck=1372939486539 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    04.07.2013 14:04:54.279 *WARN* [10.36.76.11 [1372939494279] GET /libs/cq/security/userinfo.json?cq_ck=1372939486726 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    04.07.2013 14:04:54.474 *WARN* [10.36.76.11 [1372939494474] GET /libs/cq/workflow/content/console/models.json?_dc=1372939486922&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    04.07.2013 14:04:54.478 *WARN* [10.36.76.11 [1372939494477] GET /libs/cq/workflow/content/console/instances.json?_dc=1372939486926&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    04.07.2013 14:04:54.480 *WARN* [10.36.76.11 [1372939494479] GET /libs/cq/workflow/content/console/archive.json?_dc=1372939486928&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    04.07.2013 14:04:54.482 *WARN* [10.36.76.11 [1372939494482] GET /home/users/a/admin.permissions.json?path=%2Fetc%2Fworkflow%2Flauncher&_charset_=utf-8&cq_ck=1372939486931 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    04.07.2013 14:04:54.496 *WARN* [10.36.76.11 [1372939494495] GET /libs/cq/workflow/launcher.json?_dc=1372939486944&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
    In the lanucher tab i can see that there are a few things and it also shows some of the workflow names. When i click on one of those (eg. Update_Asset) i get an error-page and the following log output:
    04.07.2013 14:14:24.739 *ERROR* [10.36.76.11 [1372940064695] GET /etc/workflow/models/dam/update_asset.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Exception: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:388)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)
              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:297)
              at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216)
              at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103)
              at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:381)
              at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.java:106)
              at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)
              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.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(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257)
              at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
              at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:305)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at se.sj.cq.common.CaptchaFilter.doFilter(CaptchaFilter.java:113)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.sj.publish.CaptchaFilter.doFilter(CaptchaFilter.java:100)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135)
              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:153)
              at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)
              at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
              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(InvocationFilterChain.java:49)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
              at com.sj.publish.CaptchaFilter.doFilter(CaptchaFilter.java:100)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
              at se.sj.cq.common.CaptchaFilter.doFilter(CaptchaFilter.java:113)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
              at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
              at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
              at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
              at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
              at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java: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:820)
              at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250)
              at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:321)
              at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:340)
              at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:383)
              at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)
              at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)
              at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:686)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:603)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:520)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              ... 107 more
    Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script custom_includes.jsp
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:686)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:603)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:520)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)
              at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)
              at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f0(page_jsp.java:178)
              at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:148)
              at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
              ... 112 more
    Caused by: org.apache.sling.api.SlingException:
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:686)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:603)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:528)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
              at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
              at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)
              at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)
              at org.apache.jsp.libs.cq.flow.components.pages.flow.head_jsp._jspx_meth_cq_005finclude_005f1(head_jsp.java:243)
              at org.apache.jsp.libs.cq.flow.components.pages.flow.head_jsp._jspService(head_jsp.java:176)
              at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
              ... 126 more
    Caused by: java.lang.NullPointerException
              at org.apache.jsp.libs.cq.workflow.components.pages.model.custom_005fincludes_jsp._jspService(custom_005fincludes_jsp.java:176)
              at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
              ... 140 more
    Does anyone have an idea of what this is caused by?
    And why do all the warnings about "Invalid cookie. Value not a token or quoted value"
    show upp all over the logs all the time ?
    Johan

    Hi Siva,
    Thanks for your response.
    Please find my reply below:
    1. Have you renamed or moved the workflow model to other directory in etc/workflow/models/?
    -> No. There was no renaming or moving of workflow models in the same directory or to other directory done.
    -> However, there was a re-deployment of the complete package. But I am not sure how this could cause the version mismatch.
    2. Is it the problem with only your workflow model? or you're able to access other workflow models?
    -> Nopes. This problem is there for all the other workflows.
    Cheers!
    Pushkar

  • Mandatory Variable set in a view doesn't show in Web template ?

    Hi Experts,
    I have a mandatory user-input variable in my query. I build a view based on the query. When I opened the query analyzer I had to select a value for my variable since it is mandatory. I did so and built my view. I based my BI web template on my view. When i execute the template the variable screen doesn't show, the value of my variable is the one I entered when I built the view and there is no way i can change this value from the Web template. Is this expected behaviour ? If so how can i build a view when i have a mandatory variable withoit setting its value in the analyzer ? The user has to set it later in the BI template.
    Thanks a lot
    Rado

    Thanks for the reply.
    Actually the variable has a default value which is defined in a function. This default can be overriden. The problem is that when defining the view you need to specify a value or leave the default. In any case in Web Template you are not given the option of changing whatever you put in the query analyzer. i am puzzled how this could happen.

Maybe you are looking for