First,last next previous,save, delete,execute,find.

experts,
am using jdev 11.1.1.4.0
in jdeveloper has buttons like such as first,last next previous,save, delete,execute,find.
what my question is?
is it possible to do this?
i don't want these buttons,
instead of the buttons -- i needed icons. for doing same operation.
for explaination,
let us, take an eg:
In jdeveloper we do some changes in designing or may coding part.
after then, our hand moves to save these changes.so press save icons to save all of them.
this is my point.
when the user make all entry in my ui.he want to save the datas by not pressing buttons. by pressing save icons. (i.e) floppy disk icons. in our tool bar
i want that save icons instead of save button doing same operation.
like wise
i want these operation undo ,redo,first,last,next.previous. not in button. only icons. do these operations.
if it's possible can one show the way.
r else paste link
how to do this?
Edited by: subu123 on Jul 25, 2011 2:40 AM
Edited by: subu123 on Jul 25, 2011 2:48 AM

Hi,
In our application we use the "af:commandToolbarButton" component but instead of the "text" property you use the "icon" and "disabledIcon" properties.
<af:commandToolbarButton shortDesc="the tooltip"
                                     id="button
                                     actionListener="#{yourAction}"
                                     icon="/images/yourIcon.png"
                                     disabledIcon="/images/yourDisabledIcon.png"/>
</af:commandToolbarButton>Gabriel.

