Scrolling of data with UNSCROLLED header.using struts.Tried a lot my friend

Got the class file fr.improve.struts.taglib.layout.util.FixedHeaderCollection which will be used to solve the problem.But how to use this in struts-layout.tld & in my application,where I am using layout:collection.

I am also attaching the portion of that particular JSP page:
[sample is just a style class]
<table class="sample">
                    <th width="80">
                         Sl No.
                    </th>
                    <th width="233">
                         Code
                    </th>
                    <th width="150">
                         Name
                    </th>
     </table>     
     <div style="position: relative; left: 0px; overflow: auto; top: 0px; height: 170px; width: 100%; padding: 0em; ">
                    <table class="sample">
                         <logic:present name="searchMst" scope="session">
                              <logic:iterate name="searchMst" id="searchMst" scope="session">
                                   <tr style="background-color:red;">
                                        <td width="80" height="10">
                                             <bean:write name="searchMst" property="srlNo" />
                                        </td>
                                        <td width="233" height="10">
                                             <bean:write name="searchMst" property="accCd" />
                                        </td>
                                        <td width="150" height="10">
                                             <bean:write name="searchMst" property="accDesc" />
                                        </td>
                                   </tr>
                              </logic:iterate>
                         </logic:present>
                    </table>
     </div>

Similar Messages

  • Scrolling of large amount of data with Unscrolled HEADER .How to do???

    I am in much need of scrolling a large amount of data without scrolling the header,i.e. while scrolling,only data will be scrolled,so that I can see the header as well.I am using JSP in struts framework.Waiting for your help friends.Thanks in advance.

    1) Install Google at your machine.
    2) Open it in your favourite web browser.
    3) Note the input field and the buttons.
    4) Enter smart keywords like "scrollable", "table", "fixed" and "header" in that input field.
    5) Press the first button. You'll get a list of links.
    6) Follow the relevant links and read it thouroughly.

  • How to load data into html:select using Struts ?

    How to load data into <html:select> using Struts ?
    I can not load an array or collection (static or dynamic data) into drop down list control by <html:select /> Struts.
    please use:
    <html:select >
    <html:options />
    </html:select >
    Please help me. please detail it. thanks a lot.
    Message was edited by:
    tranminhman

    In order to load a collection or array of data you can use <html:select> with <html: options collection="" name=""/>
    here collection attribute refers to the Arraylist or Array of data and name is the name of the Form bean.
    Hope this helps...
    Chaitanya V

  • [b]Data Grid in jsp using Struts [/b]

    I need to develop a data grid in JSP using struts .
    I am using Tomcat web server , Intellij IDEA IDE.
    If any one has code, please sent it.
    Thanks in Advance.

    hi,
    Use Struts-Layout datagrid framework to full fill your needs
    Related Topic link
    here is the clear documentation for your topic
    http://struts.application-servers.com/datagrid/index.html
    here is the download link
    (Struts-Layout datagrid framework)
    http://deltha.uh.cu/java/docs/struts-layout-1.0-docs/download.html
    related discuss
    http://forum.java.sun.com/thread.jspa?threadID=5202989&messageID=9811082

  • How can I  get System dates  with time scheduler using threads

    how can I get System dates with time scheduler using threads.is there any idea to update Date in my application along with system Date automatic updation...

    What the heck are you talking about and whatr has it to do with threads?
    Current time: System.currentTimeMillis. Date instances are not supposed to be updated.

  • Problem download data with trailing blanks using gui_download

    Hi All,
          I am using SAP 4.6C. I have requirement to download data with trailing
    blanks.But i am not succeeded fully to acheive my requirement.I want to
    download data to be in the below format.
    Eg: 'T000000070600000004000000003593593                                               '
    I want to download data with different blanks of each record.
    For example in 1 line 18, 2nd line 25, 3rd line 22.
    I already used Hexa notation value '09'. But it is showing only 7 at once. I have
    added 3 times this field but it is showing 21. How i can i add extra space?
    I tried to move ' ' spaces also. It does't wotk. I have tried concatenate with ' ' and
    separared by ' ' also but no use.
    I have passed all possible parameters to GUI_DOWNLOAD FM.
    say  write_field_separator         = ' '
    write_lf    = 'X'
    trunc_trailing_blanks    = ' '
    trunc_trailing_blanks_eol     = ' '
    Could please tell me some one had faced same problem earlier. It is very urgent.
    Is there is any class attribute in SAP 4.6C?
    ( like cl_abap_char_utilities in 4.7 )
    Thanks in Advance.
    Basha

    Try :
    CONCATENATE  XXXX space RESPECTING BLANKS.
    Of course you must retain these parameters :
    trunc_trailing_blanks = space
    trunc_trailing_blanks_eol = space
    Hope this helps

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • How to aggregate data with BI Publisher using an OBIEE analysis

    Hello,
    I'm new with BI Publisher, and I have a concern about the ability for BIP to aggregate data.
    I am creating a data source from an OBIEE analysis containing the columns "Year", "Month", and "Revenue".
    I want to use this source for 1 report containing several pages. One of the page has a simple table displaying only the Year and the Revenue.
    But I get as many rows as number of months is the year.
    And I cannot find any way to have the data aggregate inside my PIB table.
    Can someone help me finding the solution?
    Many thanks in advance

    Hi,
    Unfortunalty BIP doesn't aggregate anything, like the BI server does. It will always show data on the lowest level.
    If you use a query on the BI-server let the BI server do the aggregation and just remove the "Month" column. If you don't want to remove it from your OBI analysis, copy the logical SQL from this analysis to BIP. And select OBIEE as a datasource.
    Then remove month from your query.
    Regards, Machiel

  • How to load date with time zone using sql loader???

    Hi All,
    How to load following value in the table using SQL loader.
    [11/Jan/2006:15:20:14 -0800]
    What should be the datatype of the column in the table. I have tried with "timestamp with local time zone", but unable to load the record using sql loader. What should be the format string in the loader control file to load this type of record.
    Any help in this regard is highly appreciated.
    Sameer

    Try something like this in your control file:
    mycol char "TO_TIMESTAMP_TZ(mycol, 'DD/MON/YYYY:HH24:MI:SS TZH:TZM')"
    [pre]
    Message was edited by:
            Jens Petersen                                                                                                                                                                                                                                                                                                                                                                       

  • Download internal table data into excel sheet with column heading and data

    Hi,
      I am having one internal table with column headings and other table with data.
    i want to download the data with these tables into an excel sheet.
    It should ask the user for file name to save it on their own name. They should give the file name in runtime and it should be downloaded into an excel sheet.
    Can anyone tell what is the right function module for downloading these two internal table data with column heading and data.
    what we have to do for storing the file name in runtime.
    Can anyone help me on this.
    Thanks,
    Rose.

    Hi Camila,
        Try this
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = PATH2
       FILETYPE                        = 'XLS'
      TABLES
        DATA_TAB                        = IT_DATA
       FIELDNAMES                      = IT_HEADINGS
    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

  • Scrollable table with fixed header (tutorial? also IE9)

    Hi,
    Does someone know of a tutorial about scrollable tables with a fixed header. Is there one on the adobe site. I found some on the net, but those didn't work for IE9. I favour the simple solutions.
    I tried one, using only a few lines of CSS and the use of the thead and tbody tags in the table, but it didn't work on IE9.
    Here is an example, of what I ment:
    http://rcswebsolutions.wordpress.com/2007/01/02/scrolling-html-table-with-fixed-header/
    I thank those, who red this.

    Thanks, that is a very cool way to divide a layout of a web-page!
    Can I also use this to split up a header and table body region inside a large table you want to present compact inside a webpage?
    html:
    <body>
    <table>
         <thead>
              <th>
              </th>
         </thead>
         <tbody>
              <td>
              </td>
         </tbody>
    </table>
    </body>

  • Can't access Palm User Data with Mountain Lion

    Hi
    I am now using Mountain Lion (10.8.6) and can not acces Palm User Data which has all my contacts.  I'm not very computer savvy and am not even sure what my old computer was running that allowed me to open my Palm Desktop software so I'm not  very comfortable trying to install another OS just for this application.  Is there another way to open the Palm User Data with another application?  I tried Text Edit and the data is corrupt.  Or is there any 3rd party software that could help?   
    thank you.
    Madeline

    Hey guys I've found the solution for this problem!!! You will can continue using the wifi conection! My Mountain Lion language is portuguese so i will translate how i think it is in english... go to sys preferences, click on network, than select wifi and click on advanced button, select the hardware tab, on set check it as manual, and then check MTU mode as personilized. It will show a number (problaby 1500) set it as 1400 or lower and click on ok! After that, everything will work again! I hope that helped you all! Thanks.

  • HP LJ 2320fxi sends emails with BAD-HEADER

    Hi,
    my HP LJ 2320fxi sends emails with scaned documents with BAD-HEADER (our server is blocking email messages with BAD-HEADER). I tried to upgrade firmware but it didn't help. When I test a printer setting, printer sends emails normaly, but only these emails without included PDF. Has anyone ever met with this kind of problem?
    Thanks for any help.
    Tom

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to swap column-data along with Table header

    Hi All!
    I found a smple JTableDemo.java class. When I run it it provided sorting on the table as well as Dragging Column-data along with Table header while swaping two columns-headers.
    I designed my own table and apply some changes to TableModel. Afterwords it swaps Table-Headers only, but not their respective columns.
    Can someone give me a clue for that, where the logical error may be?
    Thanx in Advance

    surprised.. since you have asked, it must have some more tricky issue. Any way what i thought of it
    in before insert on table2
    simply insert into table1 (cr_id) values (:new.cr_id_id);
    i assume that table1 pk does not generated through sequence
    proposed insertion will not violate the uniqueness and create another record only in table1
    what is thehidden agenda for not using simple before insert trigger as above.
    yours
    dr.s.r.bhattachar

Maybe you are looking for

  • It keeps saying it cant sync because it doesnt have some disc

    pleez help me i cant get it off of sync selected play lists bcuz wen i try to it keeps saying cant sync because it doesnt have some disc

  • Setting cookie to save username/password information

    Hello, I have created an Application in PhP/MySql. The Mysql database used by my application is hosted by my website provider. The problem is the website provider has set the Timeout of 1 minute for connection to database.So, if there is inactivity o

  • "DRG-10700: preference does not exist: french_lexer"

    Hi I am working on a database migration from 9.2.0.7 to 10.2.0.4. Everything is working fine but Oracle text no. The user CTXSYS is ok, he is granted all privilege I am trying to create this index, and I have got this error: CREATE INDEX USER.MY_TABL

  • Sending audio to different computer to be played

    I have a Mac Pro and a Macbook pro, Im trying to figure how I can send audio to my Mac Pro via a wired connection to be played. My Mac Pro is hooked up to my stereo system and I just want to be able to click on songs In my Itunes and than have it sen

  • Another case of Safari 5 crashing at open

    I've tried many of the things already submitted on the forums. I've repaired disk permissions, deleted preference files, deleted plugins, etc. Is there something specific to my setup that I need to try? Here is my report: Process: Safari [18256] Path