How to modify rendered HTML dynamically

Hi, I'm looking for a method to modify rendered HTML appearance at runtime. I.e. enabling/disabling a button according to some other condition. I can do it within the same page, by means of a valueChangeListener, then searching for the componennt id to enable/disable. But I cannot when coming from another page, since the involved lifecycle refers to this one. The target page is rendered at the end, and I would like to modify its button then. I guess I should influence the render response phase to enable/disable that button, but how ?

You can use EL in the rendered or disabled attributes:
<h:commandButton value="..." action="..." rendered="#{MyBean.shouldButtonBeRendered}" />
<h:commandButton value="..." action="..." disabled="#{MyBean.shouldButtonBeDisabled}" />etc

Similar Messages

  • How to modify index.html for Flash gallery

    I've been hunting around for the past couple of days trying to figure out how I can modify the index.html page which is generated for the Flash gallery. I'd like to add a google Analytics code snippet so I can track my galleries. Currently I'm doing it manually once the export has finished. Can anyone point me in the right direction? Thanks

    I may just have written a blog post for you :-)
    http://automagisk.no/blog/2009/04/01/adding-google-analytics-to-lightroom-web-template/

  • How to modify POF config dynamically?

    we have a application framework developed in C# .NET which includes 5 applications renning under that.
    my application is running under this framework. I am rading my POF Config entry from app.config of main applicacation(framework)
    I can not add seperate app.config my my application. Also i can not modify the main coherence-pof-config.xml.
    Now the problem is, for my application i want to add new user type in my pof-config file dynamically. how to add that?
    Please help...

    Hi Nick,
    you can specify the <serializer> in the distributed-scheme or other similar scheme elements in the cache configuration file, and it can take an init param specifying the locator of the file name.
         <distributed-scheme>
              <scheme-name>loader-scheme</scheme-name>
              <backing-map-scheme>
                   <local-scheme />
              </backing-map-scheme>
              <autostart>true</autostart>
              <serializer>
                   <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                   <init-params>
                        <init-param>
                             <param-type>string</param-type>
                             <param-value>pof-config-other.xml</param-value>
                        </init-param>
                   </init-params>
              </serializer>
         </distributed-scheme>Output:
    ... (thread=main, member=n/a): Loaded cache configuration from resource "file:.../coherence-cache-config-poftest.xml"
    ...(thread=DistributedCache, member=1): Loading POF configuration from resource "file:.../pof-config-other.xml"Best regards,
    Robert

  • How to modify page item dynamically

    Hi experts,
    I have a DB table called attribute in that i am having set of attributes namely att1,att2,att3....... And in application builder i had created a page called service request. When i run the page it have att1,att2,att3 and their corresponding page items. For example ATT1 has text field,ATT2 has a text field,ATT3 has select list. Now the user want to edit the page items(while the page running) ATT1 to select list and ATT2 to Select list and ATT3 to Text field after the changes it should reflect in the application page.
    Edited by: karthi on May 3, 2011 2:45 AM
    Edited by: karthi on May 3, 2011 3:22 AM

    hi,
    can you please tell me the steps. I had write the following code in pl sql->region->source.
    begin
    SELECT
    empno,
    APEX_ITEM.HIDDEN(1,empno)||
    APEX_ITEM.TEXT(2,ename) ename,
    APEX_ITEM.TEXT(3,job) job,
    mgr,
    APEX_ITEM.DATE_POPUP(4,rownum,hiredate,'dd-mon-yyyy') hiredate,
    APEX_ITEM.TEXT(5,sal) sal,
    APEX_ITEM.TEXT(6,comm) comm,
    deptno
    FROM emp
    ORDER BY 1;
    end;
    BUT IT SHOWS THE FOLLOWING ERROR
    *1 error has occurred*
    ORA-06550: line 3, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    Regards,
    Karthi
    Edited by: karthi on May 3, 2011 9:50 PM

  • How to return a html repsonse after form guide rendering in browser?

    How to return a html repsonse after form guide rendering in browser indicating that server has recieved transmission and request is submitted succesfuly?
    I am rendering the form guide in browser using guide invoke service and when i submit the data in browser to server through guide , it is displaying some random number in browser?
    i need to display a resposne that request is submitted successfully?

    how could i define a variable with "html data" ?
    Create a variable of type document and then a service to read the html from where ever it's located. If you put it in LiveCycle, you can use the ReadRessource service. If it's on the file system, you can use the Read Document. If it's in the database, you can use the JDBC service.
    Also, one more doubt where should i use this variable in my process to get the same?
    You want the response once you've submitted the data, so the html is really the result of calling the process that's processing the data. So I would create an output variable of type document on that process.
    Right now it displays a random number in the browser because your submit process is long lived. When a process is long lived (asynchronous), you invoke it and then you get an identifier back. It's kind of a fire and forget. You can use that identifier to check the status of the long lived process, since long lived processes can take hours, days to complete. You don't want your browser to wait that long, hence the identifier.
    However if you change the process to be short lived (synchronous), the browser will wait for the result of the process, which really means the output variables for that process. If your output variable contains html, it'll display html.
    So the key is make you submit process short lived and populate the output variables appropriately.
    Jasmin

  • How do I keep html from rendering in to a link, I need it to show

    Hi All,
    How do I keep html from rendering into a link, I need the html code to show in a comment box so others can copy and paste it in other comments on a photo sharing site.
    The code rightful renders into a link and the html no longer shows how do I stop
    it from rendering?
    I would really appreciate any help! Thank you for your time.
    Cheers,
    Maria /eMe

    Hi Eme
    I don't know for sure w/o trying the site, but I guess you mean that a href ="some-site.com" type things are rendering as links, rather than text people can read? same as these forums I spose.
    first, try replacing the opening < with &#60; and the closing > with &#62; for both the initial <a> and the closing </a>
    hopefully...that'll allow the code to be visible, tho' you may find the site still converts the url to a clickable link.

  • How to acheive Pagination and Dynamic sorting in Web layout.

    Hi All,
    I'm new to Oracle Reports. I use Report Builder 10.1.2.0.2.
    I tried creating a template for simple tabular report. I modified the tempalte for Paper layout, Web layout ie modified .tdf, html, css files.
    When the data is dispalyed in the web browser, i need to do Pagination and dynamic sorting (ie when the column heading is clicked, it needs to do sorting by that column).
    In the jsp page of the report, it is possible but i want to incorporate this functionality in the Template. So that a single template can be used across multiple reprots with out any modification.
    Can any one please tell me how to do this.
    Please reply me at the earliest. Its very urgent.
    Thanks & Regards,
    P. Gayathri Devi

    Igor,
    You'll need to switch from using Partial Page Rendering to full page submits on that report. In version 4.0 we should be getting more control over event handling in PPRs but to what extent is still unknown.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • EDGE and HTML dynamic text in a "box" with scroll bar

    I'm new to EDGE, a win7pro master collection cs5.5 suite owner. I'm mainly in the Film/Video post production field (mostly AE, PPro, Pshop, IA) but have been branching into web design the last couple of years.  I use Dreamweaver, Fireworks, Flash. While I'm a expert user with all the Film/video apps, I would say I only have intermediate ability with the web apps. While I understand a lot of programing logic bulding blocks I'm not a coder.
    So since we're told "flash is dead",  my interest in Edge is to try to do some of the things that I can currently do in flash in  EDGE. I was excited when Edge first came out but lost interest when it became obvious that Adobe was not going to offer Edge and Muse to "suite owners" but only in their force feeding of the "Cloud". Better known as the "golden goose" for adobe stockholders and a never ending perpetual hole in the pocket for users. Anyway....
    I spent the last couple of days doing some of the tuts and messing with the UI. It's matured a lot since I was here last.
    I've been working on a flash site for a sports team where one of the pages is a player profile page where college recuriters and other interested parties can view recuriting relavent info/stats about players. This is how it works. While on the "Team" page a users clicks on  a button labled "Player Profiles" . (Animation) A "page" flies in and unfurls from the upper right corner (3d page flips effect created in AE played by flash as a frame SEQ). Once it lands filling most of the center of the screen there is a bright flash. As the brightness fades we see the "page" is a bordered box with a BG image of a ball field(End). (Animation) from behind the border in fly small pictures (player head shots with name and jersey number). They stream in and form a circle like a wagon train and the team logo zooms up from infinity to the center of the circle(End). As the user mouses over a player's pic it zooms up a little and gets brighter (like mouseover image nav thumbs for a image slider). If the user clicks on a player's head shot it flips over and scales up to become a text box with a scrollbar. The content of the box is a mix of images, static and dynamic text fields populated from data in an "player info data base" XML file, and some hyperlinks. It's all kept updated dynamicaly with current stats, info and images from the XML file. There is also a "PDF" button that allows the user to open/save/print a PDF of the player's profile (the PDF's are static files for now but the choice of which pdf to retrive is dynamicaly supplied via the XML file.
    So.... Is Edge now able to do something like this?  Would it need to be a collection of small animations? could these be "assembled" and connected as an asset in dreamweaver ?
    I thought I would approach this from the end (ie click on an image and display a box with dynamic TEXT fileds. ) since that is the most important part, ie displaying the dynamicaly updated profile info.  Sooooo....
    Can Edge display a scrolling text box with Images, static text, and html dynamic text in it??
    Joel

    The code is in composition ready. Click the filled {}

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

  • Error 500--Internal Server Error:How to modify req.setReportAbsolutePath

    I test a servlet but I get following errors. I use OBIEE 11g and Jdeveloper 11.1.1.3
    How to modify the source code and the req.setReportAbsolutePath?
    ===============error====================
    http://127.0.0.1:7101/Application4-Project4-context-root/bipservlettest
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at java.io.OutputStream.write(OutputStream.java:58)
         at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ========source code============
    package mywebcenter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException;
    import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.DeliveryRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException;
    import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.LocalDeliveryOption;
    import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException;
    import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportService;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceClient;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceService;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportResponse;
    import com.oracle.xmlns.oxp.service.publicreportservice.ScheduleRequest;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.net.URL;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.xml.namespace.QName;
    public class BipServletTest extends HttpServlet {
    private static final String CONTENT_TYPE =
    "text/html; charset=windows-1252";
    private static PublicReportServiceService publicReportServiceService;
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    response.setContentType(CONTENT_TYPE);
    OutputStream os = response.getOutputStream();
    //PrintWriter out = response.getWriter();
    String sid = "";
    System.out.println("===57===");
    publicReportServiceService = new PublicReportServiceService(new URL("http://localhost:9704/xmlpserver/services/PublicReportService"),
    new QName("http://xmlns.oracle.com/oxp/service/PublicReportService",
    "PublicReportServiceService"));
    PublicReportService publicReportService =
    publicReportServiceService.getPublicReportService();
    //To get a session id
    System.out.println("===64===");
    try {
    sid = this.getSessionID("weblogic", "welcome1", publicReportService);
    } catch (AccessDeniedException_Exception e) {
    System.out.println("invalid user");
    //To generate a report and display it
    System.out.println("===72===");
    ReportResponse res = this.getReportInSession(publicReportService, sid);
    byte[] binaryBytes = res.getReportBytes();
    os.write(binaryBytes);
    response.setContentType(res.getReportContentType());
    public String getSessionID(String username, String password, PublicReportService publicReportService) throws AccessDeniedException_Exception {
    String sid = publicReportService.login(username, password);
    return sid;
    public ReportResponse getReportInSession(PublicReportService publicReportService,
    String sid) {
    ReportRequest req = new ReportRequest();
    ReportResponse res = new ReportResponse();
    System.out.println("===89===");
    req.setAttributeFormat("pdf");
    req.setAttributeLocale("en-US");
    req.setAttributeTemplate("Simple");
    req.setReportAbsolutePath("E:\\OracleBI_win2008_32_20101206\\user_projects\\domains\\bifoundation_domain\\config\\bipublisher\\repository\\Reports\\Samples\\11g Overview\\W2 2010.xdo");
    //req. setSizeOfDataChunkDownload (-1); //download all
    try {
    System.out.println("99");
    res = publicReportService.runReportInSession(req, sid);
    System.out.println("101");
    System.out.println("===100==="+res.getReportContentType());
    } catch (Exception e) {
    System.out.println(e);
    System.out.println("===107===");
    return res;
    ============Jdeveloper console==================
    [Another instance of the application is running on the server.  JDeveloper redeploy the application.]
    [Application Application4 stopped but not undeployed from Server Instance IntegratedWebLogicServer]
    [Running application Application4 on Server Instance IntegratedWebLogicServer...]
    [12:45:14 PM] ---- Deployment started. ----
    [12:45:14 PM] Target platform is (Weblogic 10.3).
    [12:45:14 PM] Retrieving existing application information
    [12:45:14 PM] Running dependency analysis...
    [12:45:14 PM] Deploying 2 profiles...
    [12:45:15 PM] Wrote Web Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Application4\Project4WebApp.war
    [12:45:15 PM] WARNING: Connection ApplicationDB has no password. ApplicationDB-jdbc.xml file not generated for connection ApplicationDB.
    [12:45:15 PM] Wrote Enterprise Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Application4
    [12:45:15 PM] Redeploying Application...
    [12:45:17 PM] Application Redeployed Successfully.
    [12:45:17 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [12:45:17 PM] http://192.168.1.17:7101/Application4-Project4-context-root
    [12:45:17 PM] Elapsed time for deployment: 4 seconds
    [12:45:17 PM] ---- Deployment finished. ----
    Run startup time: 3547 ms.
    [Application Application4 deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/Application4-Project4-context-root/bipservlettest
    ===57===
    ===64===
    ===72===
    ===89===
    99
    javax.xml.ws.soap.SOAPFaultException: oracle.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to oracle.xdo.servlet.CreateException: Report definition not found:E:\OracleBI_win2008_32_20101206\user_projects\domains\bifoundation_domain\config\bipublisher\repository\Reports\Samples\11g Overview\W2 2010.xdo
    ===107===
    <Dec 8, 2010 12:45:24 PM PST> <Error> <HTTP> <BEA-101020> <[ServletContext@26496369[app:Application4 module:Application4-Project4-context-root path:/Application4-Project4-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at java.io.OutputStream.write(OutputStream.java:58)
         at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         Truncated. see log file for complete stacktrace
    >
    <Dec 8, 2010 12:45:24 PM PST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Dec 8, 2010 12:45:24 PM PST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Dec 8, 2010 12:45:24 PM PST SERVER = DefaultServer MESSAGE = [ServletContext@26496369[app:Application4 module:Application4-Project4-context-root path:/Application4-Project4-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at java.io.OutputStream.write(OutputStream.java:58)
         at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = WIN-IT8WDLG81KH TXID = CONTEXTID = 55211ca27b9d1dfd:bd42a62:12cc7606a10:-8000-000000000000009c TIMESTAMP = 1291841124147
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Dec 8, 2010 12:45:34 PM PST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\administrator\appdata\roaming\jdeveloper\system11.1.1.3.37.56.60\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_12 with a lockout minute period of 1.>

    am able to login
    http://192.168.75.140:7001/console/login/LoginForm.jsp
    from this environment-> servers-> all servers(adminserver,soa_server1, oim_server1, oam_server1) status is running,and health is ok.
    I have started these servers from command line <base_domain/bin/sh startManagedWebLogic.sh oim_server1
    result is <server started in running mode>
    now I shutdown the oam_server1 and oim_server1
    again I started the oim_server1 as above
    command line result is < <May 30, 2013 7:54:47 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    but in (http://localhost:7001/console) window oim_server1 status is unknown...

  • How can i add a dynamic header value in to the pdf

    I am using a AssemblerService (Invoke DDX) to modify a Pdf file. How can i enter a dynamic value into the header using ddx ?
    DDX used
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
        <PDF result="Out1">       
            <PDF source="Doc2">
                <Header>
                    <Right>
                        <StyledText>
                            <p>"here i need to add a dynamic data from the process"</p>
                        </StyledText>
                    </Right>
                </Header>
            </PDF>
        </PDF>
    </DDX>
    Thank You.

    Insertion Point is a placeholder Object which is used to dynamically replace while assembling. Search through the assmber guide to get any hints.
    Nith

  • In List, How to modify the Link in Quick Edit Mode?

    In List, How to modify the Edit in Quic Mode Link? Instead of opening Quick view mode, to open in InfoPath customized form?

    Hi Eugene,
    According to your description, my understanding is that you want to midify the link of "Edit" and set it linking to a InfoPath Form which can bulk edit your List.
    You can use the code above to modify the Edit's hyperlink and set it linking to your InfoPath form.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    $("#idHomePageNewItem").next("a").attr("href","the URL of your InfoPath form");
    $("#idHomePageNewItem").next("a").removeAttr("onclick");
    </script>
    For more information about bulk updating a SharePoint list using InfoPath form, you can have a look at the blog:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c05983fc-d992-49ff-8d18-fa8f70777d66/using-infopath-2010-to-bulk-update-a-sharepoint-list?forum=sharepointcustomizationprevious
    http://infopath.wordpress.com/2013/09/23/infopath-repeating-table-add-edit-delete-sharepoint-list-items-bulk/
    http://sharepointknowledgebase.blogspot.com/2011/10/updating-sharepoint-list-by-using.html#.VGFsKHkcSM8
    If any misunstanding, please feel free reminding me and provide more detail for your issue.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • Set DOCTYPE for a self rendered HTML page using cl_gui_html_viewer

    G'Day!
    I'm dealing with HTML in ABAP and i' stuck with a nasty little problem. Perhaps somebody know's the answer and can help me out. Thanks in advance. (I'm sorry for my poor english)
    My problem is:
    I am rendering a html page in abap and display ist using a cl_gui_html_viewer.
    Works fine.
    But now in need to set the right DOCTYPE for the rendered html page.
    If i add the DOCTYPE definition, my html page is not displayed, instead i get a display of the html-code??
    To break it down to the root:
    How can i add the DOCTYPE definition to a self-rendered html page?
    If i add the DOCTYPE definition as first element of my html table, the html code won't be interpreted.
    If i do not add the DOCTYPE defintion everything works fine.
    I need the DOCTYPE definition so that the browser won't get into quirks mode and interpretes the html tag's right.
    What i've done so far:
    (Dynpro, container, html_viewer)
    Load my JScripts (with load_mime_object)
    Load my CSS (with load_mime_object)
    Load my HTML:
    -- lt_html       TYPE w3htmltab
    ((--  APPEND  '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">'  TO ct_html.)) this line cause my trouble
    -- filled the itab with my html tags <html>....</html> (set right url for Jscript and CSS)
    -- Load my html table and get an URL CALL METHOD gr_labform_html->load_data
    -- Load the url CALL METHOD gr_labform_html->show_url

    I've "solved" my issue with a little workaround.
    I created an empty html page with an existing DOCTYPE def and an tag like <!MYDATA!>
    After that i filled 'l_merge_table TYPE swww_t_merge_table' with my tag and my html_data.
    Loaded the whole thing with CALL METHOD gr_labform_html->load_html_document and now the DOCTYPE is set fully correct!
    But i'm still interessted why i can't set the DOCTYPE directly? Anybody knows?
    Got the idea from: Re: How can I read color from frond-end PC

  • How to pass Stages Guid dynamically in declarative workflow

    hello,
    How to pass Stages Guid dynamically in declarative workflow.
    Example For List we used to pass guid like this 
    System.Guid.Parse("{$ListId:Lists/Testlist;}")
    help me out to pass stage guid...
    any help would be appreciated!!!!
    Thanks regards, Vignesh.

    You need to make use of command line arguments. You can go through this link for example.
    http://www.freeos.com/guides/lsst/ch02sec14.html
    In your shell script(say test.sh) you can have
    exp fas/xxxxxx@fasbd001 file=audit_grn_28aug.dmp tables=audit_grn query=\"where org_grp_i=$1 \"$1 indicates it accepts the first argument from command line. if you want to pass 19, add that next to the script you're executing.
    From command line you can call this shell script say test.sh 19

Maybe you are looking for

  • How to embed an image in swf at run time?

    Hi all, I have created an Image component in flash which is having a "imageSource" paramter, where in a user can provide the path of his/her image(both from web or from  harddisk). I want that image to be compiled with the swf. how can i do that?....

  • Playback speeds up intermittently on first scene when played after build

    Hi I have a problem with playback on apple dvd player after completing the build? When I play the authored project on apple dvd player after the build, after clicking on the play button in the main menu, the first scene (about 1 min. long) playback s

  • Duplicates in my music library

    I have a playlist for my songs in the I-Phone 4. My problem is that i have duplicates of the songs. But my playlist and i-tunes are syncing, just that when i browse the songs through the phone's library i have 3 copies of each songs. When i checked t

  • Save Tiff to jpeg

    Help , I am using CS2 and the tiff files that I have been working on I want to convert to jpeg format , I select "save as" but  when the box opens I do not have an option to save as a jpeg all other relevent files seem to be there but no jpeg option,

  • New PowerBook Ti User Wants Input on BEST Carrying Case

    Just got a beautiful 15-inch Titanium, hardly used! I'm so excited, but have become quickly confused about choosing a PowerBook Case and additional accessories. This is my first notebook, so every case, stand, pad, skin, protector I read about sounds