I want to use JSP EL Functinality an d write a compnenet?

Hi
can some one help me writing a componenet which evalutaes and EL using JSP EI API
Thank
sreedevi

Hi,
You should have a look at vi templates (*.vit). You can combine the
templates with sub panel technology, or with floating panels. See the
attachment. Hide the string indicator, so the look better in the sub panel.
I've put all the code in the diagram. To make things nice, put the property
nodes in sub vi's, and add error handling. Nice icons help to better
understand te code.
It isn't very difficult, but it isn't beginner level...
Regards,
Wiebe.
"TomFromELMAKO" wrote in message
news:[email protected]..
> I designed a mini VI with 4 switches and an indicator and some logical
> intelligence between the components.
>
> In my application I need this construct many times and want to avoid
> t
edious copying.
>
> Is there a way to use this VI including the graphical representation
> in an other VI? It should work like a "custom super control".
> Looking at VI controls I missed the programming code.
> If I include the VI as a window I could not handle the graphical
> positioning.
>
> I am too new with lab view to find out what to do.
[Attachment read string control main.vi, see below]
[Attachment string control.vit, see below]
Attachments:
read_string_control_main.vi ‏72 KB
string_control.vit ‏14 KB

Similar Messages

  • I want to use JSP...

    I know very little about Java. I've tried learning it in the past, but didn't get much further than "hello world" examples before losing interest.
    Lately, I've been looking for a web language other than PHP to use on my web site, and JSP seems fairly good. Which JSP book or online tutorial would you reccomend for someone who doesn't know much Java but doesn't mind learning?

    JSP without java is a bit like PHP without html
    ...only worse.Which is why I'm looking for a book or onlinetutorial
    which teaches Java with a focus on JSP.Well that's nice ...but YOU were the one who asked for
    advice from people who you may assume to know more
    than you do. Take it or leave it, makes bugger all
    dif'rence to me ... erm, learn java first.I want to learn Java, but I don't have much use for it outside of JSP. Aren't there any books which teach Java, but in the context of web development?

  • I want my "From" address to default to a specific one. I have deleted the outgoing mail server for the one I don't want to use but it still comes up write

    Since Comcast will no longer allow me to "send" from my AOL Address I need to change my "from:" address on every e-mail I send. I thought I could make my Comcast outgoing server the default one and that would take care of it - it didn't. Then I thought I could just delete my AOL outgoing server and Thunderbird would then have to use my Comast Outgoing Server - it doesn't. I can continue to try and remember to change the
    FROM with the drop down list but it would sure be nice if I could save this aging brain of mine and make the software default for me.

    Why not just add an AOL server to Tools/Account Settings/Outgoing Server (SMTP) and then have that server selected in Tools/Account Settings/<i>aolaccount</i> in the Outgoing Server (SMTP) dropdown in the right pane? Use these settings: smtp.aol.com on port 465, SSL/TLS security, Normal password authentication, User name = your screen name.

  • How to use jsp:scriptlet in site template

    hi all,
    I want to use <jsp:scriptlet> in site template, but jdev showed me an error msg when I put <jsp:scriptlet> in site template:
    scriptlet can not work properly with OJSP, I checked the forums, one possible solution is to encapsulate java code in jsp taglib, but I dislike this solution.
    Is there a way to disable OJSP? or any solution to use java code in site template?
    Best regards

    I believe the official word is if you are trying to use java code in a scriptlet in your site template then you are doing something wrong.
    The goal is to keep java code separate from the template and pages. Any logic should go to your supporting serviece objects and all of your front-end work should be accomplished using available or custom tags.
    Can you describe what you are trying to accomplish with this java code in your template?

  • How to use JSP in Web Dynpro

    Hi
         I want to use JSP and servlet pages in my web dynpro application
    how can we add the JSP pages in web dynpro aaplication or how can I achive this functionality?
    Thanks
    Ninad

    Hi,
    Have a look at this thread,
    Re: web dynpro jsp
    Regards,
    Saravanan K

  • Why does people use JSP Tag for their JSP page? (Urgent)

    I don't know what benifit if I am using JSP Tag.
    If anyone knows, pls give me an idea and the advantage of using JSP Tag in JSP Page!
    Thanks in advance!

    You have to read a little about JSP, JSP stands for JavaServer Pages, you can use jsp tags and you can use java code. If you dont want to use jsp tags then you should just write html file, if you just want to use java, then write java class or a servlet.
    The need for jsp arised because people were inserting html code inside a servlet class..a big no no..and a headache. JSP separate model from the view...read a little about MVC-2 model view controller pattern.
    Also read some tutorial on this website...good luck
    K

  • I want to make a chatroom using jsp, and have some problem, Help!

    I want to build a chatroom using jsp and client using plain html, so i need every client could have a constant connection with the web server and will receive messages realtime. But i got 2 problems.
    First, how can i turn my buffers off so that messages can get to the client the time it is meant to be. I added
    <@page buffer="none">
    but seems that it takes no effect, any tricks here? thx
    Second, I want every user could have a constant conn. with server but i dont want my server to waste resources on those connection that has already been disconnected.so is it possible to stop executing JSP pages once client has diconnected.Since i found that it will throw no exception writing to the client even if the connection is disconnected in JSPs.
    Thanks!!!!!

    By theway, i'm using TOMCat 5.0 as my JSP container.

  • I want to use data binding in jsp,just like microsoft ASP's RDS,how can I d

    I want to use data binding in jsp,just like microsoft ASP's RDS,how can I do?

    I can't claim to know exactly what RDS binding involves, but if my hunch is correct, you can get very similar behavior by using JSTL and define your data source using JNDI. See the JSTL spec, my article series about JSTL, or a JSP/JSTL book (such as mine ;-) for details:
    http://java.sun.com/products/jsp/jstl
    http://www.onjava.com/pub/a/onjava/2002/08/14/jstl1.html
    http://www.onjava.com/pub/a/onjava/2002/09/11/jstl2.html
    http://www.onjava.com/pub/a/onjava/2002/10/30/jstl3.html
    http://www.thejspbook.com/

  • I want to display the website which i have designed using jsp in telugu....

    Hi,
    I want to display the website which i have designed using jsp,mysql in telugu.I have searched a number of articles but couldn't get sufficient information.I read articles on internationalise jsp based websites but they were about converting in other languages rather than indic languages.
    Could anyone let me know the procedure to convert it into indic languages.What all are required.
    Thanks.

    (Please keep the subject line to a short descriptive sentence. Don't put your entire question there.)
    LabVIEW can communicate via serial port. If the microcontroller listens to serial data, there must be a certain command to light a LED connected to a certain port. All you need is to check the manual to find out what the serial data needs to be.
    LabVIEW Champion . Do more with less code and in less time .

  • How to get the values of an Array using JSP Tags

    Hey guys,
    I need some help. I've splited a String using
    fn:split(String, delim) where String = "1,2,3,4" and delim is ,
    This method returns an Array of splited Strings. how do i get the values from this array using jsp tags. I don't wanna put java code to achive that.
    Any help would be highly appreciated
    Thanks

    The JSTL forEach tag.
    In fact if all you want to do is iterate over the comma separated list, the forEach tag supports that without having to use the split function.
    <c:set var="list" value="1,2,3,4"/>
    <c:forEach var="num" items="${list}">
      <c:out value="${num}"/>
    </c:forEach>The c:forTokens method will let you do this with delimiters other than a comma, but the forEach tag works well just with the comma-delimited string.

  • I want to use an IPad (w/retina display-newest) in my church hooked up to a projector

    I want to use an IPad (w/retina display-newest) in my church hooked up to a projector and shown on a screen.  I'd like to do it wirelessly as the projector will be installed in the ceiling.  I am not sure exactly what I would need to get this set up. I do not have wifi at church or cellular but would be getting the iPad (not yet purchased) with wifi only.  If I use Apple TV to hook up the projector to, would it need wifi to work if I will only be using the ipad for documents, worksheets (much like what a school/professor would use) or other things that an app could do (draw a line, etc.)  

    Epson projectors have such a feature, so if you're going to buy a new projector, you might start with their units. The app is described here:
    http://www.epson.com/cgi-bin/Store/jsp/Landing/ProjectorApp.do
    and there's a projector compability list linked from the very bottom of the page. There may be other projector manufacturers with similar apps, but I don't know for sure. All will probably also require a local WiFi network set up, though said network should not need Internet access if that's an issue for you.
    Regards.

  • Report generation using jsp

    I am developing a website using jsp on tomcat.The site required a number of online report generation option from database(mysql).
    My problem is-
    1.how to generate different types of report other than simple html tag embedded within jsp .
    2.How to store all those reports in a file(.txt or .doc).
    N.B I dont want to use any reporting tool.

    Mantosh,
    Have you seen this developer zone article which details accessing Citadel Data using COM+ and ADO?
    http://zone.ni.com/devzone/conceptd.nsf/webmain/725A6C3843F13C8786256EA600633724#6
    Also, this KB article provides more detail on how to access Citadel data using SQL commands and I think will help answer your question:
    http://digital.ni.com/public.nsf/websearch/C7D32F9A59D4637086256A7200692F30?OpenDocument
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • How to open a pdf file in a web browser using jsp

    Hi,
    I have a problem opening pdf file in browser using jsp.the following is my code.Can anyone help me.Thanks
    response.setContentType("application/pdf");
    String filename="C:\\FictPos\\mypdf.pdf";
    File file = new File(filename);
    FileInputStream in = new FileInputStream(file);
    OutputStream out1=response.getOutputStream();
    byte[] buf = new byte[4096];
    int count = 0;
    while ((count = in.read(buf)) >= 0)
    out1.write(buf, 0, count);
    in.close();
    out1.close();
    }

    Don't know the problem specifically, but here are some suggestions to investigate:
    Does it show anything in the page when you view source on it?
    I would recommend using a servlet rather than a JSP page for this, if only for the fact the JSPs can insert carriage returns into places where you might not want them to. This might screw up the PDF file format?
    Try setting the a link to the jsp, right-click and "save target as..." just to see if it gets any response at all - ie bypass the browser display.
    Good luck,
    evnafets

  • Please!!!!!!   How can i add rows in html table dynamically [use jsp,bean]

    hello, i am a fresher in jsp. i want to add new rows in html table dynamically.In my coding, just only shows in one row . please help my problem with correct coding and i don't want to use database. Thanks ...............!
    Here is my coding-------------------
    ---------------- form.jsp --------------------->
    <%@ page import="java.util.*,newtest1.Validation" %>
    <jsp:useBean id="mybean" scope="page" class="newtest1.Validation" />
    <jsp:setProperty name="mybean" property="name" param="name" />
    <jsp:setProperty name="mybean" property="age" param="age" />
    <% s[i][j] %>
    <html>
    <head><title>Form</title></head>
    <body>
    <form method="get">
    <table border="0" width="700">
    <tr>
    <td width="150" align="right">Name</td>
    <td width="550" align="left"><input type="text" name="name" size="35"></td>
    </tr>
    <tr>
    <td width="150" align="right">Age</td>
    <td width="550" align="left"><input type="text" name="age" size="35"></td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="5">
    <tr><td> </td></tr>
    <tr><td><input type="submit" name="submit" value="ADD"></td></tr>
    <tr><td> </td></tr>
    <tr><td width="100%" align="center" border=1>
    <% int count=mybean.getStart();
    for(int i=count; i<count+1; i++) { %>
    <tr>
    <td><jsp:getProperty name="mybean" property="name" /></td>
    <td><jsp:getProperty name="mybean" property="age" /></td>
    <td><%= count %></td>
    <% count+=1; %>
    </tr>
    <% } %></td></tr>
    </table>
    </form>
    </body>
    </html>
    ----------------- Validation.java ----------------->
    package newtest1;
    import java.util.*;
    public class Validation {
    private String name;
    private String age;
    static int start=0;
    public Validation() {    name=null;
    age=null;
    ++start;}
    public void setName(String username) { if(username!="")
    name=username;
    public String getName() { return name;  }
    public void setAge(String userage) {  if (age!="")
    {age=userage;}
    public String getAge() {  return age;   }
    public int getStart() {
    return start; }

    Hi, Do you mean to say,
    You have an HTML page in which you have a text field and an add button. If you enter anything in that text field and click on Add button the text field contents should be displayed in the same HTML page and you should be able to go on entering new values into the text field and you should be able to retain and display all the previously entered values..
    and finally the list of added items are not stored in the database..
    If this is the case
    i. Your html form should be submitted to the same page.
    ii. You need to have a Vector which holds the entered values.
    iii. Bind the vector object to the request object and collect the same vector object from the request and display its contents...
    I think this would help...

  • How can I display a confirm box using JSP?

    Dear All,
    I am new to the Java language; please help!
    What I'd like to do is to prompt the user, within a loop, to click OK to continue the loop or CANCEL to exit the loop. I've tried to use JavaScript in conjunction w/ Form submittion to handle the parameter passing ('true'/'false') of the confirm box to a JSP. Yet, every form submission will cause the JSP page to re-load from the top which is the incident I'd like to avoid.
    Is there anyway I can have a confirm box written using JSP? Please help!!
    Thanks,Wing.

    if you do any modifications in the jsp page the whole page will be refreshed to show the latest result after modification.
    if you dont want the whole page to be refreshed
    you can pass the control to another page after the confirm box or you can use frames to your interest.

Maybe you are looking for

  • Using 2 Ipods on 1 Computer

    I have read through many articles similar to this one and haven't been able to have my question answered. This is the problem. My sister and I have 4GB minis. We shared an itunes account. She was the one who had the library, I would have to drag my s

  • APP-RG-09518: An error occurred while creating a database link

    Hi All, While creating a database link in Oracle EBS from one instance to another instance for transferring FSG reports Go to Any GL Setup responsibility...Setup>System>Database links > Create new database link Prior to the above...below steps should

  • How do you post a suggestion for itunes music itunes essentials?

    I would love for a collection with baseball themed music. They have a gameday for football, but what about the boys of summer???

  • Jars on classpath within webservice?

    Hi. I've created a web service using apache axis. I am having a problem getting my external classes on the classpath of my web service. import com.mycompany.MyClass public class MyService{   static {     MyClass.initialize();   public String myServic

  • R/3 Source System Check in BW

    Hi , We had a BW client Copy from Production to QA and DEV system. Last week, When I am trying to restore source system connection to R/3 after client copy by creating PORT and PARTNERPROFILES in BW system. I could restore connection in BW Dev but no