Is it possible to use HTTP GET navigation links?

Hi,
I'm learing JSF technology, I found it very powerful.
But I'm not able to understand how generate navigation links that use HTTP GET method. Do anyone Help me?
It seems impossilbe, but I don't want believe that it is true.
Building a web site using only HTTP POST methods is out of the W3C for Web Site suggestions.
A "good" serach engine for example dosen't take in cosideration HTTP POST Links.
I hope that someone tell me how generate using JSF HTTP GET links for navigation.
Bye

Balusc, thanks for you help.
The blog is very good!
I make help classe (FacesUtils) who you show in blog, but not find the property on request context map, but I use the param variable on faces-config.xml and Request Managed Bean and all work fine.
thanks.
I'm wrong where I think the Request Managed Bean is create for each request on all pages, the Request Managed Bean is create only on requeste page reference its.
Parte of my faces-config where I put the Request Managed Bean:
<managed-bean>
          <managed-bean-name>uuidParamManager</managed-bean-name>
          <managed-bean-class>
               br.srv.full.virtual.managers.request.UUIDParamManager
          </managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
               <managed-property>
               <property-name>loginManager</property-name>
               <property-class>
                    br.srv.full.virtual.managers.LoginManager
               </property-class>
               <value>#{loginManager}</value>
          </managed-property>
          <managed-property>
               <property-name>uuid</property-name>
               <property-class>java.lang.String</property-class>
               <value>#{param.UUID}</value>
          </managed-property>
     </managed-bean>Where UUIDParamManager is create on request its receive first the LoginManager Instance, and later its receive the UUID param.
I put the prototype of project on virtual.full.srv.br.
thanks.

