Dynamic number of staticText  components ?

Here is what i want to do :
1 user submits title of some article and article itself from two textFields
2 title and article together with timestamp are recorded to the database table
3 after clicking submit button he gets his article with nicely CSSed title and timestamp on another page- his page.
this is where i am with this project now
4 user adds second article and sees on his page both articles...and so on...like in typical blog
generally i think this is about "wrapping" title, article and timestamp in one "pack" which will be displayed on user's page dynamicaly article_id_autoincrement times.
i hope i did myself clear :)
please enlighten me how do i do something like this- i don't know where to start. any highlights deeply appreciated
thanks

aw! Thank you !
that would be great !
are they still available online ?
i can't find it : /
I want to put one statixText on my page get it multiplied by code by numberd of entries in my database table. I read about < c:forEach > tag in jsp but i guess it's not working with JSF(?)

Similar Messages

  • ADF triggering dynamic number of components

    I have a three-level View object dependency Category -> Class -> Subclass and want to create a dynamic form with the following logic:
    When user chooses a Category from drop down, page is updated with a number of Class drop-down lists presenting all the Subclasses - i.e. I have a dynamic number of selectOneChoice components depending on Category selection. Category to Class dependency is implemented with Category valueChangeListener querying Classes with category Id, Class to Subclass is simple View Link / tree value binding. Subclass value binding to backing bean is done with a HashMap.
    Does ADF faces framework let me re-create actual page components with partial page rendering (or some other mechanism)?
    I should fully re-generate all selectOneChoice components inside forEach every time user changes Category.
    My page components:
    <af:selectOneChoice value="#{bbean.category}"
    label="Category"
    autoSubmit="true" immediate="true"
    id="category" valuePassThru="true"
    valueChangeListener="#{bbean.categoryChanged}">
    <f:selectItems value="#{bindings.Categories.items}"/>
    </af:selectOneChoice>
    <af:forEach var="class" items="#{bindings.Classes.children}">
    <af:selectOneChoice value="#{bbean.subclass[class.id]}"
    label="#{class.name}"
    partialTriggers="category"
    id="class" valuePassThru="true">
    <af:forEach var="subclass" items="#{class.children}">
    <af:selectItem label="#{subclass.name}" value="#{subclass.id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:forEach>
    The above code is a development from earlier less-complex UI. For all I've tried I cannot come up with the desired effect. When I change Category it doesn't affect sub- drop downs in any way. If I activate the Category valueChangeListener, Category change will cause validation phase null property exceptions:
    2.9.2008 14:05:40 com.sun.faces.lifecycle.ProcessValidationsPhase execute
    SEVERE: Error testing property 'null' in bean of type my.project.view.managed.Search$1
    javax.faces.el.PropertyNotFoundException: Error testing property 'null' in bean of type my.project.view.managed.Search$1
    ...

    John & Frank,
    Unfortunately enclosing layout component with partialTriggers="category" doesn't help - I've tried that already (panelgroup & panelpage, that is). Thanks for impressive response time though ;)
    Edit: Sorry, yes it helps! Thanks. The problem happens to be the HashMap value binding, it breaks up things after valueChangeListener refreshes the Class VO. After removing that the surrounding panelGroup does component refresh correctly. Back to drawing board..
    Erik
    Edited by: Erik Westerinen on Sep 2, 2008 5:26 AM

  • Limitation on number of adf components on a jsp page?

    I am currently working on a page which comprises a number of af:table components with underlying af:column components for each table. The page also contains other adf components. My question is as stated above, is there a limitation on the number of adf components that are allowed on a page and if so what this is?
    I have found that page errors I have been having can be resolved by reducing the number of components. For example, by removing af:objectspacer components I am able to include af:column components which previously caused the page to fail.
    Any info would be appreciated.
    Thanks.

    Which version are you on?
    We faced similar problem in 10g. After jspx exceeds a certain size the project doesn't compile.
    This is due to java class file code_length restriction, it cannot be greater than 64K.
    Check this thread for detailed explanation and workaround {thread:id=361086}
    We had worked around the issue by breaking the big page into serveral pages and referring to them in the main page using:
    <f:subview id="SampleSubView">
    <jsp:include page="/app/SamplePage.jspx"/>
    </f:subview>
    Mitesh.

  • Can I create a dynamic number of inputs during runtime?

    Can I create a dynamic number of inputs during runtime?
    Oracle 11g
    Application Express 4.0.2.00.06
    Here is my problem:
    We have a table that holds metadata about files (hardcopy or softcopy files).
    We expect we may need more columns in the table at some point and don't want to modify the table or the application.
    So in order to do this I would like to create:
    A table called TBL_FILE with the columns:
    TBL_FILE_ID               NUMBER                (This will be the primary key)
    TBL_FILE_NAME          VARCHAR2(1000) (This will be the name of the file)
    A second table will be called TBL_FILE_META with the columns:
    TBL_META_ID               NUMBER               (This will be the primary key)
    TBL_FILE_ID               NUMBER                (This will be the forign key to the file table)
    TBL_META_COLUMN     VARCHAR2(30)     (This is what the column name would be if it existed in TBL_FILE)
    TBL_META_VALUE          VARCHAR2(1000) (This is the value that record and the 'would be' column)
    So a person can have as much meta data on the file with out having to add columns to the table.
    The problem is how can I allow users to add as much data as they like with out having to re develop the page.
    Other things to note is that we would like this to be on a single page.
    I know how to add we can create multi-row inserts by using a SQL Query (updateable report),
    however the TBL_META_VALUE column in the TBL_FILE_META will sometimes be a select list and other times a text box or number field.
    So I don't see now a SQL Query (updateable report) would work for this and I can't create an array of page items at run time can I?
    Any idea's how I could accomplish this? Is there a better way of doing this?
    Also is there a term or a name for what I am doing by creating these 'virtual' columns in another table?
    I found this method when looking at Oracles Workflow tables.

    Welcome to the Oracle Forums !
    >
    Can I create a dynamic number of inputs during runtime?
    Oracle 11g
    Application Express 4.0.2.00.06
    Here is my problem:
    We have a table that holds metadata about files (hardcopy or softcopy files).
    We expect we may need more columns in the table at some point and don't want to modify the table or the application.
    So in order to do this I would like to create:
    A table called TBL_FILE with the columns:
    TBL_FILE_ID NUMBER (This will be the primary key)
    TBL_FILE_NAME VARCHAR2(1000) (This will be the name of the file)
    A second table will be called TBL_FILE_META with the columns:
    TBL_META_ID NUMBER (This will be the primary key)
    TBL_FILE_ID NUMBER (This will be the forign key to the file table)
    TBL_META_COLUMN VARCHAR2(30) (This is what the column name would be if it existed in TBL_FILE)
    TBL_META_VALUE VARCHAR2(1000) (This is the value that record and the 'would be' column)
    So a person can have as much meta data on the file with out having to add columns to the table.
    The problem is how can I allow users to add as much data as they like with out having to re develop the page.
    >
    Creating Page Items dynamically is not available. You will have to create excess items and hide/show , etc. But you cannot change the Item Type. All in all, too many limitations in this approach.
    >
    Other things to note is that we would like this to be on a single page.
    >
    The 100 item limit will hit you if you go with extra item on page. With Tabular Form that should not be a limitation, unless you are exceeding the 50 item limit of APEX_APPLICATION.G_Fnn items, and the 60 column limitation of Report region with "Use Generic Column Names (parse query at runtime only)" of Dynamic region.
    >
    I know how to add we can create multi-row inserts by using a SQL Query (updateable report),
    however the TBL_META_VALUE column in the TBL_FILE_META will sometimes be a select list and other times a text box or number field.
    >
    If the type if item is variable it only means you need a way to store the item type. Meta Data of the Meta Data.
    >
    So I don't see now a SQL Query (updateable report) would work for this and I can't create an array of page items at run time can I?
    >
    Yes, you can do it. Updatable report/ Tabular Form query can be constructed from the Meta Data using PL/SQL Function Returning SQL Query . It will be a bit of coding in PL/SQL where you use the Meta Data and the Meta Data of the Meta Data to piece together your SELECT with the right APEX_ITEMs. It might have a performance penalty associated with it, but will not be a serious degradation.
    >
    Any idea's how I could accomplish this? Is there a better way of doing this?
    Also is there a term or a name for what I am doing by creating these 'virtual' columns in another table?
    I found this method when looking at Oracles Workflow tables.
    >
    I guess that is just a good TNF. It is the Master-Detail Design Pattern, that sound more modern ? ;)
    Regards,

  • Xy graph with dynamic number of plots

    I've got an XY Graph with some dynamic number of plots to graph. Once I know this number, I change the LegPlots property and plot the data from an array containing all the plots. The data is displayed correctly, but I get overlapping colors. Say I'm only trying to graph 3 plots. I get three lines (good) but then the three lines have 29 colors (bad), as if it's plotting all possible plots at the data points of the three. The legend updates to only show three (good), but am I missing something else? Does the LegPlot property not govern that, but only governs the legend itself?

    If the problem is the code then I'll take a look at my mess of wire, I just wanted to see if it was the LegPlots property first.
    Here's what it looks like, just in case
    Attachments:
    toomanycolors1.JPG ‏25 KB

  • How to create Dynamic number of attachments in BPM Process ?

    Hi All,
    I have a requirement to create a dynamic number of attachments, as per need. I am aware of attachment.create() but i believe with this i can only create only the fixed number of attachments. Is there any way by which i can play around with create() api or is there any other API to fullfill the requirement??
    Any response is well appreciated.
    Regards,

    Hi,
    You can create the n-items in the region by creating items in the controller. i mena to see say by looping..
    Thanks,
    Kumar

  • Dynamic Number of Column in a table

    Hi guys,
    I have a requirement that needs dynamic number of column in a tale.
    It is possible to do this in Adobe forms.
    Thanks,
    Chirantan

    Hello. It of course is possible in Adobe.
    You need to write a simple script using JavaScript or FormCalc to hide or show columns according to some special value. You will work with the presence attribute of the object. E.g. MYFIELD.presence = "visible" or "hidden" or "invisible". You will need to change your subforms content to flowed.
    Use these guides:
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    help.adobe.com/en_US/livecycle/es/FormCalc.pdf
    Hope this helps, good luck, Otto

  • Dynamic Number Of Data Columns

    Greetings - I'm attempting to create a report that has a dynamic number of columns.  The type of data in the columns varies (number, string), and I need the details to display, not a summary.
    If I knew the max number of columns I'm sure I could figure out some logic to make it work, but that is not the case.
    Data example:
    Row 1: Name Timestamp Country Height ...
    Row 2: Name Timestamp Country Weight ....
    Desired report:
    Hdr1-Hdr2Hdr 3-Height---Weight
    Name Timestamp Country Height   <blank>
    Name Timestamp Country <blank>  Weight
    There may be a solution in a cross-tab but I will need the Name, Timestamp, Country in separate columns as this may be output as CSV.
    Any assistance will be appreciated.

    Generally, when you don't know the number of columns, a cross-tab is the way to go.
    You can get the first three column that you stated by putting all three fields in the Rows section of the Crosstab Expert. 
    As for the data returned from the database, you'll want the three row fields, a "value name" field (containing value such as "Weight" and "Height"), and then a Value column with the value of the "value name" field.
    HTH,
    Carl

  • BI  Layout/Template | Table with dynamic number of columns

    hi!
    i have a problem concerning the creation of a dynamic report with the BI publisher.
    in my BI template i need a table with a dynamic number of columns. i have searched the
    forums but havent really found a solution for this type of problem.
    first of all this is A dummy-structure of my dataset:
    <ROWSET>
         <ROW>
              <FIELD1>1</FIELD2>
              <FIELD2>2</FIELD2>
              <FIELD3>3</FIELD3>
              <FIELD4>4</FIELD4>
         </ROW>
         <ROW>
              <FIELD1>a</FIELD2>
              <FIELD2>b</FIELD2>
              <FIELD3>c</FIELD3>
              <FIELD4>d</FIELD4>
         </ROW>
    </ROWSET>
    in the report the fields represent the columns i need in the table.
    the problem is, that the number of the fields vary. in this example i have 4 fields/columns
    but another time i may have 6 or 10 etc..
    my dataset is always different because i am loading my dataset via a http request which is
    returning the needed data in XML.
    is there a nativ possibility within the publisher to generate the columns dynamically?
    i read about <?split-column-header:group element name?> etc. but this is only for cross-tables.
    can anybody give me a hint how to approach this problem?
    would be very glad for some advice.
    thanks a lot in advance!

    Specific answer is here
    http://winrichman.blogspot.com/2008/09/dynamic-column.html
    but these link let you know, how to do
    http://winrichman.blogspot.com/search/label/Dynamic%20column
    http://winrichman.blogspot.com/search/label/Cross-tab
    http://winrichman.blogspot.com/search/label/cross%20tab

  • Number of software components

    Hi! experts
    Can any one tell me how can I see the number of  Software Components on ECC 5.0, BW and Portal ??
    I need to know both First and Second tier component. (Ej: AC-COB, AC-INT, ALL-AC, etc)
    Thank you very much
    Xiomara

    hI! Juan
    Thanks.
    We are interested in knowing not only the Symten component Software also we need to know about the ERP, BW, Portal, and soon. In other words need to know the total compnonent software installed on the systems.
    With the SPAM and http:/hotname:50000/index.html we can get just a few of them.
    If you have any other idea please let us know
    Thank you

  • Creating a dynamic number of objects

    Hi,
    I write a program that has to use a dynamic number of object let say Strings (st1, st2, st3.....)
    for (i=1;i<4;i++){
    String "str"+i = new String (" ");
    How do I do that?
    Eli

    use collections. list. hashtable or something like that. even an array would be ok and keep adding data to it

  • Dynamic number of Combo boxes in an applet

    Hi,
    I'm quite new to Java & rite now, i've an reqt to build an applet. The problem is my applet will be having a dynamic number of combo boxes in it. This number is based on the parameter passed to the applet..
    any eg or references to a similar reqt would be very helpful.
    Regards
    -Sree Ram

    Define your combo boxes dynamically and put them in a vector:
    int numberOfComboBoxes = 7;
    Vector comboBoxes = new Vector( numberOfComboBoxes );
    for ( int i = 1; i <= numberOfComboBoxes; i++ ) {
    comboBoxes.add( i - 1, new Choice() );
    Now you can reference the combo boxes any time you like, no matter how many of them there are:
    for ( int j = 1; i < numberOfComboBoxes; i++ ) {
    System.out.println( ((Choice)comboBoxes.get( j - 1 )).getSelectedItem() );
    }

  • Dynamic number assignment for crm orders

    Hello all,
    i am looking for a userexit/badi in TX: CRMD_ORDER to implement a sales organization-dependent (dynamic) number assignment for transactions to meet R/3 requests.
    Thanks in advance for your help.
    Kind regards
    Mark

    Hi Kaushal,
    thanks. I have already checked this badi. Unfortunately fm "CRM_ORDERADM_H_OBJECTID_DET_OW", where number assignment takes place, is called after this badi. According to SAP OSS there is no user exit avaiable.
    Regards Mark

  • Android - dynamic number of checkboxes & items

    i wanna make the Activity show a dynamic number of CheckBoxes/ListItems (not sure what it's called) depending on the number of records i have (something like the "show all SMS threads" and "delete SMS threads" screen).
    how do i do that?

    If you have a question about the java LANGUAGE, feel free to ask it.
    But that is not what you have. You can make snippy remarks all you want, you fail at thinking about what the right place is to ask your questions and thus you get an unhelpful response. That's your own failure.

  • Dynamic SORT with multiple components

    Hi all,
    I want to sort an internal table in this way:
    SORT itab BY (component).
    This is not difficult if "component" contains the name of ONE column of itab. But - and here is my problem - how can I sort with multiple components?
    Like this:
    SORT itab BY (comp_1) (comp_2) ... (comp_N).
    The number of components (N) shall be flexible. It is not possible to concatenate the components into one string-variable. This causes an error ITAB_ILLEGAL_COMPONENT.
    Brillant would be a solution which also contains the sort-direction (ASCENDING or DESCENDING for each component like this:
    SORT itab BY (comp_1) (dir_1)
                 (comp_2) (dir_2)
                 (comp_N) (dir_N).
    Is there a way to do so?
    Thanks for all hints!
    Mathias

    Hi Matahias ...
    From ABAP help...
    SORT itab.
    Extras:
    1. ... BY f1 f2 ... fn
    2. ... ASCENDING
    3. ... DESCENDING
    4. ... AS TEXT
    5. ... STABLE
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Field symbols not allowed as sort criterion.
    Effect
    The entries in the internal table are sorted in ascending order using the key from the table definition (DATA, TYPES).
    Addition 1
    ... BY f1 f2 ... fn
    Effect
    Uses the sort key defined by the sub-fields f1, f2, ..., fn of the table itab instead of the table key. The fields can be of any type; even number fields and tables are allowed.
    You can also specify the sort fields dynamically in the form (name). If name is blank at run time, the sort field is ignored. If itab is a table with a header line, you can also use a field symbol pointing to the header line of itab as a dynamic sort criterion. A field symbol that is not assigned is ignored. If a field symbol is assigned, but does not point to the header line of the internal table, a runtime error occurs.
    If the line type of the internal table contains object reference variables as components, or the entire line type is a reference variable, you can use the attributes of the object to which a reference is pointing in a line as sort criteria (see Attributes of Objects as the Key of an Internal Table
    You can address the entire line of an internal table as the key using the pseudocomponent TABLE_LINE. This is particularly relevant for tables with a non-structured line type when you want to address the whole line as the key of the table (see also Pseudocomponent TABLE_LINE With Internal Tables).
    If you use one of the additions 2 to 5 before BY, it applies to all fields of the sort key by default. You can also specify these additions after each individual sort field f1, f2, ..., fn. For each key field, this defines an individual sort rule which overrides the default.
    Cheers
    Preetham

Maybe you are looking for

  • How can I use an existing iTunes library with a new iTunes account

    My daughter is going to college, and wants to untangle herself from the family iTunes account. Right now, we have three iPods with libraries on three computers, all using my iTunes account - and have had no problems. She has signed up for a new accou

  • UTF issue when moving from cf5 to cfmx7

    It's been long overdue so am moving from CF5 to cfmx7 on my hosting account. The issue is that my hosting account has disabled cfcontent. I am getting gibberish outputting utf data from my database. It works fine on cf5 but on cfmx7 I read someplace

  • How to find outbound FM in idoc

    Hi, How do we find out the FM for outbound idoc?My requirement is the outbound idoc is getting generated and the file is gettin created in the file path correctly. So there is no issue with the idoc. I have to find out the FM which actually creates t

  • Database Applications Table version

    Hi all I am using oracle 9i db with OIM9101. I see we have 2 versions of Database Applications Table connector 9.0.4 9.1.0 only the version 9.1.0 is available in oracle site of connector downloads: http://www.oracle.com/technology/software/products/i

  • Application Deployment Error - This operation retu...

    I can't deploy the XAP file to my Lumia 920 even my Lumia 920 was developer unlocked. Any solution?