Best way to rome?

Hi,
I’m trying to display a detail page on a single record showing 99% of the columns as read-only and only 2 columns editable for the use. I’m running in to problems which I would like some thought on the best way to resolve them.
My first thought was simply create a page with page items of which 99% is display only and 2 text fields. This worked fine apart from 2 small details which are now causing me pain to resolve.
•     Display only with “save session state” set to “No” are great. Until the 2 editable fields cause a validation error. The error is displayed but all other page values are now lost since there is no session state, showing an almost empty page.
•     Display only with “save session state” set to “Yes” resolves this, but causes a new problem. Some of the display only fields contain numberic data presenting percentages. Which are stored as .75 for 75%. On the page I want to display these as 75%, which I accomplished through a post calculation to_char(:item*100)||’%’. Which worked fine as long as session state was NO, but now session state is retained it starts complaining that ‘75%’ is not a valid number.
What would be the best way to combat this. I tried thinking op several solutions, but I simply don’t know what would be the ‘apex’-way
•     Create hidden column based page items for all columns in need of formatting, create a 2nd page item display only item based on the hidden item value in which formatting is done.
•     Create column based page items only for the editable columns, show all other column in pl/sql regions, creating needed html from scratch
•     Create a page based on a procedure to process the editable columns, show all other data in pl/sql region
I can probably think of several more ways but they al seem so much work for such a simple problem.
I seems to me it shouldn't be so hard.
any hints are welcome!
apodictus

