Using anchors within actions?

Hi,
I'm quite new to Edge Animate CC, I just created a menubar and I was wondering if it's possible to
intregrate this in my current html page which scrolls with jquery, using the anchor tag.
What I would like is the following:
At this moment I have large (one) html page with scrolling divs and id's.
This works fine with the regular menubuttons that have the
'onClick="goto('#home', this); return false' -  command in their a tags.
I would like to do something similar, using (and integrating) my
new Edge menubar. The only thing I noticed is the 'open url' code in the actions window, which
is not very useful.
I guess I have to write some javaScript for that?
Thanks in advance!

The simplest way is to create your own ActionListener. Fill the JComboBox with font names and when user selects font just specify your own attributes and apply them to the document.
Like this:
SimpleAttributeSet attrs=new SimpleAttributeSet ();
StyleConstants.setFontFamily(attrs, fontFamilyString);
int start=editorPane.getSelectionStart();
int len=editorPane.getSelectionEnd()-start;
styledDocument.setCharacterAttributes(start,len,attrs,false);
regards,
Stas

Similar Messages

  • Using anchor within frameset

    I am trying to use an anchor in a frame within the navigation
    bar of my page, with the ancor opening the linked item within the
    lower frame.
    For some reason this seems to work in Safari, but Internet
    Explorer always opens up a new window - can anybody tell me what I
    am doing wrong?
    Here is a link to my page:
    http://www.dbhome.dk/WilliSletten/wcv_samletengelskframeset.html
    See the code below:
    <table width="812" border="4" cellspacing="0"
    cellpadding="4" style="text-align: center">
    <tr class="Standard">
    <td width="16%" bordercolor="4"
    bgcolor="#cccccc"><center spry:hover="Standard">
    <a href="wcv_framesetengelsk.html#Anchor-Personal-58020"
    target="Main"><font face="Verdana">Personal
    Details</font></a>
    </center></td>
    <td width="15%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    <a
    href="wcv_framesetengelsk.html#Anchor-Employment-36876"
    target="Main"><font
    face="Verdana">Employment</font></a>
    </center></td>
    <td width="16%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    <a href="wcv_framesetengelsk.html#Anchor-Education-33261"
    target="Main"><font
    face="Verdana">Education</font></a>
    </center></td>
    <td width="15%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    <a href="wcv_framesetengelsk.html#Anchor-Languages-27016"
    target="Main"><font
    face="Verdana">Languages</font></a>
    </center></td>
    <td width="16%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    <a href="wcv_framesetengelsk.html#Anchor-EDB-28157"
    target="Main"><font face="Verdana">EDP
    Skills</font></a>
    </center></td>
    <td width="15%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    <a
    href="wcv_framesetengelsk.html#Anchor-Miscellaneous-51977"
    target="Main"><font face="Verdana">Other
    Experience</font></a>
    </center></td>
    </tr>

    Goodness - that is such a terrible way to display this
    information!
    For example, your top frame is too short to display the
    navigation links at
    the bottom (on my browser viewport). Anyhow, frames are
    rarely the optimal
    choice for your layout method.
    Your problem stems from the fact that your frameset gives the
    frames an ID,
    but the frame technology is so antique, you would also need
    to give them a
    NAME, so change this -
    <frame src="wcvframeengelsk.html" frameborder="no"
    id="Top" />
    <frame src="wcv_framesetengelsk.html" frameborder="no"
    noresize="noresize"
    id="Main" />
    to this -
    <frame src="wcvframeengelsk.html" frameborder="no"
    id="Top" />
    <frame src="wcv_framesetengelsk.html" frameborder="no"
    noresize="noresize"
    id="Main" name="Main" />
    and see what happens.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "willips" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am trying to use an anchor in a frame within the
    navigation bar of my
    >page,
    > with the ancor opening the linked item within the lower
    frame.
    >
    > For some reason this seems to work in Safari, but
    Internet Explorer always
    > opens up a new window - can anybody tell me what I am
    doing wrong?
    >
    > Here is a link to my page:
    >
    http://www.dbhome.dk/WilliSletten/wcv_samletengelskframeset.html
    >
    > See the code below:
    >
    > <table width="812" border="4" cellspacing="0"
    cellpadding="4"
    > style="text-align: center">
    > <tr class="Standard">
    > <td width="16%" bordercolor="4"
    bgcolor="#cccccc"><center
    > spry:hover="Standard">
    > <a
    href="wcv_framesetengelsk.html#Anchor-Personal-58020"
    > target="Main"><font
    > face="Verdana">Personal
    Details</font></a>
    > </center></td>
    > <td width="15%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    > <a
    href="wcv_framesetengelsk.html#Anchor-Employment-36876"
    > target="Main"><font
    face="Verdana">Employment</font></a>
    > </center></td>
    > <td width="16%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    > <a
    href="wcv_framesetengelsk.html#Anchor-Education-33261"
    > target="Main"><font
    face="Verdana">Education</font></a>
    > </center></td>
    > <td width="15%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    > <a
    href="wcv_framesetengelsk.html#Anchor-Languages-27016"
    > target="Main"><font
    face="Verdana">Languages</font></a>
    > </center></td>
    > <td width="16%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    > <a href="wcv_framesetengelsk.html#Anchor-EDB-28157"
    > target="Main"><font face="Verdana">EDP
    Skills</font></a>
    > </center></td>
    > <td width="15%" bgcolor="#cccccc"><center
    spry:hover="Standard">
    > <a
    href="wcv_framesetengelsk.html#Anchor-Miscellaneous-51977"
    > target="Main"><font face="Verdana">Other
    Experience</font></a>
    > </center></td>
    > </tr>
    >
    >

  • Using anchor within spry accordion???

    Hi everyone,
    I have an index page www.nateurope.com. The news are linking to an accordion http://www.nateurope.com/news.htm. I added anchors because I thought that it would be nice if the user click on March, 22 Virtual Conference (www.nateurope.com) he would directly get to the open panel March, 22 Virtual Conference on the nateurope.com/news.htm page.
    I tried to get the information I need by googling but the only thing I found is this if you have the button on the same page.
    <input type="button" onclick="acc10.openFirstPanel()" >open first panel</input>
    <input type="button" onclick="acc10.openNextPanel()" >open next panel</input>
    <input type="button" onclick="acc10.openPreviousPanel()" >open previous panel</input>
    <input type="button" onclick="acc10.openLastPanel()" >open last panel</input>
    <script type="text/javascript">
         var acc10 = new Spry.Widget.Accordion("Accordion1");
    </script>
    ->Would this be the solution? Where do I have to add this code?
    I read also that it is only possible if the height is variable but I didn't understand where to implement this information? SpryAccordion .js?
    this.useFixedPanelHeights = true;
    this.fixedPanelHeight = 0;
    Turn true in false? Or just add this code at the end of the page? <script type="text/javascript">
    var acc1 = new Spry.Widget.Accordion("Acc1", { useFixedPanelHeights: false });
    </script>
    Further I found the description of the panel ID http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html but I didn't understand how to implement this code as well.
    I am really lost and would appreciate very much your help. Don't hesitate to contact me if you need further code or information. I would be happy to see how to implement the information .
    Thy a lot in advance.

    Hi Gramps,
    I deleted everything and started right from beginning. Unfortunately without success, probably I made something wrong with the heigth setting? I just changed in .js true to false:
    (function() { // BeginSpryComponent
    if (typeof Spry == "undefined") window.Spry = {}; if (!Spry.Widget) Spry.Widget = {};
    Spry.Widget.Accordion = function(element, opts)
    this.element = this.getElement(element);
    this.defaultPanel = 0;
    this.hoverClass = "AccordionPanelTabHover";
    this.openClass = "AccordionPanelOpen";
    this.closedClass = "AccordionPanelClosed";
    this.focusedClass = "AccordionFocused";
    this.enableAnimation = true;
    this.enableKeyboardNavigation = true;
    this.currentPanel = null;
    this.animator = null;
    this.hasFocus = null;
    this.previousPanelKeyCode = Spry.Widget.Accordion.KEY_UP;
    this.nextPanelKeyCode = Spry.Widget.Accordion.KEY_DOWN;
    this.useFixedPanelHeights = false;
    this.fixedPanelHeight = -1;
    Spry.Widget.Accordion.setOptions(this, opts, true);
    if (this.element)
    this.attachBehaviors();
    Spry.Widget.Accordion.prototype.getElement = function(ele)
    if (ele && typeof ele == "string")
    return document.getElementById(ele);
    return ele;
    Spry.Widget.Accordion.prototype.addClassName = function(ele, className)
    if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) != -1))
    return;
    ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.Accordion.prototype.removeClassName = function(ele, className)
    if (!ele || !className || (ele.className && ele.className.search(new RegExp("\\b" + className + "\\b")) == -1))
    return;
    ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    Spry.Widget.Accordion.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
    if (!optionsObj)
    return;
    for (var optionName in optionsObj)
    if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
    continue;
    obj[optionName] = optionsObj[optionName];
    Spry.Widget.Accordion.prototype.onPanelTabMouseOver = function(e, panel)
    if (panel)
    this.addClassName(this.getPanelTab(panel), this.hoverClass);
    return false;
    Spry.Widget.Accordion.prototype.onPanelTabMouseOut = function(e, panel)
    if (panel)
    this.removeClassName(this.getPanelTab(panel), this.hoverClass);
    return false;
    Spry.Widget.Accordion.prototype.openPanel = function(elementOrIndex)
    var panelA = this.currentPanel;
    var panelB;
    if (typeof elementOrIndex == "number")
    panelB = this.getPanels()[elementOrIndex];
    else
    panelB = this.getElement(elementOrIndex);
    if (!panelB || panelA == panelB)
    return null;
    var contentA = panelA ? this.getPanelContent(panelA) : null;
    var contentB = this.getPanelContent(panelB);
    if (!contentB)
    return null;
    if (this.useFixedPanelHeights && !this.fixedPanelHeight)
    this.fixedPanelHeight = (contentA.offsetHeight) ? contentA.offsetHeight : contentA.scrollHeight;
    if (this.enableAnimation)
    if (this.animator)
    this.animator.stop();
    this.animator = new Spry.Widget.Accordion.PanelAnimator(this, panelB, { duration: this.duration, fps: this.fps, transition: this.transition });
    this.animator.start();
    else
    if(contentA)
    contentA.style.display = "none";
    contentA.style.height = "0px";
    contentB.style.display = "block";
    contentB.style.height = this.useFixedPanelHeights ? this.fixedPanelHeight + "px" : "auto";
    if(panelA)
    this.removeClassName(panelA, this.openClass);
    this.addClassName(panelA, this.closedClass);
    this.removeClassName(panelB, this.closedClass);
    this.addClassName(panelB, this.openClass);
    this.currentPanel = panelB;
    return panelB;
    Spry.Widget.Accordion.prototype.closePanel = function()
    // The accordion can only ever have one panel open at any
    // give time, so this method only closes the current panel.
    // If the accordion is in fixed panel heights mode, this
    // method does nothing.
    if (!this.useFixedPanelHeights && this.currentPanel)
    var panel = this.currentPanel;
    var content = this.getPanelContent(panel);
    if (content)
    if (this.enableAnimation)
    if (this.animator)
    this.animator.stop();
    this.animator = new Spry.Widget.Accordion.PanelAnimator(this, null, { duration: this.duration, fps: this.fps, transition: this.transition });
    this.animator.start();
    else
    content.style.display = "none";
    content.style.height = "0px";
    this.removeClassName(panel, this.openClass);
    this.addClassName(panel, this.closedClass);
    this.currentPanel = null;
    Spry.Widget.Accordion.prototype.openNextPanel = function()
    return this.openPanel(this.getCurrentPanelIndex() + 1);
    Spry.Widget.Accordion.prototype.openPreviousPanel = function()
    return this.openPanel(this.getCurrentPanelIndex() - 1);
    Spry.Widget.Accordion.prototype.openFirstPanel = function()
    return this.openPanel(0);
    Spry.Widget.Accordion.prototype.openLastPanel = function()
    var panels = this.getPanels();
    return this.openPanel(panels[panels.length - 1]);
    Spry.Widget.Accordion.prototype.onPanelTabClick = function(e, panel)
    if (panel != this.currentPanel)
    this.openPanel(panel);
    else
    this.closePanel();
    if (this.enableKeyboardNavigation)
    this.focus();
    if (e.preventDefault) e.preventDefault();
    else e.returnValue = false;
    if (e.stopPropagation) e.stopPropagation();
    else e.cancelBubble = true;
    return false;
    Spry.Widget.Accordion.prototype.onFocus = function(e)
    this.hasFocus = true;
    this.addClassName(this.element, this.focusedClass);
    return false;
    Spry.Widget.Accordion.prototype.onBlur = function(e)
    this.hasFocus = false;
    this.removeClassName(this.element, this.focusedClass);
    return false;
    Spry.Widget.Accordion.KEY_UP = 38;
    Spry.Widget.Accordion.KEY_DOWN = 40;
    Spry.Widget.Accordion.prototype.onKeyDown = function(e)
    var key = e.keyCode;
    if (!this.hasFocus || (key != this.previousPanelKeyCode && key != this.nextPanelKeyCode))
    return true;
    var panels = this.getPanels();
    if (!panels || panels.length < 1)
    return false;
    var currentPanel = this.currentPanel ? this.currentPanel : panels[0];
    var nextPanel = (key == this.nextPanelKeyCode) ? currentPanel.nextSibling : currentPanel.previousSibling;
    while (nextPanel)
    if (nextPanel.nodeType == 1 /* Node.ELEMENT_NODE */)
    break;
    nextPanel = (key == this.nextPanelKeyCode) ? nextPanel.nextSibling : nextPanel.previousSibling;
    if (nextPanel && currentPanel != nextPanel)
    this.openPanel(nextPanel);
    if (e.preventDefault) e.preventDefault();
    else e.returnValue = false;
    if (e.stopPropagation) e.stopPropagation();
    else e.cancelBubble = true;
    return false;
    Spry.Widget.Accordion.prototype.attachPanelHandlers = function(panel)
    if (!panel)
    return;
    var tab = this.getPanelTab(panel);
    if (tab)
    var self = this;
    Spry.Widget.Accordion.addEventListener(tab, "click", function(e) { return self.onPanelTabClick(e, panel); }, false);
    Spry.Widget.Accordion.addEventListener(tab, "mouseover", function(e) { return self.onPanelTabMouseOver(e, panel); }, false);
    Spry.Widget.Accordion.addEventListener(tab, "mouseout", function(e) { return self.onPanelTabMouseOut(e, panel); }, false);
    Spry.Widget.Accordion.addEventListener = function(element, eventType, handler, capture)
    try
    if (element.addEventListener)
    element.addEventListener(eventType, handler, capture);
    else if (element.attachEvent)
    element.attachEvent("on" + eventType, handler);
    catch (e) {}
    Spry.Widget.Accordion.prototype.initPanel = function(panel, isDefault)
    var content = this.getPanelContent(panel);
    if (isDefault)
    this.currentPanel = panel;
    this.removeClassName(panel, this.closedClass);
    this.addClassName(panel, this.openClass);
    // Attempt to set up the height of the default panel. We don't want to
    // do any dynamic panel height calculations here because our accordion
    // or one of its parent containers may be display:none.
    if (content)
    if (this.useFixedPanelHeights)
    // We are in fixed panel height mode and the user passed in
    // a panel height for us to use.
    if (this.fixedPanelHeight)
    content.style.height = this.fixedPanelHeight + "px";
    else
    // We are in variable panel height mode, but since we can't
    // calculate the panel height here, we just set the height to
    // auto so that it expands to show all of its content.
    content.style.height = "auto";
    else
    this.removeClassName(panel, this.openClass);
    this.addClassName(panel, this.closedClass);
    if (content)
    content.style.height = "0px";
    content.style.display = "none";
    this.attachPanelHandlers(panel);
    Spry.Widget.Accordion.prototype.attachBehaviors = function()
    var panels = this.getPanels();
    for (var i = 0; i < panels.length; i++)
    this.initPanel(panels[i], i == this.defaultPanel);
    // Advanced keyboard navigation requires the tabindex attribute
    // on the top-level element.
    this.enableKeyboardNavigation = (this.enableKeyboardNavigation && this.element.attributes.getNamedItem("tabindex"));
    if (this.enableKeyboardNavigation)
    var self = this;
    Spry.Widget.Accordion.addEventListener(this.element, "focus", function(e) { return self.onFocus(e); }, false);
    Spry.Widget.Accordion.addEventListener(this.element, "blur", function(e) { return self.onBlur(e); }, false);
    Spry.Widget.Accordion.addEventListener(this.element, "keydown", function(e) { return self.onKeyDown(e); }, false);
    Spry.Widget.Accordion.prototype.getPanels = function()
    return this.getElementChildren(this.element);
    Spry.Widget.Accordion.prototype.getCurrentPanel = function()
    return this.currentPanel;
    Spry.Widget.Accordion.prototype.getPanelIndex = function(panel)
    var panels = this.getPanels();
    for( var i = 0 ; i < panels.length; i++ )
    if( panel == panels[i] )
    return i;
    return -1;
    Spry.Widget.Accordion.prototype.getCurrentPanelIndex = function()
    return this.getPanelIndex(this.currentPanel);
    Spry.Widget.Accordion.prototype.getPanelTab = function(panel)
    if (!panel)
    return null;
    return this.getElementChildren(panel)[0];
    Spry.Widget.Accordion.prototype.getPanelContent = function(panel)
    if (!panel)
    return null;
    return this.getElementChildren(panel)[1];
    Spry.Widget.Accordion.prototype.getElementChildren = function(element)
    var children = [];
    var child = element.firstChild;
    while (child)
    if (child.nodeType == 1 /* Node.ELEMENT_NODE */)
    children.push(child);
    child = child.nextSibling;
    return children;
    Spry.Widget.Accordion.prototype.focus = function()
    if (this.element && this.element.focus)
    this.element.focus();
    Spry.Widget.Accordion.prototype.blur = function()
    if (this.element && this.element.blur)
    this.element.blur();
    Spry.Widget.Accordion.PanelAnimator = function(accordion, panel, opts)
    this.timer = null;
    this.interval = 0;
    this.fps = 60;
    this.duration = 500;
    this.startTime = 0;
    this.transition = Spry.Widget.Accordion.PanelAnimator.defaultTransition;
    this.onComplete = null;
    this.panel = panel;
    this.panelToOpen = accordion.getElement(panel);
    this.panelData = [];
    this.useFixedPanelHeights = accordion.useFixedPanelHeights;
    Spry.Widget.Accordion.setOptions(this, opts, true);
    this.interval = Math.floor(1000 / this.fps);
    // Set up the array of panels we want to animate.
    var panels = accordion.getPanels();
    for (var i = 0; i < panels.length; i++)
    var p = panels[i];
    var c = accordion.getPanelContent(p);
    if (c)
    var h = c.offsetHeight;
    if (h == undefined)
    h = 0;
    if (p == panel && h == 0)
    c.style.display = "block";
    if (p == panel || h > 0)
    var obj = new Object;
    obj.panel = p;
    obj.content = c;
    obj.fromHeight = h;
    obj.toHeight = (p == panel) ? (accordion.useFixedPanelHeights ? accordion.fixedPanelHeight : c.scrollHeight) : 0;
    obj.distance = obj.toHeight - obj.fromHeight;
    obj.overflow = c.style.overflow;
    this.panelData.push(obj);
    c.style.overflow = "hidden";
    c.style.height = h + "px";
    Spry.Widget.Accordion.PanelAnimator.defaultTransition = function(time, begin, finish, duration) { time /= duration; return begin + ((2 - time) * time * finish); };
    Spry.Widget.Accordion.PanelAnimator.prototype.start = function()
    var self = this;
    this.startTime = (new Date).getTime();
    this.timer = setTimeout(function() { self.stepAnimation(); }, this.interval);
    Spry.Widget.Accordion.PanelAnimator.prototype.stop = function()
    if (this.timer)
    clearTimeout(this.timer);
    // If we're killing the timer, restore the overflow
    // properties on the panels we were animating!
    for (i = 0; i < this.panelData.length; i++)
    obj = this.panelData[i];
    obj.content.style.overflow = obj.overflow;
    this.timer = null;
    Spry.Widget.Accordion.PanelAnimator.prototype.stepAnimation = function()
    var curTime = (new Date).getTime();
    var elapsedTime = curTime - this.startTime;
    var i, obj;
    if (elapsedTime >= this.duration)
    for (i = 0; i < this.panelData.length; i++)
    obj = this.panelData[i];
    if (obj.panel != this.panel)
    obj.content.style.display = "none";
    obj.content.style.height = "0px";
    obj.content.style.overflow = obj.overflow;
    obj.content.style.height = (this.useFixedPanelHeights || obj.toHeight == 0) ? obj.toHeight + "px" : "auto";
    if (this.onComplete)
    this.onComplete();
    return;
    for (i = 0; i < this.panelData.length; i++)
    obj = this.panelData[i];
    var ht = this.transition(elapsedTime, obj.fromHeight, obj.distance, this.duration);
    obj.content.style.height = ((ht < 0) ? 0 : ht) + "px";
    var self = this;
    this.timer = setTimeout(function() { self.stepAnimation(); }, this.interval);
    })(); // EndSpryComponent
    I changed in the HTML code of the page with the accordion:
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" ><script src="SpryAssets/SpryAccordion.js"></script>
    <script src="SpryAssets/SpryURLUtils.js"></script><script>
    var params = Spry.Utils.getLocationParamsAsObject();
    </script>
    and at the end: <script type="text/javascript">
    *var Accordion1 = new Spry.Widget.Accordion("Accordion1");{defaultPanel:params.panel?params.panel:0});*
    </script>
    Is the problem that there are more than 9 panels?
    I don't know if you have enough patience to help me again?

  • How to use one Assign action to create multiple context variables

    Hello, everyone.
    I read some tips from Oracle documentation that said:
    Avoid creating many OSB context variables that are used just once within another XQuery
    Context variables created using an Assign action are converted to XmlBeans and then reverted to the native XQuery format for the next XQuery. Multiple "Assign" actions can be collapsed into a single Assign action using a FLWOR expression. Intermediate values can be created using "let" statements. Avoiding redundant context variable creation eliminates overheads associated with internal data format conversions. This benefit has to be balanced against visibility of the code and reuse of the variables.
    Oracle® Fusion Middleware Performance and Tuning Guide
    +11g Release 1 (11.1.1)+
    Part Number E10108-03
    But I don't know how to do that. Can you show me ?
    Thank in advance
    Edited by: Doubt_Man on Aug 17, 2011 3:30 PM

    if you return sequences, you can declare the return type of your xquery as xs:double*
    (notice the asterix at the end)
    but I have the impression that in the assign action only the first element will be assigned to the context variable
    (correct me if I am wrong)
    So in fact you might indeed have to transform the sequence into a element()*, or concatenate it into a CVS string - for instance using string-join
    http://www.xqueryfunctions.com/xq/fn_string-join.html

  • Error when using Web service Action Block.

    Hi All
    I am calling recursive function in my transaction.Means same transaction i am calling inside a transaction.I have used the Webservice Action block to call the transaction.
    I have passed the parameters whatever is requied.
    But I am getting error when i am executing the transaction:
    "Error invoking Webservice Action: Status(500):Internal Server Error".
    Please suggest me on this.
    Thanks in advance.
    Regards,
    Manisha

    Hi Vishal
    This transaction is trying to achieve the recursive function.
    I want to call the same transaction within a transaction.So i have used WebService action block to call the transaction.
    I have passed the input parameters whatever required.I have given loginName and password as my server login name and password.But when i am executing the transaction, I am getting the following error:
    "Internal Server Error"
    If any idea please suugest me.
    Thanks,
    Manisha

  • Links using anchors not working properly to some people

    on this site:
    http://www.thevpp.ca
    I used anchors to link the show ads on either side of the page to the appropriate section of the show page. This works perfectly in Safari, Firefox (on mac) and IE (on PC).
    Our client and one other person have complained that the link to "GodSpell" opens "Heart & Soul" in the centre of the page instead of GodSpell, but I cannot duplicate this. I can't find out what browser / version / OS they're using as they don't know.
    Clicking on the GodSpell image on the home page takes you to shows.html#b which is GodSpell. (Heart & Soul is shows.html#a)
    They say the other show links work perfectly. I thought initially their browser might not support anchors, but if the others work, then I don't get why this one doesn't.
    Is there a better way to link these images than using anchors? Could the problem be that the anchor links are within a ProjectVIII scroller?

    A few code errors to check:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.thevpp.ca%2Fshows.html%23b
    I see several problems.  In Firefox 12, the only links that work consistently for me are "Love Letters" and "Sinatra".   If I use the custom scrollbar and go all the way down to "Sinatra," the links don't trigger anything.  Same thing happens in Chrome.
    For an alternate approach, I created a named anchors demo (without tables).  You'll see there is ample space between each of the named anchor regions (view page source to see the code).
    http://alt-web.com/TEMPLATES/FixedLayout.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Can you use anchors with tabbed panels???

    Im trying to use anchors with tabbed panels but they dont seem to work.  I need to be able to link to specific tabs and specific areas within those tabs, but I haven't been able to find a way to do this.  Does anyone know or have a work around?

    Yes, that is an improvement in Muse, check release notes here, http://forums.adobe.com/message/5104247 - Widget Improvements
    The selected tab in Design view for the Tabbed panel widget will now be selected/active when previewing, exporting or publishing the site to Business Catalyst.
    - Abhishek Maurya

  • Anchors within dynamic lists

    Hello~
    I currently have a static web page with a list of documents
    on it
    that is navigable by alphabetical anchors, as well as a "back
    to top"
    anchor after each letter section. I am working on putting all
    of the
    content into a database so that it can be managed
    dynamically, but I
    was not sure how to continue using the anchors to move around
    the
    page. Is it possible to use alphabetical anchors within a
    dynamically
    driven list (ColdFusion w/ Access database)? Thanks!
    KC

    Multiple cross post!
    See:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=12 45015

  • Muse shifting scroll effect objects 20 px right when using anchors

    I am using anchor navigation in a single page website.  My objects with scroll effects applied to them are aligned correctly within muse but shift 20 pixels right when i view the site in the browser.  any one else having this issue and how do you fix it.
    site rabobio.businesscatalyst.com

    To somewhat deal with this problem i have taken the object with scroll effects on it and moved it 20 px left in muse to center it in browser.  i don't know why the shift is only occurring to abjects with scroll effects on them on pages where i use anchor navigation

  • Two Business Objects to fill a Data Grid/table using Anchors?

    Hi,
    I have a SAP standard tile were a table (grid) is filled by an Business Object. I want to add an additional column and retrieve the value from another Business Object.
    My questions
    1) Can I use Anchors to automatically set the relationship between two Business Objects A & B, so that I can just Drag & Drop an additional field from Business Object B to the DataGrid of Business Object A in the design screen without writing additional code?
    2) Some BO's do come with a predefined relationship to other BO's, but in the case of I have to write a supply function do I have to use a specific "Data Source Type" such as "Business Object", "BusinessQuery" or "Business CollectioN"?
    3) I already tried to write a supply function, but I realized that the system does return for some BO's or BS's a object instance, if I call "gFactory.newBusinessQuery". Is there any logic/restriction behind?
    I know I can use RowLoaded2 and a unbound column, but I want to know if this approach is also possible?
    Thank you for any help,
    Regards,
    Andreas

    Hi Andreas,
    The answer to your question is YES. You can very well do it without any changes at the code level.
    The scenerio can be implemented using a concept called JointField Mapping in MAS.
    Scenerio 1 :
    If you want to display the extra field from another BO in a list tile on the click of a search button from the search tile , then
    Please do the following :
    1. Select the Busines Query that you have associated to the search tile and go to properties from the View Designer.
    2. In the properties, Click on the Joint Field Mapping and select the BO where the extra field id present and select the primary key, Segment Field associated, (extra field)BO Property that you want to display in the list tile.
    2. Add a new control (new Field) in the List tile - ie, From the Toolbox (Tileset COntrols).
    3.Go to properties of the newly added control. Associate the anchor as the same achor as the list tile was pointing to earlier. for eg : Y_BOCAPGEN.
    4. Then Go to BCOLFieldName property and give the property name as the newly added BO property name(New field).
    After everything is modelled, You will be able to see the extra field in your application!!!!
    NOTE : Ofcourse, After the Successful generation.
    Scenerio 2 :
    If you want to display an Extra Field in a Detail tile,
    1. Go to Relationship of the BO from the Detail tile and go to properties.
    2. In the properties, You can find the Joint Field Mapping porperty.
    3. This property is again modelled as explained in scenerio 1.
    Hope, It would have definetly helped and answered your query.
    Have a good day!!
    Best Regards,
    Vignesh Ravikumar.

  • Problem with SubmitButton name across screens, which use the same action?

    I am using multiple submit buttons in a single JSP. The problem i am using the same action across 4 screens, and excpet the 1st screen the remaingin 3 screens have BACK & Continue button, in every page the click of back button should take back to the previous screen and continue should submit the options selected to the next screen;
    The problem is i m using to LookupDispatchAction to handle multiple submit buttons, and i m using this for buttons
    <html:submit property="method"><bean:message key="reg.bt.back"/></html:submit>
    In resource bundle reg.bt.back=Back , but i need to pass to the previous screen so how to do that
    Help needed............
    Thanks in Advance

    why can you not store the information you require in the session?
    session.setAttribute("attributename" <attribute object>);
    surely that would negate you needing to pass parameters though the http?
    but otherwise there are several ways to do this, first of all you could simply rewrite the URL, which i'll admit is slightly labour intensive, but it would do the job... of if you really wanted you could put hidden html values throughout your page, and populate them with the data you wish you pass in your request, as long as the hidden inputs are in the <form> there should be no issue here.
    N.B. you are right, i would never suggest using JS for ANYTHING to do with sessions and submitted/retrieving data when you are using a JSP.

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • New task assigned to user from CurrentItem:UserField using Assign task action is assigned to different user.

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

  • How do I navigate from a hyperlink on one page to an anchor within the tab widget?

    Hi guys can you please assist me with that issue I am describing in the question: How do I navigate from a hyperlink on one page to an anchor within the tab widget? I assume that it is not working because the tab widget is truly just on one page and anchors work within a page but not a specific tab. Is there a way around that?
    Thanks.

    an interesting question. Anchors work across pages (global) without any problem. Do they work within tabs or any other widgets I haven't tried, but it looks like you have and without success. I can see the temptation for doing this, but if you think about it why would you? Set the anchor on the page next to the tab(s) and hey presto the user needs only click the tab to which the hperlink refers, nothing could be more convenient! Of course, if the user cannot relate the tab to the hyperlink there's a problem. Generally solved by titling (like if the hyperlink is cats, the tab should preferably read cats and not dogs)! It's the only work around i can think of. Hope it helps.

Maybe you are looking for