How to have dynamic thumb folder selection?

I am creating a HTML gallery. I want to have a specific folder structure for each album. Now strugling with setting the directory for the thumbnail and photo folder in galleryinfo.lrweb:
The user can enter the albumfoldername, which by default is set on albumName:
["nonCSS.albumFolderName"] = "albumName",
Manually this works:
["photoSizes.photos.directory"] = "albumName",
But how to get the foldername entered by the user assigned or even the default value above? Tried several options but without luck. Best option would be (I think):
["photoSizes.photos.directory"] =function() return nonCSS.albumFolderName end,
Does somebody now how to get it working?
Jan-Willem

Andy,
What I want, but currently is not possible is to publish albums which are part of a photo gallery. Missing part is possibility to define layout for an index file and defining where the generated images should be stored. Index file will look like:
To have a logical structure for maintenance etc. I want to have the following folder structure:
|
+- Albums
     |
     +- <albumFoldername 1>
     |        |
     |        +- photos
     |        +- thumbnails
     |        +- resources
     |        +- stylesheets
     +- <albumFoldername 2>
              |
              +- photos
              +- thumbnails
              +- resources
              +- stylesheets
May also be possible that first level is the year or a subject based folder. As indicated in previous messages it works to get index.html and the detail photo pages in the folder <albumFoldername>, but not for the images itself (i.e. photos and thumbnails).
The workflow would be:
1. Select photos/album to export
2. Modify the settings in the web plugin (i.e. entering the album name and albumFolderName to use
3. Generate the webpage
4. Copy the relevant files to my photo website (HTML & ASP pages on my Windows Home Server).
5. Manually adjust the index file
What I would like to have in Lightroom user interface is:
a. a tree like the keywords for defining the photo gallery including sub albums
b. select the albums to export
c. at same time generate the index file as defined in a lua HTML page
But for the time being controlling the destination for the photos would already help.
Jan-Willem

Similar Messages

  • How to have Dynamic Columns based on Work centers in CRHD table?

    i need to create dynamic internal table......based on the number of entries(work centers ) in CRHD table....this is number of work centers...like how many manufac unit....How to have the work center names at heading and how to fill values at rows...as the number of workcenters may differ dynamic.....how to fill the values...for a dynamic internal table

    Hi Meena,
    For Dynamic display  ,go through it
    REPORT  yusmm_text1  NO STANDARD PAGE HEADING
                         LINE-SIZE 199.
    T A B L E S
    TABLES: MARA,
            MAKT,
            THEAD.
    GLOBAL TYPE-POOLS
    TYPE-POOLS : SLIS.
       GLOBAL TYPES
    TYPES : BEGIN OF TP_FINAL,
           MATNR TYPE MARA-MATNR,
           BEGRU TYPE MARA-BEGRU,
           MTART TYPE MARA-MTART,
           MAKTX TYPE MAKT-MAKTX,
           SPRAS TYPE MAKT-SPRAS,
           LTXT(2000)  TYPE C ,
           SRNO TYPE N ,
          END OF TP_FINAL.
    TYPES : BEGIN OF TP_T002,
            SPRAS TYPE T002-SPRAS,
            LAISO TYPE T002-LAISO,
            SRNO TYPE N ,
            END OF TP_T002.
    TYPES : BEGIN OF TP_MARA_MAKT,
            MATNR TYPE MARA-MATNR,
            BEGRU TYPE MARA-BEGRU,
            MTART TYPE MARA-MTART,
            SPRAS TYPE MAKT-SPRAS,
            MAKTX TYPE MAKT-MAKTX,
           END OF TP_MARA_MAKT.
    Types: BEGIN OF tp_matnr,
           matnr TYPE mara-matnr,
           END OF tp_matnr.
       GLOBAL ELEMENTARY VARIABLES
    DATA : gv_date TYPE sy-datum.
    DATA : gv_repid TYPE sy-repid.
    DATA : g_var1(10) TYPE C.
    DATA : gv_index TYPE sy-tabix.
    DATA: gv_strg TYPE string,
          gv_strg1(2000) TYPE C.
    DATA : gv_lang TYPE sy-langu.
    DATA : g_v(3) TYPE N .
    DATA : gv_lines(3) TYPE N .
    DATA : gv_var(3) TYPE N .
    DATA : gv_var1(3) TYPE N.
    DATA: gv_str TYPE STRING.
    DATA: gv_str1 TYPE STRING.
    DATA : gv_li TYPE I,
           gv_lit TYPE I,
           gv_lin TYPE I.
    DATA: g_var11(3) TYPE N,
          gv_li1(3) TYPE N,
          g_var2(3) TYPE N.
    DATA : gv_i1 TYPE I.
    DATA : gv_i TYPE I.
    DATA: gl_lenght TYPE I.
       GLOBAL STRUCTURES
    DATA:   T_NEWTABLE TYPE REF TO DATA,
            T_NEWLINE  TYPE REF TO DATA,
            T_FLDCAT1   TYPE SLIS_T_FIELDCAT_ALV,
            T_FLDCAT   TYPE LVC_T_FCAT,
            WA_IT_FLDCAT TYPE LVC_S_FCAT,
            WA_IT_FLDCAT1 TYPE SLIS_FIELDCAT_ALV,
            WA_COLNO(2) TYPE N,
            WA_FLNAME(5) TYPE C,
            L_LT TYPE SLIS_LAYOUT_ALV.
       GLOBAL INTERNAL TABLES (WITH INCLUDE STRUCTURE)
    DATA : IG_MARA_MAKT TYPE STANDARD TABLE OF TP_MARA_MAKT,
           WG_MARA_MAKT TYPE TP_MARA_MAKT.
    DATA : IG_T002 TYPE STANDARD TABLE OF TP_T002,
           WG_T002 TYPE TP_T002.
    DATA : IG_FINAL TYPE STANDARD TABLE OF TP_FINAL,
           WG_FINAL TYPE TP_FINAL.
    data : IG_MATNR TYPE STANDARD TABLE OF TP_MATNR WITH HEADER  LINE,
           WG_MATNR TYPE TP_MATNR.
    DATA:BEGIN OF IG_THEAD OCCURS 0.
            INCLUDE STRUCTURE THEAD .
    DATA: END OF IG_THEAD.
    DATA:BEGIN OF IG_TLINE OCCURS 0.
            INCLUDE STRUCTURE TLINE  .
    DATA:END OF IG_TLINE.
    FIELD-SYMBOLS
    FIELD-SYMBOLS: <T_DYNTABLE> TYPE STANDARD TABLE,"Dynamic internal
                                                            "tablename
                   <FS_DYNTABLE>,  "Field symbol to create work area
                  <FS_FLDVAL> TYPE ANY.   " Field symbol to assign values
    COMPULSORY
    FIELD-SYMBOLS: <FS_DATA> TYPE REF TO DATA,
                   <FS_DATA1> TYPE REF TO DATA,
                   <FS_2>    TYPE STANDARD TABLE,
                   <FS_22>   TYPE STANDARD TABLE,
                   <FS_1>,
                   <FS_11>,
                   <F>,
                   <FA>,
                   <LWA_LINE_WA>,
                   <LWA_LINE_WA1>.
    ------- Create Dyn Table From FC
    DATA: LT_DATA        TYPE   REF TO DATA,
          LT_DATA1        TYPE   REF TO DATA,
          LWA_LINE       TYPE   REF TO  DATA,
          LWA_LINE1       TYPE   REF TO  DATA,
          LI_FIELD_CAT   TYPE   LVC_T_FCAT,
          LWA_FIELD_CAT  TYPE   LVC_S_FCAT.
       PARAMETERS & SELECT-OPTIONS
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_SPRAS FOR MAKT-SPRAS NO INTERVALS  DEFAULT 'EN'
                                                            OBLIGATORY ,
                     S_MATNR FOR MARA-MATNR,
                     S_MTART FOR MARA-MTART.
    PARAMETERS: GP_SIZE TYPE I DEFAULT '200'.
    SELECTION-SCREEN : END OF BLOCK B1.
       INITIALIZATION
    INITIALIZATION.
      gv_repid = sy-repid.
      gv_date = sy-datum.
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
      IF GP_SIZE < 0.
       MESSAGE E002(00).
      ENDIF.
      IF GP_SIZE > 50000.
       MESSAGE W130(26) WITH TEXT-004.
        SET CURSOR FIELD 'gp_size'.
      ENDIF.
    START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM DATA_FETCH.
      PERFORM READ_DATA_TO_FINAL.
      SORT ig_final BY matnr spras.
      gv_lin = gv_li.
      gv_li = gv_li - 2.
      LOOP AT ig_final INTO wg_final.
        ASSIGN COMPONENT 1 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'Material Number'.
        ASSIGN COMPONENT 2 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'Authorization Group'.
        g_VAR11 = wg_final-srno + 2.
        gv_li1 = gv_li1 + 2.
        MOVE : g_var11 TO gv_i1.
        ASSIGN COMPONENT g_var11 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'MatDesc'.
        g_var2 = g_var11 + gv_lines.
        ASSIGN COMPONENT g_var2 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = 'BasicData'.
        APPEND <LWA_LINE_WA1> TO <FS_22>.
        EXIT.
       ENDLOOP.
      LOOP AT ig_final INTO wg_final.
        AT NEW matnr.
          gv_index = sy-tabix.
          ASSIGN COMPONENT 1 OF STRUCTURE <LWA_LINE_WA> TO <F>.
          <F> = wg_final-matnr.
          ENDAT.
        AT NEW MATNR.
        GV_INDEX = SY-TABIX.
        ASSIGN COMPONENT 1 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-matnr.
         ENDAT.
        ASSIGN COMPONENT 2 OF STRUCTURE <LWA_LINE_WA> TO <F>.
        <F> = wg_final-begru.
        ASSIGN COMPONENT 2 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-begru.
        gv_var = wg_final-srno + 2.
        gv_li = gv_li + 2.
        MOVE : gv_var TO gv_i.
        ASSIGN COMPONENT gv_var OF STRUCTURE <LWA_LINE_WA> TO <F>.
        <F> = wg_final-maktx.
        ASSIGN COMPONENT gv_var OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-maktx.
        gv_var1 = gv_var + gv_lines  .
        ASSIGN COMPONENT gv_var1 OF STRUCTURE <LWA_LINE_WA> TO <F>.
       <F> = wg_final-ltxt.
        ASSIGN COMPONENT gv_var1 OF STRUCTURE <LWA_LINE_WA1> TO <FA>.
        <FA> = wg_final-ltxt.
        AT END OF matnr.
          APPEND <LWA_LINE_WA> TO <FS_2>.
          CLEAR <LWA_LINE_WA>.
        ENDAT.
        AT END OF matnr.
         APPEND <LWA_LINE_WA1> TO <FS_22>.
         CLEAR <LWA_LINE_WA1>.
        ENDAT.
      ENDLOOP.
      PERFORM display..
    *&      Form  data_fetch
          text
    -->  p1        text
    <--  p2        text
    FORM DATA_FETCH .
      SELECT matnr
              from mara up to gp_size rows
             appending corresponding fields of table ig_matnr
             where matnr in s_matnr
             and mtart in s_mtart.
    loop at ig_matnr.
      SELECT  MARA~MATNR
              MARA~BEGRU
              MARA~MTART
              MAKT~SPRAS
              MAKT~MAKTX FROM MARA INNER JOIN MAKT
        ON MARAMATNR = MAKTMATNR
       appending corresponding fields of TABLE ig_mara_makt  UP TO GP_SIZE
    ROWS
        WHERE makt~spras IN s_spras
        AND   mara~matnr IN s_matnr
        AND   mara~mtart IN s_mtart
        AND   mara~matnr EQ ig_matnr-matnr.
        endloop.
      IF sy-subrc = 0.
        SORT ig_mara_makt.
      ENDIF.
    ENDFORM.                    " data_fetch
    *&      Form  read_data_to_final
          text
    -->  p1        text
    <--  p2        text
    FORM READ_DATA_TO_FINAL .
      LOOP AT ig_mara_makt INTO wg_mara_makt .
        wg_final-MATNR = wg_mara_makt-MATNR.
        wg_final-BEGRU = wg_mara_makt-BEGRU.
        wg_final-MTART = wg_mara_makt-MTART.
        wg_final-SPRAS = wg_mara_makt-SPRAS.
        wg_final-MAKTX = wg_mara_makt-MAKTX.
        READ TABLE ig_t002 INTO wg_t002 WITH KEY spras = wg_final-spras.
        IF sy-subrc = 0.
          wg_final-srno = wg_t002-srno.
        ENDIF.
        CLEAR ig_thead[].
        ig_thead-TDOBJECT = 'MATERIAL'.
        ig_thead-TDNAME   = wg_final-matnr.
        ig_thead-TDID     = 'GRUN'.
        ig_thead-TDSPRAS  = wg_final-spras.
        CALL FUNCTION 'TEXT_READ'
          EXPORTING
            I_HEADER   = IG_THEAD
            I_READONLY = 'X'
          IMPORTING
            E_HEADER   = IG_THEAD
          TABLES
            T_LINES    = IG_TLINE[]
          EXCEPTIONS
            NOTFOUND   = 1.
        IF sy-subrc  EQ 0.
          LOOP AT  ig_tline.
            gv_strg = ig_tline-tdline.
            IF gv_strg1 <> ' '.
              CONCATENATE gv_strg1 ';' gv_strg INTO gv_strg1.
            ELSE.
              gv_strg1 = gv_strg.
            ENDIF.
          ENDLOOP.
          wg_final-ltxt = gv_strg1.
          APPEND wg_final TO ig_final.
          CLEAR wg_final.
          gv_strg1 = ' '.
        ELSE.
          APPEND wg_final TO  ig_final.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " read_data_to_final
    " read_data_to_final
    *&      Form  layout
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      CLEAR L_LT.
      L_LT-ZEBRA = 'X'.
      L_LT-COLWIDTH_OPTIMIZE = 'X'.
      L_LT-WINDOW_TITLEBAR = 'MATERIAL DETAILS'.
    ENDFORM.                    " layout
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      SELECT SPRAS
               LAISO FROM t002 INTO  CORRESPONDING FIELDS OF TABLE ig_t002
          WHERE spras IN s_spras.
      DESCRIBE TABLE ig_t002 LINES gv_lines.
      LOOP AT ig_t002 INTO wg_t002.
        g_v = g_v + 1.
        Wg_t002-srno = g_v.
        MODIFY ig_t002 FROM wg_t002 TRANSPORTING SRNO.
      ENDLOOP.
      LOOP AT ig_t002 INTO wg_t002.
        CLEAR WA_IT_FLDCAT.
        MOVE SY-INDEX TO WA_COLNO.
        CONCATENATE 'MD-' wg_t002-LAISO
                          WA_COLNO
                         INTO WA_FLNAME.
        WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
        WA_IT_FLDCAT-DATATYPE = 'CHAR'.
        WA_IT_FLDCAT-SELTEXT = WA_FLNAME.
        WA_IT_FLDCAT-INTLEN = 250.
        WA_IT_FLDCAT-TABNAME = '<FS_2>'.
        APPEND WA_IT_FLDCAT TO T_FLDCAT.
        CLEAR wg_t002.
        ENDLOOP.
      LOOP AT ig_t002 INTO wg_t002.
        CLEAR WA_IT_FLDCAT.
        MOVE SY-INDEX TO WA_COLNO.
        CONCATENATE 'BD-' wg_t002-LAISO
                           WA_COLNO
                        INTO WA_FLNAME.
        WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
        WA_IT_FLDCAT-DATATYPE = 'CHAR'.
        WA_IT_FLDCAT-SELTEXT = WA_FLNAME.
        WA_IT_FLDCAT-INTLEN = 250.
        WA_IT_FLDCAT-TABNAME = '<FS_2>'.
        APPEND WA_IT_FLDCAT TO T_FLDCAT.
        CLEAR wg_t002.
        ENDLOOP.
      MOVE 'MATNR' TO WA_FLNAME.
      WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
      WA_IT_FLDCAT-DATATYPE = 'CHAR'.
      WA_IT_FLDCAT-SELTEXT = 'Material No'.
      WA_IT_FLDCAT-INTLEN = 18.
      WA_IT_FLDCAT-TABNAME = '<FS_2>'.
      INSERT WA_IT_FLDCAT INTO T_FLDCAT INDEX 1.
      MOVE 'BEGRU' TO WA_FLNAME.
      WA_IT_FLDCAT-FIELDNAME = WA_FLNAME.
      WA_IT_FLDCAT-DATATYPE = 'CHAR'.
      WA_IT_FLDCAT-SELTEXT = 'Authorization Group'.
      WA_IT_FLDCAT-INTLEN = 4.
      WA_IT_FLDCAT-TABNAME = '<FS_2>'.
      INSERT WA_IT_FLDCAT INTO T_FLDCAT INDEX 2.
      DESCRIBE TABLE T_FLDCAT LINES gv_li.
      ASSIGN LT_DATA TO <FS_DATA>.
    Creating the Dynamic Internal Table
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG           = T_FLDCAT         " Fieldcatalogue
        IMPORTING
          EP_TABLE                  = <FS_DATA>   " Dynamic Internal Table
        EXCEPTIONS
          GENERATE_SUBPOOL_DIR_FULL = 1
          OTHERS                    = 2.
    Assign Dyn Table To Field Sumbol
      ASSIGN <FS_DATA>->* TO <FS_1>.
    Assigning the Internal Table TYPE ANY to Standard internal Table
      ASSIGN <FS_1> TO <FS_2>.
    Creating a Workarea
      CREATE DATA LWA_LINE LIKE LINE OF <FS_2> .
    Assigning the Content to the workares as a Pointer
      ASSIGN LWA_LINE->* TO <LWA_LINE_WA>.
      LOOP AT T_FLDCAT INTO WA_IT_FLDCAT.
        WA_IT_FLDCAT1-FIELDNAME = WA_IT_FLDCAT-FIELDNAME.
        WA_IT_FLDCAT1-TABNAME =  WA_IT_FLDCAT-TABNAME.
        WA_IT_FLDCAT1-SELTEXT_L = WA_IT_FLDCAT-SELTEXT.
       WA_IT_FLDCAT1-REF_TABNAME = 'MARC'.
        APPEND WA_IT_FLDCAT1 TO T_FLDCAT1.
        CLEAR : WA_IT_FLDCAT,WA_IT_FLDCAT1.
      ENDLOOP.
      ASSIGN LT_DATA1 TO <FS_DATA1>.
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG           = T_FLDCAT         " Fieldcatalogue
        IMPORTING
          EP_TABLE                  = <FS_DATA1>  " Dynamic Internal table
        EXCEPTIONS
          GENERATE_SUBPOOL_DIR_FULL = 1
          OTHERS                    = 2.
    Assign Dyn Table To Field Sumbol
      ASSIGN <FS_DATA1>->* TO <FS_11>.
    Assigning the Internal Table TYPE ANY to Standard internal Table
      ASSIGN <FS_11> TO <FS_22>.
    Creating a Workarea
      CREATE DATA LWA_LINE1 LIKE LINE OF <FS_22> .
    Assigning the Content to the workares as a Pointer
      ASSIGN LWA_LINE1->* TO <LWA_LINE_WA1>.
    ENDFORM.                    " fieldcat
    *&      Form  show
          text
    -->  p1        text
    <--  p2        text
    FORM Display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
       I_INTERFACE_CHECK                 = ' '
       I_BYPASSING_BUFFER                = ' '
       I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = GV_REPID
        I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS_SET'
        I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = ' '
       I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
       I_CALLBACK_HTML_END_OF_LIST       = ' '
       I_STRUCTURE_NAME                  =
       I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      =
       I_GRID_SETTINGS                   =
        IS_LAYOUT                         = L_LT
         IT_FIELDCAT                       = T_FLDCAT1[]
       IT_EXCLUDING                      =
       IT_SPECIAL_GROUPS                 =
       IT_SORT                           =
       IT_FILTER                         =
       IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = ' '
       IS_VARIANT                        =
       IT_EVENTS                         =
       IT_EVENT_EXIT                     =
       IS_PRINT                          =
       IS_REPREP_ID                      =
       I_SCREEN_START_COLUMN             = 0
       I_SCREEN_START_LINE               = 0
       I_SCREEN_END_COLUMN               = 0
       I_SCREEN_END_LINE                 = 0
       I_HTML_HEIGHT_TOP                 = 0
       I_HTML_HEIGHT_END                 = 0
       IT_ALV_GRAPHICS                   =
       IT_HYPERLINK                      =
       IT_ADD_FIELDCAT                   =
       IT_EXCEPT_QINFO                   =
       IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
       E_EXIT_CAUSED_BY_CALLER           =
       ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = <FS_2>
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " display
    FORM PF_STATUS_SET USING RS_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'DISPLAY' .
    ENDFORM. "PF_STATUS_SET
    *& Form Name: user_command *
    *& Form Desc: For Handling USER_COMMAND *
    FORM USER_COMMAND USING IF_UCOMM TYPE SY-UCOMM
                         IS_SELFIELD TYPE SLIS_SELFIELD.
      CASE IF_UCOMM.
        WHEN 'DOWNLOAD'.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
      TITLEBAR                    = ' '
      DIAGNOSE_OBJECT             = ' '
              TEXT_QUESTION               = 'Data download to excel'
      TEXT_BUTTON_1               = 'Ja'(001)
      ICON_BUTTON_1               = ' '
      TEXT_BUTTON_2               = 'Nein'(002)
      ICON_BUTTON_2               = ' '
      DEFAULT_BUTTON              = '1'
      DISPLAY_CANCEL_BUTTON       = 'X'
      USERDEFINED_F1_HELP         = ' '
      START_COLUMN                = 25
      START_ROW                   = 6
      POPUP_TYPE                  =
    IMPORTING
      ANSWER                      =
    TABLES
      PARAMETER                   =
    EXCEPTIONS
      TEXT_NOT_FOUND              = 1
      OTHERS                      = 2
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
        BIN_FILESIZE                  =
              FILENAME                     = 'C:\Material-Text.xls'
             FILETYPE                      = 'ASC'
        APPEND                        = ' '
         WRITE_FIELD_SEPARATOR         = 'X'
        HEADER                        = '00'
         TRUNC_TRAILING_BLANKS         = 'X'
        WRITE_LF                      = 'X'
        COL_SELECT                    = ' '
        COL_SELECT_MASK               = ' '
         DAT_MODE                      = 'X'
       IMPORTING
         FILELENGTH                    = GL_LENGHT
            TABLES
              DATA_TAB                      = <FS_22>
      EXCEPTIONS
        FILE_WRITE_ERROR              = 1
        NO_BATCH                      = 2
        GUI_REFUSE_FILETRANSFER       = 3
        INVALID_TYPE                  = 4
        NO_AUTHORITY                  = 5
        UNKNOWN_ERROR                 = 6
        HEADER_NOT_ALLOWED            = 7
        SEPARATOR_NOT_ALLOWED         = 8
        FILESIZE_NOT_ALLOWED          = 9
        HEADER_TOO_LONG               = 10
        DP_ERROR_CREATE               = 11
        DP_ERROR_SEND                 = 12
        DP_ERROR_WRITE                = 13
        UNKNOWN_DP_ERROR              = 14
        ACCESS_DENIED                 = 15
        DP_OUT_OF_MEMORY              = 16
        DISK_FULL                     = 17
        DP_TIMEOUT                    = 18
        FILE_NOT_FOUND                = 19
        DATAPROVIDER_EXCEPTION        = 20
        CONTROL_FLUSH_ERROR           = 21
        OTHERS                        = 22
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          IF GL_LENGHT NE 0.
            MESSAGE S398(00) WITH 'DATA downloaded to EXCEL'.
          ENDIF.
      ENDCASE.
    ENDFORM.                    "user_command
    Thanks
    Ankur SHarma

  • How to have bookmarks without folder like in Internet Explorer?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/903215]]</blockquote>
    hello in Internet Explorer i go to Favorites and i have all my bookmarks
    but in firefox i have now two folder:
    Firefox
    From internet explorer
    i just want all my sites there without folders

    IF that were entirely true, then the whole purpose of this thread is moot (automating printing server side). It is possible to load the file via URLs using the following html code:
    "<"body>
    "<"OBJECT id="pdf"
    type="application/pdf"
    width=800
    height=600 >
    "<"param name="src" value="http://localhost/pdfs/vorder_nc.pdf"/>
    "<"/OBJECT>
    "<"script language="JavaScript">
    function waitLoad()
    setTimeout("printFile()",2000);
    function printFile()
    var objPdf = document.getElementById('pdf');
    objPdf.PrintAllFit(1);
    "<"/script>
    "<"/body>
    So, if I used php or some other scripting language on the server to fill in the name of the pdf, I can load it via a URL, wait a couple of seconds for it to load, and then print it without user interaction. I wish that the LoadFile method would load a URL so that when it returns, I know it is loaded and I don't have to put faith in a timer that may not be enough for a large file.
    This is the situation I'm in. This way works but I don't like the timer. I'd rather have the plugin let me know when it's loaded. Is there another method that can help me do what I want?
    Thank again.

  • How to have dynamic parameters with nonstandard taglib with JSTL

    Hello, I am using webwork 2.2.7, tomcat 4.1 (I have a java 1.4 requirement unfortunately), and jakarta-taglibs-standard-1.0.6 and some nonstandard taglibs and need to pass dynamic parameters to the nonstandard taglibs.
    I can see that the standard taglibs handle the ${foo} syntax for attributes but the nonstandard taglib is just getting set with "${foo}". I really need to set attributes of the nonstandard taglib with dynamic parameters. Is there some combination of c:set and the <%= syntax that can work?
    I have tried the following which does not work:
    <input:selectBox options="${accounts}"/> <!-- the nonstandard taglib just has the options property set as the literal string "${accounts}" -->
    I was thinking something like the following might work but it doesn't
    <c:set var="accounts" value="${accounts}"/> <!-- the core taglibs can deal with ${accounts} appropriately -->
    <input:selectBox options="<%=accounts=%>"/>
    I don't care how but I need to somehow access ${accounts} and set that Collection as an attribute of the taglib. Can anyone please help me solve this problem? Thank you very much.
    This is related to this thread: http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0
    Joe.

    Discussion continued in [the original thread|http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0].
    May as well keep it all together.

  • How to have dynamic number of items uploaded using LSMW

    Hello Experts,
    I have a requirement where i need to upload the data for quality notifications. One Quality notification can have any number of items. i.e. One Quality notification can have 3 items and the other can have 2.
    I have got an excel sheet containing data for 1000 notifications. I need to upload it using LSMW - BDC Recording method.
    My question is that if i record the process for 2 items in a Notification, the BDC will always process only 2 items for every notification. How to make this processing dynamic so that any number of items can be uploaded.
    Please help.
    Thanks a lot in advance.
    Regards,
    Himanshu

    hi
    according to me, once a recording is being done for some fields, you can not add fields to it. To add fields after recording, do a new recording, where give values to all fields. Ofcourse, for mandatory fields you ought to give values, other than that for optional fields, give some stsandard or common value. So that you can update it next time when you need it after recording is being done.
    Regards
    Vinodh

  • How to have a Layout as Selection in a Report?

    Hi All,
    I am using "REUSE_ALV_GRID_DISPLAY" to display a ALV Grid. I need to know how could I have Layout Selection Criteria where the user could select the desired Layout and then execute the program. The selected Layout could be stored in "g_layout" and assign to the "IS_LAYOUT" found in the import list of "REUSE_ALV_GRID_DISPLAY".
    Thanks,
    Kishan

    Hi,
    1. have a pramter in the selection screen for variant.
    PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT.
    2.
      G_SAVE = 'A'.
        CLEAR G_VARIANT.
      G_VARIANT-REPORT = G_REPID.
    * Get default variant
      GX_VARIANT = G_VARIANT.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                I_SAVE     = G_SAVE
           CHANGING
                CS_VARIANT = GX_VARIANT
           EXCEPTIONS
                NOT_FOUND  = 2.
      IF SY-SUBRC = 0.
        P_VARI = GX_VARIANT-VARIANT.
      ENDIF.
    * Process on value request
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                IS_VARIANT          = G_VARIANT
                I_SAVE              = G_SAVE
    *           it_default_fieldcat =
           IMPORTING
                E_EXIT              = G_EXIT
                ES_VARIANT          = GX_VARIANT
           EXCEPTIONS
                NOT_FOUND = 2.
      IF SY-SUBRC = 2.
        MESSAGE ID SY-MSGID TYPE 'S'      NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        IF G_EXIT = SPACE.
          P_VARI = GX_VARIANT-VARIANT.
        ENDIF.
      ENDIF.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_BACKGROUND_ID         = 'ALV_BACKGROUND'
                I_CALLBACK_PROGRAM      = G_REPID
                I_STRUCTURE_NAME        = 'SFLIGHT'
                IS_LAYOUT               = GS_LAYOUT
                IT_FIELDCAT             = GT_FIELDCAT[]
    *           IT_EXCLUDING            =
                IT_SPECIAL_GROUPS       = GT_SP_GROUP[]
                IT_SORT                 = GT_SORT[]
    *           IT_FILTER               =
    *           IS_SEL_HIDE             =
    *           i_default               = g_default
    <b>            I_SAVE                  = G_SAVE
                IS_VARIANT              = G_VARIANT</b>
    Regards
    vijay

  • How to have dynamic content in a Keynote presentation (ie from XML file) ?

    Hi,
    I need to update automatically the content of a Keynote presentation from an extrenal file (ie XML). The update can be executed when the presentation is launched, it is not necessary to do it during it runs.
    Is it possible and how ?
    Regards,
    Pierre

    If it will all fit in memory read the file as you are doing now appending everything into a StringBuilder. Then use the reverse() method of that class to obtain your output.
    http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html#reverse()

  • How to have dynamic size of the content area

    Hello everyone
    I am trying to create a printable adobe form using Adobe LiveCycleDesiner 8.
    Here is my problem.
    The PageMaster is containing the company Logo, Address and the ship to address.
    The ship to address can be composed by up to 11 lines. Those lines are not always used. Some addresses have only 5 lines.
    If I am reserving those 11 lines before the content area, we are loosing alot of space that can be used for the body page.
    So the question is:
    Is it possible to have a flowed content area? Where the size of the content area would be driven by the available space of the PageMaster?
    Regards
    stjacqd

    Hello Carsten
    The subform has no impact to the content area size.
    The subform has an impact only inside the content area or inside another  form.
    My point is:
    PageMaster
    |  Logo                                          |
    | Address1                   Address      |
    | Address2                   Address      |
    | Address3                   Address      |
    | Address4                   Address      |
    | Address5                   Address      |
    | Address6                   Address      |
    | Address7                   Address      |
    | Address8                   Address      |
    | Address9                   Address      |
    | Address10                 Address      |
    | Address11                 Address      |
    |---------------------------------------------------|
    | Content area                               |
    |                                                   |
    So, inside the Page Master there is 11 lines reserved for the addresses,
    But at the printout, if there are only 3 lines used for the address, I would like to reassign the space used by the address4 through adderss11 to the content area.
    So the result at printout will look like:
    |  Logo                                          |
    | Address1                   Address      |
    | Address2                   Address      |
    | Address3                   Address      |
    |---------------------------------------------------|
    | Content area                               |
    |                                                   |
    Instead of:
    |  Logo                                          |
    | Address1                   Address     |
    | Address2                   Address     |
    | Address3                   Address     |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |---------------------------------------------------|
    | Content area                               |
    |                                                   |
    Regards

  • How to have "new folder" command automatically select "untitled folder"?

    How to have "new folder" command highlight name change?
    On a couple of my Macs, when I give a "new folder" command, the "untitled folder" name is immediately selected/highlighted for immediate entry of the new name for the folder.
    On other Macs I have, when I give a "new folder" command, I must then manually select the "untitled folder" name before I can type in the new name.
    Does anyone know how to set my Finder so that when I give a "new folder" command it will be immediately highlighted/selected for entry of the new name?
    I'm using the latest OS-X on all of my Macs.

    ZDHart wrote:
    How to have "new folder" command highlight name change?
    On a couple of my Macs, when I give a "new folder" command, the "untitled folder" name is immediately selected/highlighted for immediate entry of the new name for the folder.
    On other Macs I have, when I give a "new folder" command, I must then manually select the "untitled folder" name before I can type in the new name.
    Does anyone know how to set my Finder so that when I give a "new folder" command it will be immediately highlighted/selected for entry of the new name?
    I'm using the latest OS-X on all of my Macs.
    Welcome to Apple Discussions:
    All my Macs select the name in the untitled folder for immediate renaming.
    Exactly what happens when your Mac does not allow immediate renaming? The only way this happens is if the folder loses focus, which can happen if another app is running and takes focus, or if you click the mouse somewhere.

  • I bought an iMac last year and now have a flashing folder on start up. I tried to reboot but am unclear about whether or not the time machine has backed up everything I have on there or how I can do it so I don't loose important data.  Thanks in advance!

    My iMac which I bought in May 2011, (yes the warranty for one year just ran out) but I have 3 years through Best Buy, was making a really loud humming noise yesterday so I shut it down and restarted and now I have the flashing folder on a grey screen.  I don't know if I have lost everything on that computer as I am not sure if I set up or needed to set up the time machine when I bought it.  I am not super mac savvy (yet) and would love some help to try and not only fix this issue but to find out how I can check and see if what I have on there is automatically backed up or not.  I need help! Thanks in advance!!!

    Do you have an Install Disc?
    If so...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partitirion & use Disk Utility from there.

  • How to append new field in select clause of dynamic VO through CO

    I have dynamic VO "FaoWorkPerObjPerfRatingsVO" in controlloer below:
    public class FaoWorkApprObjectivesCO extends ApprObjectivesCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oam = oapagecontext.getApplicationModule(oawebbean);
    oracle.apps.fnd.framework.server.OADBTransaction oadbtransaction = oam.getOADBTransaction();
    OAViewObject oav = (OAViewObject)oam.findViewObject("FaoWorkPerObjPerfRatingsVO");
    if(oav != null)
    System.out.println("FAO Found VO PerObjPerfRatingsVO for ObjectivesAM. This means we have re-entered the page");
    } else
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    How can I append 2 new fields are MULTIRATERS_AVERAGE and COUNT_MULTIRATERS as statement below in select clause of dynamic VO above (FaoWorkPerObjPerfRatingsVO)
    fao_pems_utility.AVG_STEP_VALUE(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'MULTIRATER',
    Null,
    PCE.COMPETENCE_ID) MULTIRATERS_AVERAGE,
    fao_pems_utility.COUNT_RATINGS(Null,
    Null,
    fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    PCE.COMPETENCE_ID,
    Null,
    'MULTIRATER',
    Null) || ' out of ' ||
    (fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'GROUPAPPRAISER') +
    fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'REVIEWER')) COUNT_MULTIRATERS
    Thank you very much.

    Hi
    My VO is VO Extension below. In the seeded VO (oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO) doesn't include 2 fields that I want to add in VO.
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    Could you please provide me the coding to append 2 new fields in VO Extension approach. I would like to append them in select clause.
    Thank you.

  • How to use dynamic select query which queries from 3 different table.

    Hi All,
    I am new to Toplink, i would like to use a named query to select some of the columns from 3 different tables with dynamic where clause.
    I have used the following lines. Please tell me how to get code for the dynamic where clause.
    First try :
    Vector objPersons = (Vector)session.executeQuery("findPersonByGlobalID",Person.class,vQueryArguments);
    The above method is not returning the vector or collection.
    Second Try:
    ReadAllQuery query = new ReadAllQuery(Person.class);
    query.useCollectionClass(LinkedList.class);
    LinkedList person = (LinkedList) session.executeQuery(query);
    The second try is returning the collection but, this fetches all the record from the table.
    1. How to query for range of records?
    2. How to query from multiple tables for some range. How to use dynamic range values ?
    Please reply with your answers or some pointers would help.
    Thanks and Regards,
    Vijay.B

    Hi,
    Did you try using a SQLCall ? It might be able to satisfy you requirements .. :-
    Employee employee = (Employee) session.executeSelectingCall(
        new SQLCall("SELECT * FROM EMPLOYEE WHERE EMP_ID = 44")
    );You can get more information here :-
    http://www.oracle.com/technology/products/ias/toplink/doc/1013/MAIN/_html/qrybas004.htm
    Regards,
    Sandeep

  • How To Document: Dynamic selection for InfoSpoke

    Hello
    I have downloaded and read the "How To" document: Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format
    link: https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70&overridelayout=true
    I'm mostly interested for the dynamic selection part of the document and the code for that seems to be stored in an attached text document (ZLX_ESS_INTERFACE.txt). The problem is that i cannot actually view it or any other txt in the pdf.
    Can anyone who has got the txt file link it here please or suggest a program that would dynamicaly change the infospoke selections?
    Actualy i'm not interested in having an input screen for filling the variable value, i just want to get the value from an ODS
    any suggestions?
    Thanx in advance
    Fragi

    Hello
    I have downloaded and read the "How To" document: Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format
    link: https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70&overridelayout=true
    I'm mostly interested for the dynamic selection part of the document and the code for that seems to be stored in an attached text document (ZLX_ESS_INTERFACE.txt). The problem is that i cannot actually view it or any other txt in the pdf.
    Can anyone who has got the txt file link it here please or suggest a program that would dynamicaly change the infospoke selections?
    Actualy i'm not interested in having an input screen for filling the variable value, i just want to get the value from an ODS
    any suggestions?
    Thanx in advance
    Fragi

  • How to Have a separate Users Folder on a separate partition

    I've successfully installed Mac OS X 10.5 on the 20g partition of my 200gb HD (the other "blank" partition is 180gb). Great, so installation went smoothly.
    The 20gb partition is named "sys".
    The 180gb partition is named "root".
    My dilemma, however, is that I want to have my folder (/users/username) on the 180gb parition (root) and keep ALL of apple's core system software and even all apple applications on the "sys" partition (where it is already installed).
    Without the use of aliases, how can I have my user folder entirely on the "root" partition and all other mac software on the "sys" partition?
    Thanks I sincerely appreciate any help in this matter as it would organize my file hierarchy immensely. Thanks

    dstempfley wrote:
    Speaking from a strong unix background and some admittedly limited Mac OS admin experience. I found another discussion:
    http://discussions.apple.com/thread.jspa?messageID=5820852&tstart=0
    The last two messages in the thread seem to be where the meat is. According to this you edit the fstab using vifs and add a mountpoint for /Users.
    The thread suggests that you can put a random UUID, I'm not sure if I'd try that. I found the UUID for the partition using disk utility, Ctrl-Click the partition and open up the Information menu. The UUID is in the list.
    Also you need to copy over the users from the existing /Users directory structure. The following thread discusses using rsync (the preferred method).
    http://julipedia.blogspot.com/2007/01/install-mac-os-x-over-multiple-volumes.htm l
    The thread also gives more information about the problem your trying to solve. I don't think it gets the fstab entries right for Max OS X. But you can try both methods and see which works best.
    Hope it helps,
    /Dion
    dstempfley,
    After perusing
    http://discussions.apple.com/thread.jspa?messageID=5820852&tstart=0
    a bit, it appears as though I'll have to directly change the /etc/fstab file and insert references to the disk partitions without the use of labels.
    Seeing as I want to solve this partition /users folder problem as well as further my knowledge of unix commands, anyone know any good references for deciphering what all the unix commands mean and what the acronyms stand for so I can understand, as well as apply, the commands? "man" is the only thing that comes to mind, and that is actually pretty extensive so I'll stick with that.
    As for solving this..
    "df -h" revealed
    /dev/disk0s2 20Gi 11Gi 9.2Gi 54% /
    /dev/disk0s3 166Gi 108Mi 166Gi 1% /Volumes/root
    I'm aware line 1 = "sys" and line 2 = "root", but how and where do I apply the "/dev/disk0s2" versus "/" or "/dev/disk0s3" or "/Volumes/root"?
    I think I'm going to want to mount the physical partition of /dev/disk0s3 to "/users/username" if that's possible.
    I tried changing the home dir to
    /volumes/root
    /dev/disk0s3
    and even
    /volumes/root/users/username
    but it still doesn't recognize anything other than the /users/username folder on "sys" as "home folder".
    Also, I can access /etc/fstab.hd using cd and ls -al commands but I forget how to open and edit the file.
    http://www.linuxfocus.org/English/September2004/article349.shtml
    seems to answer some core unix structure questions I'm engaging.
    From
    http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/972007530931/inc /-1
    it appears that symbolic links arent' the way to go either.
    http://macosx.com/forums/unix-x11/19249-changing-mount-point-volume.html
    shows someone trying to mount an external drive in the home directory.
    Also where is fstab (not fstab.hd)?? only fstab.hd shows up in /etc with the "ls -al" command.
    A very advanced discussion on creating a customized mountpoint system is detailed here
    http://www.macosxhints.com/article.php?story=20021011053443661.
    This article on creating a dynamic fstab file with user ids could be useful, too:
    http://www.macosxhints.com/article.php?story=20030227194830916
    This article targets creating a home folder on a seperate partition:
    http://forums.macrumors.com/showthread.php?t=116491&highlight=moveuserpartition.
    Where wrldwzrd89's post details the process, but users a symbolic link.
    Jeez, with all the long convoluted forum postings on people trying to accomplish the same objective as I'm doing, you'd think apple would make this easier to do; loading your home folder on a seperate partition isn't "that" advanced of a preference! lol.
    This is as of yet still unresolved.

  • How to know which radiobutton is selected in case of dynamic UI generation and how to pass it to back end?

    This is how I have written for dynamically generating radiobuttons. I have some categories on left view, by selecting which, i will get corresponding questions and it generates 5 options, and user selects one and I need to pass it to back end. I am using IModifiableSimpleValueSet for filling the radiobuttons.
    ISimpleTypeModifiable myType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("Ans.option");
      IModifiableSimpleValueSet values = myType.getSVServices().getModifiableSimpleValueSet();
    values.put(d,wdContext.nodeAns().getElementAt(d).getAttributeValue("option").toString());
    Kindly help, if I am missing something.
      IWDRadioButtonGroupByKey radioKey = (IWDRadioButtonGroupByKey)view.createElement(IWDRadioButtonGroupByKey.class,           "ansRadio"+radio_count++);
      IWDMatrixHeadData matrixHead_radio = (IWDMatrixHeadData)radioKey.createLayoutData(IWDMatrixHeadData.class); 
      IWDAction radioAction = wdThis.wdCreateAction(IPrivateRightView.WDActionEventHandler.SELECT_ANS, radioKey.getId());
      wdComponentAPI.getMessageManager().reportSuccess("radio id"+radio_count);
      radioKey.bindSelectedKey("Ans.option");
      radioKey.mappingOfOnSelect().setString("optionID", radioKey.getSelectedKey());
      wdContext.currentContextElement().setSel_ans(wdContext.currentAnsElement().getOption());
      radioKey.setColCount(1);
      questContainer.addChild(radioKey);

    Hi Jun,
    I have to prepare a questionnaire. Some set of questions will be there in backend having 5 options. Based on category I have to fetch questions and its corresponding answers. Ans is the node which I am filling with choices, based on questions.

