How to show colors from servlet

Greetings
Please give me a example of how to show color baground and how to show buttons and list objects from servlets.
Thanks in advance

Here is the code sample:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class ServletSample extends HttpServlet {
  public void service(HttpServletRequest request, HttpServletResponse response)
   throws ServletException, IOException {
    PrintWriter pw = response.getWriter();
    pw.println("<html>");
    pw.println("<head>");
    pw.println("</head>");
    //set background color   
    pw.println("<body bgcolor="#99cccc">");
    //list object?
    ServletContext context = getServletContext();
    pw.println(context.getRealPath("/."));
    //create a submit button   
    pw.println("<button type=\"submit\">A Submit Button</button>");
    pw.println("</body>");
    pw.println("</html>");
}I recommand to take a tutorial or a book on Servlet

Similar Messages

  • How to show rss from other sites on my site?

    how to show rss from other sites on my site?
    i'd like to have a window on my site that shows rss from
    another site
    (their content in a window on my site)
    thanks
    lenny

    What version of DW do you have. The later versions have RSS
    script generators (I believe) for consuming feeds. Otherwise, you
    can use 3rd party sites to generate the code, or you can use a
    server side scripting language to consume the feeds.

  • How to send mail from servlets

    m having troubles sending mail from servlets...
    how do you use the SimpleMailUser object needed in the session?
    a sample code on this would be of great help, thanks!

    <html>
    <body bgcolor="white">
    <font size=5 color="black">
    <%@ page import="javax.servlet.http.HttpUtils" %>
    <%@ page import="java.util.*" %>
    <%@ page import = "java.sql.*" %>
    <%@ page import = "java.io.*" %>
    <%@ page import= "sun.net.smtp.SmtpClient" %>
    <%
         String from,to,subject,msgbody,serverName;
         try
    from = request.getParameterValues("from")[0];
    to = request.getParameterValues("to")[0];
    subject = request.getParameterValues("subject")[0];
    msgbody = request.getParameterValues("msgbody")[0];
    serverName = request.getParameterValues("server")[0];
         catch (Exception e)          // Generally Speaking, an Error getting one of these
                                       // Values means that it wasnt passed in; inform the user
              out.println("You must call this JSP from this ");
              out.println("<A href=\"FormMail.htm\"> form</A>.<BR>");
              out.flush();return;
    %>
    Hold On A Moment while I try to Send Your Mail... <BR>
    <%
         out.flush();
         // Here are the real guts of the mail sending
         try
         sun.net.smtp.SmtpClient sm = new sun.net.smtp.SmtpClient(serverName);
         sm.from(from);
         sm.to(to);
         PrintStream msg = sm.startMessage();
         msg.println("To: ");     // Note dont use + for Performance
         msg.println(to);
         msg.println("Subject: ");
         msg.println(subject);
         msg.println();
         msg.println(msgbody);
         msg.println("==============");
         msg.print("This mail brought to you by JSP MAIL..from a user at IP ");
         msg.println(request.getRemoteHost());
         sm.closeServer();
         out.println("Your Mail Has Been Sent!");
         catch (Exception e)
              out.println("The mail couldn't be sent, probably because the mailhost wasnt set correctly.<BR> ");
              out.println("The error message I am getting is: ");
              out.println(e.getMessage());
    %>
    <BR>
    <BR>
    Click here to send another!

  • How to show details from web part as pop up window

    Hello
    I designed few web pages in SharePoint Designer 2010 and trying to customize it. I have a XSLTListView web part that is displaying filtered data from the external SQL database. When user choses the item from this list, I need it to show in the new pop
    up window. I can't seem to find the way to do it. Saw multiple references to use SP.UI.ModalDialog.ShowPopupDialog(url), but I don't know how and where to incorporate it, since there is no place in the page where it actually specifies that url
    of the page that I need to show as pop up.
    Below there is a code for the XsltListWebPart, where I'm hoping I could make changes to make it pop up (it seems that this is the part that is calling the display details form). The form that I'd like to pop up is DispForm.aspx
    <script>
    function showpreview<xsl:value-of select="$ViewCounter" />(o) {
    count = 1;
    for(i = 0; i &lt; o.childNodes.length; i++)
    var child = o.childNodes[i];
    if (child.style.display == &quot;none&quot; &amp;&amp; child.tagName == &quot;DIV&quot;)
    f = document.getElementById(&quot;n&quot; + count + &quot;<xsl:value-of select="$WPQ" />&quot;);
    f.innerHTML = unescape(child.innerHTML) + &apos;&#160;&apos;;
    count ++;
    </script>
    <div id="previewpaneerror{$ViewCounter}" style="width: 801px"></div>
    <table cellspacing="0" cellpadding="0" border="0" id="previewpanetable{$ViewCounter}" dir="{List/@Direction}">
    <xsl:choose>
    <xsl:when test="not($dvt_RowCount=0)">
    <tr>
    <td valign="top" style="width: 186px">
    <div class="ms-ppleft" style="width: 100px">
    <table cellspacing="0" cellpadding="0" border="0" style="width: 122%">
    <xsl:apply-templates select="." mode="RenderView"/>
    </table>
    </div>
    </td>
    <td valign="top">
    <div id="preview1{generate-id()}" class="style2" style="width: 690px; margin-left: 30px;">
    <table border="0" cellpadding="0" cellspacing="0">
    <xsl:for-each select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
    <tr>
    <td nowrap="nowrap" valign="top" class="ms-formlabel" style="width: 143px">
    <nobr>
    <xsl:value-of select="@DisplayName"/>
    </nobr>
    </td>
    <td valign="top" class="ms-formbody" id="n{position()}{$WPQ}" style="width: 370px">
    </td>
    </tr>
    </xsl:for-each>
    </table>
    </div>
    </td>
    </tr>
    </xsl:when>
    <xsl:otherwise>
    <tr>
    <td class="ms-vb">
    <table class="ms-summarycustombody" cellpadding="0" cellspacing="0" border="0">
    <xsl:call-template name="EmptyTemplate" />
    </table>
    </td>
    </tr>
    <tr>
    <td height="5">
    <img src="/_layouts/images/blank.gif" width="1" height="5" alt="" />
    </td>
    </tr>
    </xsl:otherwise>
    </xsl:choose>
    </table>
    </xsl:template>
    Alla Sanders

    Hi Alla,
    You can show details from web part as pop up window using JavaScript with SP.UI.ModalDialog.ShowPopupDialog(url). Here is a demo you can refer to:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    var obj1=$("a[id='forum0-NewPostLink']");
    url="http://sp13"+obj1.attr("href");
    //alert(url);
    obj1.removeAttr("href");
    obj1.click(function(){
    openDialogBox(url);
    function openDialogBox(url) {
    var pageUrl=url;
    var title="New Discussion";
    SP.UI.ModalDialog.showModalDialog(
    url: pageUrl,
    autoSize: true,
    title: title,
    dialogReturnValueCallback: function (result){
    if(result== SP.UI.DialogResult.OK){
    //refresh parent window
    window.location.href=window.location.href;
    </script>
    Reference:
    https://social.technet.microsoft.com/Forums/en-US/f18062ed-2e17-440e-8e00-2904f5316802/discussion-board-forum-opens-in-other-page?forum=sharepointdevel
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to show result from process in popup page?

    <br>We want to use one popup page for many information in application. So we want to make the following thing.
    <br>We want to execute process and show result in popup page (through hidden parameter-"P2_MESSAGE").
    <br>We also assign title of region on that popup page through "P2_TITLE".
    <br>What I do not know is how to show popup after process-branch problem.
    <br>Process is executed from one button. Button is located on page "28" and popup page is "2"
    <br>Code for javascript should be like:
    <br>
    javascript:popupURL('f?p=&APP_ID.:2:&APP_SESSION.::::P2_TITLE,P2_MESSAGE:'+'status '+','+'&P28_X.')<br>THX

    I have found in one thread:
    <br>
    <br>1) create an application item APP_ONLOAD (of course you can choose your own name)
    <br>2) create an application level before footer computation on APP_ONLOAD to clear the item after the page is generated.
    <br>3) place &APP_ONLOAD. (dot also) in the on load property of the page.
    <br>4) fill the APP_ONLOAD using :APP_ONLOAD := 'onload="your own javascript to call a popup window;"' in the plsql of an after On Submit - After Computations and Validations process (type PL/SQL anonymous block)
    Fill the when button pressed property of the process with the button you want to use to show the popup.
    <br>5) create a branch to branch to the current page (or a other if you wish)
    <br>
    Looks OK but when I create in PL/SQL js with "&" signe, which I use for filling some hidden values in popup page I get error.
    begin
      is_test_ok (1, :P28_X);
      :APP_ONLOAD := 'onload="javascript:popupHeightURL(''f?p=&APP_ID.:2:&APP_SESSION.::::P2_TITLE,P2_MESSAGE:''+''statusu testova''+'','+''&P28_X.'')"';
    end;<br>Should I use ASCII codes for that or what? Any example please!
    <br>THX

  • How to show popup from backing bean code immediately?

    Hi,
    I'm using JDeveloper 11.1.2.1.0 and have problems with showing popups. I have a button with an action on my page and a method in backing bean.
    I want to rise up few popups from this method in backing bean (for example just an anouncement that something will happen) or a dialog
    (for example a question if you want to continue).
    I understand how to get a dialog response to deal with it in code, but the problem is that the popup doesn't show up immediately, but only when
    this method called on button finishes. I'd like to handle dialog responses in the middle of the action and then the code to continue with the execution.
    Here is my backing bean code:
    private RichPopup popup;
    public String test() {
    //Some code...
    RichPopup.PopupHints hints = new RichPopup.PopupHints();
    popup.show(hints);
    //Here is the place for code which I want to be executed after popup closes,
    //but is executed before the popup shows...
    return null;
    And here is part of my jssf:
    <af:commandButton text="Test" id="cb1"
    action="#{popupBean.test}"/>
    <af:popup id="popup" binding="#{popupBean.popup}">
    <af:dialog id="dialog" type="yesNo"
    title="Dialog"
    dialogListener="#{popupBean.onDialogAction}"
    binding="#{popupBean.dialog}" clientComponent="true">
    <af:outputText value="Do you want to continue?" id="ot1"/>
    <af:clientListener method="onDialogCancel" type="dialog"/>
    <af:serverListener type="DialogCancelHandlerEvent" method="#{popupBean.onDialogCancel}"/>
    </af:dialog>
    </af:popup>
    Can someone give me some answer how to show the popup from backing bean code immediately?
    Thanks in advance,
    Tina

    If you want to execute code after popup closes, then put this code in PopupCanceledListener or in DialogListener(you can't block method execution).
    Dario

  • How to show progress - Applet - Servlet

    Hi,
    I am new to applet-servlet communication. I have to show the progress at the applet front-end using a JProgressBar for a task being done at the servlet end. I request the gurus on the forum to post any example code for the above situation.

    Hi,
    U will have to use the SwingWorker to popup the JProgressBar, but in here i dont think u will be getting any input from servlet giving the job completed, if u are using jdk1.4.1 u can use
    setIndeterminate(true);
    I am attaching 2 methods below which i use to display the JProgressBar
    Method long task is where i actually call the servlet and in method buildData i create the URLConnection etc
    //appletData must implement Serializable
    public void buildData(Object appletData)throws Exception
    //define servlet name here
    ObjectInputStream inputFromServlet = null;
    URL          studentDBservlet = new URL("MyServlet");
    URLConnection servletConnection = studentDBservlet.openConnection();
    servletConnection.setDoInput(true);
    servletConnection.setDoOutput(true);
    servletConnection.setUseCaches(false);
    servletConnection.setRequestProperty("Content-Type", "application/octet-stream");
    ObjectOutputStream outputToServlet =
              new ObjectOutputStream(servletConnection.getOutputStream());
         // serialize the object
         if (!SwingUtilities.isEventDispatchThread())
              outputToServlet.writeObject(input);
              outputToServlet.flush();
              outputToServlet.close();
              inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
         else
              inputFromServlet = longTask(servletConnection, outputToServlet, appletData);
    private ObjectInputStream longTask(final URLConnection servletConnection,
                        final ObjectOutputStream outputToServlet,
                        final Object appletData)
         final JDialog dialog = new JDialog(PlanApplet.appletFrame, "Please Wait", true);
    isProcess = true;
         MapsPanel panel = new MapsPanel();
         panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
         //MapsLabel label = new MapsLabel("Work in process....");
    //label.setFont(Constant.bigFont);
         //label.setPreferredSize(new Dimension(230, 40));
         JProgressBar progressBar = new JProgressBar();
         progressBar.setIndeterminate(true);
         progressBar.setPreferredSize(new Dimension(140, 30));
    // final JugglerLabel jugLabel = new JugglerLabel();
    // jugLabel.startAnimation();
    // panel.setPreferredSize(new Dimension(175, 175));
         MapsPanel progressPanel = new MapsPanel(new FlowLayout(FlowLayout.CENTER, 5, 5));
         progressPanel.setPreferredSize(new Dimension(140, 80));
    progressPanel.add(progressBar);
    //     progressPanel.add(jugLabel);
    //     panel.add(Box.createVerticalStrut(5));
         //panel.add(label);
         panel.add(Box.createVerticalStrut(15));
         panel.add(progressPanel);
         panel.add(Box.createVerticalStrut(15));
         dialog.setSize(150, 115);
         dialog.setResizable(false);
    //     dialog.getContentPane().add(jugLabel);
    dialog.getContentPane().add(panel);
    dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
    dialog.setLocation(ScreenSize.getDialogLocation(dialog));
    //      final javax.swing.Timer popupTimer = new javax.swing.Timer(2000, new TimerListener(dialog));
         final SwingWorker worker = new SwingWorker()
         public Object construct()
              try
              PlanApplet.applet.setCursor(new Cursor(Cursor.WAIT_CURSOR));
              outputToServlet.writeObject(appletData);
              outputToServlet.flush();
              outputToServlet.close();
              return new ObjectInputStream(servletConnection.getInputStream());
              catch (Exception exc)
              return null;
         public void finished()
    // jugLabel.stopAnimation();
              dialog.dispose();
    Toolkit.getDefaultToolkit().beep();
    isProcess = false;
              LogWriter.out("the long process is finished", LogWriter.BASIC);
         worker.start();
    // popupTimer.start();
         //System.out.println("Process complete");
         dialog.show();
    // while(isProcess)
         return (ObjectInputStream) worker.getValue();

  • How to make color from greyscale images?

    I have got a few photos into greyscale. How can I make them back to any color I want? thanks,

    You can use the Smart Brush tool, the one with the gears, select color from the drop-down, and paint.
    You can make selections of various objects, place a Hue/saturation adjustment layer above each selection, clip the adjustment layer to the selection, and in the H/S layer tick the colorize box. Adjust the sliders to suit.
    If you want more targeted guidance, post a representative file here for us to look at.

  • How to: DNG colors from pentax camera are completely different in camera raw compared to pentax soft

    Hi all, i have a problem.
    I always used adobe camera raw to manage RAW files. I find it really fast and friendly compared to many other programs (i mean lightroom, pentax digital camera utility, DxO optics pro, Silkypix, etc.). It has no rivals, on my macbook pro it is absolutely faster than others.
    BUT i found a lot of differences comparing colors (not just tone, but definition inside an object with similar colors) from a DNG using camera raw vs pentax digital camera utility 4. It is a know problem by pentax people. You can check (without the camera) the problem here (see the colorcheker chart): http://www.dpreview.com/reviews/pentaxkx/page14.asp
    I can post examples of what i mean speaking of "definition inside an object with similar colors"...
    I always use the "embedded" camera profile in camera raw, finding it more similar to the pentax software. The adobe standard is really different.
    Is there a way i can bypass this issue? using pentax digital software is really boring…it's unfriendly, SLOW, with bad light adjustments and interface.
    I tried opening the DNG with pentax software and converting it to tiff: the colors are ok, but you lose a lot adjusting light etc.
    thank you all

    > I don't know anything, and haven't read anything, about the unique characteristics of Pentax DNG files.
    firmware in cameras that can create raw files in .DNG format (Pentax, Samsung, Ricoh, Leica) will write so called DNG profile in those raw files (see Sandy's comments) - those profiles are not identical to what Adobe creates to use w/ ACR/LR, but they also can be used by Adobe raw converters (you will get a little different colors)... you can extract those profiles from native DNG raw files for example using Adobe DNG profile editor... in addition, Pentax cameras (modern) can create raw files either in their own PEF format or in DNG format and Pentax suppied software (DCU) can in fact create DNG files from PEF files and unlike Adobe DNG converter DCU will do that w/o discarding any information and it will write Pentax DNG profile in those converted DNG files.

  • How to call JSp from Servlet??

    Hello,
    I want to call JSP page from servlet.I am using Visual Age For java 3.4. What is wrong in my code??
    if (userExists) {
    f.setErrors("userName","Duplicate User: Try a different username");
    getServletConfig().getServletContext().
    getRequestDispatcher("/jsp/forms/retry.jsp").
    forward(request, response);
    I am not able to get the o/p. Pls help.

    I can't see anything obvious, but did you take any steps towards doing output before this code (like openning an output stream)?
    Not clear what f.setErrors does - presumably stuffs the error message in an attribute of the request.

  • How to execute package from Servlet

    Hi all...
    I have set of class files in a package called iDen_parser.
    My main class name is jump_calc..
    String[] cmd={"cmd.exe" , "/c" ,"java iden_parser.jump_calc","d:/test.log","d:/test.txt"};
    Runtime runtime = Runtime.getRuntime();
    process = runtime.exec(cmd);
    I am not getting any output...
    I have placed the folder Iden_parser in current working directory itself.
    While I when I am trying out simple program HelloWorldApp, it's working out fine.
    String[] cmd={"cmd.exe" , "/c" ,"java HelloWorldApp};
    Runtime runtime = Runtime.getRuntime();
    process = runtime.exec(cmd);
    So anyone ,pls help me out in executing the pakage from servlets
    Thnk
    VIjay

    Hi...
    I am placing my code here
    String path1 ="cmd /c dir /d";
    String[] cmd={"cmd.exe" , "/c" ,"java
    java HelloWorldApp"};
    String[] path ={"cmd.exe",null, "
    java iden_parser.jump_calc", "d:/test.log","
    d:/mygod.txt"};
    Replace....
    String[] path ={"java iden_parser.jump_calc", "d:/test.log","
    d:/mygod.txt"};
    Runtime runtime = Runtime.getRuntime();
    Process process = null;
    try {
    process = runtime.exec(path);
    Replace....
    process = runtime.exec(path, null, "the dir from where u call the stand alone program on command prompt");
    outHTML.println("PAth" +path);
    BufferedReader in =
    new BufferedReader(new
    er(new InputStreamReader(process.getInputStream()));
    // Read and print the output
    String line = null;
    outHTML.println("Something had happen");
    if((line = in.readLine()) == null)
    outHTML.println("Empty");
    while ((line = in.readLine()) != null) {
    outHTML.println(line);
    catch (Exception e) {
    outHTML.println("Did not execute the command
    command " );
    //out.println("Problem with finger: " +
    // ServletUtils.getStackTraceAsString(e));

  • Photosmart 8750 - how to avoid white edges on print? And how to match colors from monitor to print?

    Hi all! I´m new here so I hope I ask this in the right forum. Please advice me if this should be in another sub-forum..
    First: The white edges around my photos when printed:
    I can´t figure out how to avoid the white edges when I print my photos.
    If I print in A3 size (or any other size) there´s always the white edges around my photos on the print, and it´s really annoying.
    I make the size in Photoshop (CS4 extended) so that the photo matches the size of the printing paper, but still it gets adjusted when printing so I get the white edges.
    I either print directly from PS or from Windows Photoviewer. (I have Windows 7).
    In PS in the printing dialog box it says Scale to fit media, when I tick this and also have the Show Paper White ticked, it appears that the photo goes exactly as the size is set, but then I can see a thin white edge on top of it, illustrating that the photo will be printed with a white edge on top. If I untick the Scale to fit media, the photo appears to be cut a great deal before printed, so this will destroy my image.
    I usually print from Windows Photoviewer as the colours in PS turns out more different than when saved and printed from Windows. (My next question).  In Windows Photoviewer I only have the option Fit to frame, but in the preview it doesn´t look like any of those two options will give a borderless print.
    In the printers dialoge box for the Paper/Quality I only use the option for A3 HP glossy photopaper, but I see there are other options such as Photo without edges A3, but then the size says 423x303mm which is slightly bigger than the size of the photo.
    Also there´s a box to tick under it, Print without edges and under it Automatic fit without edges.
    Is it something here I should tick or untick?
    What options should I use to get it to print and fill the whole paper?
    Second: How to get the same colours on my print as it shows on my monitor?
    I have tried figuring out this, but I gave up. Though I know there´s something about the Profile´s, just not how to set them..
    As already said, the colours looks quite different when printed directly from PS than saved as .jpg and printed from Windows Photoviewer. In colours the print is closer to the actual colours when printed from Windows than from PS, but BW photos is quite far from as seen on the monitor when printed, from both of them.
    Instead of this nice warm "brownish" hue seen on my monitor, it´s printed with a greenish hue. Really annoying as I spend a lot of time working on my photos to get them as I like.
    In the printer´s dialog box (in Windows) I have disabled the ICM colour management.
    In PS dialog box I´m sure there´s something to do different under the Color Management, but I don´t know what.
    Also there´s probably something different in my monitor´s profile that differs from the printer and PS?
    Anyone who can help with either one or both of my problems??
    That would be highly appreciated so thanks so much in advance!

    HI Lisa91,
    Here is a link to a post about the same problem you are having and the same printer. You may find the posts helpful as some were able to find a solution. Post number 6 and number 12 specifically have found solutions that worked for them. Hope this helps some.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • How to show image from within a symbol

    Howdy,
    EA, Win7
    I've imported an img on to my stage, converted it to a symbol (and unchecked autoplay).
    Then I deleted the img from the stage, the symbol w/img still remains in the Assets > Symbols section.
    What I want to do now is simply have the img (that's inside the symbol) appear when I click on a button/text.
    Is this possible? I've tried...
    sym.getSymbol("image").show();       where "image" is the name of the symbol
    but this doesn't work. What am I missing?
    Thanks for any help,
    R

    Thanks resdesign,
    Looked over the Edge API and it's kinda vague on how to interact with symbols. There's nothing that specifically says 'A symbol must have an instance on the main timelline in order to interact with it'. The API seems to make the assumption that that people automatically know that. Yet when I see something like the following from the Edge JSAPI...
    Access a symbol timeline from the main stage
    To access the timeline of a symbol from the main stage, use the following in your event:
    // Play the symbol timeline sym.getSymbol("symbolName").play();
    ...it makes me think that I can just call up the symbol on to the the main stage without having an instance of the symbol already on the stage/timeline.
    Would be curious to know where in the API it mentions that in order to interact with symbols they must have an instance on the main timeline/stage.
    Cheers,
    R

  • How to show PDFs from a shared library?

    Hi,
    is it possible to share also PDFs from another library?
    I am sharing my library from my own itunes account. It also contains PDFs and the whole library is shared. On the account of my wife my shared library shows up with all the music etc. However, it does not show the PDFs. Is this feature only available for eboks bought from the itunes store? How can I share my PDFs with iTunes?
    Thanks in advance for any help on this!
    Filip

    This DLL is not a standard Windows DLL but a .Net Assembly. You need to use the .Net operators in LabVIEW to access it. Put the DLL in your LabVIEW project directory, drop a .Net contstructor node onto your diagram and then in the dialog that opens select the Browse button and point it to your DLL.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to show value from another Object as Default value from Prompt

    Hi,
       I am creating a web Report with the following filter :
    Enrollment Date FROM :   01/01/2011 12:00:00 AM  (Default 1st day of previous month)
    Enrollment Date TO :     01/02/2010 12:00:00 AM    (Default: 1st day of current month)
    There are values for Enrollment date from 01/01/ 2004 till today but user want to have a default value as in brackets above.
    When I select prompt option for 'Enrollment Date' all the dates (from 01/01/ 2004 till today) are shown as usual. Database is Oracle and I am able to create Objects in Universe that show the default required dates, but not sure how I use them in the prompt. Is there any way or workaround?
    Nanda Kishore.

    If i Understand Correctly you requirement you want to set a default value for date in prompt but user should have the ability to change these values if the want ?
    In order to implement this you can create a Object in Universe with definition
    Date Choice - @prompt('Default or Custom Date','A',{'Default','Custom'},mono,constrained)
    Then use this along with the date prompt in query filter as follows.
          Set Data choice =Default
            Date1= Default Date
            and
            Date2= Default Date
      OR
           Set Date Choice=Custom
            Date1 = Prompt
            and
            Date2= Prompt

Maybe you are looking for

  • No sound comes out of any browser...

    this just recently happened, i came on yesterday and the usual sites i go to (youtube, google video, etc...) lost all their sound! i don't know how to explain it, i have sound for itunes, quicktime, and the alerts i get from instant messages... just,

  • Get my Root's Hard Drive name through CLI (or Applescript)

    How do I retrieve the current name of my hard drive through the command line? It needs to be in a way that will allow me to easily parse it. I first tried this: $ ls -l /Volumes/ | grep -E '> /$' lrwxr-xr-x 1 root admin 1 Feb 2 17:25 demoive HD -> /

  • Changing display of charachteristic based on a condition

    Hi all, i have a particular requirement for diplaying the material infobject in a query output. The user wants the display of the material based on what the material is. If the Material = A, then it shoud be displayed as "XXXX" and if Material = B it

  • TimesTen Sessions at Oracle Openworld 2014 - please join us

    If you are attending Oracle Openworld this year then you might want to attend one or more of the TimesTen sessions. You can find details of them here:  TimesTen sessions at Oracle OpenWorld 2014 You can also drop by the TimesTen DEMOgrounds booth in

  • One-many-many relationship

    hi i am create [b]master-details-details(1-M-M relationship) forms in D2K block are department -master block dept_id primary key dept_name sec(section)-details block sec_id primary key sec_name dept_id foreign key emp_det -details block emp_id primar