ADF - Best programming technique

Hello,
I am new in ADF BC and ADF Faces. I see there are many techniques how to do something and I'm little bit confused. For example I have adf jsp with backing bean behind it. I want to decrease adf table column "itemCnt" value by 1 when a button is clicked.
How should the button action code look like?
1. itemCnt.setValue(new Integer(itemCnt.getValue().intValue() - 1));
2. use bindings: find my iterator, getCurrentRow, getAttribute, setAttribute
3. write the code into Entity or ViewObject implementation class and invoke the method
4. or should I try to use JSF expresion language?
Thank you.
Rado

Hi,
in this case option 1) seems to be the choice. Setting the component value should also update the business service, so no need to call teh VO directly (makes no sense to call the EO for this at all).
Using EL is a matter of taste, but since you have a bacing bean i don't see why you shouldn't use it
Frank

Similar Messages

  • Advanced Programming Techniques?

    I recently learned about dynamic programming, and it's really helping me with programming contests and such.
    So I'm just wondering if there's anything else like dynamic programming that I've never heard of. I don't know what you call them, "techniques" was the best I could come up with.
    Thanks.

    Chimera wrote:Thanks, one of the pdfs there looks really good (Introduction to Algorithms)
    It doesn't quite answer my question though--I can find information on stuff if I know what to look for. I just don't know what to look for.
    I've heard of linear programming and read a little, but are there any other..."foo programming" techniques? What are these things called anyway?
    Linear programming isn't a programming technique at all; it's a class of mathematical problems.
    Rather than tracking down "foo programming" techniques, I'd say your best bet is to educate yourself about algorithms in general.

  • LabView programming techniques

    Hello,
    Can anybody recommend me some links/documents/papers where several LabView Programming Techniques are presented?
    I know LabView (I think that pretty good) but I've learned it by myself.  And now, I have to do some (small-average size) projects that are not for personal use. So I would like to know how can I improve my VIs in order to be easily modified, debugged, tested, structured etc. If you can also recommend me some LabView tools/features that could help me to build "professional" LabView projects and VIs I would be thankful to you.
    Thank you,
    Paul

    In addition to Ray's recomendations I'd also suggest you serach this site for "Design-Patterns" and become familiar with those (if you have not already).
    I also posted a number of Nuggets on programming techniques as well that can be found in this thread of Nugget links.
    If all of that info is "old-news" then try your hand at responding to questions here on the forum, and others will let you know how you are doing.
    (another point! if your code resembles any of the examples found in this thread,  you may want to re-think your techniques. 
    Now if you get through all of that and really want to test yourself against the best LV developers in the world, you can try your hand at answering Q's on LAVA (LabVIEW Advanced Vitual Architects).
    Just trying to help,
    Ben
    Message Edited by Ben on 09-11-2008 08:16 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • What is the best program to create a HD 1080p slideshow?

    A little advice on what the best program is for creating high quality HD (1080p) slide shows from hires jpegs.  I'm not at all interested in burning the slideshows to DVD.
    Until now I've used iMovie HD 6, iMovie '09, and  iPhoto on our mac mini that runs SnowLeopard. 
    With iMovie  HD 6 the transitions (cross dissolve and overlap) come out quite un-smooth look bad.  Also HD 6 will not do 1080p, only 1080i.
    With iMovie '09  photos that are portrait oriented (as opposed to landscape) often get poorly cropped. 
    iPhoto simply does not have the editing flexibility I need.
    I've tried the demo version of Fotomagico and although the resulting slideshow is stunning, on my machine the program is almost impossible to work with because of its sluggishness.  It is painfully slow in responding to all mouse moves. Dragging an image on the Stage is very difficult because the image lags behind the mouse so by the time the little green alignment guides come on to show center or edge alignment -- the image is already past that point.  There is also a huge lag changing images on the stage.   Also the spinning color wheel appears way too frequently.
    Photo to Movie, based on their website, Photo to Movie can produce HD quality video.  Does anyone have any experience in comparing Photo to Movie with any of the iMovies?
    Other than FCP, what do you folks think is best slideshow program for producing 1080p shows?

    Ditto what Matthew said about Photo to Movie.
    There are many ways to produce slide shows using iPhoto, iMovie or iDVD and some limit the number of photos you can use (iDVD has a 99 chapter (slide) limitation).
    If what you want is what I want, namely to be able to use high resolution photos (even 300 dpi tiff files), to pan and zoom individual photos, use a variety of transitions, to add and edit music or commentary, place text exactly where you want it, and to end up with a DVD that looks good on both your Mac and a TV - in other words end up with and end result that does not look like an old fashioned slide show from a projector - you may be interested in how I do it. You don't have to do it my way, but the following may be food for thought!
    Firstly you need proper software to assemble the photos, decide on the duration of each, the transitions you want to use, and how to pan and zoom individual photos where required, and add proper titles. For this I use Photo to Movie. You can read about what it can do on their website:
    http://www.lqgraphics.com/software/phototomovie.php
    (Other users here use the alternative FotoMagico:  http://www.boinx.com/fotomagico/homevspro/ which you may prefer - I have no experience with it.)
    Neither of these are freeware, but are worth the investment if you are going to do a lot of slide shows. Read about them in detail, then decide which one you feel is best suited to your needs.
    Once you have timed and arranged and manipulated the photos to your liking in Photo to Movie, it exports the file to iMovie  as a DV stream. You can add music in Photo to Movie, but I prefer doing this in iMovie where it is easier to edit. You can now further edit the slide show in iMovie just as you would a movie, including adding other video clips, then send it to iDVD 7, or Toast,  for burning.
    You will be pleasantly surprised at how professional the results can be!
    To simply create a slide show in iDVD 7 onwards from images in iPhoto or stored in other places on your hard disk or a connected server, look here:
    http://support.apple.com/kb/HT1089

  • Best program to monitor time spent on FCP, Motion, Soundtrack Pro?

    I run a small company as a free lance doc-film maker and was wondering if anyone could recommend the best program for keeping track of time spent working on Final Cut Pro, Motion, and Soundtrack Pro projects for my clients.
    I'd like a program that tracks how long I spend on each Final Cut Studio application, like that I can itemize my billing to clients...so many hours spent editing in FCP, doing effects in Motion, even internet research on Safari when looking for photographic/film archives.
    Thanks very much in advance to anyone who can help me,
    - Nicholas

    In general I'd say a spreadsheet or text document and your own diligence are close enough to get an idea, as charging for the time spent in software isn't going to make you a lot of money.
    That being said:
    http://www.gridironsoftware.com/products/flow/flow_features.html
    o| TOnyTOny |o

  • Acrobat 9 or Designer 8.2  Which of the two is best program to design a form in.

    I have some questions that I would like explained to me (by you long time users)
    I have acrobat 9 and designder 8.2.1
    1. Which of the two is best program to design a form in.
    2. What is the differance between the two in designing a form.(advantages / disadvantages)
    3. If I have a word .doc form that I want to make into a pdf, which program is best to open it in to work on, Adobe 9 or designer.
    4. If I create a form in Adobe 9 or designer can I open it in either after saving it to continue working on.
    TIA
    Tony

    I think this is a matter of opinion. The drawback of using Designer is that you can no longer edit in Acrobat at all. Those of us that learned in Acrobat, often favor the Acrobat route. In Designer you can import WORD forms and that might be useful at times; however, you can not edit it in Acrobat. Indeed, you can still open the form made in either using Reader or Acrobat. If you want backward compatibility, you need to be careful about saving it as such and not adding capabilities that are new with AA9. Those capabilities will be lost with earlier versions.
    The best way is to try it both ways and see what you think. When you buy Acrobat, Designer is part of the package. Thus you have the choice and can try both. Make a sample PDF for creating a form and then make 2 copies. You might even start out with a WORD form. Discover the pros and cons yourself. I have never felt the need to go to Designer and it seems that a lot of folks go there only because that is where the forms menu sends them, not realizing they could have used the TOOLS in Acrobat.

  • Does the Macbook Pro have a program to run Windows? If not, what is the best program to do so?

    Does the Macbook Pro have a program to run Windows built in? If not, what is the best program to do so. Purchasing a new Mac.

    No. The Mac does not have anything to run Windows
    You must install either virtualizrion software or use BootCamp to create a partition for Windows. Once you have done that then you must install Windows.
    Allan

  • What is the best program to create a price list in?

    What is the best program to design a price list please.

    I would use a spreadsheet to keep a current price list for my own use. If I wanted to print a price list for distribution to customers, I would take the current prices from the spreadsheet and paste them into a template from a word processor program, such as Word or Pages.

  • Could someone please recommend the best program to convert AVI and MPEG files for use (and exporting) into IMovie 11?

    Hi - I understand I need to convert AVI and MPEG files for use within IMovie 11. I have one particular file that has a watermark stating "Created with Flip4Mac WMV Demo". Can someone please recommend the best program for a novice?  Thanks!

    Hi Susan,
    It is no simpler converting vobs to mp4 than mpg (mpeg2).
    There is *always* a loss of quality converting video from one lossy-compressed format to another, e.g. mpeg2 to mp4.
    So, if you want to not lose any quality, then converting vobs to mpeg2 (mpg) is the thing to do (since there will be no video/audio re-compression), assuming Lr5 will accept them (sorry, but I do not know). example commands:
    Mac: ffmpeg -i myvideo.vob -sameq myvideo.mpg
    Win: ffmbc -i myvideo.vob -sameq myvideo.mpg
    If Lr5 won't accept them, then you can convert to mp4 with minimal quality loss using a command like:
    Mac: ffmpeg -i myvideo.vob -sameq myvideo.mp4
    Win: ffmbc -i myvideo.vob -sameq myvideo.mp4
    You may need variations of these commands depending on encoding of vob.
    Note: -i means -input-file; -sameq means -same-quality, as much as possible.
    ffm... is smart enough to avoid re-encoding, if possible, when -sameq is used, and makes reasonable choices for audio/video codecs based on extension of output file.
    Of course, you'll need to download/install ffm... program if not already on your machine, and execute commands in a terminal or command window.
    Do keep us posted please .
    Cheers,
    Rob

  • What is the best program for designing event flyers? I am looking for something basic and simple.

    What is the best program for designing event flyers? I am looking for something basic and simple.

    Poor old Photoshop® is forever being put down when it comes to layout work, but it is perfectly capable, and can output a high quality print PDF the printer will be perfectly happy with.  OK you don't have the text flow between columns bells and whistles of InDesign and [spit] Publisher, but if you have a $10/month Photoshop/Lightroom subscription, instead of the $50/month full subscription, don't think you can't do a perfectly good flyer or poster.
    https://helpx.adobe.com/photoshop/how-to/align-objects-guides.html

  • What is the best program for playing games,dics,3d settings such as "groove setting"

    what is the best program for playing games,dics,3d settings such as "groove setting"?

    Aubry,
    why don't you send your sequences straight to Compressor first, encode your movies as MPEG 2 and AC3 audio and import all assets in DVD studio PRO?
    G.

  • What's the best program for making a header containing rollover navigation links?

    I have all CS4 programs and I'm looking to make a header that contains an interactive rollover nav bar. I want the bar to be located within the header. What is the best program for creating the header and rollover buttons. I'm aware i could manipulate the images in other programs, but placement and rollover button creation is what I'm looking for. Thanks. I'm thinking maybe flash or fireworks?

    Spry can do this for you.  See some samples here:
    http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html
    Or there are commercially available menu systems from the likes of companies like Project Seven, whom I would personally recommend:
    http://www.projectseven.com/

  • What's the best program for print? especially for newsletter, flyers, and catalogs?

    what's the best program for print? especially for newsletter,
    flyers, and catalogs? is FH going to be deprecated? thanks,
    bryan

    > what's the best program for print? especially for
    newsletter, flyers, and catalogs? is FH going to be deprecated?
    thanks, bryan
    If you have used FreeHand before it is sill FreeHand of
    course - as long as it works in our OS and there are no new
    features you like to use.
    If you have documents with a lot of text elements and
    multiple pages InDesign may be the second best choice. For
    typography it is the best tool available.
    Illustrator is more for illustrations, although it seems that
    it has good control for type it is clumsy and there are a few major
    bugs that makes it unsuitable for body text.
    Jukka

  • Best Program to Create Flyers

    I am looking for the best program to make flyers. I suck at drawing and I make a lot of flyers, so I was wondering it there is any program that is awesome for doing that. Even if I could just do some of the things I can do on paint, it would be better then the stuff I can do on WordMac.. maybe I'm just ******** but I cant even figure out how to crop stuff with that.

    the best program to make flyers
    You might like to try out 'Pages', which should be in your /Applications/iWork06 folder, for layout; it has some nice Templates and features.

  • I have an IMac intel  OS x 10.8.2, I would like to know what is the best program to use to make movies and burn them to a DVD???

    What is the best program to use that will be compatable with a IMac intel OS x 10.8.2, that will allow me to make movies, add music then burn it to a DVD.  The program I have now, will make the movie but will not burn it???

    You want iDVD.
    Purchase iLife 11  (includes iDVD) on disk.
    IDVD is a wonderful piece of software and well worth the low cost of $40.
    http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
    http://dealmac.com/lw/artclick.html?1,527850,1872219
    Yes, there are programs that will put a movie on a DVD.   I have tried most of the other substitutes including Toast, Burn, DVD Creator, Wondershare, and others.  None of them come anywhere near the ease-of-use and power of iDVD.

Maybe you are looking for

  • Error in result of storeproc

    I have a problem with cfstoredproc and Informix database, when I invoke a stored procedure by cfstoredproc, it returns me several columns with the same name (EXPRESSION) and repeat the value of first column. I am running CFMX 8.0.1 Enterprise, with I

  • Firefox.exe has "disappeared" so I can't open it. If I download and install new version will I lose all my bookmarks etc?

    I've had a lot of crashes, some just firefox, some the whole computer. In process of migrating to new machine so wasn't overly concerned. But after a restart today, I found I could not get firefox to open at all. After finding the system searching fo

  • OBIEE 11.1.1.6 - Domain Configuration Failed

    Hi, I was trying to install OBIEE 11.1.1.6 series on my Lenovo T430 Laptop, installation was successful but while in configuration process its raising a error like "Creating Domain" failed in the initial stage only. I tried with JDK1.6,JDK 7 but no u

  • The GTK icon cache conspiracy

    I've wondered for a while why GTK (both 2 and 3) seem so slow even on (relatively) powerful computers. I've also wondered why stock Slackware is very responsive... And why it is equally slow to boot. Turns out all those things are connected. GTK uses

  • Mouse problems with Maverick

    Hi everyone. Since i updated my macbook pro 13,3'' i7 I've noticed that the shortcuts, as 'swipe back to the last page' is not working anymore. Am I the only one, who experienced this?