Maybe you are looking for

  • What to do with my G3 Blue and White

    Alright, this is my first post, so bare with me. Recently I have purchased a used Powermac G3, B&W 350MHZ computer. Within it, it contains a 6gb hard drive, and 256 MB Ram. I have never owned a mac before and I am very limited on my knowledge of them

  • After installing FF 6.02 on Windows 7, the icon does not appear on the desktop and the program does not appear in the All Programs menu

    I just received a new laptop running windows 7 home premium and wanted to install Firefox on it. I tried to install the most recent version. When i installed 6.0.2, the icon did not appear on my desktop (it was a hidden file in my desktop folder) and

  • GRN Date or MB1C date should be considered for batch

    Dear All, Our customer wants to include GRN date (MIGO) and Goods posting date (MB1C) as a Characteristic for a batch. And he wants the system to pick up these dates automatically for batch. So in batches will be sorted out based on GRN (MIGO) or Goo

  • BAdI for Account Search

    Hi All, I need a BADI in CRM 5.0 version for Account Search using EEWB fields. I found a BADi CRM_ACC_SEARCH and have created a implementation, but the badis is not getting triggered during the search... Let me know is there any other way to trigger

  • ARABIC setup for oracle DB on linux red hat 4

    Hi, i have installed oracle DB on red hat 4 linux OS. I want to input and read/view arabic data on the oracle db. my oralce db NLS parameter setting are given below. PARAMETER VALUE NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY $ NLS_ISO_C