Problem in Variable declaration using c:set

Hi All,
I've declared a variable as follows:
<c:set var="desc" scope="page"
value="<b>${map.SITETYPE}: </b><a href='http://147.147.2.91:7001/pfk-deploy/sitehomepage.do?site=${map.SITEID}' ${map.PLANTID}</a><br><b>Address:</b><small>${map.ADDRESS}</small><br><b>East, North:</b>${map.EAST},${map.NORTH} <br><b>Long, Lat:</b>${map.XLONG},${map.YLAT}<br>"/>
in which i want to add tags such as <b><br> etc as can be seen above , but these tags are not evaluated at run time .
Secondly i want to concatenate desc with another string as follows:
<%desc = desc + " Find all <a href='map.do?siteID=<c:out value='${map.PLANTID}'/>=${qTemp}&east=&north=&radius=&postcode='>DPs</a>?<br>" ;     %>
I dont know whether this is the correct way to concatenate.
But nothing is working , Iam very new to EL/JSP stuff , but i've to make this code running . Please help, its urgent.
Thanks,

What is map.SITETYPE, map.SITEID etc? Is map a java.util.Map object that has been set in scope and SITETYPE, SITEID etc keys in that map?
What do you get when you output these variables?
<c:out value = "${map.SITEID}"/>On to your second question, why do you require a scriptlet variable. Cant you use the jstl c:set itself ? (same like the earlier one?)
Anyways here's how you would do that
<%
StringBuffer descBuffer = new StringBuffer("desc");
descBuffer.append(" Find all <a href='map.do?siteID=");
descBuffer.append((String)pageContext.findAttribute("map.PLANTID"));
descBuffer.append((String)pageContext.findAttribute("qTemp"));
descBuffer.append"(&east=&north=&radius=&postcode='>DPs</a>?<br>" );
desc = descBuffer.toString();
%>And that's assuming you have map.PLANTID in scope (depends on your answer to the first question).
Finally, please use [ code ] tags (without the spaces) while posting code. Look at [url http://forum.java.sun.com/help.jspa?sec=formatting]this for formatting tips.
ram.

Similar Messages

  • URGENT: problem with variable-declaration while precompiling

              Hi,
              i got a problem while precompiling my webapplication.
              i got some jsp-pages, each containing following code
              <%@ include file="/header.jsp" %>
              <% button = true; %>
              [...some code...]
              <%@ include file="/footer.jsp" %>
              The variable 'button' is defined in header.jsp and
              evaluated in footer.jsp. When i run through my application without precompiling
              it, there appear NO errors, but when i try to precompile my pages, the jsp-compiler
              reports an error in footer.jsp, because in footer.jsp is the 'button'-Variable
              used, but not defined and not included (because all other pages include footer.jsp)
              How can I tell the jsp-Compiler not to check for variable declarations, or what
              else can i do to work around this problem ?
              thanks,
              Dirk Bade
              

    Thanks for the sample. Changed it to look this way. Still getting the error message from above. Any clue?
    [ BTW: you can see the auto-fixits that Netbeans used to resolve the exception thrown errors from earlier.  Ugly ... I used Netbeans for the ease of interface generation, but I am spending a lot time chasing down little stuff like this. ]
    public class DesktopApplication1View extends FrameView {
        public DesktopApplication1View(SingleFrameApplication app) throws PortInUseException, UnsupportedCommOperationException, IOException, NoSuchPortException {
            super(app);
          initComponents();  //interface code follows this until the variables below ...
            String      defaultPort = "/dev/ttyS0";
            String      portName;
            ByteBuffer  asciiBytes = null;
            CommPort    commPort = null;
            byte[] h = new byte[asciiBytes.capacity()];
            asciiBytes.get(h, 0, h.length);
            CommPortIdentifier portIdentifier = CommPortIdentifier.getPortIdentifier(defaultPort);
                System.out.println("Default port" + defaultPort + "found.");
            if ( portIdentifier.isCurrentlyOwned() )
                System.out.println("Error: Port is currently in use");
            try {
                 commPort = portIdentifier.open(this.getClass().getName(), 200);
            } catch (NoSuchPortException e) {
            System.out.println("Whoops! Cannot identify the port.");
            }

  • Problem with variables declared as private?

    Hi all,
    I am currently having a very weird problem when i am running one of the JSP application deployed using weblogic.
    I have a variable x and is declared as private.
    By looking at the log file of every transaction done by the users, i can't trace the problem out.
    Supposingly, the x variable should return a value=2, but somehow it always return a 3.
    I confirmed that the value should be 2 rather than 3...When i see the log file, there is another user doing the same transaction as well, is there any possibility that, the value is being overwritten??
    Hopefully, all of you are able to understand what i wrote.

    Hi Stevejluke, thanks for the reply.
    Actually the logic of the application goes in this way.
    I am making use of the EJB, I declare the Entity Bean class at the JSP, then lookup and home create.
    As for the variable x, its actually declared in the class as private, and in my jsp i have already declare threadsafe for the classes......
    In this case, i found out something in my log file and have done testing concurrently.
    To quote a scenario, let's say 2 people are accessing test.jsp at the same time, and test.jsp will forward to test1.jsp, test2.jsp before processing.
    Person A login, goes to test.jsp
    Person B then login, goes to test.jsp as well
    Person A typed in something and goes to test1.jsp, then to test2.jsp, variable x now has the value of 3.
    Person B typed in something and goes to test1.jsp, then test2.jsp, variable x should be 2, but it got the value of 3.
    BUT if...............
    Person A typed in something and goes to test1.jsp, then to test2.jsp, variable x now has the value of 3 and then processed and redirect back to main page.
    Person B typed in something and goes to test1.jsp, then test2.jsp, variable x now is 2.
    Person B processed the test2.jsp after Person A has finished processing.
    Weird thing is, these 2 people are using different IE, but same weblogic server, and the console printed out some msg to indicate the values. May i know how can i solve this problem?
    FYI, i actually changed to TestA test = new TestA();
    then called the function test.executeA();
    The variable x which is declared in Test A, holds the new value.
    But if i do it in this way:
    private Test A test=null;
    forgotten the syntax of the new Context()..but roughly typed here....
    Aftter the new context being created, home being looked up..
    test = (TestA) narrow(home.create............
    the variable x in TestA somehow doesnt change the value
    This way of declaration will have the problem...

  • Problem with variable declared in TOP Include

    Hi,
    I have declared a variable P_TEXT in TOP include ZPGM_TOP.  In main program ZPGM, I have declared this TOP include ZPGM_TOP and another include ZPGM_F01.
    I am  accessing P_TEXT in include ZPGM_F01, but it is giving me following error when I do syntex check.
    Error : Field P_TEXT is unknown. It is neither in one of the specified tables nor defned by DATA statement.
    But when I double click on P_TEXT in ZPGM_F01, it takes me to TOP include declaration.
    Please advise what I am doing wrong.
    Thanks.

    Check the sequence in which your includes are declared e.g.
    include zpgm_top. "data
    include zpgm_f01. "code
    would work, but:
    include zpgm_f01. "code
    include zpgm_top. "data
    will give syntax error in "zpgm_f01".
    Jonathan

  • NCLOB variable declared used in procedure cannot store more than 33317 characters.

    Hi,
    I tried to use NCLOB variable to create a procedure dynamically and while constructing the procedure inside NCLOB variable, if more than 33317 characters are put into the variable, then when I try to print this variable, it is not returning anything.
    It works till 33317 characters. But not above it.
    Is there any way I can overcome this restriction. Thanks in advance.

    The iPod shuffle is a music player. The iPods with screens have always been more than that. If the iPod didn't have a calendar, contacts, and notes I wouldn't have considered buying one. Music playing is nice, but I certainly didn't want to carry around multiple devices needlessly. The iPod and a simple cell phone are enough. When the iPhone comes out maybe I'll be down to one device.
    As for the Palm, having been a Newton user at the time I was never impressed with anything about Palm except its size. The same people who bought cheap PC's instead of Macs bought cheap Palms instead of Newtons. Quantity rather than quality won out.
    Apple learned from that and made the iPod a good size to begin with, otherwise it might have suffered a similar fate.
    The only PDA capability the iPod lacks is the ability to edit its content independently of the computer. That would be handy, but it turns out hasn't been a critical need for me. More often than not I need to look something up not change something while away from my office. There is a good side to this though, if I lost the iPod I would not have to worry a bit about losing any Contacts, Calendar events, or Music. Notes though, well that is a different matter, those I backup.
    I guess one person's music player is another person's PDA.
    Regards

  • Source a file containing variable declaration in csh style into Java

    Hi ALL,
    How can java import a plain-text file which contains csh declaration statements, then simultaneously declare as the statements into the java program?
    Below is the example that the plain-text file:
    set test_1 = ('1')
    set test_234 = ('2' '3' '4')
    set test_abc = ('abc')
    Thanks,
    Alex

    I have already started learning Java from the web site of Sun Java. Thanks for your advise.
    However, let me explain more details what I want.
    Now, I have a plain-text file, such as /mnt/source.txt, which contain statement of variable declaration as below
    ====================
    set test_1 = ('1')
    set test_234 = ('2' '3' '4')
    set test_abc = ('abc')
    ====================
    These are the csh statement.
    In csh, we can use command "source [filename]" then the variable test_1, test_234 and test_abc will be declared directly. Right?
    Then, now, I have this plain-text file. Also the csh statement.
    However, I would use Java to declare the variable test_1, test_234 and test_abc from this file.
    Thanks.
    Alex

  • Using a static variable declared in an applet in another class

    Hi guys,
    I created an applet and i want to use one of the static variables declared in teh applet class in another class i have. however i get an error when i try to do that...
    in my Return2 class i try to call the variable infoPanel (declared as a static JPanel in myApplet...myApplet is set up like so:
    public class myApplet extends JApplet implements ActionListener, ListSelectionListener
    here are some of the lines causing a problem in the Return2 class:
    myApplet.infoPanel.removeAll();
    myApplet.infoPanel.add(functionForm2.smgframeold);
    myApplet.infoPanel.validate();
    myApplet.infoPanel.repaint();
    here are some of the errors i get
    dummy/Return2.java [211:1] package myApplet does not exist
    myApplet.infoPanel.removeAll();
    ^
    dummy/Return2.java [212:1] package myApplet does not exist
    myApplet.infoPanel.add(functionForm2.smgframeold);
    ^
    dummy/Return2.java [213:1] package myApplet does not exist
    myApplet.infoPanel.validate();
    ^
    dummy/Return2.java [214:1] package myApplet does not exist
    myApplet.infoPanel.repaint();
    ^
    please help! thanks :)

    I don't declare any packages though....i think it just doesn't recognize myApplet for some reason..
    other errors i got compiling are:
    dummy/Return2.java [82:1] cannot resolve symbol
    symbol : variable myApplet
    location: class Return2
    updateDesc.setString(3, myApplet.staticName);
    I Don't get why i'm getting this error cuase they worked fine when myApplet was a standalone application, not an applet.
    myApplet is in the same folder as Return2 and it compiles properly.

  • Using a variable as the comparison set with the IN clause

    I am attempting to use a variable as the comparison set in an IN clause:
    if <var> is not null and <var> in (<variable>) then ...
    if <var> = 'X' and <variable> = 'X','Y' this statement evaluates to FALSE. If, however, I write
    if <var> is not null and <var> in ('X','Y') then ...
    the statement evaluates to TRUE. Is there a way to force evaluation of a variable prior to executing the statement?

    Kumar
    That is neat trick and an good example of lateral thinking. However, there is a slight problem with it in that this is true:
    instr('1APC2', 'APC')
    whereas this is false
    'APC' IN ('1APC2')
    However, it did inspire me to produce an even neater trick:
    create or replace function my_in
    (in_value IN varchar2, in_string_list IN varchar2)
    RETURN boolean
    AS
    larray_string DBMS_UTILITY.uncl_array;
    ln_count INTEGER;
    return_value BOOLEAN := FALSE;
    lv_comparator VARCHAR2(4000);
    BEGIN
    DBMS_UTILITY.comma_to_table(in_string_list, ln_count, larray_string);
    FOR rownum IN 1..ln_count
    LOOP
    IF larray_string(rownum) = in_value
    THEN
    return_value := TRUE;
    EXIT;
    END IF;
    END LOOP;
    RETURN return_value;
    END;
    Note that the in_string list parameter must be COMMA separated, and spaces will be treated as values. Hence
    declare
    lb boolean;
    begin
    lb := my_in('APC', 'DEF,APC,ABC');
    if lb = TRUE
    THEN
    dbms_output.put_line('FOUND');
    else
    dbms_output.put_line('NOT FOUND');
    end if;
    lb := my_in('APC', 'DEF, APC, ABC');
    if lb = TRUE
    THEN
    dbms_output.put_line('FOUND');
    else
    dbms_output.put_line('NOT FOUND');
    end if;
    end;
    produces the following output:
    SQL> @tstrun
    FOUND
    NOT FOUND
    PL/SQL procedure successfully completed.
    SQL>
    Kindest regards, APC

  • How do I Send in a value to the SQL Query Expression's variable created using Declare in Power Query

    I have gone through the other posts where in a parameter is sent to query created by power query but my ask is a bit different. 
    I am using a sql query to retrieve data using Power query which has 2 variables declared in the DECLARE section in the query. 
    Ex: 
    declare @Name varchar(1000)
    SET @Name= 'Alpha'
    declare @location nvarchar(1000)
    SET @location= 'Bravo'
    Select * from Infotable where Name = @Name and location = @location. 
    Now in the following query I would want to send in the values for  the declared variables using a table in my worksheet. I have followed the stuff present in the following post 
    http://blog.oraylis.de/2013/05/using-dynamic-parameter-values-in-power-query-queries/
    but when using the value name (let Name_parameter = Excel.Currentworkbook(), Name_Value = Name_Parameter [0][value]) in the Advance Editor as mentioned in the above post I am being thrown an error stating  Name_Value column doesn't exist.
    I am having a tough time figuring out what the problem could be..

    I have gone through the other posts where in a parameter is sent to query created by power query but my ask is a bit different. 
    I am using a sql query to retrieve data using Power query which has 2 variables declared in the DECLARE section in the query. 
    Ex: 
    declare @Name varchar(1000)
    SET @Name= 'Alpha'
    declare @location nvarchar(1000)
    SET @location= 'Bravo'
    Select * from Infotable where Name = @Name and location = @location. 
    Now in the following query I would want to send in the values for  the declared variables using a table in my worksheet. I have followed the stuff present in the following post 
    http://blog.oraylis.de/2013/05/using-dynamic-parameter-values-in-power-query-queries/
    but when using the value name (let Name_parameter = Excel.Currentworkbook(), Name_Value = Name_Parameter [0][value]) in the Advance Editor as mentioned in the above post I am being thrown an error stating  Name_Value column doesn't exist.
    I am having a tough time figuring out what the problem could be..

  • Problem with variables in formulas when using CrystalReportViewer

    Post Author: Aksu
    CA Forum: Formula
    Hi! I have a problem with variables in Crystal Reports formulas, when using CrystalDecisions.Windows.Forms.CrystalReportViewer class from VS2005-project. ReportViewer always gives error:*************Crystal Report Windows Forms ViewerThis field name is not known.Details: errorKindError in File C:\{dir&#93;}\{file}.rpt:Error in formula <mCustomerAttributes>.'Dim result As String'This field name is not known.Details: errorKind ************* Report without variables works fine with Viewer and in Crystal Reports Designer report with variables works also fine. I have tried with both "formula-syntaxes" - basic and crystal. But Viewer always gives error when trying to define new variable.I think the problem might be with CR -versions, because VS-project has formerly been designed to VS2003 and CR9 or 10. Now I'm using VS2005 and CR11. Though I have changed all references to new CrystalDecisions-asseblies (Ver.11.0.3300.0), when I debug the project and checkout the Viewers ReportSources FormatEngine Shows version CR9_2.... I have no idea where it gets this version...***************DEBUG-view when Viewer is created *******************CrystalReportViewer    |_        ReportSourceClassFactoryName ... , Version=11.0.3300.0 , ...    |_            ReportSource            |_                FormatEngine    {CrystalDecisions.CrystalReports.Engine.FormatEngine}                        |_                        ClientVersionHeader    {CrystalDecisions.Shared.ReportServiceVersionHeader}                            |_                            |    version = 920     (int)                            |_                                Static members                                            |_                                        VER_CR9    = 920    (int)**************************************** Could anyone have any answers or tips for this problem? I'd really appreciate it... ---Aksu

    Has anyone been able to answer this question?
    I am having the same problem:
    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.
    Edited by: Tim Haley on Nov 25, 2008 11:11 PM
    Edited by: Tim Haley on Nov 25, 2008 11:12 PM

  • Using getter/setter for returing a string variable to display on an Applet

    have two classes called, class A and class testA.
    class A contains an instance variable called title and one getter & setter method. class A as follow.
    public class A extends Applet implements Runnable, KeyListener
         //Use setter and getter of the instance variable
         private String title;
         public void init()
              ASpriteFactory spriteFactory = ASpriteFactory.getSingleton();
              // Find the size of the screen .
              Dimension theDimension = getSize();
              width = theDimension.width;
              height = theDimension.height;
              //Create new ship
              ship = spriteFactory.createNewShip();
              fwdThruster = spriteFactory.createForwardThruster();
              revThruster = spriteFactory.createReverseThruster();
              ufo = spriteFactory.createUfo();
              missile = spriteFactory.createMissile();
              generateStars();
              generatePhotons();
              generateAsteroids();
              generateExplosions();
              initializeFonts();
              initializeGameData();
              //Example from Instructor
              //setMyControlPanel( new MyControlPanel(this) );
              // new for JDK 1.2.2
              addKeyListener(this);
              requestFocus();
         public void update(Graphics theGraphics)
              // Create the offscreen graphics context, if no good one exists.
              if (offGraphics == null || width != offDimension.width || height != offDimension.height)
                   // This better be the same as when the game was started
                   offDimension = getSize();
                   offImage = createImage(offDimension.width, offDimension.height);
                   offGraphics = offImage.getGraphics();
                   offGraphics.setFont(font);
              displayStars();
              displayPhotons();
              displayMissile();
              displayAsteroids();
              displayUfo();
              //displayShip();
              //Load the game with different color of the space ship          
              displayNewShip();
              displayExplosions();
              displayStatus();
              displayInfoScreen();
              // Copy the off screen buffer to the screen.
              theGraphics.drawImage(offImage, 0, 0, this);
         private void displayInfoScreen()
              String message;
              if (!playing)
                   offGraphics.setColor(Color.white);
                   offGraphics.drawString("\'A\' to Change Font Attribute", 25, 35);
                   offGraphics.drawString(getTitle(), (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             - fontHeight);
                   message = "The Training Mission";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2);
                   message = "Name of Author";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             + fontHeight);
                   message = "Original Copyright 1998-1999 by Mike Hall";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             + (fontHeight * 2));
                   if (!loaded)
                        message = "Loading sounds...";
                        int barWidth = 4 * fontWidth + fontMetrics.stringWidth(message);
                        int barHeight = fontHeight;
                        int startX = (width - barWidth) / 2;
                        int startY = 3 * height / 4 - fontMetrics.getMaxAscent();
                        offGraphics.setColor(Color.black);
                        offGraphics.fillRect(startX, startY, barWidth, barHeight);
                        offGraphics.setColor(Color.gray);
                        if (clipTotal > 0)
                             offGraphics.fillRect(startX, startY, (barWidth * clipsLoaded / clipTotal), barHeight);
                        offGraphics.setColor(Color.white);
                        offGraphics.drawRect(startX, startY, barWidth, barHeight);
                        offGraphics
                                  .drawString(message, startX + 2 * fontWidth, startY + fontMetrics.getMaxAscent());
                   else
                        message = "Game Over";
                        offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4);
                        message = "'S' to Start";
                        offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4
                                  + fontHeight);
              else if (paused)
                   offGraphics.setColor(Color.white);
                   message = "Game Paused";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4);
         public String getTitle() {
              System.out.print(title);
              return title;
         public void setTitle(String title) {
              this.title = title;
    }displayInfoScreen method in class A calls out for getTitle( ) to be displayed on an applet as an initial display string for the application.
    The instance variable title is set by setTitle method which is called out in class testA as follow,
    public class testA extends TestCase
          * testASprite constructor comment.
          * @param name
          *          java.lang.String
         public testA(String name)
              super(name);
          * Insert the method's description here.
          * @param args
          *          java.lang.String[]
         public static void main(String[] args)
              junit.textui.TestRunner.run(suite());
              // need to figure out how to get rid of the frame in this test
              System.exit(0);
         public static Test suite()
              return new TestSuite(testA.class);
          * Basic create and simple checks
         public void testCreate()
              A theGame = new A();
              assertNotNull("game was null!", theGame);
          * Basic create and simple checks
         public void testInit()
              A theGame = new A();
              Frame gameFrame = new Frame("THE GAME");
              gameFrame.add(theGame);
              int width = 640;
              int height = 480;
              gameFrame.setSize(width, height);
              // must pack to get graphics peer
              gameFrame.pack();
              theGame.resize(width, height);
              theGame.setTitle("TEST THE GAME");
              theGame.init();
              assertEquals("ASprite width not set", A.width, width);
              gameFrame.dispose();
              gameFrame.remove(theGame);
    }Basically, class testA invokes the init( ) method in class A and start the applet application. However, it displays a white blank display. If I change the getTitle( ) in the displayInfoScreen method to a fixed string, it works fine. Did I forget anything as far as using getter & setter method? Do I have to specify some type of handle to sync between setter and getter between two classes? Any feedback will be greatly appreciated.
    Thanks.

    Your class A extends runnable which leads me to believe that this is a multi-threaded application. In that case, title may or may not be a shared variable. Who knows? It's impossible to tell from what you posted.
    Anyway, what is happening is that your applet is being painted by the JFrame before setTitle is called. After that, who knows what's happening. It's a complicated application. I suspect that if you called setTitle before you added the applet to the frame, it would work.

  • How can i reuse same variables that i create using c:set var="index" /

    hi all,
    please some one helpme!!!!!!
    how can i reuse same variable that i create using
    <c:set var="index" value="${0}"/>
    cause later in the program i use index to do some condition and based on that i increment ...
    so for example if i say...
    <c:if test="${index==0}">
    <c:set var="index" value="${index+1}"/>
    </c:if>
    will it be like
    if(index==0)
    index++;
    can i do like i did be4. if not what do i need to do to reuse. cause i use the variable atleast 5 time and its keep changing on diff condition level.

    Have you tried it?
    It should work, provided you are on the same page.
    The c:set tag creates the variable in pageScope by default.
    If you forward to another JSP you need to set the scope to be "request" so that it is still available.

  • How to use local variables declared in b/t the methods in other views

    Hi
    i need to use the value of the local variables declared in b/w the views in one other view,as i have manipulated the value based on some condition & want to use it in 1 more view for my req.,but that variable is not global one just for once i need to use it,and i can't again write the whole for its conditions,as its there in initialization view,which if coded again,can hit the functionality there,so is it possible to use the value of such local variables thereafter or not,if yes pls let me know,or i need to declare the global variable for this.

    hi,
    1.Declare an Attribute in Component controller.
    2. Pass the value to this Attribute in View V1.
             using :
      wd_comp_controller->Att = 'Saurav'.
    3. Now in view2 , you can access this Attribute using:
      data lv type string.
         lv = wd_comp_controller->Att .
    Here Att is my attribute of type string declared in component controller.

  • I'm having problem  with my icloud account,I don't have access to the email i once used to set up my icloud account,this is really affecting me,I can't backup and restore anything from my phone and device..anybody can help?

    I'm having problem  with my icloud account,I don't have access to the email i once used to set up my icloud account,this is really affecting me,I can't backup and restore anything from my phone and device..Can somebody help?

    Hi Maastricht2014,
    Until and unless you remember the password to your old email address, you will not be able to access the eBooks as those eBooks are only authorized with your old email address only.
    The only workaround or alternative to access your eBooks will be to contact the eBook vendor and ask them to migrate the eBook from your old email to the new one.
    Hope that Helps!
    ~ Arpit

  • Using the Set Session Info to populate Custom Variable

    Hey everybody, I'm trying to setup a Set Session Info step so when a caller presses 1 for instance to go to a specific department I can go into the database and see how many callers pressed a certain button.
    Here's what I've done so far, I've setup a Session called session_info with the value of null.  At the very beginning of the script it shows session_info = Get Contact Info --Triggering Contact--, Session)
    Then in the menu field when a caller presses 1 I have the Set Session Info step with the Session being session_info and then in the Context tab I have "_ccdrVar3" for the name and "1" for the value.
    The script doesn't fail it's just not populating any Custom Variable with any data. 
    Also I've tried using the Set Enterprise Call Info and using a value of 1 and then Call.PeripheralVariable3 for the name.  Not sure what the proper way to do this is.  Anybody have any ideas?

    Hi
    You don't need a session var.
    You just need to use 'set enterprise data' to set a call.peripheralvariable to what you like.
    The data goes straight into the contactcalldetail table.. You can check it by doing:
    run uccx sql db_cra select * from contactcalldetail where customvariableX = 'yoursetting'
    Where 'yoursetting' is what you set the ent data to, and customvariableX is the var you use (e.g. customvariable3 if you use call.peripheralvariable3)
    Regards
    Aaron
    Please rate helpful posts..

