Form onsubmit ignored when using h:commandLink

Hi
I was looking for a way to catch all form submission in javascript by automatically setting a method to each form.onsubmit. But I ran into trouble with h:commandLink.
I tested using a simple example:
<h:form onsubmit="alert(123);">
<h:commandButton value="commandButton"/>
<h:commandLink value="commandLink"/>
</h:form>Using this code, clicking the commandButton will display and alert with 123. But when clicking the commandLink, the onsubmit is ignored. The commandLink submit the form by javascript code using the form.submit() method. I tested it out (with firefox) and it seem to be the normal behavior... the onsubmit event is not triggered, unliked at normal <input type="submit"/> (like the commandButton).
Looking at the javascript used the commandLink, I could see that it is completely ignoring the possibility that the user specified a onsubmit:
//com/sun/faces/sunjsf.js
function jsfcljs(f, pvp, t) {   
    apf(f, pvp);
    var ft = f.target;
    if (t) {
        f.target = t;
    f.submit();  
    f.target = ft;
    dpf(f);   
};Wouldn't it make more sense to verify if a onsubmit method was set on the form and execute it before submitting the form?
function jsfcljs(f, pvp, t) {   
    apf(f, pvp);
    var ft = f.target;
    if (t) {
        f.target = t;
     if (typeof(f.onsubmit) == "function") {
          var os = f.onsubmit();
          if (os != undefined && os == false) {
               return false
    f.submit();  
    f.target = ft;
    dpf(f);   
};The behavior of the commandLink would then match the JSF-API description:
Tag commandLink : "Render an HTML "a" anchor element that acts like a form submit button when clicked."

Wow! That worked when I removed the include directive. The only problem is that the include directive for the page is needed. When I use <c:import> or <jsp:include> it doesn't really include it correctly.
Is there some special way I'm supposed to import JSF pages?
Thanks again!

Similar Messages

  • PostProcessingMethod and serverLocationDir ignored when using fileUploadTag

    I'm puzzled by this one and have been racking my brain for a couple days now, so if anyone can help me I would greatly appreciate it!
    I started by downloading the petstore app and testing the file upload feature. It works with no problems. I can see the postProcessingMethod being called on the server.
    I copied all the relevant pieces into a small test app. When I try to upload a file, it uploads it, but always to the default directory and the postProcessingMethod is never called.
    Here is what I have:
    My .jsp page contains:
                    <f:view>
                        <h1>Test of File Upload</h1>
                        <ui:fileUploadTag id="myFileUploadForm" serverLocationDir="c:/upload" postProcessingMethod="#{FileUploadBB.postProcessingMethod}" progressBarDivId="progress" progressBarSubmitId="submit1x" progressBarSize="40" retMimeType="text/xml" retFunction="testRetFunction">
                            <input type="file" size="40" name="file1" id="file1"/><br />
                            <input type="file" size="40" name="file2" id="file2"/><br />
                            <input type="file" size="40" name="file3" id="file3"/><br />
                            <input type="submit" name="submit1x" value="Submit"/>
                            <div id="progress"></div><br />
                        </ui:fileUploadTag>
                    </f:view>faces.config.xml contains:
      <managed-bean>
        <managed-bean-name>FileUploadBB</managed-bean-name>
        <managed-bean-class>com.mywebsitename.FileUploadBB</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>and com.mywebsitename.FileUploadBB contains:
    public class FileUploadBB
        public FileUploadBB()
            System.out.println("FileUploadBB() called.");
        public void postProcessingMethod(FacesContext context, Hashtable htUpload, FileUploadStatus status)
            System.out.println("IN Custom Post Processing method");
    }The progress bar works fine, the file is uploaded properly, and the testRetFunction executes. But my postProcessingMethod doesn't execute and I can't change the upload directory.
    As a side note which might help someone help me...I tried putting a non-existent bean name in the postProcessingMethod
    (for example, setting postProcessingMethod="#iliketurtlesFileUploadBB.postProcessingMethod}" and I don't get any errors...it just appears to be ignored.
    When I do the same with the petstore app, I get the error "The FileUpload process encountered an exception while trying to delegate to a custom post processing method."
    What am I missing here that causes this difference in behavior?
    Please oh masters of JSF, Ajax, and the fileUploadTag component...help me!!!
    Thanks!

    Ok. I finally figured this out myself since no one could help and I had no other choice. I will post the answer here to hopefully save someone the frustration that I experienced.
    Basically, this was my first JSF project. After reading a book on JSF that suggested it is best to use XHTML, I was using XHTML. For some reason using XHTML instead of HTML caused the postProcessingMethod and serverLocationDir attributes to be ignored. I changed
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/blueprints/ui">
        <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" />
        <jsp:output omit-xml-declaration="no" doctype-root-element="html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
        <html xmlns="http://www.w3.org/1999/xhtml">to
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@taglib prefix="ui" uri="http://java.sun.com/blueprints/ui" %>and that immediately fixed the problem. I've seen other wierd behavior when using XHTML but was able to work around the problems. I guess in this case I will be forced to fall back to HTML for my whole project. Sort of disappointing and it makes me wonder if XHTML will ever catch on with these sort of problems. Anyway, hope this helps someone out in the future.

  • Will the indexes be ignored when using IMPDP...TABLE_EXISTS_ACTION=SKIP?

    Hi guys,
    11gr2
    suppose that i have a .dmp file which has tables, indexes, and data,
    and i also have a schema A which already contains tables and data, without indexes
    is it possible to use IMPDP to import(or say create) all indexes from .dmp to schema A?
    the relevant question is, when using IMPDP...TABLE_EXISTS_ACTION=SKIP, if the table already exists, will IMPDP ignores the relevant indexes creation?
    thank you!!!

    thanks for the reply.
    actually, i have imported over 100G data to the new server, but after look into the new server, most of the indexes are missing somehow, i don't want to drop the schemas and re-import, it will cost me a whole day to finish, any suggestions?
    many thanks.

  • Default Mail Font ignored when using "Mail this webpage" in Safari

    This is not really a problem but more of a puzzling irritant.  I often use the "Mail this webpage" option in Safari (the small envelope icon in the tool bar) which opens a draft email with the then-current webpage's URL already embedded in the text area.  Prior to Mavericks when using this option the draft note triggered by Safari reverted to my default Mail font already selected via Mail's preferences pane.  Just as I would want it.  Ever since Mavericks though, when I click the envelope icon it brings up the draft email with the URL as before, but the text font for that note defaults to Times, not my previously-selected default Mail font (Lucinde Grande just for clarity).  So to stay consistent with my other email styling I have to manually click the draft email's Format button, select Lucinde Grande, and then begin typing.  I can find no place in either Safari's or Mail's preferences or options where I can change the default "send an email triggered in Safari" font. Emails originated in Mail properly use the default Lucinde Grande font.
    Once I go through the above and send the note, if I later repeat the same "mail via Safari" acion, the new note is again defulting to Times and I have to go through all of the above again.
    A companion oddity is that when I go through this and click the Format button once, nothing happens.  I click it a second time and then the font selection options are presented.  This happens consistently on 3 separate installs of Mavericks in our house (two iMacs and a MBP), and it has been this way from OS 10.9.0 through the updates to the current 10.9.2.  Any ideas, or anyone else experiencing this?  Thanks.

    This is very annoying behavior.
    I have a sudo work-around, although it's really just a different set of steps. If you use the new Share button (square with arrow icon) than the resulting email consists of a url at the top and text from the page below that. The first line of the email (empty) and the url are in the default mail font. Now just delete the text that was added from the page.
    I use this method because it seems like if I do it the other way the new message will sometimes go back to Times when I hit Return a couple times.

  • CR2008: parameters ignored when using the PrintToPrinter method

    Hi all,
    Currently I'm using Crystal Reports in all my add-ons and my algorithm is has follows:
    - Create a New Report object;
    - Load the Reports;
    - Set the reports Parameters and SelectionFormula;
    - Set the server/database connection info and login into every table;
    - Load Form OR Send to Printer
        - Load Form procedure:
            - Create a New Windows Form with a ReportViewer control;
            - Set the ReportViewer's ReportSource;
            - Invoke the Refresh method of the ReportViewer control;
            - Invoke the ShowDialog method of the Report object.
        - Send To Printer procedure
            - Invoke the PrintToPrinter method of the Report object...
    When I use the Load Form procedure, everything works has it should: the SelectionFormula filters the correct records and the Parameters hide/show the fields that they are supposed to.
    If I use the Send To Printer procedure, the SelectionFormula works correctly but some Parameters are ignored. I've checked the object properties at runtime, and all the parameters I define are correct...
    My question is: is there some sort of Refresh method that I can call before calling the PrintToPrinter method that forces the report to check the parameter fields values? Or am I doing something wrong?
    My code is posted bellow.
    Thanks in advanced,
    Regards,
    Vítor Vieira

    ' procedure that creates a new ConnectionInfo object with the login credentials to the SQL server.
        Private Sub SetDBConnection()
            Try
                rptConnectionInfo = New ConnectionInfo()
                rptConnectionInfo.DatabaseName = OONE_CompanyDB
                rptConnectionInfo.UserID = OONE_CompanySQLUserId
                rptConnectionInfo.Password = OONE_CompanySQLPass
                rptConnectionInfo.ServerName = OONE_CompanyServer
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetDBConnection): " & ex.ToString)
            End Try
        End Sub
        ''' procedure that creates a new ReportDocument object
        Private Sub SetReportDocument()
            Try
                rptDocument = New ReportDocument
                rptDocument.Load(rptPath)
                SetParameters()
                rptDocument.DataDefinition.RecordSelectionFormula = SelectionString
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetReportDocument): " & ex.ToString)
            End Try
        End Sub
        ' procedure that makes the login to the table in the ReportDocument object
        Private Sub SetDBLogonForReport()
            Try
                Dim myTables As Tables = rptDocument.Database.Tables
                Dim myTableLogonInfo As TableLogOnInfo
                For Each myTable As Table In myTables
                    myTableLogonInfo = myTable.LogOnInfo
                    myTableLogonInfo.ConnectionInfo = rptConnectionInfo
                    myTable.ApplyLogOnInfo(myTableLogonInfo)
                Next
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetDBLogonForReport): " & ex.ToString)
            End Try
        End Sub
        ' procedure that loads a windows form with the report
        Private Sub SetCrystalForm(ByRef Titulo As String)
            Try
                rptCrystalForm = New CrystalForm()
                rptCrystalForm.Text = Titulo
                rptCrystalForm.oCrystalReportViewer.ReportSource = rptDocument
                rptCrystalForm.TopMost = True
                rptCrystalForm.oCrystalReportViewer.Refresh()
                If rptSendToPrinter Then
                    rptCrystalForm.oCrystalReportViewer.PrintReport()
                Else
                    rptCrystalForm.ShowDialog()
                End If
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetCrystalForm): " & ex.ToString)
            Finally
                ReleaseMemory()
            End Try
        End Sub
        ' Send the report directly to a printer without showing it.
        Private Sub SendReportToPrinter()
            Try
                rptDocument.PrintToPrinter(rptPageSettings.PrinterSettings, rptPageSettings, False)
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SendReportToPrinter): " & ex.ToString)
            Finally
                ReleaseMemory()
            End Try
        End Sub
        ' Procedure that releases memory.
        Private Sub ReleaseMemory()
            Try
                rptParameterField = Nothing
                For Each oTable As Table In rptDocument.Database.Tables
                    oTable.Dispose()
                Next
                If rptSendToPrinter Then
                    rptPageSettings.PrinterSettings = Nothing
                    rptPageSettings = Nothing
                End If
                rptConnectionInfo = Nothing
                rptDocument.Database.Tables.Dispose()
                rptDocument.Database.Tables.Reset()
                rptDocument.Database.Dispose()
                rptDocument.Close()
                rptDocument.Dispose()
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("ReleaseMemory: " & ex.ToString)
            End Try
        End Sub

  • DocumentFilter Ignored when using Formatter?

    I am shooting myself in the foot but I can't see the bullet.
    I can't use a Formatter and a DocumentFilter in the same class. I want the pattern of the Formatter but want to constrain the individual numbers as well. I can get one or the other but not both.
    The filter works if I comment out the super call in the constructor.
    The mask works if I leave it in but then the filter code doesn't effect GUI output.
    Seems like when I extend JFormattedTextField and use
    JFormattedTextField(JFormattedTextField.AbstractFormatter formatter)
    I lose the ability to get the right Document later.
    The code is something like this:
    public class MyFormattedField extends JFormattedTextField{
    MyFormattedField() {
    super(new MyMaskFormatter().getFormatter());
    AbstractDocument doc = (AbstractDocument) getDocument();
    doc.setDocumentFilter(new myFilter());
    class MyMaskFormatter {
    private MaskFormatter formatter;
    MyMaskFormatter() {
    try {
    formatter = new MaskFormatter("###.###");
    }catch(ParseException pe) {
              // deal with it
    public AbstractFormatter getFormatter() { return formatter; }
    class MyFilter extends DocumentFilter {
    public void replace(DocumentFilter.FilterBypass fb,
    int offset,
    int length,
    String str,
    AttributeSet attr)
    throws BadLocationException {
    str = "1"; // smoke test (do anything, see if it sticks)....
         fb.replace(offset, length, str, attr);

    You could try creating a custom paste action:
    class MyPasteAction extends DefaultEditorKit.PasteAction
        public void actionPerformed(ActionEvent e)
            try
                //  Get clipboard contents
                Clipboard c = Toolkit.getDefaultToolkit().getSystemClipboard();
                Transferable t = c.getContents( null );
                String data = (String)t.getTransferData( DataFlavor.stringFlavor );
                //  Do your stuff
                data = "<" + data + ">";
                //  Paste your new data
                getFocusedComponent().replaceSelection( data );
                //  If above doesn't work then maybe this will
                StringSelection changedData = new StringSelection( data );
                c.setContents(changedData, changedData);
                //  Invoke default paste Action
                super.actionPerformed(e);
            catch (Exception x) {}
    }You install the Action on the text pane using:
    Object key = pasteAction.getValue(Action.NAME);
    KeyStroke ks = KeyStroke.getKeyStroke(KeyEvent.VK_V, KeyEvent.CTRL_MASK);
    textPane.getInputMap().put(ks, key);
    textPane.getActionMap().put(key, pasteAction);

  • 9i form gen : hangs when using object libraries

    9i form gen seems to hang (no progress, pegs the CPU) when specifying any object library. I thought that perhaps the OFGSTND1.OLB hadn't been recompiled for forms 9, but even after recompilation it happens. I have double checked paths, etc. (the generator refers to the right .olb just before hanging...)
    Anyone else experienced this or have a workaround?

    Hi Trevor,
    I tried generating a Form base don EMP Table with Object library Ofgstnd1.olb.It worked fine.Can you try and generate the form without any library attachement and see if it is hanging still or not.Because there seems to be no problem with the object library.Do tell me if you can generate the form easily without attachement.
    Thanks
    Vishal

  • Format precision apparently ignored when using read from spreadsheet file

    I hope there is ridiculously simple solution to this problem but so far I can't find it. Using the Read from Spreadsheet File function in LabVIEW7.1, I can't get the floating point format (%f) to work; the decimal (%d) seems to work fine. For example, the first value in the attached file is 399.5853. When I read it in using %.2f format I would think I should get 399.58 but instead I get 399.58529663... Oddly if I use %d as the format, I get an as expected value of 399. Can anyone see what I am missing?
    Attachments:
    ReadFileTEST.vi ‏23 KB
    test.txt ‏1 KB

    The solution to the problem is the internal representation of floating point numbers: with a limited number of bytes only a limited number of the (infinitely many) real numbers can be represented. The nearest representable number to 399.5853 is 399.58529663 if the so-called single precision representation (abbr. SGL in Labview) is used.
    It seems that (ridiculously!) NI has chosen to use SGL as the data format in the Read from Spreadsheet VI which causes the unexpected behaviour you observed.
    You can change the representation from SGL (which uses 4 bytes) to DBL (double precision, using 8 bytes) in the Read from Spreadsheet VI and you will observe a better approximation then, but still not 'exact' since the number now reads 399.585300000000018. (With t
    he EXT representation, 10 bytes, you could go to even higher precision)
    I hope someone from NI reads this and they fix the unnecessary limitation of the precision in the Read from Spreadsheet VI.

  • Important: Item Disappears form Item Dashboard when used in Initiative

    Hello All,
    I have one urgent question. I am seeing one strange thing. When a PPM Item is created and lets say this Item has a role A with 'Write' access on it. When I log in as Role A, I can see the PPM Item on the Item Dashboard. But the strange thing is when an Initiative is created by Role B ( this Initiative has both 'Write' access for roles B and role A) and the above PPM Item is added. Then when I log in as Role A, I cant see the PPM item on Item Dashboard. To see the PPM Item as Role A, I have to go to Initiative first and then see added items and there I can see the above PPM Item but not directly from Item Dashboard. Can someone throw some light as why PPM item disappears from Item dashboard for Role A, even when Role A has write access on the PPM Item, after item is used in a initiative.
    Thanks,
    Sachin

    Hello Sachin,
    Implement SAP Note 1649142 and retest.
    Regards,
    Brendan

  • When using java -jar does -cp have any significance?

    So we have a classpath that's set from the Manifest but I want to augment that with -cp
    From what I can tell -cp is ignored when you are using the classpath from a Manifest.

    >
    From what I can tell -cp is ignored when you are using the classpath from a Manifest.>No. The -cp option is ignored when using the -jar option.
    So if you do something like..
    REM: old way of launching
    REM: java -jar the.jar arg1 arg2
    java -cp the.jar;...;another.jar the.main.class arg1 arg2..it should work as expected.

  • Unable to parse query when using dblink in forms 4.5

    Hi,
    I have created a query that uses a DBlink because I need to do query on a table located on another dbase. I've used the query on creating my report using Reports 6i. The report needs to be called from a menu on our system, which was developed under Developer 2000 (forms 4.5). The problem is, when I tried to access the report from the menu, it returns the error 'unable to parse query'. What I did after getting error was to create a dummy module using Forms 6i, and call my report from there. It worked fine.
    By the way, the table that I'm accessing using the dblink is under Oracle 9i dbase, and the dbase of the system that I've been working at is Oracle 8i.
    I don't have any idea on what's causing this error. Is there a compatibility issue when using a dblink located in Oracle 9i database with forms 4.5?
    Thanks!

    Hello,
    Not sure if it is the good answer, but I know that Forms does not recognize dblink and owner.object syntax. You have to create a simple synomym that point to the distant object and use this synonym within Forms.
    Francois

  • The configuration file did not contain well formed AppV configuration XML - When using Office 2013 ODT package

    All,
    I'm experiencing an issue where when using the Office 2013 package pulled down from ODT, that if I try to change the locations of either InfoPath Filler 2013 or Publisher 2013 from the default of Microsoft Office 2013 then I receive the message "The
    configuration file did not contain well formed AppV configuration XML. Please check the management server event log for more information". If I check Applications and Services\Microsoft\AppV\Server-Management\Admin the error displayed there is "An
    error was encountered parsing dynamic configuration file '0'. However I am able to change the shortcut location for all other applications except the above 2. I've tried redownloading the files using the ODT and also changing the version number (so far I've
    tried both the 15.0.4631.1002 and 15.0.4659.1001 with the same result).
    As all I'm interested in so far is having a package which contains Visio and Project I've tried following the article to exclude all the other Office elements:
    http://technet.microsoft.com/library/jj219426(v=office.15).aspx#BKMK_ExcludeAppElement. However the package looks to be the same and when I load it into the management console all the options and elements to Office 2013 are available like they were before
    when I hadn't set the exclude tags so I'm not sure whether the ExcludeApp parameters actually work correctly.
    This then brings me onto the 3rd issue I've experienced. I have a group for the Visio users and I've set custom security for them to have Visio delivered to them but not Project and then a seperate group for just Project users who will have Project delivered
    to them but not have Visio. When testing this sometimes seems to work but other times it seems to trip out and a user just in the Project or Visio group will get all of the Office 2013 applications and under the default location of Microsoft Office 2013. When
    trying to spot correlation with this it appears random and can happen to any user on any device. We have sequenced a few applications ourselves where different parts are needed for different users and we have successfully managed this using different security
    groups for different applications, just as I'm trying here with Office 2013.
    Has anyone else experienced the issue with the "did not contain well formed XML" as at the start of the post and how were you able to resolve this? Also has anyone any advice on how to troubleshoot the issue with the security seeming to trip out
    and publish all applications within a package to a user regardless of whether they are in the correct group or not?
    The management / publishing servers are 5.0.1224.0 which is SP1 HF4 and the clients are on SP2 HF5.
    Thanks

    Nicke,
    The config files are UTF-8. I did find the same article as yourself, however when searching for the value ‘TakeoverExtensionPointsFrom46=’ within either of the configuration.xml files that text isn’t found.
    No sinister reason not to share the file used, just it’s the same structure as referenced in the article:
    http://technet.microsoft.com/en-us/library/dn745895(v=office.15).aspx. The only difference being that I’m using ProPlusVolume and I’ve set a version number (which is the October
    2014 update). I’ve even looked to follow the above example as closely as possible in just using the ExcludeApp ID of Access and InfoPath, just to try and prove the process. However I still get the usual full package. The version of the Click-to-Run setup.exe
    I’m using is 15.0.4623.1001, so later than the version specified at the end of that article which is 15.0.4619.1000. Where can I expect to see the elements excluded? Will it be when loading the package into the management console or would it just not appear
    on the machine when delivered?
    <Configuration>
      <Add SourcePath="C:\OfficeDeploymentToolV2" Version="15.0.4659.1001" OfficeClientEdition="32">
        <Product ID="ProPlusVolume">
          <Language ID="en-us" />
    <ExcludeApp ID="Access" />
    <ExcludeApp ID="InfoPath" />
        </Product>
      </Add>
    </Configuration>
    3). We’ve not used global publishing in our environment yet so I will try that. I’ve set both GlobalRefreshEnabled and GlobalRefreshOnLogon to True and when using the command Get-AppvPublishingServer on the client I’m testing with I can see this is pulled
    through correctly. I’ve also added the client name to the AD group used to grant access to the package and it is published. However nothing is pulling through onto the Client, so are there any steps I’ve missed or misinterpreted when looking to set this up?
    I guess the global publishing is there to keep in with licensing for Office being per device? On a slight aside, as Windows licensing is being changed to allow per user licensing
    http://www.zdnet.com/microsoft-to-make-per-user-windows-licensing-available-to-enterprise-customers-7000035401/ does anyone know if there are any plans to allow for Office / Project / Visio licenses to go per user as well? We’re a volume license customer
    rather than subscription based so I think a lot of the options to selectively deploy Visio and Project are excluded for us.
    Dan,
    Ok that explains why the security could be tripping out then and leading to this result. As above I’ll try with global publishing and see how I get on.
     From what I’ve read / watched  I think only one Office 2013 package can be published to a machine, so we would be unable to have a separate package for Visio and a separate package for Project and then attempt to deliver
    them both together. If a user wanted both Project and Visio then I guess we’d need to have a combined Project and Visio package to cover than scenario, but then 2 more separate Project and Visio packages for those who would only want either Project and Visio
    (I think).
    The scenario we’re looking at is to see whether we are able to deliver Project and / or Visio to different users through an AppV package and this will then cover users on XenApp or on fat clients. Only a small proportion of our
    users will need access to Project and / or Visio so therefore we’d only have a small amount of Project and Visio licenses.
    However from what I’ve tested up to this point and from what I’ve picked up from Forum posts / watched on TechEd sessions is that as publishing is Global and is unable to use different security groups for different elements of the
    suite, then using Office through AppV is only suitable if you will be delivering the whole suite (including Project and Visio) to all of your users. So in a scenario where you’d only want certain elements to be delivered to a handful of users then you’d need
    to keep with traditional ESD methods to have this installed onto fat clients and steer clear of XenApp. If wanting to install to XenApp then a lockdown tool like AppSense or AppLocker would also need to be brought into the equation.
    Is my understanding above correct or have I missed some options / methods?
    If the full Office package is always delivered but a company only has Office licenses and no Project and Visio licenses for all its users, how do they stop Project and Visio being delivered and being available? Or again if you have
    this use case is the AppV method one which will be unsuitable?
    Thanks

  • REP-50134 occurs when using the submit button on the Reports Parameter Form

    Good Morning,
    I get the "REP-50134: Cache subitem reports does not exist" error after clicking on the Submit Button from a Reports parameter form.
    I am using Forms/Reprots 9i.
    Using the source code given in the Whitepaper 'Oracle Forms Services - Using Run_Report_Object() to call Reports with a parameter form', all works well when paramform=no, but when I have a Form print a report with paramform=yes, the parameter form appears correctly, but generates the error after clicking the Submit Button.
    Any inputs as to causation or possible places to look to solving this problem would be greatly appreciated.
    Thank you

    Hello and thanks.
    The value in the tag is <form method=post action="reports?">
    Looking at this I suspect my problem is related to this setting. I am trying to follow all the instructions in the White Papers but they are a little confusing as they are not all exactly the same. Each attempts to explain a specific functionality without regards to the whole.
    For instance I believe I need to have the variables P_ACTION, P_USER_CONNECT and P_SERVER_NAME in the report being called and then add a Before Parameter Form trigger to reset the values. But this seems to duplicate and override what has already been sent via the REPORT_OTHERS property. It is a tad bit confusing.
    Can you confirm?
    Thanks for any clarification you can provide.

  • How do I set the default Hero image in a Muse slideshow widget when using Free Form Thumbnails?

    Hello,
    I am trying to find out how to set the default Hero image when using a Muse slideshow widget and in the Layout section I have the "Free Form Thumbnails"
    box checked.
    In other words, when the page loads I want to define which image displays as the first Hero image.
    If I do not select the "Free Form Thumbnails" option, the top left Thumbnail image always displays first. This is fine.
    But when I select the Free Form Thumbnails" checkbox I don't know how to define which image shows first as the Hero image.
    I have a short video at this link where I illustrate the question:
    http://amson.org/misc/default-hero-image-1.mp4
    I have added a WMV video file at the link below:
    http://amson.org/misc/default-hero-image-1.wmv
    Okay… I think I've worked out how to do it!
    [1] First have the "Free Form Thumbnails" box UNCHECKED.
    [2] Organize the Thumbnails and place the image that you want to be the first Hero image when the page loads in the top left corner of the Thumbnails group.
    [3] When you "Preview Site In Browser" the Thumbnail image in the top left corner will always display as the first Hero image.
    [4] If you want "Free Form Thumbnails" go ahead now and SELECT that checkbox.
    [5] Whichever image was in the top left of the Thumbnail group before you checked "Free Form Thumbnails" will still show up as the first Hero image when the page loads, regardless of where that thumbnail image is located within the Thumbnail images group.
    Thanks very much.
    Chris.

    Hi,
    The sequence of operation you are doing to set the home page for public users is correct. You are getting the login screen as the "custom page group" selected as "home page" has not been granted to public.
    Also, while logging-out, it is normal behaviour to get the screen where it shows the list of partner applications from where user has been logged-out. When you click on "Return" button, you will get to the "home page" set above.
    Hope it clarifies the things.
    Regards,
    Ved

  • Error when using a HTML form along with a servlet

    Hi All,
    I am using Sun Studio 4 to create a HTML form that takes in 4 inputs and then
    passes them on to a servlet to be processed.
    In my HTML form i have the form heading.. <form method = post action="processServlet">
    my directory structure is as follows:
    /home/cosmo/projects/testservlet/processServlet ... processServlet being the servlet underneath the testservlet directory.
    inputForm.html is also under the same testservlet directory. I am running TOMCAT.. and under the run time tab under tomcat --> Internal --> it has localhost:8081 and under that the default context is /home/cosmo/projects/testservlet
    NOW, when i execute my HTML page the URL on top says "http://localhost:8081/inputForm.html
    which seems correct. I get my form correctly. When i input the data,and i hit the submit button, the URL says "http://localhost:8081/processServlet" which i think is also correct, but i get a "404 Error and the error description says " The requested resource( /processServlet)
    is not available." I have coded the servlet to give me just a few lines of output, but instead, the above error shows up.
    Why would this be happening? Do i have my directory structure messed up? Do i have the wrong type of template? I used a web module to do this. I also compiled my Servlet from Sun Studio without any errors.
    Any help would be appreciated.
    Thanks
    Kal.

    You can't post directly to a servlet the way you can to an HTML or JSP page. You must map your requests to specific servlets for the request to get directed there. There are entries in the web.xml for this.
    You need to map the request for "processServlet" to "edu.xxx.yyy.processServlet", or the servlet engine won't know what to do with that request.
    Often times, an app will route all requests for a particular extension to a router servlet, which then figures out which class to actually send the request to. This keeps you from having to map all servlets in the web.xml file.

Maybe you are looking for