Another LOV in dialog question

Having spent some time reading blog entries and forum posts, I am still struggling with my current project. The requirements are quite simple - I have a form with two fields that are populated by dialog LOVs. To simplify this question, lets call the two fields county and town.
Therefore, as the user goes down the page, they are first prompted to choose a county. This launches the dialog LOV with search capabilities. On selecting the county, the county field is populated in the main form.
Following this, the user is prompted to choose a town, and again, when the user presses the dialog button, they are provided with a search form for towns. However, the town dialog box must be passed the selected county to filter the appropriate towns.
This is where my problem lies. I have implemented this by dropping an executeWithParams as a parameter form on to the towns dialog page and bound the 'county_name' parameter to a page parameter. However, I cannot get the page parameter to be populated by the main form, I believe because the dialog button is a commandbutton rather than commandlink, and possilbly doesn't support the <f:param> child element.
I would appreciate validation of my approach as I believe it to be sound. I am getting more confused, the further I research into this work, and am unsure whether the execute WithParams should be on the dialog page, or as a previous advise suggests on the main form.
What is the normal pattern of developing this functionality?

Hi,
correct, PPR doesn't reflect <f:param> - at least I wouldn't know hot to do this. I think there are quite some options you have
- use a launch listener to store the selected country in a session attribute
- programmatically launch the dialog and pass the selected country as an argument
The easiest way though is the use of a session variable as it can be referenced in the ExecuteWithParams method
#{sessionScope.variableName}
Frank