Maybe you are looking for

  • I downloaded Lion on my MacBookPro and on my MacMini.  I have Air Drop on the mini, but not on the laptop. What am I missing?

    I downloaded Lion on my MacBook Pro and on my MacMini.  AirDrop showed up immediately on the MacMini, but is invisible on my MacBook Pro.  What am I missing?

  • Issues with jdk1.6.0_19 and coldfusion 8

    Due to a security finding, I have a need to upgrade from jdk1.6.0_17 to jdk1.6.0_19. The install is successful, however, when I try to start my content server, Coldfusion8, I get the following java exception: Exception in thread "main" java.lang.NoSu

  • Cannot find symbol:constructor

    here is my code... package org.tiling.didyoumean; import java.io.IOException; import java.io.File; import java.io.FileInputStream; import java.io.File; import java.io.FileInputStream; import java.io.BufferedReader; import org.apache.lucene.index.Term

  • Error code 0x80043ac9

    hello, Anybody know how to get info on this error code? My phone won´t sync with outlook and I get this error. it also says check documentation.. but where??? the address book sync process reads 374 entrys and when processing it always stops at 235.

  • Facing low Performance when iterating records of database using cursor

    Hi , i inserted nearly 80,000,000 records into a database, by reading a file whose size is nealry 800MB, in 10 minutes. when i am iterating the records using Cursor with Default lock mode , it is taking nearly 1 hour. My Bdb details are as follows En