How to make dynamic provider-url for MDB.

Hi,
          My application has an MDB that need to bind to a remote queue. The .bindigs file is created and put in a specified location. Is there any way I can specify a dynamic value for this location in the <provider-url> tag in my weblogic-ejb.xml file. This is because, in our UNIX test and prod servers, the location of the .bindings file different from what I have on my local box. I have tried like this, but it did not work.
          <provider-url>file:/%DOMAIN_DIR%/config/<provider-url>
          We always have a 'config' directory under the domain and if the domain name changes in different environments, i don't have to make any changes to my descriptor file.
          Thanks,
          Rajeev

I met a similar problem when I used the foreign JMS server. I configured the foreign server via console. I tried to subscribe a remote topic which was maintained by another WebLogic JMS server. When I built my MDB, I got the following exception. The remote JMS server name could not be resolved. Any suggection is appreciated.
          <Sep 19, 2005 6:11:56 PM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven E
          JB: SIGNIT is unable to connect to the JMS destination: jms/DCGSCatalogTopic. Th
          e Error was:
          [EJB:010196]'weblogic.jms.common.JMSException: Error creating session' Linked ex
          ception = 'weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
          r riicServer'
          weblogic.jms.common.JMSException: Error creating session
          at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
          8)
          at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1038)
          at weblogic.jms.frontend.FESession.invoke(FESession.java:2552)
          at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.jav
          a:643)
          at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.ja
          va:179)
          at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1860)
          at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1691)
          at weblogic.jms.client.JMSSession.createSubscriber(JMSSession.java:1422)
          at weblogic.ejb20.internal.JMSConnectionPoller.setUpTopicSessions(JMSCon
          nectionPoller.java:1582)
          at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSCo
          nnectionPoller.java:2009)
          at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectio
          nPoller.java:1180)
          at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling
          (JMSConnectionPoller.java:846)
          at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDr
          ivenBeanPoolInfoImpl.java:234)
          at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeplo
          yer.java:1660)
          at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1488)
          at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer
          .java:2127)
          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
          ner.java:2168)
          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
          activateContainer(SlaveDeployer.java:2503)
          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(
          SlaveDeployer.java:2421)
          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeplo
          yer.java:2138)
          at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(S
          laveDeployer.java:2237)
          at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDepl
          oyer.java:2132)
          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
          laveDeployer.java:2384)
          at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
          veDeployer.java:866)
          at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
          oyer.java:594)
          at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
          loyer.java:508)
          at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
          dler.java:25)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
          Caused by: weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
          r riicServer
          at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
          Manager.java:330)
          at weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(Disp
          atcherManager.java:380)
          at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
          6)
          ... 29 more
          Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.jms.S
          :riicServer' Resolved weblogic.jms; remaining name 'S:riicServer'
          at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
          NamingNode.java:897)
          at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
          a:230)
          at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
          ava:154)
          at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
          8)
          at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
          6)
          at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
          6)
          at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j
          ava:256)
          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
          at javax.naming.InitialContext.lookup(InitialContext.java:347)
          at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
          Manager.java:314)
          ... 31 more
          >
          <Sep 19, 2005 6:12:06 PM EDT> <Warning> <EJB> <BEA-010096> <The Message-Driven E
          JB: SIGNIT is unable to connect to the JMS destination: jms/DCGSCatalogTopic. Co
          nnection failed after 2 attempts. The MDB will attempt to reconnect every 10 sec
          onds. This log message will repeat every 600 seconds until the condition clears.
          >
          <Sep 19, 2005 6:12:06 PM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven E
          JB: SIGNIT is unable to connect to the JMS destination: jms/DCGSCatalogTopic. Th
          e Error was:
          [EJB:010196]'weblogic.jms.common.JMSException: Error creating session' Linked ex
          ception = 'weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
          r riicServer'
          weblogic.jms.common.JMSException: Error creating session
          at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
          8)
          at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1038)
          at weblogic.jms.frontend.FESession.invoke(FESession.java:2552)
          at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.jav
          a:643)
          at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.ja
          va:179)
          at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1860)
          at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1691)
          at weblogic.jms.client.JMSSession.createSubscriber(JMSSession.java:1422)
          at weblogic.ejb20.internal.JMSConnectionPoller.setUpTopicSessions(JMSCon
          nectionPoller.java:1582)
          at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSCo
          nnectionPoller.java:2009)
          at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectio
          nPoller.java:1180)
          at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoll
          er.java:978)
          at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.j
          ava:243)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
          dSubject.java:321)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
          121)
          at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
          edTrigger.java:229)
          at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
          er.java:223)
          at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:5
          0)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
          Caused by: weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
          r riicServer
          at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
          Manager.java:330)
          at weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(Disp
          atcherManager.java:380)
          at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
          6)
          ... 19 more
          Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.jms.S
          :riicServer' Resolved weblogic.jms; remaining name 'S:riicServer'
          at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
          NamingNode.java:897)
          at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
          a:230)
          at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
          ava:154)
          at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
          8)
          at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
          6)
          at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
          6)
          at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j
          ava:256)
          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
          at javax.naming.InitialContext.lookup(InitialContext.java:347)
          at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
          Manager.java:314)
          ... 21 more
          >