Similar Messages

  • Create first,prev,last,next buttons

    Hi, tell me the syntax to create any one of these button(first,prev,next,last).
    Thanks in advance!

    Hi,
    You can create these buttons and can write your logic to query the required records, there is no such standard things provide by OA framework for this all these are custom so just create forur buttons with name as first, last nest and prev and write logic to fetch the first, last, next and previous records.
    you can make use of setCurrentRow method first set first record as current record and it will be displayed on your page after this on click of next button set next row as current row so it will display the next row on the page.
    For previous button again get previous row and set it as previous row and for lst button set last row as current row.
    I hope this is very simple to implement, let me know if anything you want to know.
    Regards,
    Reetesh Sharma

  • Dynamic Image Gallery First, Next,Previous,Last

    had a friend help me build this but now he's gone and I don't
    understand arrays or coldfusion really. I have an image gallery
    that works beautifully except that I want to be able to add two
    behaviors to the page. 1.Pagination. 2. Display Record Count. (I
    know how to use the Dreamweaver built in Server Behaviors with
    Dynamic Tables but this is a little different from that b/c he's
    using arrays to build the table instead. I've almost go the
    pagination working. Except I can't figure how to show the last
    record. I've got "First, Next, & Previous" to work. But the
    "Last" doesn't. This is the part of the code that I'm concerned
    with as everything else is working.
    <cfset CountUp=Count + 10>
    <cfset CountDown=Count - 10>
    <p align="center"><cfif Count gte 1><a
    href="gallery.cfm">First</a></cfif>  <cfif
    Count gte 10><a
    href="gallery.cfm?Count=<cfoutput>#CountDown#</cfoutput>">Previous</a></cfif>  <cfif
    ArrayLen(PhotoArray) gt CountUp><a
    href="gallery.cfm?Count=<cfoutput>#CountUp#</cfoutput>">Next</a></cfif><cfif
    ArrayLen(PhotoArray) lt CountUp><a
    href="gallery.cfm?Count=<cfoutput>#CountUp#</cfoutput>">Last</a></cfif>
    I have no idea how to write the "Display record counts" so if
    someone can help me write that part I would be so greatful.
    Here is all of the code for this page attatched...
    Attach Code

    Your code is more complicated than it needs to be. I honestly
    didn't dig through it, but here are a few suggestions.
    Use ArrayLen(array[]) to count the number of rows in an aray.
    Use array[ArrayLen(array)] to find the last record

  • First Next Previous Last

    Hi,
    In the standard toolbar when running MSA there you have the First, Next, Previous and Last buttons.  What gets executed when you push these buttons?  For the New button for example there is the beforeNew and afterNew event you can add, if you want to change something about the standard new button.
    Im in a tile thats shows business parners, they are either a prospect OR a customer.  And depending on if its a prospect OR a customer different fields should be made read-only etc..  i was able to make this work, but when using the First Next Previous Last buttons these field properties dont get updated when goin from a customer to a prospect and the other way around.
    In what event or where should i put my "field-properties code" to fix this?
    Cheers,
    Maarten

    Hi Maarten,
    I don't know where you have put your code to change properties of those fields.
    You would have to put your code in the <b>Your</b>Anchor_onUpdate.
    Your anchor - is the anchor that the BO is tied to.
    So, when you go First or Last, it executes _OnUpdate event.
    Regards,
    Vadim.

  • First Next Previous Last Behavior

    I had a friend help me build this but now he's gone and I
    don't understand arrays or coldfusion really. I have an image
    gallery that works beautifully except that I want to be able to add
    two behaviors to the page. 1.Pagination. 2. Display Record Count.
    (I know how to use the Dreamweaver built in Server Behaviors with
    Dynamic Tables but this is a little different from that b/c he's
    using arrays to build the table instead. I've almost go the
    pagination working. Except I can't figure how to show the last
    record. I've got "First, Next, & Previous" to work. But the
    "Last" doesn't. This is the part of the code that I'm concerned
    with as everything else is working.
    <cfset CountUp=Count + 10>
    <cfset CountDown=Count - 10>
    <p align="center"><cfif Count gte 1><a
    href="gallery.cfm">First</a></cfif>  <cfif
    Count gte 10><a
    href="gallery.cfm?Count=<cfoutput>#CountDown#</cfoutput>">Previous</a></cfif>  <cfif
    ArrayLen(PhotoArray) gt CountUp><a
    href="gallery.cfm?Count=<cfoutput>#CountUp#</cfoutput>">Next</a></cfif><cfif
    ArrayLen(PhotoArray) lt CountUp><a
    href="gallery.cfm?Count=<cfoutput>#CountUp#</cfoutput>">Last</a></cfif>
    I have no idea how to write the "Display record counts" so if
    someone can help me write that part I would be so greatful.
    Here is all of the code for this page attatched...

    Hi Maarten,
    I don't know where you have put your code to change properties of those fields.
    You would have to put your code in the <b>Your</b>Anchor_onUpdate.
    Your anchor - is the anchor that the BO is tied to.
    So, when you go First or Last, it executes _OnUpdate event.
    Regards,
    Vadim.

  • Page numbers navigation bar instead of the standard first-next-previous-last

    I want to add page numbers to my navigationbar instead of the standard "first next previous last".
    For example I have a repeat region with a navigation bar (standard) I have 7 records per page and I would like it to say at the bottom:
    1 2 3 4 5 ect. Is there any way I can code this up with php or with dreamweaver or is there an other way to do this.
    Any help welcome

    You can do it in DW
    Add the below code
    <div class="pages">
    <ul>
    <li class="prev"><a href="#">&laquo; Previous</a></li>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li class="ellipsis"><strong>&hellip;</strong></li>
    <li><a href="#">6</a></li>
    <li class="current"><strong>7</strong></li>
    <li><a href="#">8</a></li>
            <li class="ellipsis"><strong>&hellip;</strong></li>
    <li><a href="#">14</a></li>
    <li><a href="#">15</a></li>
    <li class="next"><a href="#">Next &raquo;</a></li>
    </ul>
    </div>
    style it as
    .pages{display:block; width:100%; text-align:center; clear:both; font-family:Verdana, Geneva, sans-serif;}
    .pages ul{margin:0; padding:0; list-style:none;}
    .pages li{display:inline;}
    .pages strong{font-weight:normal;}
    .pages .next{margin:0;}
    .pages a,.pages .current strong, .pages .ellipsis strong{display:inline-block; padding:2px 6px; margin:0 2px 0 0;}
    .pages a{border:1px solid #DFDFDF;}

  • Next,previous,last, and first record

    dear all masters
    plz help me my code dont work
    i used button when button pressed and code below
    First_Record;
    execute_query;
    last_record;
    execute_query;
    previous_record;
    execute_query;
    next_record;
    execute_query;
    but all wont work it wont goto the next, previous,last and first records.. master plz help me..
    micababe

    How do I navigate to the last_record after a query has fetched all my records. I jnow it existed the POST-FETCH trigger, but now how can I make this possible?
    My problem is simple. I am trying to navigate to the last record of a block after the query has fetched all the records.
    Thanks,
    Lucian

  • NEXT PREVIOUS LAST FIRST PROBLEM

    hi to all,
    i get this error when i press next,previous,last first button... "Error.. you need to insert first item" and another is when it work the last and first its empty in all the text item.....
    my code is..
    Next_REcord for next button
    previous_record for previous
    last_record for last
    first_record for first...

    If you want to navigate through the records of you 're data block you need records.
    So first 'execute_query'. You can put this in when-new-form-instance trigger.
    If there are no records in your table, it's normal that you get this error when trying to navigate.
    Regards

  • Previous month first data and previous month last date

    can any body have query to get previous month first date and previous month last date.
    Ex: First day of the previous week:
    TIMESTAMPADD(SQL_TSI_DAY,-6, (TIMESTAMPADD(SQL_TSI_DAY, DAYOFWEEK(CURRENT_DATE) *-1,CURRENT_DATE)))
    Last day of the previous week:
    TIMESTAMPADD(SQL_TSI_DAY, DAYOFWEEK(CURRENT_DATE) *-1,CURRENT_DATE)
    can anybody have it for first day of the previous month,last day of the previous month?
    Edited by: user12255470 on Apr 7, 2010 3:30 AM

    Hi,
    1st day of previous month :
    TIMESTAMPADD(SQL_TSI_DAY, ( DAYOFMONTH(TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE)) * -1) + 1, TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE))
    last day of previous month :
    TIMESTAMPADD(SQL_TSI_DAY,DAYOFMONTH(TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE)) * -1 , TIMESTAMPADD(SQL_TSI_MONTH, 1, TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE)))
    Please mark Q answered and award points for correct answers !
    Thanks
    Alastair

  • HT4061 i had my ipad stolen on monday. I set it to remote wipe when next switched on. It came on yesterday and was wiped, but it did not tell me its last location. How can I find this out.

    i had my ipad stolen. I set it to remote wipe when next switched on. It came on yesterday and was wiped, but it did not tell me its last location. How can I find this out.

    I beive that its too late now if the iPad has been wiped. The means of communicating with the device has been reset so there's no talking to it now.

  • Is there an easy way to fetch next/previous record in Apex?

    I am new to APEX/Oracle, but have a lot of expierence as a mainframe programmer and some experience with SQL.
    I have been tasked by my boss to create a set of pages in an application as follows.
    Page 1: Select an Employees Name and go to Page 2.
    Page 2: Display Employee's Biography Information.
    Add a "Next Employee" button and a "Previous Employee" button that will fetch the next/previous Employees Biography info respectively.
    In essence, he wants a query with every employee's biography information with the employee selected on page 1 used as the starting pointer.
    I have successfully built "select an Employee's name on page 1" and "display his/her info on page 2" with a query that returns a single record.
    What I can not figure out is how to get a next and previous button to get the next or previous record in a multi record query, using the intially selcted employee as the intial pointer.
    Is their an easy way to build this using built-in APEX functionailty, or will it require programming to achieve this requirement?

    Bob,
    I installed the Aria application, but now I wish I'd run the preview first. It's a cool application, but I don't see anything like what greich requested. I'm looking for the same thing.
    <ol>
    <li>     and clicked the Edit or View Details button for an individual. </li>
    <li>That takes me to a custom Form page that shows one person. </li>
    </ol>
    I'm trying to imagine how I'd code buttons for that Form page to let me click to see the next or previous person on that same form. My mind gets totally boggled when I consider that the user might have filtered the report to only show a few records. How do I have any idea what those IDs were and what order they were showing in, to know which is the next individual.
    My only thought it to create a process on the report that could save primary key (e.g. employee ID) to a table or Apex collection? Then the form button runs a process that finds the current ID then uses next or previous?
    I'm not sure how I could capture the PK in the report in order to save it.
    Does this make sense? Anyone got a better idea?
    Thanks,
    Stew

  • Syncing iPhone for the first time- all new items deleted & replaced w/ old.

    Somebody, please help me. I've been looking through these threads for the last hour now and can't find any answers to my question.
    I recently had my iPhone stolen and had to buy a new one. I bought the iPhone 4 and tried to sync it to my computer and recover old contacts. When I was prompted to sync to old phone or set up as a new phone, I chose to sync to my old phone, hoping to get some of the old pictures/contacts/etc back.
    Unfortunately, I had NOOO idea it would delete all of my new pictures/contacts/etc. I thought it would be adding to, not replacing. My pictures are the most important to me, because I just had my 21st birthday and took over 200. Is there ANY way to get them back?
    I never synced my new iPhone, so I don't think there is a back-up for it, as this was the first time I tried to set it up on the computer. (I got the phone two days ago.)
    Please tell me there is a way. I don't want to lose all of those memories.

    Hey:
    IMHO, There MIGHT be a chance ....
    There are a numer of "data recovery" tools out there that might help.
    This article is a nice summary:
    http://forums.cnet.com/7726-7588_102-3223036.html
    Since the iPhone is treated as an external drive by a Window computer this might work ... If it wasy my 21st birthday I'd sure give it a go...
    I have personall used the recovery tools used by DiskInternals with good results, but never on an iPhone. Disk internals has good e-mail tech. support, send them an e-mail describing your problem and to NOT take any new pictures until you either recover what you can or give up!

  • Next / Previous Setting

    Hi, I've assigned "Next/Previous Plug In Setting Or EXS Instrument" to the +/- keys of my computer kybd. This works fine for scrolling from patch to patch at first, but the moment I edit a patch (say, change the attack envelope of my ES-1) all of a sudden the +/- keys change the attack setting and not the program. What's worse is that even if I change the patch manually once, the +/- keys still only change the attack. My only recourse is to completely remove the plug-in, and then open it up again.
    Any ideas why this happens or how to get around it? Why can't I just use the +/- keys to change patch and nothing else?

    The +/- keys have a special function in Logic - they increment and decrement the last parameter you changed with the mouse (at least, it always used to work like this, doesn't seem to work for me in 7.1 anymore - must investigate that...).
    Set the next/previous setting to some other key, like function keys or similar, and it will work as described.

  • Remove First & Last Name Validation in Get Support

    Hi All,
       I have enabled the self management of password for portal users. I have to remove the First & Last Name validation  and make it optional, I have also made (ume.logon.logon_help.name_required = false)  in configtool and taken the restart of the server, but still it is validating the names.
    If anyone have removed the validation for the above, can help me.
    Thanks in advance.
    Regards
    Ponnusamy

    Hi Ponnuswamy,
    the right place to remove the validation is the par file of the login page.
    Get the par file from the portal. unzip the par file.
    under the PORTAL-INF\lib u will find the umelogonbase.jar
    Extrat the jar. get the java file named
    SAPMLogonLogic.java.
    Modify the piece of code in the java file.
    private void performForgotPassword()
            throws IOException, UMException, FeatureNotAvailableException {
            String methodname = "performForgotPassword";
            if (trace.bePath()) {
                trace.entering(methodname);
            try {
                String longUid = this.proxy.getRequestParameter(LogonBean.LONGUID);
                if (longUid != null) {
                    longUid = longUid.trim();
                // check for email id
                String email = this.proxy.getRequestParameter("email");
                String lastName = this.proxy.getRequestParameter("lastname");
                String firstName = this.proxy.getRequestParameter("firstname");
                String noteToAdmin = this.proxy.getRequestParameter("notetoadmin");
                IUser userFrom = UMFactory.getUserFactory().getUserByLogonID(longUid);
                if (email.equalsIgnoreCase(userFrom.getEmail()) &&
                        firstName.equalsIgnoreCase(userFrom.getFirstName()) &&
                        lastName.equalsIgnoreCase(userFrom.getLastName())) {
                    // email matched, assign a new password and email to user
                    String newPass = UMFactory.getSecurityPolicy().generatePassword();
                    IUserAccount ua = UMFactory.getUserAccountFactory()
                                                       .getMutableUserAccount(longUid);
                    ua.setPassword(newPass);
                    ua.save();
                    ua.commit();
    this is the original coding.
    remove the check for last name and first name in that
      if (email.equalsIgnoreCase(userFrom.getEmail()) &&
                        firstName.equalsIgnoreCase(userFrom.getFirstName()) &&
                        lastName.equalsIgnoreCase(userFrom.getLastName()))
    complie the java file. get the class and store it in the umelogonbase.jar . put the jar back in the original place. deploy the par.
    u will get the desire result.
    cheers,
    Sithi

  • Cursor keys do not properly change to next/previous image

    Since a few days, one of my two Lightroom-computers shows a permanent, quite annoying bug, regarding the curser left/right key:
    It happens in loupe view:
    When I press the cursor-right key, Lightroom doesn't change to the next image
    Instead, it doesn't stop changing to the next image before it reaches the end of the folder .
    Correspondingly with cursor-left, which takes me always to the first image in of the folder...
    Browsing in loupe view is nearly impossible, just the mousewheel still allows to change to the next/previous image.
    This happens for all sets, catalogues, folders, etc. If I have selection, then it takes me to the first/last image of the selection, nothing in between possible.
    Any advice, what went wrong with my system? Everything was smooth a few weeks ago, and everything works fine on my other computer, which should just behave the same...
    Thanks for any hints!
    Harald

    After hours of testing, I identified the reason:
    The problem was raised by the service "skdaemon.exe".
    It's meant to be a keyboard enhancing utility, which was preinstalled (und later updated) on this computer.
    After deactivation (from autostart), LR works fine again, and I didn't notice any missing keyboard functions yet.
    Maybe, this helps someone else in getting around that problem, and thanks for the support.
    Harald

Maybe you are looking for

  • CCMS ALERT for SCC4 t-code

    Hi , I want to set CCMS alert in SOLMAN for t-code SCC4 in satellite system ,Please advice. Thanks Chander

  • I keep getting a message that iTunes wants to update to 8.something, but my version is at 12.0.1.26.  What gives??

    I keep getting a message that iTunes wants to update to Version 8.somthing.  However, I'm currently running Version 12.0.1.26 on Windows 7.  What gives??  Is there any way to get the update message to leave me alone?

  • Exporting videos for use in PowerPoint

    I have a seven minute video I am trying to export for use in a PowerPoint presentation. Everything plays fine - the video is more grainy that I would have liked - but the titles just show up as black screens. I can still hear the audio but it will ju

  • Exporting Data in Data Manager

    Hi Guys, When I am exporting records in Data Manager to Excel Sheet. I am can export Records. in That I am not able to see Key for that particular record. How can I Export that Key along with other fields? Thanks Ravi

  • Open a page in a different window from an action

    Hi all. I have a problem. I know that I can redirect an action to a page called Page.jsp, but I would like to know if there is a possibility that I can open this Page.jsp in another browser, using window.open from the action. I can't do it from the p