Re: Failover for SO's with context

Right, delivery of events is not guaranteed by Forte, even though
it is reasonable to rely on it in the case of two Forte servers on a LAN.
I would not go towards a solution for securing events delivery by
an acknowledgement mechanism (ack event or shared object notifier),
because of increased complexity and performance overhead.
On the other hand, a second simple security level can be provided by
enabling
your mirror/backup SO to be refreshed at will, by letting it get a
snapshot
of the current transient data to be mirrored, so you can :
- Start your partitions in any order (The mirror partition will first
task a
snapshot of the transient data, then will register for mirror events)
- Start and stop the mirror partition at will, without disrupting the
application
Then, if you do not trust events delivery, you can reinitialize your
mirror
periodically (say every 12 hours) to minimize the risks of losing
transient
data events.
Again, this solution is suited to low volumes of transient data.
I guess what Chad means by journaling is writing to a log file any
event (in a large sense) happening on data from its initial value. Then
if
you need to restore state, you re-play the events from the initial value.
This is a common solution in the banking area where you need to backup
values but also events on the values. I do not know how this can be
applied
to a generic mechanism with Forte, but it may be a good way to explore,
although probably more complex to implement with Forte than the
Backup SO/ Events pattern.
Hope this helps,
Vincent Figari
On Fri, 13 Feb 1998 10:39:03 -0600 Chad Stansbury
<[email protected]> writes:
Actually, since events (let alone distributed events) are not
'guaranteed delivery' in Forte, I would hesitate to use events
as a mechanism of mirroring your data - unless, of course, you
really don't require an industrial strength failover strategy.
This would also apply to asynchronous messaging (unless you
are careful to register for exception events (which again, aren't
guaranteed delivery) and have a mechanism to handle said
asynchronous exception events. I also know that Forte will retry
certain tasks when the service object it is sent to fails com-
pletely (like a NIL object exception), but don't know enough
about the internal workings of Forte to know under which conditions
this will occur.
I think that the most common method of a truly industrial-
strength, guaranteed-delivery mechanisms is via journaling...
which I know very little about, but is something that you should
be able to look up and study if that's what you require.
Again, if you don't care about the (admittedly small) chance
of an asynchronous call failing, then the suggestions that
Vincent has already made are good ones.
From: [email protected]
To: [email protected]
Cc: [email protected]
Sent: 2/13/98 9:13:17 AM
Subject: Re: Failover for SO's with context
Steven,
The pattern choice between external resource vs SO is dependent on the
type
of transient data you want to backup. Probably the external resource
is
better
suited to high volumes of data. We have implemented the 'Backup SO'
pattern because our transient data volumes are rather low (which I
guess
must
be the most common case for global, transient data).
Whatever the choice you do :
- Be sure to enforce encapsulation for updating the transient data, in
order to
guarantee that any modification to your transient data is duplicated
on
the backup
SO or the external resource
- About performances, the CPU cost is fairly low for your 'regular'
application if you
take care to :
* use asynchronous tasks to update the external resource
or
* use events to notify the backup SO
Now it is true that you will have a network overhead when using
events,
as your
backup SO shall be isolated in a remote partition on a remote
server.
That is one good argument to select the Backup SO pattern for low
volumes of
transient data.
If you choose the 'Backup SO' pattern, you will also have to be
careful
not sending
any distributed reference to your Backup SO but only clones.
Anyway, the backup SO pattern works fairly well for low volumes of
data,
but requires lots of testings and a good understanding of events and
communication
across partitions.
Hope this helps,
Vincent Figari
On Fri, 13 Feb 1998 09:24:57 +0100 Steven Arijs <[email protected]>
writes:
We're going to implement a failover scenario for our application.
Unfortunately, we also have to replicate the state of our failed
service
objects.
I've browsed the Forte site and found a TechNote concerning this
(TechNote 11074).
In this TechNote they talk about a service object that is responsible
for updating all backup service objects when needed.
It seems to me that when I implement that way, I will be creating a
lot
of overhead, i.e. I will be doing a lot of stuff several times.
What will be the effects on my performance ?
The way with the least performance loss would be to use an external
resource that is updated. But what if this external resource also
fails
Is there any one who has already implemented a failover scenario for a
service objects with state ?
Any help would be appreciated.
Steven Arijs
([email protected])
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

Right, delivery of events is not guaranteed by Forte, even though
it is reasonable to rely on it in the case of two Forte servers on a LAN.
I would not go towards a solution for securing events delivery by
an acknowledgement mechanism (ack event or shared object notifier),
because of increased complexity and performance overhead.
On the other hand, a second simple security level can be provided by
enabling
your mirror/backup SO to be refreshed at will, by letting it get a
snapshot
of the current transient data to be mirrored, so you can :
- Start your partitions in any order (The mirror partition will first
task a
snapshot of the transient data, then will register for mirror events)
- Start and stop the mirror partition at will, without disrupting the
application
Then, if you do not trust events delivery, you can reinitialize your
mirror
periodically (say every 12 hours) to minimize the risks of losing
transient
data events.
Again, this solution is suited to low volumes of transient data.
I guess what Chad means by journaling is writing to a log file any
event (in a large sense) happening on data from its initial value. Then
if
you need to restore state, you re-play the events from the initial value.
This is a common solution in the banking area where you need to backup
values but also events on the values. I do not know how this can be
applied
to a generic mechanism with Forte, but it may be a good way to explore,
although probably more complex to implement with Forte than the
Backup SO/ Events pattern.
Hope this helps,
Vincent Figari
On Fri, 13 Feb 1998 10:39:03 -0600 Chad Stansbury
<[email protected]> writes:
Actually, since events (let alone distributed events) are not
'guaranteed delivery' in Forte, I would hesitate to use events
as a mechanism of mirroring your data - unless, of course, you
really don't require an industrial strength failover strategy.
This would also apply to asynchronous messaging (unless you
are careful to register for exception events (which again, aren't
guaranteed delivery) and have a mechanism to handle said
asynchronous exception events. I also know that Forte will retry
certain tasks when the service object it is sent to fails com-
pletely (like a NIL object exception), but don't know enough
about the internal workings of Forte to know under which conditions
this will occur.
I think that the most common method of a truly industrial-
strength, guaranteed-delivery mechanisms is via journaling...
which I know very little about, but is something that you should
be able to look up and study if that's what you require.
Again, if you don't care about the (admittedly small) chance
of an asynchronous call failing, then the suggestions that
Vincent has already made are good ones.
From: [email protected]
To: [email protected]
Cc: [email protected]
Sent: 2/13/98 9:13:17 AM
Subject: Re: Failover for SO's with context
Steven,
The pattern choice between external resource vs SO is dependent on the
type
of transient data you want to backup. Probably the external resource
is
better
suited to high volumes of data. We have implemented the 'Backup SO'
pattern because our transient data volumes are rather low (which I
guess
must
be the most common case for global, transient data).
Whatever the choice you do :
- Be sure to enforce encapsulation for updating the transient data, in
order to
guarantee that any modification to your transient data is duplicated
on
the backup
SO or the external resource
- About performances, the CPU cost is fairly low for your 'regular'
application if you
take care to :
* use asynchronous tasks to update the external resource
or
* use events to notify the backup SO
Now it is true that you will have a network overhead when using
events,
as your
backup SO shall be isolated in a remote partition on a remote
server.
That is one good argument to select the Backup SO pattern for low
volumes of
transient data.
If you choose the 'Backup SO' pattern, you will also have to be
careful
not sending
any distributed reference to your Backup SO but only clones.
Anyway, the backup SO pattern works fairly well for low volumes of
data,
but requires lots of testings and a good understanding of events and
communication
across partitions.
Hope this helps,
Vincent Figari
On Fri, 13 Feb 1998 09:24:57 +0100 Steven Arijs <[email protected]>
writes:
We're going to implement a failover scenario for our application.
Unfortunately, we also have to replicate the state of our failed
service
objects.
I've browsed the Forte site and found a TechNote concerning this
(TechNote 11074).
In this TechNote they talk about a service object that is responsible
for updating all backup service objects when needed.
It seems to me that when I implement that way, I will be creating a
lot
of overhead, i.e. I will be doing a lot of stuff several times.
What will be the effects on my performance ?
The way with the least performance loss would be to use an external
resource that is updated. But what if this external resource also
fails
Is there any one who has already implemented a failover scenario for a
service objects with state ?
Any help would be appreciated.
Steven Arijs
([email protected])
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

Similar Messages

  • Generic Java class for working with Context Nodes

    Hi,all
    I would like to write generic Java class for working with Context Nodes:
    populating node,
    add element to node,
    update node element,
    remove node element
    Any ideas how can I do it?

    Hi,Armin
    Thanks for your answer.
    I have many nodes with the same structure,but different data.
    I don't want to work with each one of them individually.
    This is the main reason.
    Regards,
    Michael
    Any ideas?

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • SAP XI - Mapping with Contexts

    Hi Guys,
    We have a problem when mapping with contexts. Couldyou please help.
    What we are trying to achieve is if PARVW = X then map name2 to name2. We have done this all the way down the DT_Address. The context on both input values are set to IDOC.
    The problem is that when all the fields are in a particular segment occurence then it maps perfectly. But on numerous occurrences of E1EDKA1 various fields are missing i.e.name2 or pstl2 etc. What we want to happen is if the field doesn’t exist in that particular occurrence then just leave blank and don’t map. What is happening instead is XI keeps looking for this field and maps the first occurrence it can find of it. So we end up with like 6 occurrences of the same thing.
    Is their a way to specify that only map the fields if it is within the same occurrence as the qualifier. So basically Name2 follows PARVW to the same occurrence.
    Also is their a way of making it so we don’t get
    Name
    Name
    Name
    Id
    Id
    Id
    Address
    Address
    Address
    And instead get
    Name
    Id
    Address
    Name
    Id
    Address
    Name
    Id
    Address
    Thanks people

    Hi Thanks for your input.
    It was a little to do with the context but in the end I had to put another element in the target structure. So it went
    Customer 0-unbounded
            customerAddress 1-1
                       Details 0-1
                       ETC 0-1
                       ETC 0-1
    I mapped the customer to E1EDKA1
    I mapped customer address to a constant
    and the details I ampped as before but with no context.
    This seemed to work.... I have no idea why but it did work. If anybody could explain the why, I would appreciate it.

  • Error with context mapping

    Dear All,
    I am a novice to webdynpro. I have tried to create a program using MVC concept. Here is the below components that I have created while
    I was referring to an example mentioned in WEBDYNPRO ABAP by U Hoffmann.
    I have encountered a run time error which I am not able to resolve. Can anyone please help me out in this regard.
    Below is the error description I have received.
    Node UNITS Is Already Mapped.
    Below is the description of the components that I have created.
    Component 1- Model Component Contains the ROADMAP context node and 'UNITS' context node. This Units context node further has a tree structure with lower level node containing from and to unit nodes. I have provided a supply function for these 2 lower level nodes. Also I have declared the units context node as Interface node.
    Component 2- View Component_Sub
    This component contains the Units context context node and a view which is embedded in the window.
    Component 3- View Component_main
    This component contains the same Units context node and a roadmap node declared in component 1.
    I have created a view which uses roadmap node. Also it contains a view container UI element. In window section I have embedded the view of Component 2.
    Context node Units of component 3 is externally mapped with context node of component 2.
    Component - 4- Main Component.
    Again this contains same context nodes as mentioned in component 1 which is mapped to the context node of Model Component.
    Data from Component 1 is externally mapped with context node of Main component. Context node of Main component is again mapped with context node of Component 3.
    When I execute the program. I am the error as 'NODE IS ALREADY MAPPED'.
    Sorry If I have repeated the same problem mentioned in another thread.I have searched for this particular problem on internet and could not find any solution for this.
    It would be of great help if someone can provide me the solution for this problem.
    Thanks in advance.
    Regards,
    Girish

    Hello,
    There should be something that could correlate the Invoice_Header/Key and Invoice_Line/Key. In your example, both are the same for the first and data set. If the sample looks like the one below, it is possible to sort things by correlating the Invoice_Header key and Invoice_Line key
    <Invoice_Header>
      <Key>000<Key>
    </Invoice_Header>
    <Invoice_Line>
      <Key>000<Key>
    </Invoice_Line>
    <Invoice_Line>
      <Key>000<Key>
    </Invoice_Line>
    <Invoice_Header>
      <Key>001<Key>
    </Invoice_Header>
    <Invoice_Line>
      <Key>001<Key>
    </Invoice_Line>
    An example mapping could look like this
    For Header
    Invoice_Header --> Header_Invoice
    For Line
    /InvoiceLine/Key --> removeContext --> splitByValue:valueChanged --> Invoice_Line
    The subfields of the invoice line would also follow a similar logic, you just need to use formatByExample --> splitByValue:eachValue so that the context levels are the same.
    Hope this helps,
    Mark

  • Setup failover for a distributed cache

    Hello,
    For our production setup we will have 4 app servers one clone per each app server. so there will be 4 clones to a cluster. And we will have 2 jvms for our distributed cache - one being a failover, both of those will be in cluster.
    How would i configure the failover for the distributed cache?
    Thanks

    user644269 wrote:
    Right - so each of the near cache schemes defined would need to have the back map high-units set to where it could take on 100% of data.Specifically the near-scheme/back-scheme/distributed-scheme/backing-map-scheme/local-scheme/high-units value (take a look at the [Cache Configuration Elements|http://coherence.oracle.com/display/COH34UG/Cache+Configuration+Elements] ).
    There are two options:
    1) No Expiry -- In this case you would have to size the storage enabled JVMs to that an individual JVM could store all of the data.
    or
    2) Expiry -- In this case you would set the high-units a value that you determine. If you want it to store all the data then it needs to be set higher than the total number of objects that you will store in the cache at any given time or you can set it lower with the understanding that once that high-units is reached Coherence will evict some data from the cluster (i.e. remove it from the "cluster memory").
    user644269 wrote:
    Other than that - there is not configuration needed to ensure that these JVM's act as a failover in the event one goes down.Correct, data fault tolerance is on by default (set to one level of redundancy).
    :Rob:
    Coherence Team

  • How to plan Failover for the following Scenarios in Flex-connect mode.

    The following queries are in respect to AP High availability (not SSO fail over or Controller HA), meaning if one controller fails, the AP will be failing over to the secondary controller which is in a different Geo location. the AP will be in Flex-connect mode with local switching and local auth. in this scenario, following are my queries
    1: If i have an SSID that has an interface group linked to it, can i fail it over on other controller where there may be a single WLAN linked to it.?
    2:Do we need the subnet masks to be same at both ends?
    3: if i have an SSID with open authentication, can i configure the remote network SSID with no authentication?
    4: can any one link me up with a document that explains configuration case study of the flex-connect mode fail over scenarios.
    All the help given would be really appreciated.
    Thanks.

    hi Scott,
    Sorry for replyimg late. and thanks for your reply and suggestion.
    it did help me a lot, but now i am in a tiff.
    the thing is my client has following existing scenario:
    he has 6 disparate locations with a standalone 5508 WLC at each location.
    he is now planning to configure AP failover for every location.
    we are using the Flex-connect design as he has not procured a HA-SSO license.
    also the WLC are not in same location.
    the Flex-connect design is with Local Switching and local Auth.
    there are 2 SSID which are causing me issues.
    1: SSID A is linked to an interface group which has multiple vlans.
    2: SSID B shares its WLAN interface with another SSID (the wlan is split between 2 different SSID)
    we need local switching for these and also they need to have local auth.
    so if i remove the interface group for SSID A and use a bigger subnet, what will be the best possible mask to use considering that the ARP and DHCP broadcast shouldn't choke up the network (existing subnets are /21 and /22). or any workaround to minimise the network activity.
    and for SSID b what is the configuration i would need to do on the secondary controller or is it just that the SSID needs to be present on the controller and the mask need not be same.
    sorry for troubling you and thanks in advance
    Niiketan Sutar.

  • Weblogic7/examples/clustering/ejb Automatic failover for idempotent methods ?

    This one should be easy since it is from the examples folder of bea 7 about
              clustering.
              Ref : \bea7\weblogic007\samples\server\src\examples\cluster\ejb
              I am referring to the cluster example provided with the weblogic server 7.0
              on windows 2000.
              I deployed Admin server and 2 managed server as described in document.
              Everything works fine as shown by the example. I get load balancing and
              failover both. Too Good.
              Client.java is using the while loop to manage the failover. So on exception
              it will go thru the loop again.
              I understand from the documentation that the stateless session EJB will
              provide the automatic failover for Idempotent stateless bean
              Case Failover Idempotent : ( Automatic )
              If methods are written in such a way that repeated calls to the same method
              do not cause duplicate updates, the method is said to be "idempotent." For
              idempotent methods, WebLogic Server provides the
              stateless-bean-methods-are-idempotent deployment property. If you set this
              property to "true" in weblogic-ejb-jar.xml, WebLogic Server assumes that the
              method is idempotent and will provide failover services for the EJB method,
              even if a failure occurs during a method call.
              Now I made 2 changes to the code.
              1 . I added as follows to the weblogic-ejb-jar.xml of teller stateless EJB
              <stateless-clustering>
              <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              <stateless-bean-load-algorithm>random</stateless-bean-load-algorithm>
              <stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idem
              potent>
              </stateless-clustering>
              So I should get the automatic failover .............
              2. Also I added the break statement in the catch on line around 230 in
              Client .java
              catch (RemoteException re) {
              System.out.println(" Error: " + re);
              // Replace teller, in case that's the problem
              teller = null;
              invoke = false;
              break;
              So that the client program does not loop again and again.
              Now I compile and restart all my three servers and redeploy application (
              just to be sure )
              I start my client and I get a automatic load balancing between the server
              which makes me happy.
              But Failover ....?
              I kill one of the managed application server in cluster at any particular
              test fail point.
              I expect the exception to be taken care automatically by error/failover
              handler in the home/remote stub
              But the client program fails and terminates.
              1. What is wrong with the code ?
              2. Does the automatic failover with the indempotent methods also has to be
              taken care by coding the similar while loop for stateless ejb ?
              Your help will be appreciated ASAP.
              Let me know if you need any thing more from my system. But I am sure this
              will be very easy as it is from the sample code.........
              Thanks
              

    Sorry I meant to send this to the ejb newsgroup.
              dan
              dan benanav wrote:
              > Do any vendors provide for clustering with automatic failover of entity
              > beans? I know that WLS does not. How about Gemstone? If not is there
              > a reason why it is not possible?
              >
              > It seems to me that EJB servers should be capable of automatic failover
              > of entity beans.
              >
              > dan
              

  • Help with context index with /, -, @

    Hi all!
    I have just start work with oracle. I have a problem with context index. Please help me. My problem is :
    I have two column 'name' and 'address'. I index two column with context index (for example : Two index have name is 'Index1' and 'Index 2' ). I set parameter ('STOPLIST ctxsys.empty_stoplist') and i insert four rows such as : ('A','80/3 cong hoa'), ('B','80-3 cong hoa'), ('C','80@3 cong hoa'), ('D','80 3 cong hoa'). But when i execute this select :
    select * from tablename where contains(address, '3 cong hoa') > 0
    Result will return to me 4 rows But i just want one rows is ('D', '80 3 cong hoa').
    I know oracle will convert character '/', '-', '@' to space so result will return 4 rows and i don't know how to oracle keep character '/', '-', '@' when oracle index. I just want to add with 'Index2' for column 'address' and i don't want to add with 'Index1' for column 'name'
    Please help me, and thanks for your attention

    So you want "/", "-" and "@" to link tokens, but you want "." to break numeric tokens?
    OK, we can do that - though it seems a slightly odd requirement.
    There are two special characters NUMJOIN and NUMGROUP which are used for purely numeric tokens. The default will vary by locale, but for English-speaking locales the defaults are "." and "," - so a number such as 1,234,567.89 will be treated as a single token. In French (and other) speaking locales, they are reversed since numbers are normally written as 1.234.567,89.
    If you want to disable these NUMJOIN and NUMGROUP characters, so that numbers are always split into component tokens, then you can set both of the to the space character (it won't allow NULL or '', which would be more logical in my opinion).
    drop table foo;
    create table foo (bar varchar2(200));
    insert into foo values ('80/3 cong hoa');
    insert into foo values ('80-3 cong hoa');
    insert into foo values ('80@3 cong hoa');
    insert into foo values ('80 3 cong hoa');
    insert into foo values ('80.3 cong hoa');
    exec ctx_ddl.drop_preference('foo_lexer')
    exec ctx_ddl.create_preference('foo_lexer', 'basic_lexer')
    exec ctx_ddl.set_attribute('foo_lexer', 'PRINTJOINS', '/-@')
    exec ctx_ddl.set_attribute('foo_lexer', 'PRINTJOINS', '/-@')
    exec ctx_ddl.set_attribute('foo_lexer', 'NUMJOIN', ' ')
    exec ctx_ddl.set_attribute('foo_lexer', 'NUMGROUP', ' ')
    create index foo_index on foo(bar) indextype is ctxsys.context
    parameters ('lexer foo_lexer');
    select * from foo where contains (bar, '3 cong hoa') > 0;Output is:
    BAR
    80 3 cong hoa
    80.3 cong hoa

  • No message catalogs for resource javax.faces.context.FACES_IMPL_MESSAGES

    Hi All,
    Just out of curiosity I tried deploying the cardemo.war to JBoss 3.0.3 with its inbeded tomcat container. However when I hit index.html and follow the link I get :
    No message catalogs for resource javax.faces.context.FACES_IMPL_MESSAGES
    thrown. Any idears why? Is the cardemo only working with the tomcat in a standalone mode?
    Jon Ridgway

    I'm having the same problem. Using JBoss 3.20/tomcat 4.12.
    However everything works fine when running tomcat outside of JBoss.
    There is some mention in a catalina readme file located in
    ~$CATALINA_HOME/temp
    This temp directory is used by the JVM for temporary file storage.
    The JVM is configured to use this as its java.io.tmpdir in the
    catalina.sh and catalina.bat scripts. Tomcat is configured to use
    this temporary directory rather than its default for security reasons.
    The temp directory must exist for Tomcat to work correctly.
    I tried setting this JRE option in the run.sh of the JBoss/bin dir.
    Without any positive results.

  • Check Mandatory Fields when state is bound with context attribute

    Hello All,
    Currently i am facing  problem in my SAP SRM 7.0 standard component.
    Actually, i have to remove  mandatory(State = Required) for one of my inputfileds for this I have written below code, but it has been  remove only Red mark * infront of Inputfield, after that, i am trying to save other data, still it is asking me enter the required value.
         here my input field  bound with Context attribute, it is standard attribute.
    data:lo_input1 type ref to cl_wd_input_field.
       lo_input1 ?= VIEW->get_element( 'NAME_FIRST' ).
       lo_input1->set_state( '00' ).
    I am trying to delete state = required property from below component and view
    Component Name : /SAPSRM/WDC_MOFC_PERSON
           View  :  V_PERSON
    Can you help me on this?
    Thanks
    Sandeep.

    Hi Baskaran ,
    Thanks for ur reply ..
    Eveen in that component they have not used cl_wd_dynamic_tool class for mandatory attributes
    I want to share another thing with u that is
    I am trying it in another way
    with the following code which i have done in post exit  is
    let me explain u what i did
    __first of all i got the child node of rootuielementcontaine
    later
    i get the childnode of container_left and assigned it to another class of ref cl_wd_uielemnent
    now where i have struked is
    *CALL METHOD LR_CHILD2->GET_CHILD
    EXPORTING
       ID        = 'FORM_OF_ADDRESS_DROPDOWN'
       INDEX     =
    RECEIVING
       THE_CHILD = LR_C1.
    what the error i am getting is
    OBJECTS_OBJREF_NOT_ASSIGNED
    Please correct me if there is any wrong inn the code ...
    FORM_OF_ADDRESS_DROPDOWN--->ui element dropdown
    r__ DATA lr_container TYPE REF TO cl_wd_uielement_container.
    DATA lt_children  TYPE        cl_wd_uielement=>tt_uielement.
    DATA lr_view      TYPE REF TO if_wd_view.
    DATA lr_child     TYPE REF TO cl_wd_uielement.
       DATA lr_child1     TYPE REF TO cl_wd_uielement.
       DATA lr_child2     TYPE REF TO cl_wd_uielement.
    data : LR_CON1 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
    data : LR_CON2 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
    SANDEEP
    lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
    lt_children = lr_container->get_children( ).
    CALL METHOD lr_container->get_child
       EXPORTING
         id        = 'DATACONTAINER'
         index     = 1
       RECEIVING
         the_child = lr_CHILD.
    LR_CON1 ?= LR_CHILD.
    CALL METHOD LR_CON1->GET_CHILD
      EXPORTING
        ID        = 'CONTAINER_LEFT'
        INDEX     = 1
      RECEIVING
        THE_CHILD = LR_CHILD1 .
    DATA : LR_CHILD2 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
    LR_CHILD2 ?= LR_CHILD1 .
    *DATA : LR_C1 TYPE REF TO CL_WD_UIELEMENT.
    *CALL METHOD LR_CHILD2->GET_CHILD
    EXPORTING
       ID        = 'FORM_OF_ADDRESS_DROPDOWN'
       INDEX     =
    RECEIVING
       THE_CHILD = LR_C1.
    *DATA : LR_DD TYPE REF TO CL_WD_DROPDOWN_BY_KEY .
    *LR_DD ?= LR_C1 .
    *CALL METHOD LR_DD->SET_STATE
    EXPORTING
       VALUE  = '00'
    sandeep

  • Is it possible to bind the elments with context node dynamically?

    Hi All,
    Is it possible to dynamically bind elements with context nodes?
    In other words, at runtime, can we change the binding of an Inputfield to another context. Or a table to programmatically bind to another table?
    Regards,
    urbashi

    hi urbashi.......
          it is possible..
           you should first pass the id of he ui element and then bind it.
           for ex:
             if there is an input field, you can get the attribute that is bound, using cl_wd_input_field->bound_value.
             if you want to set an attribute, use cl_wd_input_field->bind_value.
             the first one will give an idea of how a valueshould be given.
    ---regards,
       alex b justin

  • Bug: Universal app input controls (i.e. Start Menu, Task view buttons) ignoring and missing interpretative translation for legacy input control context request (right-click)

    Redundant post - however the topic (title) is different to point out the potential of adding translation for right-click to universal app input controls. The part about a solution for translation is in bold at the bottom of this post ...
    Bug: Universal app input controls (i.e. Start Menu, Task view buttons) ignoring and missing interpretation translating right-click to a left-click to activate context (menu) in universal app web style (similar to oo context menu for oo legacy style).
    Bug: Task view: OO context menu: Should show "nothing" (like right-click Start Menu button) - but right click Task view shows the oo context menu for the Task bar (wrong context)
    Besides behaving wrongly (should be like right clicking the Start button) ....
    the problem is the user is likely to look for actions on that context menu.
    However to activate the context menu for this universal app kind of behavior you actually need to left-click the button for the Task view ... and then you get the universal app like context menu.
    Microsoft must have been trying to figure out what to do about this kind of voupling mismatch between legacy (right-click) and universal app (left-click) conmtext menus. confusing for users it weill become nevertheless.
    But the left-click style supports touch.
    One solution though is to support right-click on i.e. Task view and Start button. Thus for new kind (universal app kind-of)input controls - right-click will work (instead of just being ignored) just like left-click. Allthough not a correct left-click
    - it will be helpful and interpretive translating the intension of receiving a context. A practical solution with right-click translating into left-click for universal app controls considering that the context menu actually has become a hybrid of left-click
    and right-click (with a precedence for left-click though)

    This is a great post.
    I couldn't have written it myself better.
    I'm also in dying need of Korean input as I can't communicate with my Korean friends.
    But I second every point.
    I hope the tech teams are reading this.

  • [iPhone] Building a wrapper around Quartz 2D. trouble with contexts

    I'm building myself a small ObjC wrapper around some of the basic Quartz 2D drawing functions such as
    CGContextMoveToPoint(context, rect.origin.x, rect.size.height - 50);
    and so on.
    The problem I'm having is with contexts. My wrapper looks something like this:
    - (void)moveToPoint:(CGPoint)point {
    CGContextMoveToPoint(context, point.x, point.y);
    "context" in this case is UIGraphicsGetCurrentContext(); which gets called in my wrapper's initializer. I have a feeling this is where the problem (my wrapper is not the same object where the drawRect: method is).
    How do I get the proper context?

    I've never actually done this, so there may very well be some hidden compositing gotcha preventing this from working as smoothly as one might hope, but generally speaking, the whole point of the subview is to delegate all drawing responsibility to it. If the parent wants to draw something around or behind one of its children then it should do so without concern for anyone else's behavior (though it will doubtlessly want to implement some form of hit testing in a case such as this to make sure everything lines up visually).

  • "Note to seller" missing for PayPal Express - in-context for mobile devices

    See subject... I am helping a friend with his website where we use a shopping solution for a wordpress website that integrates with paypal express. It uses "paypal express -  in context" ... unfortunately it appears "note to seller" is not yet implemented for "paypal express -  in context" when viewed on e.g. smartphones ... is there any ETA for this? It is a pretty vital field in our case...  https://developer.paypal.com/docs/classic/express-checkout/in-context/popup/
    https://developer.paypal.com/docs/classic/express-checkout/in-context/integration/ (would appreciate it greatly if this field could be supported soon9

    Actually I am not 100% sure. From the looks of it I am using "in-context", but the code my shopping cart uses (Cart66) does not seem to use the new URL the PayPal documentation dictates.  Anyhow, the problem remains. The notes field is not shown to mobile users. I think that it is somewhat odd to support it for orders coming through desktop, but not support it for mobile. I hope I am missing something

Maybe you are looking for

  • I was working on my spry menu bar and now my sidebar1 photo moves with the menu bar?

    I was working on my spry menu bar, and getting really far with it thanks to GRAMPS, and all of a sudden I wanted to put padding of 30px top and 30 px bottom on the sidebar1 photo in the container and now all of a sudden the home.jpg photo in the side

  • Error in stored procedure while using dbms_datapump for transportable

    Hi, I'm facing following issue: SQL> select * from v$version; BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for Solaris: Version 10.2.0.4.0 - Production N

  • Get the absolute path and filename of the file from the command line

    Hi, when we run the class we give the command java <filename> How can I capture the filename given above and get its absolute path inside the public static void main(String [] args){} args[0] gives me the command line argument after the filename. How

  • Apple calendar not synching in iTunes

    Aloha, Upgraded iTunes to 11.1.2 last week.  Upgraded to Maverick's yesterday.  I had not noticed until this morning that I no long can select how my Calendar updates when connecting either my iPhone or iPad to iTunes.  Neither is updating after chan

  • Conditional display column in report

    Hi, If we have a single row report of 30 columns, and I want to display only the one with any values but null and hide the null ones, Is there a way to do it? It's the same issue discussed in this thread conditional display column in report thanks, F