Similar Messages

  • How to make saved IR available for all users

    Hi,
    I've created IR and saved it to several tabs based on search conditions.
    But they're only visible for developers.
    How to make these tabs available for all end-users ?
    Does version 4.0 support this option ?
    Thank you!

    Hi
    At present this feature is not included, although I believe it may be in 4.0. Many people have provided workarounds for this. None of which I have tried. I cannot find the original thread but here is a solution from a chap called Ruud
    >
    One way to share your saved reports with others is to 'Publish' your report settings to a few intermediate tables in your application and have other users 'Import' your settings from there. The reason for using intermediate tables is so that not all your saved reports need to be 'visible' to other users (only those that you've chosen to publish).
    Basically you have available the following views and package calls that any APEX user can access:-
    - flows_030100.apex_application_pages (all application pages)
    - flows_030100.apex_application_page_ir_rpt (all saved reports - inclusing defaults and all user saved reports)
    - flows_030100.apex_application_page_ir_cond (the associated conditions/filters for above saved reports)
    - wwv_flow_api.create_worksheet_rpt (package procedure that creates a new saved report)
    - wwv_flow_api.create_worksheet_condition (package procedure that creates a condition/filter for above saved report)
    The way I've done it is that I've created 2 tables in my application schema that are straightforward clones of the 2 above views.
    CREATE TABLE user_report_settings AS SELECT * FROM flows_030100.apex_application_page_ir_rpt;
    CREATE TABLE user_report_conditions AS SELECT * FROM flows_030100.apex_application_page_ir_cond;
    ( NB. I deleted any contents that may have come across to make sure we start with a clean slate. )
    These two tables will act as my 'repository'.
    To simplify matters I've also created 2 views that look at the same APEX views.
    CREATE OR REPLACE VIEW v_report_settings AS
    SELECT r.*
    p.page_name
    FROM flows_030100.apex_application_page_ir_rpt r,
    flows_030100.apex_application_pages p
    WHERE UPPER ( r.application_name ) = <Your App Name>
    AND r.application_user 'APXWS_DEFAULT'
    AND r.session_id IS NULL
    AND p.application_id = r.application_id
    AND p.page_id = r.page_id;
    CREATE OR REPLACE VIEW v_report_conditions AS
    SELECT r.*
    p.page_name
    FROM flows_030100.apex_application_page_ir_cond r,
    flows_030100.apex_application_pages p
    WHERE UPPER ( r.application_name ) = <Your App Name>
    AND r.application_user 'APXWS_DEFAULT'
    AND p.application_id = r.application_id
    AND p.page_id = r.page_id;
    I then built 2 screens:-
    1) Publish Report Settings
    This shows 2 report regions:-
    - Region 1 - Shows a list of all your saved reports from V_REPORT_SETTINGS (filtered to only show yours)
    SELECT apex_item.checkbox ( 1, report_id ) " ",
    page_name,
    report_name
    FROM v_report_settings
    WHERE application_user = :APP_USER
    AND ( page_id = :P27_REPORT OR :P27_REPORT = 0 )
    ORDER BY page_name,
    report_name
    Each row has a checkbox to select the required settings to publish.
    The region has a button called PUBLISH (with associated process) that when pressed will copy the settings from
    V_REPORT_SETTINGS (and V_REPORT_CONDITIONS) into USER_REPORT_SETTINGS (and USER_REPORT_CONDITIONS).
    - Region 2 - Shows a list of already published reports in table USER_REPORT_SETTINGS (again filtered for your user)
    SELECT apex_item.checkbox ( 10, s.report_id ) " ",
    m.label,
    s.report_name
    FROM user_report_settings s,
    menu m
    WHERE m.page_no = s.page_id
    AND s.application_user = :APP_USER
    AND ( s.page_id = :P27_REPORT OR :P27_REPORT = 0 )
    ORDER BY m.label,
    s.report_name
    Each row has a checkbox to select a setting that you would like to delete from the repository.
    The region has a button called DELETE (with associated process) that when pressed will remove the selected
    rows from USER_REPORT_SETTINGS (and USER_REPORT_CONDITIONS).
    NB: P27_REPORT is a "Select List With Submit" to filter the required report page first.
    Table MENU is my application menu table where I store my menu/pages info.
    2) Import Report Settings
    This again shows 2 report regions:-
    - Region 1 - Shows a list of all published reports in table USER_REPORT_SETTINGS (filtered to show only other users saved reports)
    SELECT apex_item.checkbox ( 1, s.report_id ) " ",
    m.label,
    s.report_name,
    s.application_user
    FROM user_report_settings s,
    menu m
    WHERE m.page_no = s.page_id
    AND s.application_user :APP_USER
    AND ( s.page_id = :P28_REPORT OR :P28_REPORT = 0 )
    ORDER BY m.label,
    s.report_name,
    s.application_user
    Each row has a checkbox to select the setting(s) that you would like to import from the repository.
    The region has one button called IMPORT that when pressed will import the selected settings.
    It does this by using the 2 above mentioned package procedure to create a new saved report for you
    with the information form the repository. Be careful to match the right column with the right procedure
    parameter and to 'reverse' any DECODEs that the view has.
    - Region 2 - Shows a list of all your saved reports from V_REPORT_SETTINGS (filtered to only show yours)
    SELECT page_name,
    report_name
    FROM v_report_settings
    WHERE application_user = :APP_USER
    AND ( page_id = :P28_REPORT OR :P28_REPORT = 0 )
    ORDER BY page_name,
    report_name
    This is only needed to give you some feedback as to whether the import succeeded.
    A few proviso's:-
    a) I'm sure there's a better way to do all this but this works for me :-)
    b) This does not work for Computations! I have not found an API call to create computations.
    They will simply not come across into the repository.
    c) If you import the same settings twice I've made it so that the name is suffixed with (2), (3) etc.
    I did not find a way to update existing report settings. You can only create new ones.
    d) Make sure you refer to your saved reports by name, not ID, when matching APEX stored reports and the
    reports in your repository as the ID numbers may change if you re-import an application or if you
    auto-generate your screens/reports (as I do).
    Ruud
    >
    To me this is a bit too much of a hack and I personally wouldn't implement it - it's just an example to show it can be done.
    Also if you look here in the help in APEX Home > Adding Application Components > Creating Reports > Editing Interactive Reports
    ...and go to the last paragraph, you can embed predicates in the URL.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)
    Edited by: Munky on Jul 30, 2009 8:03 AM

  • How to make dynamic search items in a report?

    Hi all,
    I have two questions.
    1. How to make dynamic search (i.e without GO button) field above report to provide dynamic search by words in one field of report query?
    2. How to make similar multiply dynamic search fields on report to provide individual search by selected fields of report with refine capability (i.e any search conditions in different fields must work together as complex WHERE clause)
    Thanks in advance

    hey yuri--
    if i'm understanding your questions correctly, the easiest way to achieve the functionality you're after is to have your query criteria fields submit the page when values are entered/selected. the page should then branch back to itself using the submitted criteria in the query. because you're asking about dynamically adding in your where clause predicates, you should consider using a report region of type "SQL Query (Pl/sql Function Body Returning SQL Query)". that way you can use pl/sql to piece together your query based on the provided criteria.
    so the part of your question i'm not sure of is when your page should submit itself ("without a GO button" as you said). for your first question, it seems to be a simple matter of javascript. you want users to be able to enter search criteria into a field and have that criteria be using in the report. to facilitate that we have a few self-submitting item types such as "SelectList with Submit" and "Text Field (always submits page when Enter pressed)". for your second question, it seems that you should have a Go button for the user to indicate he's done entering in his query criteria. anyhow, that's up to you, i suppose. hopefully this response will give you the concepts you need to implement this as you'd like.
    regards,
    raj
    ps-after re-reading your post, i now realize there's a chance that you wanted users to not have to submit the page at all when filtering their result sets. if that's the case, you'd have to use javascript for that cumbersome feat. google would be a good place to go for that code.

  • How to make a portlet unvisible for another(not Owners) Users?

    Hi all,
    I (Site-Owner) have create a little Portal-Site with any portlets.
    I want to make one or two portlets(Admin-Area) unvisible for other users. But when I create a portlet as Site-Owner, then all another users can they see.
    How to make a portlet unvisible for another users?
    Regards
    Leonid Pavlov

    You can hide and show portlets of Web providers (OmniPortlet, Web Clipping, and Java portlets) on portal pages dynamically. This functionality is controlled by security managers. The PDK provides a number of security managers. For example:
    o Group security manager: The group security manager makes the portlet appear to users who are members of a specified group, while hides the portlet for those who are not members.
    o Authentication level security manager: You can use the authentication level security manager to control access to the portlets based on the user’s authentication level. For example you may hide the portlet from public users, but display it to authenticated users.
    In addition to the security managers provided by the PDK, you can build your own security managers.
    Although OmniPortlet and Web Clipping do not expose security managers through the user interface, you can apply them by editing their XML provider definition file.
    For PL/SQL portlets you can use the is_runnable method to control whether the portlet is hidden or shown.
    Peter

  • How to make a group contacts for iphone 4s, How to make a group contacts for iphone 4s

    How to make a group contacts for iphone 4s

    Or there are apps
    https://www.google.co.uk/url?sa=t&source=web&cd=3&ved=0CEEQFjAC&url=https%3A%2F% 2Fitunes.apple.com%2Fgb%2Fapp%2Ftext-2-group-fast-sms-imessage%2Fid519077434%3Fm t%3D8&ei=WCkfUc6vE8THtQavlYCoBw&usg=AFQjCNHnoWUqJ9AMYWCadVceOkq-6Ed4Vg

  • Hi can anyone tell me how to make the forms url short to the end user

    Hi,
    Im using oracle forms 11gR2 and everything is working fine, but my question in how to make the forms url short to the end user.
    For example my forms url is  " http://localhost:9001/forms/frmservlet "  now i want to modify this url as   "myweb.gov.ae"
    can anybody suggest me the possibilities to change to default forms url to our own url as mentioned in the above example.
    Thanks & Regards,
    Hari

    You would have to either -
    * edit the code pointed to by the new action attribute to
    include the form
    processing and email generation, or
    * edit the form processing script to also include the insert
    record and
    check user name scripting
    The former is probably the better procedure, since I suppose
    you'd want to
    do the check user name before sending the email.
    Unfortunately, this means
    you will have to get your hands into the code, or hire
    someone to do it for
    you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ducati1" <[email protected]> wrote in
    message
    news:gkriis$et6$[email protected]..
    > Hi guys.
    > I have a page with a form on it here.
    >
    http://www.thechallenge.net.au/superredemption.php
    > I want the data placed in the textfields within the form
    to come to me in
    > an
    > email upon submission.
    > Now normally I would action the form to use this page
    here
    >
    http://www.thechallenge.net.au/Redemptionform.txt
    > But because the action of the form is now <?php echo
    $editFormAction; ?>
    > due
    > to an insert record and check user name server behavior
    I cannot use my
    > normal
    > method.
    > Can anyone tell me how I can get around this problem?
    >

  • How to make Dynamically Shortened Text With "Show More"

    Hi there! i want to know how to make dynamically shortened text with show more or read more in my website using HTML 5 pages  or ASP.NET ?
    example like these paragraphs 
    Lorem Ipsum är en utfyllnadstext från tryck- och förlagsindustrin. Lorem ipsum har varit standard ända sedan 1500-talet, när en okänd boksättare tog att antal bokstäver och blandade dem för att göra ett provexemplar av en bok. Lorem ipsum har inte bara överlevt fem århundraden, utan även övergången till elektronisk typografi utan större förändringar. Det blev allmänt känt på 1960-talet i samband med lanseringen av Letraset-ark med avsnitt av Lorem Ipsum, och senare med mjukvaror som Aldus PageMaker.
    Det är ett välkänt faktum att läsare distraheras av läsbar text på en sida när man skall studera layouten. Poängen med Lorem Ipsum är att det ger ett normalt ordflöde, till skillnad från "Text här, Text här", och ger intryck av att vara läsbar text. Många publiseringprogram och webbutvecklare använder Lorem Ipsum som test-text, och en sökning efter "Lorem Ipsum" avslöjar många webbsidor under uteckling. Olika versioner har dykt upp under åren, ibland av olyckshändelse, ibland med flit (mer eller mindre humoristiska).
    I motsättning till vad många tror, är inte Lorem Ipsum slumvisa ord. Det har sina rötter i ett stycke klassiskt litteratur på latin från 45 år före år 0, och är alltså över 2000 år gammalt. Richard McClintock, en professor i latin på Hampden-Sydney College i Virginia, översatte ett av de mer ovanliga orden, consectetur, från ett stycke Lorem Ipsum och fann dess ursprung genom att studera användningen av dessa ord i klassisk litteratur. Lorem Ipsum kommer från styckena 1.10.32 och 1.10.33 av "de Finibus Bonorum et Malorum" (Ytterligheterna av ont och gott) av Cicero, skriven 45 före år 0. Boken är en avhandling i teorier om etik, och var väldigt populär under renäsanssen. Den inledande meningen i Lorem Ipsum, "Lorem Ipsum dolor sit amet...", kommer från stycke 1.10.32.
    Den ursprungliga Lorem Ipsum-texten från 1500-talet är återgiven nedan för de intresserade. Styckena 1.10.32 och 1.10.33 från "de Finibus Bonorum et Malorum" av Cicero hittar du också i deras originala form, åtföljda av de engelska översättningarna av H. Rackham från 1914.

    Moved to the main Dreamweaver support forum.
    There are several ways you could approach this. Here's one you might try:
    Give the first paragraph an ID, such as "first", and wrap the paragraphs you want to hide in a <div> with another ID, such as "more". Then add the following block of JavaScript just before the closing </body> tag of the page:
    <script>
    var first = document.getElementById('first'),
         more = document.getElementById('more'),
         trigger = document.createElement('span');
    trigger.id = 'trigger';
    trigger.innerHTML = 'Show less';
    first.appendChild(trigger);
    function toggleDiv() {
      var state = more.className,
           text = trigger.innerHTML;
      more.className = (state == 'open') ? 'closed' : 'open';
      trigger.innerHTML = (text == 'Show more') ? 'Show less' : 'Show more';
    toggleDiv();
    if (trigger.addEventListener) {
        trigger.addEventListener('click', toggleDiv, false);
    } else if (trigger.attachEvent) {
      trigger.attachEvent('onclick', toggleDiv);
    } else {
      trigger.onclick = toggleDiv;
    </script>
    This gets references to the "first" paragraph and the "more" <div>. It also creates a <span> with the ID "trigger" that's appended to the "first" paragraph. The rest of the script defines a function called toggleDiv(), which toggles the "more" <div> open and closed, and changes the text in the "trigger" <span>.
    You also need to create the following style rules for the various elements:
    <style>
    #trigger {
        text-decoration: underline;
        color: blue;
        cursor: pointer;
    #more {
        transition: ease-out .7s;
        overflow: hidden;
    #more p:first-child {
        margin-top: 0;
    #more.closed {
        height: 0;
        -webkit-transform: translateY(-600px);
        transform: translateY(-600px);
    #more.open {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        max-height: 600px;
    #more + p {
        margin-top: 0;
    </style>
    This solution hides the text and creates the "trigger" <span> only if JavaScript is enabled in the browser. It should work in all browsers, including Internet Explorer 8 and earlier.

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How do i find the url for my iMac

    How di I find the URL for my iMac?

    Can you explain in more detail what you mean? A URL is the address of a website - such as Apple.com or Harvard.edu. A computer will only have a URL if it has been set up as a web server and has name servers pointing to it (so that people looking for yourcomputer.com will be sent to the right place).
    Conversely, every computer has an IP address, which is numerical. If you're connected directly to your internet, you will have a public IP address (it might look like 245.46.120.30, for example). Most people connect to the internet through a router, though, which gives them a private IP address only visible within their own network (something like 192.168.1.4).
    Matt

  • How do I find the url for ical

    I had to switch from iphone to droid and now I'm attempting to sync my macbook to my new phone.  How do I find the url for iCal?

    Please see this page:
    http://help.apple.com/icloud/#mm6b1a88ad

  • How do I find the URL for a document loaded into Buzzword?

    How do I find the URL for a document loaded into Buzzword?

    What kind of document? What is Buzzword?

  • How to make a good referencing for my web site

    hi. i start with muse and would like to know how to make a good referencing for my web site; thanks for your answers...

    Google and search the forum for: SEO or Search Engine Optimisation

  • How to make warehouse field inactive for all users in all documents autom.

    Hi All,
    Can anyone pls tell me "**how to make warehouse field inactive for all users in all documents without having to do it through form setting** "for each and every user. It should be visible but inactive
    Thanks & Regards,
    Mukesh Agrawal

    Hi,
    As a work around create a warehouse SelectWH and map the mandatory acoounts as a On hold account(in chart of accounts).So there will not be any posting on this account.
    And set this warehouse as default warehouse for all users.
    So without selecting the appropriate warehouse the user can not add the document.
    I think this might resolve you issue.

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • How to make the logs captured for Z fields in ME21N/ ME22N

    Hi
    I have  devloped new tab(Screen) and added Z field in the PO header (ME21N) as per my requirement. But whenever I do changes to the perticular Z field, logs are not captured (ME21N->ENVIRONMENT-->HEADERLOG). How to make the logs captured for Z fields like standard fields. Is there any way?
    Regards
    Raj.

    HI Ranjitha
    For the data element of Z fields go to further caracteristics of tab and make change document checkbox ticked.

Maybe you are looking for