apodictus wrote:
Thanks for the hint!
That's basically the same as using a pl/sql region for all none editable as I opted.
Report region isn't really an option as I not only want to format the column, but also format their display position (as with page items)
For that matter a pl/sql region would give me that freedom to compose the html as I see fit.You can do this with a custom report template as well. I prefer to do that because it's cleaner to write separate declarative SQL and HTML than PL/SQL with lots of ugly concatenation or the prehistoric HTF/HTP packages.
(Almost the actual Dutch idiom is 'All roads/many roads lead to Rome', mine is the derived question which to road to choose. But indeed the point I'm was trying to make is the same as skinning a cat. I know I can easily resolve the problem. I'm just wondering what's the best/easiest approach.Sometimes that's as bad as having no solution at all.

Similar Messages

  • Aloha, I have a CD-Rom from 2001 that i very much want to access but cannot because i no longer have "classic." There are a variety of video and text files. What is the best way to convert? Any help is greatly appreciated. mahalo.

    Aloha, I have a CD-Rom from 2001 that i very much want to access but cannot because i no longer have "classic." There are a variety of video and text files. What is the best way to convert? Any help is greatly appreciated. mahalo.

    Buy a cheap older Mac like an iMac.
     Cheers, Tom

  • I am a Creative Cloud customer . . . what is the best way to contact Adobe Customer Support???

    I am a paying Creative Cloud customer . . . that being said . . . what is the best way to contact Adobe Customer Support???

    Hi miami730,
    Please refer the link: http://helpx.adobe.com/in/contact.html to contact customer support.
    Regards,
    Romit Sinha

  • Best way to burn a DVD+R DL disc?

    I was wondering what everyone thought was the best way to burn a DVD+R DL disc.
    This is how i do it and let me know if you have better results doing it a different way.
    1. Never burn from DVD SP, always use Toast instead.
    2. Select All Regions (including #7) in DVD SP
    3. Build/Format, then select Harddrive, .img file
    4. Use Toast and select Copy, then Image File.
    1. I never burn in DVD SP because it uses the fastest write speed that your disc/burner does and this seems to have issues.
    2&3. I always select All Region because DVD SP by default doesn't select #7 (no clue to why that is) and if you got to harddrive using .img, then that is CMF format and CMF needs all region (RCM Value of 0). Otherwise DVD SP will have different region codes in the MAIN.DAT vs. the CONTROL.DAT. 0 and possibly 64 or 40.
    4. With Toast you can set the write speed. I just use 2X and this takes 40 minutes or so for a full DVD+R DL disc.
    But..
    Is this the best way?
    Or is the DVD-ROM (UDF) option a better way?
    Any suggestions?

    Hi Brian,
    Not that this really helps you solve the dvdsp thing but if they are regular clients maybe buy a cheap(ish) dvd player that plays your discs fine and send them it. Explain the ±DL issues. Say the authoring is fine but the ±DL media thing is a mine field so here is a player so proofing goes smoother in the future.
    If Toast is working better then send a media input form with the proof stating where the LB will be on the master etc.
    I'd like to hear anything anyone else has to say but I'm sure we're aware of most of the options already.
    FWIW, if you're running 10.4.x you can type drutil info in Terminal and hit enter to see what types of media the attached drives can burn,
    Good luck,
    -Jake

  • What's the best way to install Windows Xp Pro on IdeaPad S10

    I need to get Xp Pro onto my idea pad S10. What's the best way of going about it?
    USB CD Rom and Install from CD Rom?
    Is there any thing that I should watch out for. I have been reading online how some people can no seem to install Windows Xp Home form CD.
    Keyboard Cowboy

    I would in fact recommend a universal 2.5" and 3.5" to USB that is readily available online. Shouldn't cost more than $15 USD and you can use it for SATA, IDE, and PATA. And besides, you never know when it will come in handy.
    \\ I do not respond to PM regarding individual tech support. Keep discussions in the forum for the benefit of others //

  • What is the best way to set up iTunes on our home network so all family members have access to all of our itunes library, even music we don't have on the cloud?

    I have five different people using 10 different apple devices on one itunes account in our family.  We have had trouble sharing.  What is the best way to set up itunes on our home network?  We have purchased music that sits on icloud, but we also have music we have imported from our previous cd library.  Our itunes program keeps crashing and dumping everyone's playlists.  So far we have all been using just the one desktop computer to sync to because we can't figure out how to share the same librarly and playlists on multiple computers in our home so devices can be synced at any location as well as playlists and purchases be made. 

    What is the best way to set up itunes on our home network? 
    One iTunes library per person.  One iTunes account per person.
    If people wish to share songs, they can make copies.
    When the inevitable day comes when the kids get older, you will not have to come back here and post asking how all that stuff can get separated!

  • When I send a webpage via email, some of my recipients are unable to see it properly. The website was made with iWeb, and a Mac person advised me this was the best way to do an email campaign with iWeb, but it's not working for a lot of my customers - why

    I have recently created a website for my family's business. When we bought the Macbook the guy in Apple said the best way to send an email campaign to our mailing list was to publish a hidden page, find it in the browser on Safari, then share it via email, so that is what I do. For most of my customers this works fine, however I have a number of people each month who cannot see any of the content of the email. I have added an 'If you can't see this email properly...' link at the top of the page, with no shapes or images etc near it, but even that does not appear for them.
    I am a self-taught novice unfortunately, so haven't a clue what the problem is. I'm not sure of the operating system, but we bought the Macbook in May and it has all the recent updates installed. I have just had a new baby so can't get into the store fdor a one-to-one, so if anyone could explain why this happens / what I can do about it, I would be very grateful! Thanks!

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Best way to refresh page after returning from task flow?

    Hello -
    (Using jdev 11g release 1)
    What is the best way to refresh data in a page after navigating to and returning from a task flow with an isolated data control scope where that data is changed and commited to the database?
    I have 2 bounded task flows: list-records-tf and edit-record-tf
    Both use page fragments
    list-records-tf has a list.jsff fragment and a task flow call to edit-record-tf
    The list.jsff page has a table of records that a user can click on and a button which, when pressed, will pass control to the edit-record-tf call. (There are also set property listeners on the button to set values in the request that are used as parameters to edit-record-tf.)
    The edit-record-tf always begins a new transaction and does not share data controls with the calling task flow. It consists of an application module call to set up the model according to the parameters passed in (edit record X or create new record Y or...etc.), a page fragment with a form to allow users to edit the record, and 2 different task flow returns for saving/cancelling the transaction.
    Back to the question - when I change a record in the edit page, the changes do not show up on the list page until I requery the data set. What is the best way to get the list page to refresh itself automatically upon return from the edit-record-tf?
    (If I ran the edit task flow in a popup dialog I could just use the return listener on the command component that launched the popup. But I don't want to run this in a dialog.)
    Thank you for reading my question.

    What if you have the bean which has refresh method as TF param? Call that method after you save the data. or use contextual event.

  • Best way to use return values in a webservices

    Hi all,
    Scenario: We have three web services. What is the best way to do this acitivity or is it possible?
    webservice1
    webservice2
    webservice3
    Call invoke webservice1 & 2 (they need to their work do be done parallely and will return a value eg "string")and call webservices3 with input values as the returned value from webservice 1 & 2.
    Thanks,
    Shashi
    Edited by: Shashi_sr on Sep 17, 2010 1:46 PM

    Hi Shashi,
    The way to achieve your desired functionality is as follows:
    Create a flow activity, and within that flow activity, you will call web services (using an invoke activity) webservice1 and webservice2.
    After the flow activity, you will then use another invoke activity to call the 3rd webservice using the output given by the first 2 webservices.

  • Which is Best way to pool DB connections on Server no-J2EE???

    I have a applicatio, which run on very different app servers (WebSpere, JRun and i-Planet)... the db conncetion problems existe whit server no-J2EE compliant, like as i-Planet.
    On J2EE servers I cant use Server DataSource to pooled connection, and server make this work transparently and good.
    But, if have to manually manage to pool connection, which is the best way?
    Befor use Poolman package... by CodeStudio, but is not effective for me...
    Now, are studying the Jackarta-Commons DBCP...
    Which is the best ?... there is other solution for this problem ?.
    thx !

    App in I'm work, make exhaustive use of db connection,
    only on startup, use a average of 130 connection
    request on less 10 secconds.
    All connection requested, when finish to use, there
    are closed, supposeddly, the closed connction are
    returned to pool, but this no happend it quickl, How do you know it doesn't happen quickly?
    Normally a returned connection would just be inserted into a list with a possible state change. That would be very quick in java. It might check the state of the connection and that is going to take longer Another pool manager might do the same though.
    then,
    if pool is able to create emmergency connections (up
    num max) always returned new connection, any one
    else, if pool can't create emmergency connection
    objects, app wait for free connection of pool... long
    delay !Of course, but any pool is going to do that.

  • HT1349 I lost/had my iPhone stolen. Tried using Find My iPhone and it's offline. It was set up. What do I do now? Do I report it stolen? What is the best way in getting back my iPhone if any? Thank you in advance.

    Tried using Find My iPhone and it's offline. It (Find my iPhone) was set up. What do I do now? Do I report it stolen? What is the best way in getting back my iPhone if any? Thank you in advance.

    Find My iPhone is good for misplaced iPhone but not good for thief and it was never meant to be.
    You chance of getting it back is very small.
    There are a few things you can try.
    Try remote lock/wipe your iPhone through Find My iPhone.
    https://www.icloud.com
    You can report to the police, cell carrier (expensive cell charges for international calls, roaming etc)
    Change all the passwords used in iPhone: Apple ID, E-mail, Bank Account ....
    http://support.apple.com/kb/HT2526

  • What is the best way to read and manipulate large data in excel files and show them in Sharepoint

    Hi ,
    I have a large excel file that has 700,000 records in it. The excel file has a few columns that change every day.
    What is the best way to read the data form the excel file in fastest and most efficient way.
    2 nd Problem,
    I have one excel file that has many rows each row contain some data that has certain keywords.
    What I want is  to segregate the data of rows into respective sheets(tabs ) in the workbook.
    for example in rows have following data 
    1. Alfa
    2beta
    3 gama
    4beta
    5gama
    6gama
    7alfa
    in excel
    I want there to be 3 tabs now with each of the key words alfa beta and gamma.

    Hi,
    I don't really see any better options for SharePoint. SharePoint use other production called 'Office Web App' to allow users to view/edit Microsoft Office documents (word, excel etc.). But the web version of excel doesn't support that much records as well
    as there's size limitations (probably the default max size is 10MB).
    Regarding second problem, I think you need some custom solutions (like a SharePoint timer job/webpart ) to read and present data.
    However, if you can reduce the excel file records to something near 16k (which is supported rows in web version of excel) then you can use SharePoint Excel service to refresh data automatically in the excel file in SharePoint from some external sources.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Best way to back up iPhone to icloud?

    Best way to bachup to icluod?

    Open Settings > iCloud > Storage and Backup and turn on iCloud backup. The device will back up automatically

  • What's the best way to setup a media server/central storage for all of my?

    I was wondering what the best way to achieve a central media server for all my iTunes content + iPhoto's, calendar syncing and contact sharing is? This is what I currently have:
    iMac 20" Aluminum + External HD Backup (kids)
    Macbook Black (wife)
    Macbook Pro 15" (me)
    Airport Extreme 802.11n (obvious)
    TimeCapsule 1TB (wifi backup for wife/me)
    I would like to replace my PC in my office with a brand new Mac Pro Nehalem 8-Core, 8GB Ram, and 4TB, and replace my PC laptop in my living room attached to my tv, with an Apple TV.
    I want to centralize all our Photos from vacations, etc. Music, videos, movies, that are currently split up over wife's macbook, kids imac and my macbook pro onto my soon to be purchased Mac Pro.
    I want to be able to stream everything from my living room via Apple TV for when guests come over, dinner parties, etc. (plus I love apple and it keeps things clean)
    I'm currently using MobileMe to sync all of our Calendars and Contacts with my main account, which is great, but MobileMe doesn't sync to family members accounts =
    What would I need to do to centralize all this onto my future Mac Pro so that everyone has access all the time when they are home and the key here is, modify/update/change from their machines and sync it back/update it on the Mac Pro.
    Also, I'm hoping Snow Leopard has some changes to iTunes to make this a little more possible, since we're right around the corner from this release. I don't really want to spend an additional $900+ on Snow Leopard Server to have to achieve these results, but if it makes it easier, and does the job, then I guess I might. This is all speculation though, since it's not out yet. I'd like to get this all sorted and setup within the next month.
    I was considering a Drobo, they say they can throw up iTunes Server but, I appreciate everyone for reading this, and taking the time to respond!
    Thanks!
    Message was edited

    I'm in the process of setting up a smaller (and cheaper) but somewhat similar setup to what you want to do, so maybe one example might help point you in the right direction. My needs consist of a centralized location for data storage, which will include iPhoto libraries (I keep two separate ones), iTunes (which I also want served to the home theater system), something other than my laptop to play internet videos and downloaded content on my TV, all with ideally the lowest cost and energy use possible.
    My solution was the new Mini with a FW800 external drive as the server/media hub and Airport gigabit as the network hub (it also handles the backup drive).
    FW800 is fast enough to saturate a gigabit ethernet link, so I don't consider that much of a bottleneck. The Mini then has iTunes running at all times with its centralized library on it; it is hooked to the home theater via HDMI-DVI video and optical audio, so it can play music and also handle videos when desired; Front Row with the Apple remote is close enough to an AppleTV that I think it handles that well, and it's more full-featured than an AppleTV. It can further be used to display photos/slideshows/whatever on the TV for guests or such, or to surf from the couch with a wireless mouse/keyboard. You can also toss in an EyeTV for $150 and use that as a DVR if you feel like it.
    When I want to edit photos or such on my desktop, the gigabit link is fast enough that I can run iPhoto without noticing any significant slowdown. Its also usable over wireless, though I have a dangling extra network cable to plug into a laptop for full gigabit speed if need be. iTunes, of course, shares its library, which can be played from any of the computers in the house if so desired (iPhoto can do that too if you just want to display).
    If I REALLY wanted top speed (though I've even done video editing in iMovie via ethernet without issue), I could use a third party synch app (I like Sync) to mirror any of the content from the mini server to a local drive; this works fine with anything but multi-way synching, such as address books being modified in different locations. I'd probably try to set up one of those Mobile Me clone systems or use a 3rd party app if I needed to do that.
    Again, maybe this isn't powerful enough or "synched" enough in terms of local storage for your taste, but the advantage is that a Mini uses a minute fraction of the power of a Mac Pro, so you're saving a lot on electricity if the computer will be powered up at all times as a server, and it's also a lot more full-featured as a home theater media hub than an AppleTV. And, heck, the thing is about as well equipped as my old top-of-the-line G5 tower for a 5th the cost and 1/15th the power and noise.

  • Best way to connect iMac to TV

    What's the best way to connect my iMac (2011) to my TV? My TV has HDMI inputs and my iMac has Thunderbolt ports, so I know I can connect them with a cable, but they are about 20 feet apart and I think that's too long for a cable run. Does anyone have suggestions?
    TIA,
    Thad

    Get an Thunderbolt to HDMI adapter and a 20 feet long HDMI cable.
    There is no problem with the length, but a 25 feet HDMI cable will be around 20$ on eBay.
    If you need to really go long distance, then you could get a HDMI over CAT6  extender.
    This one will allow 130 feet.
    Some models will let you extend up to 1000 feet!

Maybe you are looking for