Comparison in the option tag

hi,
<uix:option selected=""               textBinding="uix.current['.']" valueBinding="uix.current['.']"  />In the code above I would set a value selected after the values are returned to the form. If i write
selected ="uix.current['.'] eq something" will it get selected when the "something" equals uix.current['.']??
I tried doing that and it does not get selected? actually I used hardcoaded to test it like this
<uix:option selected ="uix.current['.'] eq 1999-01-01"
               textBinding="uix.current['.']" valueBinding="uix.current['.']"  />what else can be used? does == work??
thanks,
vasanth

is the value of uix.current['.'] a String object or
is it a Date Object? Also you probably have to put
single quotes around the second part of the eq because
the el parser will interpret what you have written as
a variable. And you probably want to use selectedBinding.
So try this:
selectedBinding="uix.current['.'] eq '1999-01-01'"

Similar Messages

  • Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options.

    Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options. I was able to select the account under "parental controls", but again, could not delete it. Why Apple? Why?!!????

    SOLVED Ok. I actually was able to disable it. I had to actually log in as the guest user to make it accessible in the preference window. Then I disabled it and logged out. Apologies if this was obvious for some people, but I have had some sort of issue with something every update since Snow Leopard.

  • Accessing the value in option Tag in html using JSTL

    Hi,
    Following is my code
    <select>
    <option value="1">one </option>
    <option value="2">Two</option>
    </select>
    Now, if I select two from the option, i need to get the value 2, using JSTL( JSP standard Tag Library).
    Can someone help me out.
    Thanks
    Achillies.

    You need to give the "select" component a name to submit under.
    <select name="yourChoice">
      <option value="1">one </option>
      <option value="2">Two</option>
    </select>When you submit this page, it will submit a parameter like yourChoice=2.
    In a servlet you retrieve this with request.getParameter("yourChoice");
    In JSTL/EL, you can use the param map: ${param.yourChoice}

  • My Library (History/Show All History) does not show ANY History - only Tags & "All Bookmarks". What settings do I need to adjust to have this show. Nothing in the Options/Privacy seems to be relevant

    My Library (History/Show All History) does not show ANY History - only Tags & "All Bookmarks". What settings do I need to adjust to have this show. Nothing in the Options/Privacy seems to be relevant in English

    Lightning is a problem for you because it hooks into Thunderbird at a low level and you need a version compiled for the platform Thunderbird is running on. So you can't do the preferred solution, which is to put your whole profile in a shared folder and have both instances of Thunderbird reference the same profile. (Ditto for Enigmail). Lightning may become an integral part of Thunderbird in an upcoming release, at which point this limitation due to Lightning should disappear.
    And if you can't use a shared profile, you can't set your Lightning, or your Address Book, to share a common set of files. Put another way, the linkage from Thunderbird to its address book files and calendar data is hard-coded, and not exposed where we can adjust it. :-(
    The halfway house is to place your mail stores in a shared place, and use the Local Directory setting in each account's settings to connect to it. They don't need to be in the profile; what's more important in your case is that they are in a folder accessible to both operating systems.
    Look in your profile; everything under Mail and ImapMail needs to be moved out to a shared folder. Note the entries in Thunderbird under Local Directory before you do this, and reconstruct those pathnames in Thunderbird, but adjusted to suit their new locations.
    (You can see here that you need to make many adjustments, one per account, in each instance of Thunderbird, so it's a high-maintenance solution and this is why we don't recommend it when the alternative, moving the whole profile, is possible.)
    I share address books and calendars between Thunderbirds on various computers (and my phone and tablet) by syncing to something in the cloud; Google Contacts and Google Calendar are my choices, using gContactSync and CalDav.
    Having made the break myself some years ago, I'd recommend you break away from Windows. ;-)

  • Why did my upgrade to Maverick result in my not being able to access my Documents in the previous format? Why did I not have the option to change my 'filing' system to use the new 'Tags'? Had reinstall 10.8.5 to access my Documents

    Why did Maverick not enable me to access my Documents in the previous format (Grid) and when using the alternative I could not 'clik' to open them. The same applied when I tried to open documents from within my back up disc (LaCie). I had to reinstall 10.8.5 and back up from my LaCie (thankfully) to gain access to all my critical Documents? To deal with this I spent 3 and hlafg hours on telephone to Apple Support ( very helpful - but unable to resolve issues - then 3 hours in Apple Store (again very helpful but only able to assist by clearinng Maverick from my HD and reinstalling 10.8.5. Fortunately LaCie came to the resuce and I was able to back up Mac HD with all my documents but lost about one week of work....!!
    Why did I not have the option when upgrading to Maverick to select the new 'Tag" system which I did not want?

    10.8.5 is the lates ML edition.  I use TM and also carbon copy cloner as my second backup.  If I were you and you have a TM backup prior to Mavericks I would try another restore at bootup.  You should erase your drive first in that process using disk utitlites and then use TM to put back you apps and files.  The other choice is to do an internet recovery and then use TM to restore your apps and files.  That should fix the permissions issue.  I did the same thing and all was OK including getting my original iPhoto progam (9.4.3), iphoto11 and photos back.

  • Has Adobe given you the option to enlarge the font for Tags, dates, etc. in PSE 11?

    Has Adobe given you the option to enlarge the font in PSE 11 such as tags, dates etc. This was asked befor but not answered

    Not sure what your question is about but if you are talking about display fonts for Menus and general user interface in PSE 11 then I would think it is to do with the display configurations in your operating system.  In Windows, you can go to the Control Panel and look for Display properties.  In Windows XP it might look something like this:
    Look at he yellow box to change the font size.
    Hope this helps.

  • Need to fill up Data into  the select Tag options value

    Hi ,
    This is my requirement . I am having two select tags inside my jsp page . one for country and one for state .Upon selecting a country the select tag for states should be filled up .
    Right now i need to fill up the data under country select Tag .I am using AJAX for this .On body onload i am calling a function to get Country data .
    //This is inside my servlet
    *               ResultSet res = st.executeQuery("SELECT * FROM countries );*
    *               StringBuffer sb = new StringBuffer();*
    *     sb.append("<countries>");*
    *               while (res.next())*
    *               String result = res.getString(1);*
    *               sb.append("<country>"+result+"</country>");*
    *               sb.append("</countries>");*
    *               response.getWriter().write(sb.toString());*
    This is Inside MY JSP
    if( xmlHttp.readyState==4 )
    if( xmlHttp.status==200 )
    xmlDoc=xmlHttp.responseXML;
    xmlDoc.getElementsByTagName("countries")
    <select name='countrsel' id="countrsel" onchange="call()">
    <option value="<%=%>"><%=%></option>
    </select>
    I am struck up here please help
    Edited by: RaviKIran on Nov 2, 2009 9:51 AM

    Hi ,
    This is my requirement . I am having two select tags inside my jsp page . one for country and one for state .Upon selecting a country the select tag for states should be filled up .
    Right now i need to fill up the data under country select Tag .I am using AJAX for this .On body onload i am calling a function to get Country data .
    //This is inside my servlet
    *               ResultSet res = st.executeQuery("SELECT * FROM countries );*
    *               StringBuffer sb = new StringBuffer();*
    *     sb.append("<countries>");*
    *               while (res.next())*
    *               String result = res.getString(1);*
    *               sb.append("<country>"+result+"</country>");*
    *               sb.append("</countries>");*
    *               response.getWriter().write(sb.toString());*
    This is Inside MY JSP
    if( xmlHttp.readyState==4 )
    if( xmlHttp.status==200 )
    xmlDoc=xmlHttp.responseXML;
    xmlDoc.getElementsByTagName("countries")
    <select name='countrsel' id="countrsel" onchange="call()">
    <option value="<%=%>"><%=%></option>
    </select>
    I am struck up here please help
    Edited by: RaviKIran on Nov 2, 2009 9:51 AM

  • How do I add a red tag in mavericks? I deleted an existing red tag, now I don't have the option to add it back in.

    How do I add a red tag in mavericks? I deleted an existing red tag, now I don't have the option to add it back in.
    I tried doing this from Finder > Preferences, but there doesn't seem to be a way to add new tags.

    Look in the Finder tool bar to add
    MacBook Pro (15-inch Mid 2012), OS X Mavericks (10.9), i7 500GB 16GB RAM iPhone5 iOS7.0.3

  • Second Update - I'm unable to restore previous session as I do not have the option on homepae or history menu

    Closed as duplicate. Please continue with the original question [/questions/992628] ~J99
    Dear Sir/Madam,
    I do hope you are able to assist me - I lodged a query earlier on today and got a response (I've put it below) really quickly and was much appreciated; however it didn't address my query (it seemed to just cover what I had already found on the website and not that I don't have the "Restore" buttons on either my Firefox homepage or on the pull down menu.
    If you could let me know how to restore a previous session without either the "Restore" button on the homepage or the pull down Firefox menu, it would be appreciated (Also, I have not changed my settings)
    My initial query & reply:
    I hope you may be able to assist me - my computer turned off while I was in Firefox and in the past this has been no problem as I always got the page giving me the option to recover my previous open pages. Today however it opened on the Firefox home page. I have tried to recover pages as per help instructions on the Mozilla pages, but on the Firefox home page I don't have the recover previous session button, and when I go to history on the Firefox pull down menu the "Restore previous sessions, Recently Closed Tabs, Recently Closed Options" selections have been disabled.
    Could you please let me know how I can recover my previous session?
    Thanks and regards, Graeme
    Post a Reply
    Question tools
    Question details
    Tags
    cor-elTop 10 Contributor
    Moderator
    10649 solutions95825 answers
    Posted
    3/30/14 8:35 PM
    You can check browser.sessionstore.* prefs including browser.sessionstore.resume_from_crash on the about:config page and reset browser.sessionstore prefs that are user set (bold) via the right-click context menu to the default value to make sure that Session Restore is enabled and working properly.
    •http://kb.mozillazine.org/Session_Restore
    •https://support.mozilla.org/kb/restore-previous-session
    •http://kb.mozillazine.org/browser.sessionstore.resume_from_crash
    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    •https://support.mozilla.org/kb/Private+Browsing
    •Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    •Deselect: [ ] "Always use private browsing mode"
    In case you are using "Clear history when Firefox closes":
    •do not clear the Browsing History
    •Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    •https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

    Please continue with the original question [/questions/992628]
    We are nearly all volunteers and fellow users. Please allow some time to elapse for a reply.

  • Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through j

    Certainly I realized that Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through jquery or javascript.
    e.g.
    In Felix Console , in Apache Sling JCR Resource Resolver configuration I have added following mapping.
    /content/myproject/-/
    So If any anchor tag is there like <a href="/content/myproject/en.html"> click me </a> then it will be mapped to "/en.html" automatically.
    But the problem is there in following scenario.
    I have an anchor tag as follows.
    <a href="#" id="test"> click here </a>
    And I am assigning the href to anchor through JQUERY.
    <script>
    $("#test").attr("href","/content/myproject/en.html");
    </script>
    Ideally this should have been mapped to "/en.html".
    But it is not mapping to "/en.html". It still shows "/content/myproject/en.html".
    How to resolve this.
    Thanks,
    Sai

    In a servlet you have access to the resourceResolver so if you know which attributes contain links then it's relatively easy to apply resourceResolver.map to those links.
    Your challenge is clearly how do you know which attributes are links and which aren't. Its is the same challenge that makes parsing the response and rewriting it on the way out difficult - the JSON doesn't have any semantic meaning so how do identify which attributes require rewriting. There really is no good answer ot that question in my experience - all the options have down sides.
    Create some convention - all attributes matching this pattern X get mapped before being converted to JSON (could be attributes whose name ends in link, or it could a convention applied to the value of the attribute - if the attribute is a string that starts with /content apply the resource resolver mapping. In this case you have train your developers to follow this convention which is the down side.
    Create some configurable list of attribute names that require mapping. This is brittle, requires training and is easy to break.
    Implement a client side version of the resource resolver mapping. It wouldn't be as full proof as server side mapping (because that takes into account but you could make it work for simple logic like stripping of /content/site/en. If ou are just trying to solve the simple version of this issue - stripping off the top of the repository path this might be your best option.
    Not worry about it and set up Apache 301 redirects that catch any long URLs and redirect them to short URLs (so configure apache to look for any URL matching /content/site/en and strip off /content/site/en and do a 301 redirect to the shortened URL. You end up with a lot of extra HTTP request because of all the 301s but it would work (I wouldn't recommend this option - but it is possible).

  • How to edit the song information contained in the ID3 tags?

    Hello!
    I am a newbie to Mac. I used to change the ID3 tags of songs when using Windows by right clicking on 'Properties' and changing the values there. How to do the same on my Mac? I saw only one option related to ID3 tags in iTunes' interface - 'Advanced >> Convert ID3 Tags...'. I clicked on it, checked 'ID3 tag version:' and selected 'v2.4' from the drop down list. It does not work.
    So, how do I do it?
    Thank you!
    MacBook Pro 17"   Mac OS X (10.4.6)   Memory upgraded to 2GB

    The iTunes Help Menu as well as the forums is a great resource for information about iTunes and "how to".
    From the iTunes Help Menu:
    Editing song information:
    When you're connected to the Internet, you can retrieve information about the songs on a CD from Gracenote CDDB (CD database) on the Internet. You can also enter song information into iTunes yourself, or change the information that was retrieved.
    1. Select the song you want to edit, then choose File > Get Info.
    2. Click Info.
    3. Make your changes to the song information, then click OK.
    By default, changing information in iTunes also changes the name of the song on your hard disk. To make changes in iTunes without changing the files on your hard disk, choose iTunes > Preferences, then click the Advanced button and click General. Then click to remove the checkmark next to Keep iTunes Music Folder Organized.
    You can also make global changes by selecting a group of songs the key board short cut of CMD-I (Apple Key +I).
    MJ

  • Podcasts : how to access the "Grouping" tag in the Info window ?

    I upgraded yesterday to iTunes v12.1, and today I discovered that I cannot anymore access to the "Grouping" tag in the Info window (still available using ALT/OPTION in iTunes v12 and v12.0.1).
    The "Genre" tag still available, but it is useless for Podcasts episodes, as ALL of them are pre-identified as "Podcast"…
    Anyway, the "Grouping" tag is still present within the Podcasts files and the iTunes episodes datebase, as I can display it as a column in the "My Podcasts" pane (list of episodes) !
    Does anybody know a way to still access/modify this tag field "Grouping" for Podcasts ?

    CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED.
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
        METHODS HANDLE_DOUBLE_CLICK
        FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID.
    ENDCLASS.                    "cl_event_receiver DEFINITION
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
    METHOD HANDLE_DOUBLE_CLICK.
    PERFORM HANDLE_DOUBLE_CLICK.
    ENDMETHOD.
    DATA:EVENT_RECEIVER TYPE REF TO LCL_EVENT_RECEIVER.
    <AT PBO>
      SET HANDLER EVENT_RECEIVER->HANDLE_DOUBLE_CLICK FOR GO_GRID.
    <AT PAI>.
    FORM HANDLE_DOUBLE_CLIC .
    FLAG = 1.
    LOOP AT LT_LVCFIELDCAT INTO LS_LVCFIELDCAT.
    IF LS_LVCFIELDCAT-FIELDNAME = 'ABC'  AND FLAG = 1.
      LS_LVCFIELDCAT-SELTEXT = <WHAT EVER U WANT>.
    MODIFY LT_FIELDCAT FROM LS_FIELDCAT..
    ENDIF.
    CLEAR FLAG.
    ENDLOOP.
    ENDFORM.
    NOTE: IAM PUTTING FLAG BECAUSE WHEN U GO BACK IN THE ORIGINAL SCREEN U SHOULD GET THE OLD TEXT, SO , THERE U CHECK FOR FLAG = 0.
    AND UR SECOND QUESTION, PLS EXPLAIN IT CLEARLY

  • How to Find the XML Tag in indesign

    HI!!<br /><br />We are working with XML work flow in indesign. In indesign how could we find the XML Tag in indesign.<br /><br />Example::<br />In the Below list we could have to find the xml tag <chapter> in story editor or in the main text frame in indesign using find option. Kindely sent if any Plugins is available.<br /><br />For exmaple:<br />************<br /><book><br /> <part><br /> <chapter><br />  <head><br />   <para><br />    <bold><br /><br />Thanks,<br />C.K.Venkatesan

    I imported the xml file in vb.net. now i want to find the number of pages and no. of elements. i found out it. but i was not able to find which elements are placed in which page. i want that information. plz kindly help. i am using vb.net. for eg. <ce:figure> placed in which page no., <ce:sections> placed in which page no., etc..,

  • Problem applying Spry tool tips to child pages because the head tag is in a locked region

    I’m new to DW and migrating a site from GoLive CS2 to DW CS5. The site uses templates created in GL CS2. I have stripped out as much GL stuff as possible.
    I want to use the SPRY tooltips as a way to show captions for graphics that are on some of the pages (I used to use an Open New Browser window for that but I don’t have as much control in DW as I did in GL). But when I try to apply SPRY tooltips (or any SPRY widget for that matter) I get the following message:
    “Required links could not be added to this file because the <head> tag is in a locked region. To insert this content, open the template file ‘xyz.dwt’ and either unlock the <head> tag or add this content to the template.”
    I am not sure how to go about solving this problem. In the template there is an editable region for adding graphics but in the template itself there are no graphics or anything else to apply a tooltip too. Also in the child pages there may be more than one place to use a tooltip. So that suggests to me that I should not add a tooltip to the template. That brings me to the other option.
    How would I go about unlocking the  <head> tag in the template, without messing everything up?
    Or, should I detach any page from the template when I want to add tooltips then reapply the template? I am planning to ditch the GL template anyway and apply a DW template to all the pages anyway.
    Any suggestions as to what I should do?
    Yours faithfully
    Branko
    PS I’m using Mac with Snow Leopard.

    I found a solution.
    I just made a transparent PNG. Put it in an inconspicuous part of the template. On the child page I could make as many copies as I needed making sure I provided id tags for each use etc.

  • DHCP Option Tags are not being applied...

    Hi,
    About to loose my mind... basically we are working towards a small WYSE Thin Client deployment in our environment.  The WYSE clients require to receive certain DHCP Option Tags to find the WCM server of which they receive their configuration from.  Same
    applies to the WDM Server as well.  The problem is no matter what we do, our test client is not receiving the custom option tags we've defined in our DHCP server.  
    DHCP Servers:
    vlan41
    10.40.1.206
    10.40.1.207
    Test Client:
    vlan46 - ip helpers defined on the switch
    Set to receive the same ip address from the DHCP server through the reservation route.
    Option Tags:
    186 - WDM Server - 10.40.1.184
    195 - WCM Server - 10.40.1.185
    196 - WCM Path - / 
    I've installed Wire Shark on the test client to monitor the DHCP activity.  The above custom options tags are not being pushed on to the client.  
    The Router, DNS Server and Domain Tags are being pushed.  So it's working but also not working????!!!
    Anybody with some insight to this problem?

    Hi hpaul_p
    In all fairness I'm about to give up... the vendor is not coming up with a solution and constantly blaming Microsoft.  To further test and confirm this wasn't a network issue, I've setup a secondary test environment using a 4 port switch, a client and
    a DHCP server.  Same results!!!  I'm really running out of time, so my work around is this:  I've setup a SRV records pointing to the WCM server... in your case this would be SRV record for the WDM server.  I've disabled the auto
    discovery functionality of the WDM Agent, for some reason it seems to be clashing with the WCM agent.  Since you will be using WDM only, don't disable auto discovery, tick the DNS SRV record from the Discovery Settings under the client agent. 
    I'm going to add the clients to the WDM server manually through their ip addresses so don't need auto discovery. From what I gather from the manuals the WCM searches for the repository or conifg servers in this order:  1. SRV 2.DNS (A record)
    3.DHCP (Options), I bet it's the same with WDM.  Though SRV and DNS methods has their limitations, if you will be using the default paths and credentials it shouldn't be a problem.  This is all I have have.  Steven Song I've forwarded you the
    DHCP database, if you find any problems with it please let me know.

Maybe you are looking for

  • Test receive HTTP

    Hello sdn, Can someone tell me how to test HTTP receive scenario ? i have to pick a file and post it using HTTP adapter. But where will i post it for this dummy scenario? is there anyone i can test. Thank you.

  • Remove edges in closely curved strokes?

    As you can see, the base for the shape is fluid and curved, but since it is so close and big it creates corners. Is there any way, besides expanding the stroke and curving it manually, to remove the edges? Preferrably while still maintaining the edit

  • Photoshop and Wacom/Corel

    In the Adobe Photoshop "Classroom in a Book" there was a suggestion to use a Wacom tablet.  I bought one which came with Corel Painter Essentials. Big mistake. The Bamboo worked fine but Corel Elements would not load.  I tried Tech support for Corel

  • BPF - Impossible to create BPF

    I'd like to create a BPF in BPC 7.5 NW SP3 version but I've got errors (message box) when I choose "Create new BPF Template" in the Action Pane in Administration Interface : System.Xml.XmlException: The root is missing. at System.Xml.XmlTextReader.Re

  • CS 4 architecture not supported message on intel mac

    I am trying to install CS 4 on an intel mac. It was installed on a power pc, but was successfully uninstalled and reinstalled on the intel. It installs fine, but when I try to open InDesign, it says it's not supported on this architecture. Were some