Similar Messages

  • Another Unlimited Data Upgrade Question

    (Yes, it's another one of those questions.  I'm sorry, but searching - on here, or on Google - only left me with conflicting information.)
    Here's my question:
    A friend of mine is interested in selling me his Galaxy Nexus phone.  Would I be able to keep my single-line, grandfathered, unlimited data plan if I buy his phone and switch to it, or is that only possible if I were to buy the phone new, directly from Verizon?
    Here's my story:
    I have an HTC Thunderbolt that I purchased when it launched.  A few months after buying it, it turned into the HTC Bad Dream, and now it's the HTC Nightmare.  Random heat issues, battery draining, random reboots... It's the same song and dance we've heard before.  These are design issues with the phone; not something a replacement or a repair would fix.
    The real annoyance, though, is the mobile hotspot.  I pay $30/month to use the hotspot legitimately, unlike the users who root their phones to use it without paying for the option, but ever since Verizon started blocking the third-party wireless tethering apps, I've had to choose between using the stock mobile hotspot app and unleashing the above-mentioned Phonemageddon, or simply going without.  I could drop the option from my plan, but seeing as the unlimited data plan no longer exists, I wouldn't be able to get it back without switching to a tiered or shared plan.
    Switching to a more stable phone would alleviate my issues, hopefully, but the difference between Verizon's retail prices and other retailers is hundreds of dollars.  Giving up my unlimited plan, however, wouldn't make the venture worth it.  A definite answer to the question of buying used - either from a Verizon representative, or a customer who's been in the same scenario before - would be very helpful.
    Thank you very much.

    Hi,
    If you provide your own equipment (your friend's Nexus or from ebay etc) then YES you can keep unlimited data. Another wayto keep unlimited would be to pay full retail for a new phone. But I'm sure your friend will give you a better deal than that
    Hope that helps!

  • How to disable an LOV wrt value in another LOV?

    I have a javascript function that works fine if P2_BANK_ASSIGNED is a text item. But if I change it to an LOV is doesn't work. How do I disable an LOV on value of another LOV?
    <!--===================================================================-->
    <!--FUNCTION TO DISABLE LOV BANK ASSIGNED IF LOV TRIAL IS <> 0 -->
    <!--===================================================================-->
    <script type="text/javascript">
    function disBankAssigned(){
    var lReturn = $x('P2_TRIAL').value;
    if (lReturn == 0 ) {
         $x('P2_BANK_ASSIGNED').readOnly = false;     
    else {
         $x('P2_BANK_ASSIGNED').readOnly = true;     
    </script>
    onchange="disBankAssigned();"
    regards
    Paul P

    Try $x('P2_BANK_ASSIGNED').disabled = true;     (or false)

  • I redeemed a Starbucks gift card for a song --You Found Another Love -- but when I went to play it, I received an error message that the file couldn't be found. Help

    I am having a problem getting my Starbucks song to play. I redeemed it in the iTunes store. The song -- You Found Another Love -- shows up in my playlist, but it is not playable because I get an error message that says: File not found.
    Anyone have this problem?

    Because the location for each song in your library is on your hard drive.  If the hard drive isn't there, how can iTunes play it?
    You'll have to move/copy the music from your hard drive to your computer's hard drive.
    Basically, EASIEST way to do all this, if you don't care about your play counts, etc...
    -Delete EVERYTHING from iTunes, so that your library is now empty.
    -Go to "Advanced" inside of the "Preferences" window, found in the "Edit" drop-down.  You can also access Preferences by pressing Ctrl+, (Press Ctrl and the comma key)
    -Change your iTunes Media Folder Location to something simple, but on your computer. I use C:/iTunes.  Make sure "Keep iTunes Media Folder Organized" and "Copy files to...." are both checked.  You can close Preferences now.
    -Now, drag and drop your music from your hard drive into your iTunes library.  iTunes will automatically add the music to your library, as you would expect, and also creates a copy of each file to place into that iTunes Media Folder you just created.
    Shouldn't have any more problems...

  • Basing an LOV on another LOV

    In a HTML web form, how can I have a LOV (Drop-Down list) based on DEPT, that populates another LOV with all the employees from EMP in the department selected in the first LOV.
    I can do it in Javascript but I need to derive my values from tables.
    Thanks

    Hi,
    I dont think you can pass on the table values to a javascript function.
    You can definitely use the HTP cartridge functions to display table
    data in HTML. There would be a specific HTP or HTF function to build
    a form drop down list. I think it's a combination of htp.formSelectOpen
    and htp.formSelectOption. Check the documentation here:
    http://kontti.helsinki.fi:8889/ows-adoc/psqlwtl9.htm
    Populating the EMP LOV should be straight forward unless you are
    not looking to change the EMP LOV and DEPT LOV dynamically.
    Rgds.
    Amogh

  • Another "get album artwork" question

    another "get album artwork" question
    I notice that when I click "get album artwork" it seems to go through the whole library and look for cover jpegs. (in my case, that's going to take a long time!)
    here's my question: it's looking for artwork, yes, but it's NOT going to do anyything to the many, many albums for which I have already (manually) added artwork, is it? If it does - I am in trouble! Please, somebody, reassure me that the artwork I have painstakingly added manually to zillions of albums is safe!
    w

    Updade...
    So, as another test, I uninstalled iTunes, then checked the hard drive again.
    All the icons have now turned into Quicktime icons, which leads me to believe that when you look at your music in finder, it shows the icons related to your default music player.
    So, my next step is to find a new default player, and maybe my album covers will show up again.

  • (Yet another) Modal Dialog question...

    I'd like to have a modal dialog that has a short message and 8 buttons. A UIAlertView works fine here except the buttons are huge and look bad.
    The buttons are labeled 1-7 and cancel so I'd like them laid out as follows:
    1 2 3
    4 5 6
    7 Cancel
    I've tried presentModalViewController but that doesn't look as nice as UIAlertView. I looked into extending UIAlertView but couldn't figure out how to change the layout of the buttons.
    Can some one point me in the right direction on how to go about this?
    Thanks

    If your dialog needs 7 buttons then it probably shouldn't be a dialog.

  • AJVOAF : How to set a value in one LOV which is coming from another LOV

    Dear Friends,
    I have a issue regarding LOVs. Actually I have 3 LOVs ( Material ,Subinventory ,Locator) in my maintainence user page.
    First Requirement is I have to add subinventory and locator fields to the Material LOV itself (for user no need to go upto Subinventory & Locator LOVs) and WHICH record of Material ,user iis selecting corresponding Subinventory and Locator values should come in Subinventory & Locator boxes ( Second Requirement is i have to make these two Subinventory & Locator LOVs as READ ONLY)
    Third Requirement is I have to bring these Subinventory and Locator values from Material LOV page to Subinventory & Locator boxes.
    I hope iam clear.
    First and Second Requirement s done.
    Iam struggiling for third req.Can any one plz help.
    Thanks
    Aravinda

    hi,
    In your Subinventory LOV add Bin variable using it Query tab. which has Bind VAriable And View Criteria section.use Bind Variable section. those are in the view object level.
    then your all lov include view object select and choose it View Accessors section. it has your lov and Edit your Subinventory LOV and then popup dialog box. Inside it you can make Inside Parametor section select relevant bind variable name and it need value.
    thaks.

  • [AS CS3] Another MathType Baseline Shift Question

    Hi Guys,
    I am using the below script to place MathType Equations into an InDesign File
    Basically it searches for tags <<Filename.eps>> and replaces it with a inline graphic.
    My question is:
    Is there anyway I can get it to read the height of the InLine Graphic Box and then get it to baseline shift so it's centered height wise on the line, instead of the set amount of -10pt that is uses now?
    We have to open the MathType Equations in Illustrator to change font and colour to Pantone etc, so they are save back as Illustrator EPS's
    Below is the Script:
    tell application "Adobe InDesign CS3"
    tell document 1
    set baselineVar to "Yes"
    set countVar to 0
    set imageCount to 0
    set docPath to file path as alias
    tell application "Finder"
    set imageFolder to folder (choose folder with prompt "Please choose the folder containing the appropriate MathType files") --"MathType" of artFolder
    end tell
    activate
    set allStories to stories
    repeat with s from 1 to count of items of allStories
    set theStory to item s of allStories
    if class of theStory is story then
    set theLim to count of words of theStory
    try
    repeat with i from 1 to theLim
    if word i of theStory contains "<<" then
    set theText to contents of word i of theStory as Unicode text
    set theOffset to (offset of "<<" in theText)
    set endOffset to (offset of ">>" in theText)
    set imageName to characters (theOffset + 2) through (endOffset - 1) of theText as string
    set imageFolderPath to ((imageFolder as string) & imageName)
    set wholeTag to characters theOffset through (endOffset + 1) of theText as string
    if baselineVar = "Yes" then
    set baseline shift of characters theOffset through (endOffset + 1) of word i of theStory to -10.2
    end if
    delete characters theOffset through (endOffset) of word i of theStory
    tell theStory
    tell word i
    tell character theOffset
    place imageFolderPath as alias
    set countVar to (countVar + 1)
    end tell
    end tell
    end tell
    end if
    end repeat
    end try
    end if
    end repeat
    end tell
    activate
    if countVar = 0 then
    display dialog "No Images were found" buttons "OK" default button 1 with icon 2
    else if countVar = 1 then
    display dialog "1 lonely Images has been placed." buttons "OK" default button 1
    else
    display dialog (countVar as string) & " Images have been placed." buttons "OK" default button 1
    end if
    end tell
    Thanks
    Marcus

    The place command will return a list containing a reference to the placed<br />image. You can then get the bounds of its parent, compare them with the<br />baseline, and change them accordingly.<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

  • Another simple classpath problem question

    Hi All
    Yes I know, there are a lots of questions about this matter, but I couldn't found a solution to my problem.
    I have a simple program:
    public class prueba {
            public static void main(String[] args) {
                    System.out.println("Ahi va...");
    }placed in /tmp/javier/prueba.java
    After compiled, I've tried to run it from / and then problems started:
    cd /
    java /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    I said, ok...it could be a classpath problem...then:
    java -cp /tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba
    Damn, another try...
    java -cp .:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Jesus Christ....may be the last slash....
    java -cp .:/tmp/javier /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Oh...no.... may be classpath to java classes..
    java -cp .:/usr/java/j2sdk1.4.2_01/lib/jre/:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Well, I don't know why this error happens....
    Please, could somebody help me !!!
    Thanks in advance...
    <jl>

    It's not too early to start following the Sun coding
    conventions for Java:
    http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.
    tmlHi
    thanks for your reply.
    Yes, I agree. I use conventions with my programs. But my real problem was with a real application and then I did quickly this simple code to help others to understand the problem and give a fast reply...
    Let me know if that works. (It was fine on my
    machine.) - MODYes it works fine, thanks.... and Damn...Murphys law again, the only option I didn't tried is the solution to my problem... :)
    Thanks again...

  • Another After Effects 2D Question

    So, I have read different forum posts here as well a other communities. I always read that I need specifics, so I will try to be as specific as possible.
    I want to know if After Effects is the right program for the type of 2D animation i'm trying to achieve.
    I also should make it clear that I am new to motion graphics and may get some terminology wrong. I would say I have a pretty firm grip on Photoshop and Illustrator; I'm a designer for a screen printing shop by trade. I also have a limited but functional knowledge of Premiere and am in the midst of editing 2 music videos. I have always been interested in animation and video but did not have the resources ($23,000 for 2.5 years) to study it at the Art Institute of Houston. I am mainly self taught by way of lynda.com. I have NO PROBLEM doing the training and taking a long time to develop my skill to the level I believe they need to be, but I don't really want to learn 2 different animation software programs unless absolutely necessary.
    I would like to produce an animated music video for a band that will have about a 4 minute run time. The style of animation is NOT Disney, but more or less South Park (cut-out?). More specifically, the intro sequence to the 2014 season. I have read that SP uses Maya, which with my limited knowledge seems a little bit overkill. The intro sequence looks at times 3D, but I am confident I can fake the look with proper texture, shading, placement, shadows and zooming.  In reality, what I want to accomplish is somewhere between the look of the intro and the actual show. The end result is a video for view on YouTube, Vimeo, etc for view on desktop computers and smartphones/tablets. TV is not the goal (although I guess it would be nice).
    I think I would create the characters as vectors in AI, and perhaps bring them into Photoshop for texture.
    Is AE the right software to accomplish this, or would i be better off learning something like ToonBoom Harmony, Blender or Animation Studio 10?
    (or another I am unfamiliar with)
    Perhaps an Adobe forum is not the most neutral place to ask this question, but I'm not giving up Photoshop, Illustrator, Premiere or Speedgrade, so any and all honest opinion are welcome.
    - Can I import "real" vectors into AE and use them for characters, or would everything need to be rasterized?
    - Does AE have a "bones" rigging system or anything comparable?
    - Does AE have a "bullet-physics"-style option? (I'm getting that terminology from Poser, which I purchased while it was on sale but have not even installed yet.)
    - Can I import 3D objects from Poser?
    - Does AE offer any true 3D features, or do I need Maya or a similar program?
    Thanks in advance for any insights anyone can offer.
    (edit: I know I asked about 2D then asked a few 3D questions at the end, but I am just curious. My MAIN concern is 2D)

    Thank you for that. I started reading the comments, and it looks like this video was uploaded by someone other than the creator, and the creator calls him out on it! So here is the link to the original from the creator.
    http://cgi.tutsplus.com/tutorials/create-your-own-south-park-style-animation--cms-19982
    EDIT: So I went on a tirade here about how sh**ty millennials are, even though I am one myself. While I still believe every word I said, this in not the time or place for that discussion. The only thin I will keep is: HEY FELLOW MILLENNIALS:  have some respect for other peoples creations and stop thinking you are entitled or owed ANYTHING, and finally stop taking selfies and posting pictures of your food; no one cares.

  • 10.6.4 - open-save dialog question

    pls see this screenshot..
    http://mayacove.com/misc/ssopen-savedialog.jpg
    circled 'back' and 'forward' buttons are always disabled in open-save dialogs..
    why is this.. how do I fix/configure..
    thank you..

    When that dialog opens, it's pointing to a location like desktop or downloads folder. In your screenshot it's pointing to "resume". Change the destination of the "save" to another folder. Then you'll see the back arrow become active. Pressing it will take you back to the orignial location.
    Message was edited by: captfred

  • Open-save dialogs. questions

    hi! im using fluxbox so long ago and i was wondering what about my "open"/"save as" dialogs, because i remember in windows you have a lot of options like move the cursor above a filename and inforegarding size and other useful info apears as a tooltip, or to see the file size as another colum, i dont even know, this dialogs i have is thunar? it is customizable? are there others to choose? where it is set?
    THANKS!!
    Last edited by leo2501 (2007-11-24 11:48:44)

    and what about changing it to another program? such as thunar?, is there a way to do that?

  • Another "moved itunes music" question

    Hi;
    I recently moved my music from my itunes and other folders onto an external drive.
    I had some stuff in the detault itunes folder and other stuff in a folder c:\itunes.
    I moved everything OK (using windows explorer), and all music can be played in itunes.
    However my playlists are now all messed up. I can't play any of my items in any of my playlists, it says it cannot find the track and do I want to search for it. This is rather annoying as I have 35 playlists each with probably over 300 tracks on. Surely I don't have to go in each one and individually search for each track??
    Any help would be most appreicated.
    Cheers
    MM

    Hi Polydorus;
    Thanks for the reply.
    I found the .xml file and have edited but to no avail. Actually it has no effect whatsoever.
    I can't beleive this situation! I use Itunes because I have an iPhone which I love, I use it all the time for my music. Now, just because I moved my folder onto another drive I've lost two years worth of playlists - this is totally crazy, why does the application do this?????
    I have tried each night to try and motivate myself to re-create the playlists but it is going to take me for ever.
    I've even moved all the tunes back (500GB) but they still don't play from the playlist, I can play them OK from the Music library but not from my playlist - which I need for iPhone AAAarrrrrgggh!
    This is about as bad as Microsoft, maybe I should just wait until MS bring out an iPhone euivalent and then use Windows Media player.
    Thanks again for the help.
    Ciao
    MM

  • Another hard drive swap question - re: 8GB partition for OSX in iMac 266

    I have a Tangerine iMac 266 that I am setting up for a neighbor's son. The original 6GB hard drive was toast, so I swapped in an old 10GB drive that had previously been removed from an iMacDV 400. The 10GB "new" drive had OSX 10.3.1 and OS 9.1 on a single partition. I am aware that these early iMacs need OSX in a first partition of less than 8GB, so I expected that I would need to partition the "new" drive. However, while I was loading an install CD after powering up, the iMac booted fine into OSX, despite it NOT being located in a first partition of less than 8GB (and has continued operating well - booting multiple times in OS X and 9, surfing the net, etc...the only weirdness is a refusal of Word X to run).
    I thought this was impossible, and in researching this I found that the Apple support site says that, for this computer, "Mac OS X must be installed on a volume that is contained entirely within the first 8 GB of its ATA hard disk." see http://docs.info.apple.com/article.html?artnum=106235
    My Questions:
    Is the 8GB limit only related to iINSTALLING OSX on these machines (and not RUNNING OSX)?
    Will the machine run into problems later if a portion of the OS (i.e., during an update) gets installed outside of the first 8GB of the disk?
    One of the log files says that the driver is out of date for the RageproC, and Classic applications that require more than 4MB of VRAM say that I don't have enough VRAM to run, yet the iMac has 6MB of VRAM (2 on MB and 4 in slot as listing by the system profiler) - do I need to (or should I) reinstall the system software (I already tried loading the latest ATI drivers, but it did't help)?
    P.S. - to add more data points on the subject of RAM upgrades in these iMacs, my iMac 266 would not accept a 256MB PC-100 SO-DIMM that worked fine in an iBook and in the upper slot of a Rev. A iMac 233. Well, it accepted it, but only recognized the first 128MB.

    I believe Duane is correct. Even with Mac OS 9, you can run fine as long as all OS components used during startup are within the first 8GB of space. However, (even with Mac OS 9) as soon as something used during startup ends up beyond that limit, you will get open firmware or a gray screen at startup. The Mac OS X does not allow the installation target to exceed the limit as a preventative measure, not because it won't work at all.
    The best "non-technical" explanation I have heard as to why, is this... The IDE hardware (and its driver) can only "see" the first 8GB of space during the initial start up process before the OS is loaded. Once start up completes, control is handed to the OS, which can see the entire drive. Therefore, apps have no problem running from beyond the limit. Only components needed before the hand-off is constrained to the 8GB limit.
    FYI - On my iMac and 120GB drive, 7.78 GB (as shown in a Finder window) is the precise point where the Mac OS X Installer allows the volume to be the install target. "Precise" to with a few hundred MB's.

Maybe you are looking for