Tabs and JSTL?

Hi all ! Im trying to develop a nice app that should show dates for a certain day and I need to use tabs to show the different deparments and their dates...
Can that be possible using JSTL? Wich is the best approach? Any tut?
Thanks a lot !
Juan Ma

As said,
If you want to get all tabs at once, then use Javascript/DOM to display/hide block elements representing the tabbed page during onclick.Place each tab page in their own block element (in HTML you usually use <div> for that), hide them using css 'display' property, expect of the one which you initially want to display. Valid values are 'block' and 'none'. On click of each tab, you display the block element associated with the clicked tab and hide the other ones.
I am not going to give more detailed JS/DOM help here, you´re here at a Java forum. Just use the forums devoted to Javascript. There are ones at webdeveloper.com and dynamicdrive.com. Further on, w3schools.com has nice Javascript and HTML DOM tutorials.

Similar Messages

  • JSF 1.2 and JSTL 1.2

    Now that JSF 1.2 and JSTL 1.2 both use the new unified EL is it possible to use them together? I know they could be used together before but it was discouraged. I'm mostly interested in the functions and the loops (although Trinidad seems to be working pretty well).

    Thanks... I have switched over to facelets but I am getting the same problem:
    <ui:composition template="./../WEB-INF/layout.xhtml">
       <ui:define name="menu">
               <ui:include src="./flightMenu.xhtml" />
       </ui:define>
       <ui:define name="content">
         <h:panelGrid border="0" columns="1" style="width:100%">
            <h:form>
              <rich:tabPanel switchType="ajax" 
                  valueChangeListener="#{flightBean.flightTabPanel.valueChanged}"
                  binding="#{flightBean.flightTabPanel.tabPanel}" id="tab_panel">
                  <f:valueChangeListener type="org.richfaces.TabChangeListener" />
                  <rich:tab name="test" label="test">
                          <h:outputText value="bla bla" />
                  </rich:tab>
                  <ui:repeat var="tabb" value="#{flightBean.flightTabs}">
                          <rich:tab name="#{tabb.fltNum}" >
                                  <h:outputText value="bla bla" />
                          </rich:tab>
                  </ui:repeat>
              </rich:tabPanel>
            </h:form>
         </h:panelGrid>
       </ui:define>
    </ui:composition>The probem is that the tabb.fltNum method is not being invoked... If anyone has been able to build dynamic tabs using RichFaces using a similar approach I will like to see how you did it...
    BRgds, Paul

  • Somtimes Firefox loads a blank page; the Tab says "New Tab" and the URL is always "about:blank". What's up with that?

    Using Dogpile, I search and a list of URLs comes up. I select and click on one and Firefox opens a new tab. It responds promptly with a blank screen. The Tab says "New Tab" and the URL says "about:blank". The last one came up slowly in IE and turned out to be nothing more than a large pdf. Can you help me figure out what is happening and how to fix it, please? It is happening far too often. Running the virus, etc. software has not stopped this problem. Thank you very much for your help! Hutchy

    Using Dogpile, I search and a list of URLs comes up. I select and click on one and Firefox opens a new tab. It responds promptly with a blank screen. The Tab says "New Tab" and the URL says "about:blank". The last one came up slowly in IE and turned out to be nothing more than a large pdf. Can you help me figure out what is happening and how to fix it, please? It is happening far too often. Running the virus, etc. software has not stopped this problem. Thank you very much for your help! Hutchy

  • I want Firefox to open to my homepage every time after it crashes. I do not want it to return to the tabs and applications that caused the crash. I am willing to lose information. How do I do this?

    Firefox crashes or seizes up when there are too many tabs and applications open, and causes my computer to crash or seize up. I use task manager to close Firefox or I restart my computer. Then, when Firefox restarts again, it automatically re-opens all the tabs and applications that caused the computer to seize or crash in first place. This is a waste of my time. I want Firefox to reopen to my homepage even if it crashes. I am willing to lose information to have Firefox reopen to a low-memory homepage. How do I do this?

    Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    * http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    See also:
    * https://wiki.mozilla.org/Session_Restore#Preferences
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

  • I can't restore a previous session (it instead recovers the session before) of my Tabs and my home page keeps being reset to firefox

    Hi,
    Over the last few days (since i updated to the newest version of firefox) i've been having problems. I usually keep open quite a few tabs that are invaluable to me that I need, they contain vital information i've been needing for research and I can't afford to keep losing them!. I'm used to exiting firefox when i turn off my computer and them saving for my next session when I open firefox back up. For some reason now, if i turn off my computer, when i turn on again and go into firefox to restore my previous session. it will restore the session prior to my previous session but not my previous session.
    My default setting was to resume the Firefox session from where it was when I last exited Firefox that I set. The settings are all the same as they was before I updated firefox and I had this problem, so it is set to remember my history. I'm really not that tech savvy so i really don't know if it was teh update that caused it but it seems around the same time. Also, every single time. it sets my home page to firefox (it is usually google)) it will only remain google if i change it back and remain for the day until i restart my computer.
    I'd be most grateful to any hint that might solve this problem. Thank you for your attention. I really appreciate the input! thanks everyone in advance!
    Details:
    I have windows 7 64 bit home premium
    Latest version of firefox

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

  • How to stop multiple auto-switching to address bar every time I open a new tab and try to type something anywhere outside of address bar?

    How to stop multiple auto-switching to address bar every time I open a new tab and try to type something anywhere outside of address bar? Like something just wants me to use that embedded search when u type something not-web-address in address bar and hit enter. And the most ridiculous thing is that it happens repeatedly on like every second, like I just move down from address bar and start typing again, but then again it switches me to address bar, and 3, 4 times like that. And the result is also that I can't see the address of that page.
    I think its has something to do with my AVG antivirus, because this started the same time some AVG Nation started to appear in every new tab i open (and thats also irritating me, I read about it here on support.mozilla.org and it seems that the only solution is to completely reinstall Firefox, but I dont want to lose all my settings) but when i type something in address bar and hit enter it opens the search results in Google.
    Please try to help me, I like Firefox but I must switch to Chrome until I fix this problem.
    Thanks in advance

    First, please update to Firefox 32. 22 is no longer support nor is it secure. Then let us know if you still have this problem. [[Update Firefox to the latest version]]

  • Minefield just would not open pages, whatever I tries to type in the addressbar the URL just stayed there and nothing happened. Even if I opened a new tab and put a new url again it did not even start loading the page. This is happening since the last upd

    Minefield just would not open pages, whatever I tries to type in the addressbar the URL just stayed there and nothing happened. Even if I opened a new tab and put a new url again it did not even start loading the page. This is happening since the last updates from today or yesterday. I already removed minefield and installed it again
    == This happened ==
    Every time Firefox opened
    == today ==
    == User Agent ==
    Mozilla/5.0 (Windows; Windows NT 5.2; Win64; x64; rv:2.0b3pre) Gecko/20100728 Minefield/4.0b3pre ( .NET CLR 3.5.30729; .NET4.0E)

    Create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting|#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See also http://kb.mozillazine.org/Browser_will_not_start_up
    You can discuss issues with Namoroka 3.6 and Minefield 4.0 nightly and alpha/beta builds at the MozillaZine Firefox Builds forum.
    That forum is better suited to discuss such issues.
    You need to register on the MozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=23

  • Tabs and window restore only restored one of many open windows from last session. I hate this!!

    Tab and window restoration has FAILED after version 13.01 installation! Out of 7 windows open with multiple tabs, only ONE BROWSER WINDOW OPENED with NO reference to what happened to the normal session that had been in the previous version of FF. I've read about this and I DON'T LIKE IT. It is reverse engineering. WHY would you scrap someone's research for the sake of making your browser open more quickly? DAMMIT MAN I don't have time to study a browser. I may not endure this version! I don't see a way out of this ff trap, other than go to previous version which is always a bitch. Dammit!

    You need to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar to close Firefox with all open windows at once. Otherwise only the last closed window will be restored. If this did happen then check History > Recently Closed Windows to see if any are listed (default is 3).

  • When I open up Firefox I get 2 windows one with my tabs and the other is ad on manager how do I stop the second window if I try to close it both windows clos

    This problem just started when I start up Mozilla fire fox it opens 2 sessions or something the first one has my tabs form the previous session the other one is blank except for the 2nd window only has add on information, but when I try to close the second window it automatically closes the whole thing and I have to start all over again, what can I do

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • Firefox 24.0 does not update any YouTube page for the download extensions. Video aivalable for download is the 1th opened in the tab and not the video playing.

    On YouTube, when more than one video have been played, staying on the same page, videos aivalable for download, by any Firefox Download Extension as Downloader Helper, Flash Video Downloader or 1 Click Video Download, are the format options for the first video opened in the tab, and not format options for the video actually playing.
    I have tried resetting Firefox ( Firefox menu : ? \ Troubleshooting Information \ Reset Firefox), and reinstall Videos Downloaders (without Adblock Plus that I normally use), it did not solve the problem.
    Temporary Solution :
    Refreshing the http://www.youtube.com/... page ( by hitting the round arrow at the right of the adress bar ) allows me to update the download features but it is annoying as it restarts the playback every time I decide to download a video ( so is it having to remember to refresh the page ).
    I am surprised it seems no one have experience and solved this problem yet.
    Regards to the team
    Running under
    Windows XP SP3 updated
    Adobe Flash Player 11 ActiveX and Plugin
    Adobe Shockwave Player 12.0
    Java 7 update 25
    Windows Media Format 11
    QuickTime Plugin 7.7.4
    Avast Free Antivirus

    What hardware are you on? Flash is always a finicky beast, especially on older hardware. This is not an entirely uncommon problem. Try looking at this [[Flash Plugin - Keep it up to date and troubleshoot problems|support article]] and see if that helps.

  • How to add tab and field in purchase order

    hi friends,
    I have to make changes in the purchase order. i have to add tab and a field in that.
    i know that badi ME_GUI_PO_CUST have to used this.
    can anyone send me the code or documenation fot add a tab and field using this badi or suggest me how to do this.
    if code or documenation is not available then send me the steps if possible.
    my mail id is [email protected]
                        [email protected]
    hitesh kumar

    Hi,
         1. Double-click on your implementation class
    2. Click on Attributes tab
    3. Add attribute SUBSCREEN1 with level Constant, visibility Public, type MEPO_NAME, initial value 'HDRSCREEN1'.
    please go thourhg the below link .... in this the steps are there and the some of the standard Enchancements also there.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    See this treads :
    ME_PROCESS_PO_CUST header n item connection
    Re: BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_SCHEDULE
    <b>Reward points</b>
    Regards

  • When I right click on my Bookmark Toolbar to choose Open All in Tabs and click it, nothing happens. This is when I upgraded to 4.0. I've rebooted. How do I fix this?

    When I right click on my Bookmark Toolbar to choose Open All in Tabs and click it, nothing happens. This is when I upgraded to 4.0. I've rebooted. How do I fix this?

    You can middle-click a link to open the link in a new tab.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How do I restore my tabs and tab groups after an update to version 36.0?

    I work with many tabs when I use Firefox. I keep them ordered in Tab Groups, which helps separate the different kids of work I do and interests I have. I have been using this environment for years. When I started my work today, Firefox updated to v36.0, and the following behaviour was noticed:
    1. There is only one tab group when attempting to show Tab Groups in Panorama, as opposed to around a dozen;
    2. Normally though the hidden tabs (the tabs in the same group as the startup group and not the default page) don't download content until clicked, the name of the page and icon, if available, will show on the tab. Presently, the tabs show "New Tab" and no icon. There appears, however, to be the number of tabs that exist across all Tab Groups but now are ghosts this one, default Tab Group. I'd have to add, though, I don't count the number of tabs, so I can't be exactly sure. When clicked, there is just a blank page. So it is odd that Firefox knows they are there but cannot simply attach the address to it.
    I have tried to restore the following files from my Windows Home Server backup to the AppData\Roaming\Mozilla\Firefox\Profiles\<gobbletygook>.default folder:
    1. In the sessionstore-backups folder, I replaced the previous.js, recovery.bak and recovery.js files (not any of the upgrade~) with files from yesterday and from two days before.
    When that didn't do anything, I replaced
    2. sessionCheckpoints.json
    I didn't see any file with a recent date that appeared to be one that I should restore. I should add that I do see hidden files. I thought about restoring the whole lot, but wasn't sure how this would affect the program on v36.0 and the profile files on 35.0.1.
    I have deadlines this week and need to immediately restore my environment in order to make those deadlines. I have no list of addresses to my Web pages to work in IE or other. Any help would be very much appreciated.
    On a second note, I had been wondering recently whether this tab group environment is a suitable way to maintain my work environment. Occasionally, when opening Panorama, I would get an error saying a script is taking too long, but if I clicked Continue, it would display the groups in a few seconds. I had considered putting all of it in Bookmarks though it would be tedious and more difficult to access and open multiple tabs. In the beginning, I tried Tab Groups thinking it was a simple matter of maintaining a table of addresses (in tabs) with a tab group ID or name. How could that go wrong? Well, it has, so it is obviously more complicated than that, and I didn't realise that upgrades would affect personal data. Should I abondon using tab groups?

    With the help of information from user, ptressel, in [https://support.mozilla.org/en-US/questions/1032154#answer-673322 a post here about the existence of sessionstore.js when version 33 was released], I was able to easily recover my tabs and tab groups as follows:
    # close Firefox and, perhaps, allow a few seconds (30s?) for any final closing of files;
    # check to see if you have a sessionstore.js file in your profile folder, named like the one I documented in my original post above;
    # if it is not timestamped prior to the discovery of your problem, open the sessionstore-backups folder;
    # check if the recovery.js file is suitably timestamped and, if not, the recovery.bak.
    # At this point, you are likely to find that none of them are prior to your problem occuring. If so, open your backups of this folder and go through steps 2-4 to find a file prior to your problem occuring.
    # When you find a file, copy it to the root of your current profile folder and name it, "sessionstore.js"
    # Open Firefox. Mine opened up as desired.
    This is a Windows solution. Sorry I can't comment on other platforms, but I'd bet that as this is just a file copy and renaming, it is likely the same.
    For Windows users, you may find you need to sign out and login as an administrator in order to access the backups. You need not logoff your standard account, but do have Firefox closed as described above.
    Hope that helps.

  • Fox Tabs and Add To Top Sites is not working. All my tabs have disppeared right after upgrading. Help!

    I upgraded to 11.0 and clicked to open tabs, which will take me to Fox Tabs, but I was unable to click any open. When I clicked Edit, every thing disappeared. When I clicked Done, the screen stated "Saving..." and it stayed like that for more than 5 minutes. I closed that tab and again clicked Open tabs, this time it was blank. When I right click on any page and chose Add To Top Sites nothing appears on Top Sites. I have made this my Home Page and when I click home, Fox Tabs is still blank.

    Hi,
    You can try to '''Remove''' and then install FoxTab via '''Tools''' ('''Alt '''+ '''T''') > '''Add-ons''' > '''Extensions'''. You can search for FoxTab on the top right search box and install it or install it from the [https://addons.mozilla.org/en-US/firefox/addon/foxtab/?src=search AMO homepage].
    [http://www.foxtab.com/support/ Support]

  • Firefox crashes upon start with the error message: Firefox had a problem and crashed. We'll try to restore your tabs and windows when it restarts.

    I have tried to open firefox multipul times only to receive the error message:
    We're Sorry
    Firefox had a problem and crashed. We'll try to restore your tabs and windows when it restarts.
    To help us diagnose and fix the problem, you can send us a crash report.
    When I send the report and try to restart firefox and see that I have several tabs open, but it quickly shuts down again before I can do anything other then glance at it.

    http://kb.mozillazine.org/Firefox_crashes

Maybe you are looking for