Adding Basket Buttons to iweb
I used a pc and another web host in the past and I had pay pal basket buttons on other pages. I like how easy it is to use iweb, but i really need to know how I can either paste in the language, or somehow add the basket button to my I web. Any suggestions?
Hi there,
Using PayPal
1. Sign up to paypal
2. In your account go to Merchant Tools
3. There's a box called "Key Features".
4. Clicking on the feature you want you will get the code.
5. Go to iWeb => Web Widgets=> HTML Snippet and paste the code you got from PayPal and click Apply.
6. You will see the button appear in iWeb
Regards,
Cédric
Similar Messages
-
has anyone had any success adding share buttons, such as add this, etc.
Hi Robert,
I have a tutorial on my site:
http://allaboutiweb.com/index.php/2008/08/add-social-bookmarking-to-your-iweb/
+I may receive some form of compensation, financial or otherwise, from my recommendation or link.+ -
Adding a button to results page of a test in Captivate 6...
I'm working in Captivate 6 and I don't seem to be able to add a button to the results page of a test. Adding a button is not an option. I need to insert Javascript in the button in order to get back to our Learning Management system. Please help!
Welcome to the forum,
Have a look at: http://blog.lilybiri.com/want-a-button-on-question-slide-in-captivate It also explores shape buttons on the score slide.
Lilybiri -
I am brand-new to Oracle Forms, but have experience in VB and PL/SQL. Anyway, I have created a sample form based of a simple view. It will run client-server and I can also run it (recompiled) via Forms Server on my Solaris-based 9iAS Apps Server.
When I go to add a simple button to the form, I see 12 identical buttons stacked up and acting as 1 large button. Same thing for any inerface item. What is going on?
Using Forms 6i by the way.Check the number of records displayed in the datablock that you're adding the button to. It's probably set to 12.
-
Adding interactive buttons in Acrobat X Standard disables the Commenting and markup tools
Why does adding interactive buttons to PDFs in Acrobat X Standard disable the Commenting and markup tools in the PDFs, but only when they are viewed in the Reader, not when opened in Acrobat? When the buttons are removed, the Commenting and markup tools are re-enabled in Reader.
Thank you.Which version of Reader are you testing with?
-
Adding a Button to the Sales Order screen
Good Day
Experts:
I have added a button to the SalesOrder screen with help from a previous post here on the forum. The button was lined up with the others that were already exisitng on the screen. Recently, I have encountered a problem with it. When the SalesOrder screen is run on a different machine, the button is almost not visible. It appears there is some kind of issue with the screen resolution just for this button.
Do I have to do something special with this button when it is shown on the screen to get it to remain in line with the existing buttons?
Thanks,
EJDHi Ed
Are you setting the button in relation to the surrounding existing objects? Like for instance ...
Dim oButton As SAPbouiCOM.Item = oForm.Items.Item("2").Specific 'Cancel button
Dim oNewButton As SAPbouiCOM.Button
Dim oNewItem As SAPbouiCOM.Item = oForm.Items.Item("Test") 'your new button or control
With oNewItem
.AffectsFormMode = True
.Left = oButton .Left + oButton.Width ' notice how button is positioned based on existing one
.Top = oButton .Top
.Width = oButton.Width
.Height = oButton.Height
.FromPane = oButton.FromPane
.ToPane = oButton.ToPane
.TextStyle = intTextStyle
oNewButton = .Specific
End With
With oNewButton
.Caption = strCaption
End With
Message was edited by:
Neftali Figueroa
Message was edited by:
Neftali Figueroa -
Adding custom buttons to the Rich Text Editor in CQ
Hi,
I have added custom buttons to the rich text editor in order to allow our editors to add specific content, such as popovers, custom videos and other data necessary data.
I have successfully modifed the Rich Text editor so, that it includes the custom buttons in the actions panel.
I have also managed to make the buttons work and include the data where necessary, when user highlights the text and clicks on a certain button.
The last bit I am struggling with, is the visual feedback we give to the users when this text has associated action with it.
E.g. when we select this text and make it bold when we click on the word B the button B becomes highlighted in the actions panel, later when we continue typing our text and click again on "bold" the letter B becomes highlighted again.
Is there any button related callback/method I could overwrite to add this functionality and make my button highlighted ?
Thanks,
PuzanovsAfter lot's of thinking found a solution....
Essentially the first step is to extend the CQ.form.rte.plugins.Plugin in your custom button.
Then during the UI initialisation we create our "custom"
var pressButton = new ui.TbElement("press-button", this, true,this.getTooltip("press-button")); // Essential extend of the button
setInterval(function() {
if(window.jQuery) {
window.jQuery(document).ready(function () {
window.jQuery(".x-edit-glossary-insert").css({width:45,"background-image":"none"}); // Ignore the background
window.jQuery(".x-edit-glossary-insert").text("Press Button"); // Set the name
$(document).on({
mouseenter: function(){
window.jQuery(".x-edit-glossary-insert").html("<b>Press Button</b>"); // Set the name bold
mouseleave: function(){
window.jQuery(".x-edit-glossary-insert").html("Press Button"); // Set the name normal
}}, '.press-button');
}, 100);
tbGenerator.addElement("press-button", plg.Plugin.SORT_LISTS, pressButton, 10); // element is inserted
Every time the element is inserted I add the following html
<span class="press-button">Test peter</span>
Now, every time in the editor, the content editor mouse overs the custom button it is higlighted in the RTE)) -
I was added one button in OA pages throw personalize. Error coming that pag
Hi ALL.
I was added one button in OA pages throw personalize. Error is coming that page now.please help me ....
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean
at oracle.apps.pv.oa.referral.webui.ReferralOverviewContextMainCO.processRequest(ReferralOverviewContextMainCO.java:486)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean
at oracle.apps.pv.oa.referral.webui.ReferralOverviewContextMainCO.processRequest(ReferralOverviewContextMainCO.java:486)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
Thanks
Rajavel RIf you have not changed any code it is impossible that a classcast exception can be thrown since we evaluate for duplicate ids. Chances are there if you had given an id of a bean which is added programmatically in the controller then you might end up with this error. Delete the personalization and create the button with a unique name.
-
Adding toolbar buttons in the beginning
Hi Experts,
Can somebody tell me how to add my own toolbar buttons in ALV in the beginning.
When i am adding buttons using the event handler class it is adding the buttons only at the end. I want the buttons in the very beginning.Hi Aditya,
I am adding toolbar buttons using the below method.
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_toolbar.
DATA: ls_toolbar TYPE stb_button.
append a separator to normal toolbar
CLEAR ls_toolbar.
MOVE 3 TO ls_toolbar-butn_type.
APPEND ls_toolbar TO e_object->mt_toolbar.
append an icon to create new skills
CLEAR ls_toolbar.
MOVE 'CREATE'(000) TO ls_toolbar-function.
MOVE icon_create TO ls_toolbar-icon.
MOVE 'Create Detail'(001) TO ls_toolbar-quickinfo.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
append an icon to change existing information
CLEAR ls_toolbar.
MOVE 'CHANGE'(003) TO ls_toolbar-function.
MOVE icon_change TO ls_toolbar-icon.
MOVE 'Change Detail'(004) TO ls_toolbar-quickinfo.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
append an icon to display information
CLEAR ls_toolbar.
MOVE 'DISPLAY'(006) TO ls_toolbar-function.
MOVE icon_display TO ls_toolbar-icon.
MOVE 'Display Detail'(007) TO ls_toolbar-quickinfo.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
append an icon to delete information
CLEAR ls_toolbar.
MOVE 'DELETE'(009) TO ls_toolbar-function.
MOVE icon_delete TO ls_toolbar-icon.
MOVE 'Delete Detail'(010) TO ls_toolbar-quickinfo.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
ENDMETHOD. "handle_toolbar -
Printing problem when adding a button to print the whole page
Hello,
I added a button with printing option = Apply to self, Print = page.
The result is that it prints only the i-view in which the button is located. I want the whole page to be printed. The page is composed of several i-views and I also use layers.
Has someone an idea ?
Thanks a lot,
ThomasHi Thomas,
I received exact the same problem case during our visual composer developments. On SPS 14 the print functionality worked as expected with the print option u201Cprint pageu201D. After the implementation of SPS 16 we had to use u201Cprint screenu201D.
Hopes this helps.
Best regards
RB -
Adding a button to a JInternalFrame titlebar
hi ,
i was looking for a way to add an additional button to the titlbar of my JInternalFrame , i found some very useful codes here but i still got a little problem , after i added the new button the title of my JInternalFrame becomes "..."
i would like to hear any suggestion you guys have ,
here is my code :
import javax.swing.*;
import javax.swing.plaf.basic.BasicInternalFrameUI;
import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
import java.awt.*;
public class InternalFrameTest extends JFrame{
public InternalFrameTest() {
super();
JInternalFrame jInternalFrame = new JInternalFrame("InternalFrameTest",true,true,true,true);
myTitleBar(jInternalFrame);
jInternalFrame.setSize(400,400);
jInternalFrame.setVisible(true);
JDesktopPane desktop = new JDesktopPane();
desktop.add(jInternalFrame);
getContentPane().add(desktop);
setSize(500, 500);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLocationRelativeTo(null);
setVisible(true);
private void myTitleBar(JInternalFrame internalFrame){
BasicInternalFrameUI basicInternalFrameUI = (BasicInternalFrameUI)internalFrame.getUI();
MetalInternalFrameTitlePane northPane = (MetalInternalFrameTitlePane)basicInternalFrameUI.getNorthPane();
JButton iconifyButton = null;
JButton maximizeButton = null;
JButton closeButton = null;
Component[] components = northPane.getComponents();
for( int i=0; i < components.length; i++ ){
if( components[i] instanceof JButton ){
if( i == 0 ){
iconifyButton= (JButton)components;
}else if( i == 1 ){
maximizeButton= (JButton)components[i];
}else{
closeButton= (JButton)components[i];
northPane.remove( components[i] );
//create the additional button
JButton additionalButton = new JButton("+");
additionalButton.setFont(new Font("Arial",Font.BOLD,9));
additionalButton.setPreferredSize(new Dimension(14,14));
additionalButton.setMargin(new Insets(0, 0, 0, 0));
//create a new buttons panel
JPanel buttonsPanel = new JPanel();
buttonsPanel.setOpaque(false);
buttonsPanel.setMaximumSize(new Dimension(-1, 14));
//adding the buttons to the buttons panel
buttonsPanel.add(additionalButton);
buttonsPanel.add(iconifyButton);
buttonsPanel.add(maximizeButton);
buttonsPanel.add(closeButton);
//adding the panel to the north pane of the internal frame
northPane.setLayout(new BorderLayout());
northPane.add(buttonsPanel,BorderLayout.EAST);
public static void main(String[] args) {
new InternalFrameTest();
thanks in advance ,
ozIn general, it is very bad practice to access internal structures of UI delegates. Every time you find yourself casting getUI() result to a specific class and accessing the internal components, you are digging a very nasty hole. In this case, just adding the button is not enough - the internal frame title pane has a custom layout manager that knows nothing about it.
You will have to dig much deeper and create your own UI delegate for internal frames to handle all the cases (including theme support, rollover effects, layout and RTL). Another option is to use Substance LAF that provides an API to add custom buttons to title panes [1]. This example shows how to do this for top-level frames, but the same would work for internal frames as well.
[1] https://substance.dev.java.net/docs/api/SetRootPaneCustomTitleButtons.html -
I am new at Captivate 8 and I have created a learning project using an existing power point presentation. I have added a button that will allow my students to view a video on the subject. When I run the project in Preview the button works but when I publish it, it stops working.
I added an Interactions button and in the Actions on Success I open an URL or file. I have placed the video on our web server. In the URL I point to our web server "http://www.wmabhs.org/Media/Add Client 3rd Party Coverage.mp4". If I run this from any browser it works. So what do you think I have done wrong?
-
Adding an iChat button to iWeb?
Has anyone been able to do this? I like the 'email me' button, and have used one for Skype on my website in the past, but I can't figure out how to set up one for iChat... Any help would be much appreciated!
I have this on my site. I have a yahoo & aol status button & you can click it to contact/message me.
You can view this by going to www.UnmeritedFavor.net and click "About". On that page, under "Contact Me" are the buttons.
For iChat, the code is:
replace 'uturnsorg' with your own screen name. -
Adding a movie in iWeb using a movie template.
I wanted to add a small QuickTime movie to my web site.
I added a movie template page to the site and then dropped the movie to the box. In iWeb, I am able to click on the play button and the movie plays just fine. But when I publish the site and upload it, where the movie should be is just a Q for QuickTime.
So then I made a plain box with the enable as a hyperlink and a link to the movie. Just like I would to do a pdf file.
My question is how do I get the movie page to work? It looks better with the movie page.
Power Mac G5 Mac OS X (10.4.9)you cant make changes to released template, if you do also, new changes wont be shown
Please refer the note 888650
and do the steps as indicated in order to cancel already released one -
Photoshop rollover buttons in iWeb
Hi all,
Has anybody produced a rollover button in Photoshop and then used the button and code in iWeb? If so, can you give me pointers where the code should go.
Thanks
G4 Dual 1.25 Mac OS X (10.4.4)Yup, I have, but it is a right chore...and you need "iWeb Enhancer, which you can download here:
http://web.mac.com/cbrantly/iWeb/Software/iWeb%20Enhancer.html
(you can get a few free runs out of it before you have to pay)
Here is how to do it - this assumes that you know the relevant Java Script coding to enable the roll over.
1) Create your rollover and slices in P/Shop & Image Ready. Export the buttons as slices.
2) In iWeb, drag / use Insert Menu > Choose... and place your "up" i.e mouse-off button in the position that you want it to be. Repeat for all buttons. Ensure that you "send to front" the rollover images.
3) Add the hyperlink in the Inspector pane if you want one.
4) Get you roll over Java script ready in an external HTML editor. Make sure you use the same image names as the files that you added into iWeb.
5) In iWeb, on the page where you have the roll over, add a rounded box - size is not important. Make sure this has no colour fill and no border. Double click in this box and before you do anything else, type this, exactly as it appears here:
<!--BeginHTMLData-->
After that, cut and paste your roll over java script into the box (the script that would normally sit in the header of an html page.) Include all the beginning and end script tags.
Then send this box to the back.
6) Save and then choose "Export to Folder".
7) Once exported, run iWeb Enhancer and select relevant folder.
8) Once iWeb enhancer is finished, find the P/Shop image that is the "on" or mouse over image of your rollover. Place this in the "Images" folder within the folder that contains your published iWeb site.
9) Now open the html file of the page with the roll over. You will see a section beginning like this:
<--Begin Content added by iWeb Enhancer-->
After this you will find you Java script roll over code. Check that the details of the on and off images are correct in terms of exact name, file type and src. Ensure that the image src, links back to your "Images" file (this is where iWeb will have stored your "off rollover image and you places your "on" rollover images. If in doubt change all links to head back to the root so they all start lime this: "/Images/
continued in next post...
Maybe you are looking for
-
Two phones are sharing contacts, how do i stop that from occuring
I just activated two new iphone 4s phones. when a new contact is added or an old one is deleted from one phone, the same thing happens on the other phone. Any idea why this is happening and how to prevent it?
-
SBO mailer working fine but attachment is not coming
Dear All We have configured the sbo mailer and mails are coming accordingly also, but attachments are missing in mails. *** SAP Business One Client Log *** WaitForSingleObject has finished with return value:0 SAP Business One Client return code:0 Dis
-
Problems viewing PDF's in Safari
Every time I try and open a PDF from Safari 7.0.4 I get this message " before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User Licence Agreement, then quit and relaunch the browser." I am using Adobe Acrob
-
Can't get rid of Deprecated Warnings when implementing HttpSession
We are implementing HttpSession, for a mock object for testing. However, it has methods that access a deprecated class (HttpSessionContext). Although we mark our implementation of the method that accesses this class (getSessionContext) with the annot
-
In vms 2.3 with security monitor 2.2 all signature is showing as false
Hi, We are having cisco IPS 4255 with IPS version 5.1.1 and latest signature. We are connected IPS is in promiscuous mode and we are seeing all the signature are false in security monitor 2.2. Please help me to overcome from this problem. Regards, Ra