DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    deors Guest

    making selected rows in a <SELECT> form element invisible


    hi to everyone

    i have a form with a select element. this form is submited to a servlet that
    uses the selected elements for database processing.

    the problem is that while the servlet responses, processes the data and writes
    the output the selected lines are visible and i don't want that this happens.

    is there any way to change the style of selected lines?

    thank you

  2. #2
    ynwt Guest

    Re: making selected rows in a <SELECT> form element invisible


    When you construct/populate the result page<Select Tag-Option> from your Servlet,
    just check the Requested value and your data you do not want to include.
    if they are the same just omit the construct or insert additional comment
    for this <option> tag.

    ynwt
    ====

    "deors" <deors@wanadoo.es> wrote:
    >
    >hi to everyone
    >
    >i have a form with a select element. this form is submited to a servlet

    that
    >uses the selected elements for database processing.
    >
    >the problem is that while the servlet responses, processes the data and

    writes
    >the output the selected lines are visible and i don't want that this happens.
    >
    >is there any way to change the style of selected lines?
    >
    >thank you



  3. #3
    deors Guest

    Re: making selected rows in a <SELECT> form element invisible


    thanks for the answer, but the problem appears when processing a request.
    i have a form with the select list. when i submit form only the selected
    items are submited, so i have to select the items i want to receive.
    this items are visible while the servlet processes the request and writes
    the response, and i don't want them to be visible.
    i think that maybe exists some css attribute that lets change the colors
    of selected items on a select, but i cannot find it in the specs.

    "ynwt" <ynwt@hotmail.com> wrote:
    >
    >When you construct/populate the result page<Select Tag-Option> from your

    Servlet,
    >just check the Requested value and your data you do not want to include.
    >if they are the same just omit the construct or insert additional comment
    >for this <option> tag.
    >
    >ynwt
    >====
    >
    >"deors" <deors@wanadoo.es> wrote:
    >>
    >>hi to everyone
    >>
    >>i have a form with a select element. this form is submited to a servlet

    >that
    >>uses the selected elements for database processing.
    >>
    >>the problem is that while the servlet responses, processes the data and

    >writes
    >>the output the selected lines are visible and i don't want that this happens.
    >>
    >>is there any way to change the style of selected lines?
    >>
    >>thank you

    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links