Similar Messages

  • [CS3 JS SDK] Possible to Use HTTP URLs for Links?

    I am attempting to use JavaScript to implement a connector from CS3 (InDesign/InCopy in my case) to our content management system. Our CMS provides an HTTP-based API. By using the HttpConnection object (from the Bridge code, see posts on "httpwebaccess library") I can access our repository using HTTP URLs and, for example, get an InDesign document or INX file (and the UI support in CS3 scripting makes it possible for me to build all the UI components I need without having to write a true plugin).
    However, what I *can't* seem to do is create Link objects that use a URL, rather than a File, to access resources.
    My goal is to be able to store in our repository InDesign documents that use URLs to other resources in the repository for links (e.g., to graphics and InCopy articles).
    However, as far as I can tell from the scripting documentation and my own experiments, the URL property on Link is read-only in JavaScript (even though the scripting API HTML indicates it's a read/write property) and Link instances can only be constructed using File objects.
    My question: have I missed some trick in the scripting API (or elsewhere) that would allow me to create links that use URLs instead of files (and having done so would InDesign resolve those URLs?)? Our repository does support WebDAV, so that might be an option, but it would depend on mounting WebDAV services in consistent places on client machines, which is dicey at best, given the weak nature of the WebDAV clients on both Windows and OS X).
    Or are my only options to either copy linked resources to the client's local file system (or a shared network drive) or implement a plugin that implements my desired behavior for links?
    And if the answer is a plugin, will that even work?
    This is in the context of CS3. Has the Link mechanism changed at all in CS4 such that I could do what I want in CS4 where I cannot in CS3?
    Thanks,
    Eliot

    Hi,
    It is not possible to use HTTP URLS in CS3. You will have to create a plug-in to use Custom Data Links.
    I think it is possible to use HTTP URLs in CS4 as per the User Guide.
    Regards,
    Anderson

  • Retrieve data from a non-peoplesoft application using HTTP Get

    I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
    Currently we are on 8.51.10 Tools...
    If there is any better way .. please let me know ..

    I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
    There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
    BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
    PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
    Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
    +/* HTTP */+
    +/*******************************************************************************/+
    Local Message &msgHTTP;
    Local Message &msgResult;
    +&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
    +&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
    +&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
    +/* check to see if the file is wrapped */+
    +&strAllLines = &msgResult.GenXMLString();+
    +&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
    +/*******************************************************************************/+
    Edited by: Maher on Mar 20, 2012 3:28 PM

  • Is it possible to use HTTP adapter?

    Hi All,
    interface will be trigged by ECC to run once a day. The purpose of this interface is to update ECC exchange rates with the exchange rates file provided by the Central Bank of Brazil.
    The file is available in the web site: http://www. XXXX and  its name changes depending on the date.
    The format is YYYYMMDD.csv. Example: 20100419.csv
    The scenario will be Abap proxy <-> PI <-> website (Http / soapu2026 whatever) (Syncronous as the date must be sent to build the correct filename).
    My main question is: how can I pick up this csv file from the website? Is it possible to use HTTP adapter?
    Thanks,
    Satya Kumar

    Hi ,
    i am not sure about this,i wolukd prefer developing JAVA Proxy or File Adapter . try this code it read the data from website, try in you stand alone application,it is able to read or not.
    you will face two problems,you have to convert CSC file to XML it is not possible in HTTP Adapter,
    import java.lang.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    class URL2AC
            public static void main(String args[]) {
           try {        
              URL url = new URL("http://www.XXXXXXX.com/raj.txt");
              URLConnection uc = url.openConnection();
              BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
              while (in.readLine()!=null)
                   System.out.println(in.readLine());
           catch(Exception e) {
              e.printStackTrace();
    Regards,
    Raj

  • Possible to use http for web authentication?

    Hi All,
    We are using WLC 2500 and AP 1041 with web authentication. Due to we do not have the trusted/public certificate and want to get rid of the certificate warning during the user login. I would like to ask if this is possible to change the web authentication method from HTTPS to HTTP. Thanks.
    Rgds,
    Jacky

    Hi Jacky,
    Yes u can... But there is a  catch..
    1) If ur running WLC code below 7.2.X then the only option is to disable HTTPS globally (Meaning HTTPS management access disabled only HTTP).
    2) If you are running 7.2.X and above, then you can use HTTP for client webauth and then HTTPS for Management access.
    The command for disabling https for web authetication would be:-
    config network web-auth secureweb disable
    Hope that helps
    Regards
    Najaf
    Please rate when applicable or helpful !!!

  • Retrieving image using HTTP GET method?

    I want to send a image to a client browser. My servlet's HTML response to the client browser contains the <img src="..."> tag. The client browser uses the HTTP GET method to call my servlet's DoGet method, and I must transfer the desired image to the client browser in this DoGet method at servlet. Now, the problem is that, what should be the source URL in the image(img) tag that is present in my servlet response to client?
    For eg: the img tag should be like this
    <img src="http://<hostname>:<portname>/<servletname>/...?[var1=value1]">
    Now at the ellipsis that you see in the above source URI, I want to write the type of image file (something.jpg) ,so the browser knows what kind of image file it is.
    To sum it up...how to get the image using DoGet method and <img src="...">
    Regards,
    Amit

    To give you a better idea on what's happening, read the RFC:
    (HTTP/1.0) http://ftp.ics.uci.edu/pub/ietf/http/rfc1945.html
    (HTTP/1.1 - compressed data)
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
    If you for example execute the command by telnetting to port 80 on a server:
    GET http://somewhere.com/some.jpg HTTP/1.0<cr>
    <cr>You will get this header:
    Trying 217.22.64.73...
    Connected to xxx.xxx.xxx
    Escape character is '^]'.
    HTTP/1.1 200 OK
    Date: Fri, 01 Aug 2003 12:36:30 GMT
    Server: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510
    Last-Modified: Tue, 15 Jul 2003 03:11:52 GMT
    ETag: "268de8-2fc4-3f1370f8"
    Accept-Ranges: bytes
    Content-Length: 12228
    Connection: close
    Content-Type: image/jpegWatch the last part, that's what the setContentType does, normally the content-type defaults to text/html in a webserver.
    A webserver usually maintains a list of file extensions by which it will determine the correct MIME type to emit, when a resource is retrieved.
    The browser reads the header, and decides what to do with it, in combination with (X)HTML markup.
    Greets.

  • Is it possible to use HTTPS in HTTP recv adapter using Address type as URL

    Hi All,
    If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can you please guide me what are the steps need to be done.
    Address type is a parameter in HTTP adapter setup .
    Regards,
    Reddy

    Use the below code to get the reference of EntityManagerImpl and get the reference of Session from EntityManagerImpl and then you can call the Stored Procedure.
    private EntityManagerImpl emImpl;
    emImpl = (EntityManagerImpl)Persistence. createEntityManagerFactory("TFDModel").createEntityManager();
    Session session= emImpl.getActiveSession();
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("CONVERT_FEET_TO_METERs");
    call.addNamedInOutputArgumentValue(
    "LENGTH", // procedure parameter name
    new Integer(100), // in argument value
    "LENGTH", // out argument field name
    Integer.class // Java type corresponding to type returned by procedure
    ValueReadQuery query = new ValueReadQuery();
    query.setCall(call);
    Integer metricLength = (Integer) session.executeQuery(query);
    Regards,
    Vinay

  • ACE keep probing real servers using "https get 302"

    Hi all,
    I got one problem with cisco ACE in my company. Currently, two ACE appliances are working as HA redundancy. Previously I enabled some https and http probing using get 302 for some servers and services. But then I was told to remove all https or http probing, and instead use tcp port 443 and 80. After that, one of the serverfarm (server groups) is receiving https get 302 and I already checked in the monitoring and see whether there's any https probing regarding the respected real servers. But I could not find any. Even I disable all probing to that serverfarm, all the server members still receiving https get 302. Is this behavior a bug?
    The ACE version is A3(2.1). And the HA status is on standby cold. Can standby cold cause this kind of trouble?

    Hi Daniel,
    I just corrected the cert problem and made the state peer into standby hot. But still it still keep probing the get 302. And then I tried to restart both ACEs. The first step is to restart the second ACE (standby) and then switched over all context to the second one. The problem is that when I made the second one to be active, some services were not working, especially the ones with ssl terminated in ACE. I'm pretty sure that both ACEs were in sync.
    Any idea what is the problem?

  • Error 66 and error 18500 using HTTP GET control: SOLVED

    Hello, I'm new as a member and as a LabView user but I spent many hours trying to get the URL_Get_HTTP vi to play nicely with my code, and as a courtesy I thought I would post the problems I was having and the resolution(s).
    First of all, I was receiving an Error 66 every time I would attempt to make a connection.  This implies that the server terminated the connection, but I knew that this was not the case as I could connect just fine in other manners (browsers, PHP, etc)...
    1) I changed the "bytes to read" input of the "TCP Read" control residing in the middle of the "TCP Buffered Read.vi" from a constant of 1024 to 1.  I have not confirmed that this step is required and you may want to apply step #2 on its own. 
    2) I stripped the Error 66 from the "URL Get HTTP Document.vi" inbetween the "TCP Buffered Read" control and the "TCP Read Stream" control.  You can do this by disconnecting the wire, adding a "Clear Error" control on that wire, or perhaps least offensively using my attached control which selectively removes only Error 66.  You should review my control before using it, as I am a new LabView user!  If you think this is "bad form" to strip and ignore an error I would completely agree, but I'm going to classify this as a bug in the control itself, and would also point out that the 4th post of the following thread concluded the same thing.
    http://forums.ni.com/t5/LabVIEW/Can-t-read-page-containing-XML-using-GET-HTTP-Document/m-p/1191803#M... 
    3) To this point the Error 66 is no longer showing up, but now Error 18500 is, which is labeled as "undocumented" which was not very helpful.  Most people will probably not suffer from this problem, but ultimately the cause was that my URL string ended in a carriage return.  The HTTP control does not appreciate this in any way, and a simple Trim on the string before sending it resolved this issue.
    Anyway, good luck!
    Attachments:
    filter_error.vi ‏24 KB

    Try to send some valid data in COMP_CODE.
    It seems that SAP is returning some reply which is not fitting your response Schema.
    SAP Call is made and problem is in generating response document.
    Use the design console to test the view again. and try to see the XML resquest document and response document. Compare your request xml with that in design console.

  • AdfBaseEvent.preventUserInput(); possible to use before a navigation action

    Hi,
    I have a use case where I want to disable a button which invokes a taskflow. (we are having users click the button multiple times when the page doesn't move right away and getting all sorts of errors).
    It appears that the button can't simply be disabled using RC javascript because of security constraints, so I was wondering if I can use the CustomEvent.preventUserInput() functionality.
    I set up a clientListener and serverListener, but after the serverListener returns, the action tied to the button doesn't take place. How can I make programically make the navigation happen (to a task flow) in the serverListener? or make it happen some other way.
    Here's the markup for the commandButton
                         <af:commandButton text="Apply!" rendered="#{node.AppId1 != null}"
                                            action="apply_new"
                                            id="aplyBtn" clientComponent="true">
                            <af:setPropertyListener from="#{node.AppId1}" to="#{pageFlowScope.appId}"
                                                    type="action"/>
                            <af:clientListener method="keepToOneClick" type="action"/>
                            <af:serverListener type="prevention" method="#{csaStudentApplicantBean.prevention}"/>
                          </af:commandButton>Thanks for any help.

    I was looking for a solution to this myself, when I arrived here...
    Anyway, here is a solution that is tested and works:
    Add the following af:clientListener to the af:commandButton :
    <af:clientListener method="preventUserEvent" type="action"/>Then add the following JavaScript to the page:
    <af:resource type="javascript">
        function preventUserEvent(event) {
            event.preventUserInput();
    </af:resource>

  • HTTP GET for sender adapter possible ?

    I have to get XML-messages from third party webservice. I should use HTTP GET to get the data but is this possible in XI ? I mean like RFC->XI->HTTP(GET) and I would process the response from HTTP GET call.

    Hi Jari,
    For getting response from web service, you should use SOAP adapter.
    Anyways,if it for web application, you can use HTTP get in XI for synchronous communication.
    Have a look at these blogs for details -
    1. /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    2. /people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter
    Regards,
    Sunil Chandra

  • Using https protocol thru Oracle Developer 6.0

    Hi ,
    I would like to know if it is possible to use https protocol from Oracle Developer 6.0.
    we have used http protocol when using
    Show_Document() and it works fine. But when we try to use https (which our application requires - secure mode)then we get the following error:
    FRM-99999 Invalid URL sent to browser with target_BLANK.
    Full Details: unknown protocol:https
    We would appreciate any help on this problem.
    Are there any patches which would enable the use of this protocol??
    Thanks,
    Sanjay Sinha
    email:[email protected]
    null

    There are other services that may cause you trouble.
    I have had to turn off SMTP and DHCP services in the past.

  • HTTPS Get String

    Is it possible to use HTTPS (vs plain HTTP) in the HTTP GET String module?  
    I have configured my computer to connect to the Web UI itself via HTTPS, but when I try to fetch data via an embedded HTTP GET call, it returns a 404 not found error for any URL beginning with https://address.
    (I have confirmed https://address is available via browser).  It looks like maybe the HTTPS GET module does not support SSL?

    Ryan, thanks for your response.  But I think we are talking about two separate things.  You show how LabView web *server* can do HTTPS.  What I want to do is have the "HTTP GET" *client* in a WebUI fetch HTTPS data from a third party web server.  Per the WebUI documentation, this is supported:
    Can applications created using LabVIEW Web UI Builder applications communicate with non-LabVIEW web services?
    Yes, LabVIEW Web UI Builder can communicate with both LabVIEW and non-LabVIEW web services. ... With non-LabVIEW web services, the user must implement the low-level HTTP and XML programming required to call the web service and parse the XML response.
    Attached is a very simple example of a VI that works for HTTP but fails for HTTPS.  (The same URL works in a browser for both HTTP and HTTPS).  In this simple example the web server is Tomcat running on localhost.
    Attachments:
    HTTPSget1.png ‏7 KB
    HTTPSget2.png ‏12 KB
    HTTPSget3.png ‏11 KB

  • Using set/get parameters or export/import in BSP.

    Hi All,
    Is it possible to use set/get or export/import in BSP?
    We need to set/export some variables from a BADI and get/ import them in the BSP application.
    Code snippet will be of great help..
    Thanks,
    Anubhav

    Hi Anubhav,
    You can use the Export / Import statements for your requirement,
    from the BADI use EXPORT to send the variable data to a unique memory location
    with IDs
    e.g.
    *data declaration required for background processing
          DATA: WA_INDX TYPE INDX.
    **here CNAME is the variable you want to export
    EXPORT PNAME = CNAME TO DATABASE INDX(XY) FROM WA_INDX CLIENT
                SY-MANDT ID 'ZVAR1'.
    and in the BSP application use the IMPORT statement to fetch back the values
    set with the IDs above.
    IMPORT PNAME = LV_CNAME
      FROM DATABASE INDX(XY) TO WA_INDX CLIENT
      SY-MANDT ID 'ZVAR1'.
    deletes the data to save wastage of memory
      DELETE FROM DATABASE INDX(XY)
        CLIENT SY-MANDT
        ID 'ZVAR1'.
    Regards,
    Samson Rodrigues

  • Using SET GET parameters in ITS

    Hi All,
    Is it possible to use set get parameters in ITS. We want to set some parameters in a BADI and read the value in ITS Template .
    Or is there any other method to do this?
    Thanks,
    Anubhav

    Sure. In your abap program use the following code
    *  ITS macros
    INCLUDE avwrtcxm.
    GET PARAMETER ID 'YOUR_PARAMETER' FIELD SAVE_PARAMETER.
    field-set u2018~YOUR_PARAMETERu2019 1 SAVE_PARAMETER.
    field-transport.
    in the template you can now use ~YOUR_PARAMETER.
    regards,
    Klaus
    Edited by: Klaus Layer on Feb 3, 2009 5:05 PM

Maybe you are looking for

  • When syncing iphone 5 to macbook pro, photos will not sync

    when i connect my phone to my computer I get a pop up saying my camera cannot be found. what can i do to fix this? none if my photos are backed up on my comupter. Also, when i plug in headphones to my phone, i can only hear music in one ear bud. i ha

  • No address available for SVC connection!

    I am trying to create a SSLVPN connection using Cisco Anyconnect Client after entering username and password, I am getting following error message in attached screenshot. I already created a ip local pool vpnpool 192.168.60.10-192.168.60.15 mask 255.

  • How install Email account for @spray.se on N95 ?

    Have yesterday updated the software in my N95 My connectio to my email account disappeared in the action. I have only 2 choices: POP3 and IMAP4. I would need a HTTP. How do I get around?

  • Timing for 9.2.0.2a OLAP patch

    The last I heard, the 9.2.0.2a patch (that contains the enhanced Analytical Workspace manager) was to be released in January. Is this still the case, and is there an expected date in January yet?

  • Why is iCloud sending iCal invitations in German?

    I am running Lion set to English and iCal set to English. iCloud is configured for English. Why is iCloud sending iCal invitations in German???