Keeping the checkbox , checked, even when page refreshes.

Hi,
How do I get the value of thea checkbox, and what is the value of a checkbox?
One thing when my BSP page refreshes, the 'tick' in the checkbox, vanishes, and the application pops up a message, that a particular category has not been checked.
and how do I make my checkboxes  stateful, i.e it doesn't lose their 'tick' even when the page refreshes.
Regards,
Gautam

Hi,
What do you mean by refreshing? Using the reload button of the browser or submitting the form and showing the form again? If it's the latter, you only need to check the value of the field of your checkbox and add <b>checked</b> in the <input...> tag.
Eddy
<a href="/people/eddy.declercq/blog/2007/02/28/pimp-up-the-jam-choose-your-favourite for your favourite pimped out S(D)N site!

Similar Messages

  • How to keep the JSP content constant when page refresh?

    Hi All,
    When I click page tabs in WLP, it will trigger a refresh event.
    The portlet has a webflow with a refresh event whose destination is
    lastContentUrl(referent-namespace is portal, cloned from portlet2.wf).
    The question is when the page changed, the jsp files which use
    request.getParameter() to get parameters will fail to fulfill what they
    need because the event provide none parameter.
    So that everytime page changed, these portlets will have quite strange
    contents.
    How to keep these content constant when page changed?
    Sincerely,
    Alan.

    The problem is still there if the jsp file is about inserting a new record
    into the database.
    If these parameters are gotten from the session, mutliple insertings will be
    attempted when the portlet is refresh.
    Maybe we can put some control flags in the session to judge the correct
    behavior, but the method results the session full of parameters(control
    flags).
    Or is there any better design?
    Alan.
    "travis wissink" <[email protected]> ¼¶¼g©ó¶l¥ó
    news:3cc71962$[email protected]..
    >
    Alan,
    You could use the session to put your parameters in instead of letting itride completely
    on the request object. Although, your question is more than just makingthe content
    reappear, it’s about holding state. The project that I am working on, theusers
    decided that they want the page portlets to go back to the "normal" state,not the
    "Maximized" view. So, I put a processor in between the internal.refreshwildcard
    and the Preprocessor input processor so that all the portlets would beseen in their
    "normal" state.
    Good Luck
    -Travis
    "Alan Liu" <[email protected]> wrote:
    Hi All,
    When I click page tabs in WLP, it will trigger a refresh event.
    The portlet has a webflow with a refresh event whose destination is
    lastContentUrl(referent-namespace is portal, cloned from portlet2.wf).
    The question is when the page changed, the jsp files which use
    request.getParameter() to get parameters will fail to fulfill what they
    need because the event provide none parameter.
    So that everytime page changed, these portlets will have quite strange
    contents.
    How to keep these content constant when page changed?
    Sincerely,
    Alan.

  • Is there a way that you can keep the same checked songs when transefering all your music to a different computer?

    ive just got a new computer and installed ITunes. ive brought all my music across from the old computer but when ive added it to I tunes it has checked all the songs. is there a way you can uncheck all the songs you don't want (same as previous computer) or do you have to go through and manually uncheck all the songs you don't want on the I pod??

    When you copied the music from your old computer you should have included the iTunes database (iTunes Library.itl) as well as your media files - this is the structure (normally in C:\Users\username\Music) that you should copy from old to new:
    If you only copied the media, and not the database file, try doing so now (without iTunes running) - the files and folder structures should be the same on your new PC as on your old one.
    Then hold down SHIFT while starting iTunes; you'll get this prompt:
    Click on Choose Library..., then browse to and select the iTunes Library.itl file that you just copied.  Your library should now be in the state that it was on your old machine, including checked selections.
    By the way, using checkboxes against individual songs is a really inefficient way to manage how content is synced to an iDevice.  Its much easier to create a playlist that you can move songs/albums in and out of, and configure your iDevice to sync media from this playlist.

  • How can I get Firefox to NOT use DDE? If I uncheck it in Windows XP "Folder options" it keeps getting re-checked. When checked, it takes minutes to get Firefox to open on a page linked from Outlook.

    How can I get Firefox to NOT use DDE? If I uncheck it in Windows XP "Folder options" it keeps getting re-checked. When checked, it takes minutes to get Firefox to open on a page linked from Outlook.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

  • My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever...

    My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever... I have tried to reset the network few times, but not working.

    Hello Nazer_502,
    I would be concerned too if my iPhone was acting this way.  It sounds like it is overheating and not holding a charge. I recommend following the steps listed below when experiencing an issue like this:
    Battery life seems short
    Click ( www.apple.com/batteries/iphone.html) for tips on how to prolong iPhone's battery life.
    Try turning iPhone off and then on again.
    Connect iPhone to iTunes and restore iPhone.
    If the screen shows a low-battery image, the battery is low on power and needs to charge for up to ten minutes before you can use it.
    When charging iPhone, make sure to leave it charging until it is fully charged. You'll know the battery is fully charged when the battery icon in the upper-right corner of the screen looks like this .
    Note: When charging using a computer, don't connect iPhone to a keyboard. Also, the computer must be turned on and not in sleep or standby mode. If iPhone is connected to a computer that's not turned on or is in sleep or standby mode, the iPhone battery may drain.
    You can find the full article here:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to keep the data entered on a page apex

    how to keep the data entered on a page apex
    so, I've got a registration page then wish go to another page P2 and I return to this P1 without losing data

    Hi,
    As long as the registration page is within the same session, the values will remain in the session until they are specifically cleared out. This can be done by a process on a page - so check if you have a "reset page" process on P1 and, if you do, delete it. This can also be done on a branch - so check the branch that takes you to P2 and see if there is anything entered in the Clear Cache setting and, if it shows *1*, remove that. There are other ways as well, but these are most typical.
    Andy

  • Notifications wake up the phone screen even when t...

    Notifications wake up the phone screen even when the phone is in pocket or case. It wasn't the case earlier.
    Using - Windows Phone 8, Lumia 720Problem - Notifications wake-up the screen even when in case(or pocket).
    **I am not talking about the glance feature
    I observed this strange behaviour yesterday. Whatsapp notifications wake up the screen even when the phone is in the case.
    Earlier the screen didn't use to wake up, i could hear only the notification sound. Only when u remove it from the case immediately after notification arrive, the screen turns on. If you don't remove it from the case, it never use to wake up the screen.
    That was a feature, which used the proximity sensor.
    Now this feature is gone. I recently updated to Amber, and I doubt this is due to glance feature.
    Now every time a get a whatsapp message the screen wakes up.
    Vibhor Agarwal

    hi mate,
    as first port of call, try performing a soft reset (pressing the volume down and power buttons together until the phone vibrates). also check the settings inside WhatsApp and also the background tasks in the phone Settings, and re-enable the settings you have for the Glance screen feature.

  • Does it adversely effect the battery to keep the IPad plugged in when fully charged?

    Does it adversely effect the battery to keep the IPad plugged in when fully charged?

    Copied from Texas Mac Man ...
    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge &amp; then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
     Cheers, Tom

  • How do I keep the website's icon when creating a desktop shortcut as opposed to the firefox logo?

    When I click a website's icon in the address bar in Firefox and drag it to my desktop to create a shortcut to said site, the shortcut is created with Firefox's icon. I want to know how to keep the site specific icon when creating these shortcuts. I know that once the shortcut is created you can go into properties and choose from several generic icons but I don't want those cheesy icons. Can anyone help?

    If you drag a link or favicon on the left end of the location bar onto the desktop to create an internet shortcut then that shortcut gets the icon of the default browser.<br />
    If you want a different icon (favicon) then you have to assign that icon yourself to the desktop shortcut (right-click: Properties).<br />
    You can usually get the favicon if you append "favicon.ico" to the main domain of a website (e.g. http://www.mozilla.com/favicon.ico ) to display the favicon in a tab and save that image to a folder or see if you can find it in "Tools > Page Info > Media".<br />

  • How do I keep the find bar open when scrolling through multiple tabs?

    The newest update of Firefox doesn't allow me to keep the find bar open when shifting through multiple tabs. I've tried Findbar tweak however that erases the search criteria as soon as I try to scroll down the page to the next location. Anyone know how to keep the find bar open when i shift from one tab to the next?

    There is a more up-to-date "beta" version of FindBar Tweak you could try, if you haven't tested it already. You can find it on the extension's "Versions" page here:
    https://addons.mozilla.org/firefox/addon/findbar-tweak/versions/
    I did see one other extension with a similar purpose (I haven't tried it myself):
    https://addons.mozilla.org/firefox/addon/globalfindbar/

  • On a iphone4, under settings, messages, send and receive, there are multiple phone numbers listed.  How do I remove them? they are constantly checked even when i uncheck them.  this is causing copies of my text messages to go to those phones.

    on a iphone4, under settings, messages, send and receive, there are multiple phone numbers listed.  How do I remove them? they are constantly checked even when i uncheck them.  this is causing copies of my text messages to go to those phones.

    Are you using the same AppleID for all those phones? If so, get them all their own AppleID.
    KOT

  • How to print the Actual Check on 1st Page if line items are more for F110_p

    Hi,
    How to print the Actual Check on 1st page if the line items are more in F110_PRENUM_CHCK script. The standard script is printing at the last page of line items.
    I tried using
    IF &PAGE& EQ '1 '
    /E 545 --> text element
    ENDIF
    but it is of no use.
    Please let me know if anyone knows. Thanks in Advance.

    Hi Krishna,
    I guess, there is no other possible way to acheive this without modifying the standard driver program. Why because? in you driver program you check window will be called only on the last page... but before you change your driver program give a try like shown below....
    Not sure, but give a try... In the first page you will be printing some void check try to replace the code inside the text element of void check with original check and make all the check void... note: in this text element, be sure you write two conditions...
    IF &PAGE& = 1.
    **PRint all check values..
    ELSE.
    ***Print void values
    ENDIF.
    Close the thread if your question is answered.
    Regards,
    Sairam

  • It has been only about a month that i bought my macbook pro 15 but it is heating up really fast on the left side even when the cpu usage is only 10%...i'm worried if this is a problem of the hardware.

    it has been only about a month that i bought my macbook pro 15 but it is heating up really fast on the left side even when the cpu usage is only 10%...i'm worried if this is a problem of the hardware?

    The way something "feels" is very subjective.  We would need to know your actual temps.  You can install the free iStat Pro widget which is available as a download directly from Apple:
    http://www.apple.com/downloads/dashboard/status/istatpro.html
    Let us know what CPU temps you're seeing at the time you feel your machine is hot.  As you indicated your CPU usage was only 10%, that would imply that you already know that heavy CPU usage would be one cause for your machine to be running on the warm side... but that doesn't seem to be the cause here.

  • Hi guys. I've had my MacBook Pro for 2 years now. Last night it suddenly kept glitching to a dark grey screen every now and then, then it would flash yellow / blue spots, and now it won't go past the grey screen even when I reboot it.  I don't think I can

    Hi guys.
    I've had my MacBook Pro for 2 years now. Last night it suddenly kept glitching to a dark grey screen every now and then, then it would flash yellow / blue spots, and now it won't go past the grey screen even when I reboot it.
    I don't think I can access my disk anymore as I've moved across countries since I've first gotten my laptop.  it was working perfectly fine before  it kept going to the dark grey screen with a little blue on the bottom.
    If it helps, my camera light is still on, and it seems that my computer is working properly itself, but won't go past this grey screen.
    I'm a college student and am really panicking about this - can anyone please tell me what to do?
    Thank you &amp; sorry for the long post.

    What operating system are you running on it? (iOS 5.1 is for iPhone, iPad...not a Mac).

  • How do I keep the source document open when linking to a target document using the destination option in Adobe X?

    How do I keep the source document open when linking to a target document using the destination option in Adobe X? Have several links to create in the source document and want to keep the source document and target document open at the same time.

    Go to Edit - Preferences - Documents and un-tick "Open cross-document links
    in the same window".

Maybe you are looking for

  • Make to Order Scenario problem

    i want to configure a make-To-Order Scenario i have create an item category  ZTAK  (for Make to order items) ... and assigned it to my sales document type and the Material item category in sales view 2 is 0001 (Make to order) when creating the sales

  • ITunes keeps losing movie thumbnails

    Hi I'm using iTunes on W7 Pro 64 bit, all been working fine until the v10 update. Ever since it has been having trouble remebering the poster frames I set for movies. Not all movies, just some - and I think only the ones imported after v10. I can set

  • Step in with a NavigationConnector

    Hello, the recommended way to add a Navigation from other sources is to implement a NavigationConnector, explained in: http://help.sap.com/saphelp_nw04s/helpdata/en/42/f784be16671bf0e10000000a11466f/frameset.htm There are two questions I could not fi

  • Can I use ATI graphics cards in SLI in MSI-7100?

    My stupid-question-ometer is going off the scale, but I don't know the answer; can I use ATI graphics cards in SLI in my machine? Also, whilst I'm at it, according to my knowledge, AMD are considered, in general, the lowest cost per unit power. Is it

  • TPS and TPDF Files Not Deleted by Distiller

    I just upgraded from Acrobat 6.0 to 8.0. Now when I save a FrameMaker book to PDF, Distiller does not delete the TPDF and TPS files. Does anyone know why this is happening and what I can do about it? Thanks, Stephen Liddiard