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
Similar Messages
-
How to bind UI Element with Context Node Attribute Element
Hi,
I'm building my view dynamically in the wdDoModifyView method.
Is it possible to bind a "TextView" element to a specific element of an attribute node?
Scenario:
Node_Employees
|
+- Attribute_Code
|
+- Attribute_Name
Node Contents:
Employees
|
+- Code: 1, Name: Employee 1
|
+- Code: 2, Name: Employee 2
|
+- Code: 3, Name: Employee 3
I need to do something like binding a TextView UI element to the "Name" attribute of the element #2, what would result to show "Employee 2" on my view.
How can I do this?
Thanks in advance,
Geraldo.Hi Saravanan,
First I populate the context node and it won't change during view's lifecycle. After that, I build my view and bind the TextView UI elements to the node context attributes elements.
If the node has 10 elements, I will build 10 TextView UI elements and bind them to each attribute element.
Regards,
Geraldo Brígido. -
Error while binding the model with the custom controller
Hi All,
I first started with a dummy project and in that binded the model with the custom controller.
For some reason, I deleted the project and created a new one. I have deleted the whole project from the workspace.
Now, when I am trying to bind the model again , I am getting an error when selecting the response parameters saying that DUPICATE ENTRIES.Ideally it should not happen when I am deleting it completely.
I am using a Webservice Model. Can any one help me out to resolve the same.
Looking forward for your response.
Regards
DipendraHi Raman,
I did that and even I have Installed the IDE again.
Still I have that error.
Regards
Dipendra -
when a warranty replacement in hand, is it possible to change the 4s with 5 by extra fees?
Sadly, life is sometimes unfair. Although, I'm not certain why you feel you would be entitled to any form of upgrade. It is neither stated nor implied in any Apple literature.
-
have a touchscreen laptop running Windows 8.1. Is it possible to use the touchscreen with Firefox? I've installed Firefox but it only works with the mouse etc
Hello Sirving575, sorry but the metro version of firefox has been cancelled, see : https://blog.mozilla.org/futurereleases/2014/03/14/metro/
thank you -
I would like to ask if is possible to predict a future version of iOS can have the possibility to choose the color with which to write and be able to choose the character also...
Nobody here would have a crystal ball and know what Apple plans on doing in the furture.
If you feel this feature is so important, you can let Apple know:
www.apple.com/feedback -
Is it possible to sync the iphone with my company's email server
Is it possible to sync the iphone with my company's email server (Novell Groupwise)? I have the option of getting a blackberry or iphone. I want the iphone, but I also want to be able to sync it with my work email since I am away from the office a lot. I know I need to contact the IT department, but I thought I would try here to see what experiences people had with this sistuation. Thanks.
Depends on what protocols they will allow (or can). If they open up POP or better yet IMAP access, then yes, sure. It is all about the protocols available to you (them). Though note, the iPhone checks on an interval where the Blackberry has emails pushed to it. So with iPhone, the min interval time is 15mins.
Message was edited by: DaVBMan -
Is it possible to pair the playbook with the BlackBerry Visor Mount Speakerphone VM-605?
Can i listen to my music from my playbook with my
vehicle's stereo system by using the Blackberry
Visor Mount Spwakerphone VM-605?
Is it possible to pair the playbook with the
BlackBerry Visor Mount Speakerphone VM-605?From what I've seen here and @ Crackberry yes once you've gotten the 2.0 upgrade.
Information Technology is fun! Play with IT. -
Is it possible to connect the java with XL database
Hi friends,
Is it possible to connect the java with XL database.
if it is possible can u send the detail for that .
Thnax in Advance..............What the heck is a XL database?
-
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? -
Is it possible to run the vi with a button on the front panel?
Hi to all,
I was wondering if it is possible to run a vi with a button placed on the front panel.
Regards,
PalazzoPalazzo wrote:
Run vi when opened is not useful in my application, I know that option, thanks.
Can you elaborate? Programmed as a proper state machine, have the program run in an idle state that only waits for for a button press.
There is no need ever to go to edit mode during execution of a finished program.
while I have written a demo Xcontrol to show that everything is possible, I strongly recommend against it. It makes no sense.
See here for the example and instructions. But please read the entire thread, though.
LabVIEW Champion . Do more with less code and in less time . -
Is it Possible to Map the Transformations with already mapped ones
Hi,
I have a scenario :
In my source DSO I have a infoobject 0BILL_NUM,which is mapped with ZB1_PRC in the destination datatarget.Here a routine has written on the destination infoobject ZB1_PRC for the follwing fields in the source system ZBILL_ITM,0COMP_CODE,0BILL_NUM.
In the destination system 0BILL_NUM is mapped with 0REFER_ITM .
In the target system a routine has wriiten for 0BILL_NUM
for the fields 0COMP_CODE,0REFER_DOC,0REFER_ITM and 0BILL_NUM
What is the solution to push my data into the target system,after mapping.
Now Is tht possible to map two infoobjects 0BILL_NUM from the source to the target system infoobject 0BILL_NUM.If not possible, what is the alternative solution
Regards
Luckyhi,
while creating the transformation u can find the option as rule group ok,
first you can map as per the first requirement then in the rule group option u have new rule group there u can assign the second mapping along with other infoobject mappings.
chk out the options in transformation -> rule group
Ramesh -
A Possible Solution to the Issues with QuickTime + Beloved Question Mark.
This is a possible solution to this issue. I have been doing some thinking about this. I have suggested the answer would come from Apple Computer, through an update of "QuickTime". I looked at the applications using the internet. I highlighted them, did a "Find Info" or Apple/Command-I. I decided to check the "Rossetta" box and in my case, better functionality. One thing, make sure you check all of them. I am not jumping up and down and screaming I have the answer. I am just saying it's a possibility. If you want to go this route, let's talk if we run into problems. This is the purpose of the discussion boards.
NortOpen QuickTime with Rosetta and the samegoes with Safari.
-
Error in connecting the database with context.xml resource
Dear everyone,
i am trying to connect the application with database...
i have a table with employee id, name...
i have given context xml and established connection..
but i am getting error as
* " Element type "Resource" must be followed by either attribute specifications, ">" or "/>"."
* "The context.xml file seems to be broken. Check whether it is well-formed and valid."
anyone please give ur suggestions....the error that i received now was...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 34 in the jsp file: /index.jsp
Context cannot be resolved to a type
31: int i=0;
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
An error occurred at line: 34 in the jsp file: /index.jsp
InitialContext cannot be resolved to a type
31: int i=0;
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
An error occurred at line: 35 in the jsp file: /index.jsp
DataSource cannot be resolved to a type
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
38: {
An error occurred at line: 35 in the jsp file: /index.jsp
DataSource cannot be resolved to a type
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
38: {
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs. -
Error by binding a table to context node
Hello Experts,
If I try to bind a table of strings, there comes the error:
"Dynamic type conflict during the assignment of references."
Here is my coding:
METHOD fill_cssref_data .
"Stores the references to the css
DATA: lt_cssref TYPE TABLE OF string,
wb_cssref LIKE LINE OF lt_cssref.
DATA: lo_nd_cssref TYPE REF TO if_wd_context_node.
DATA: wb_messages LIKE LINE OF lt_messages.
lo_nd_cssref = wd_context->get_child_node( wd_this->wdctx_cssref_data ).
LOOP AT lt_messages INTO wb_messages.
CONCATENATE 'https://gtp.wdf.sap.corp/sap/bc/webdynpro/qce/msg_gui_edit?sap-language=E&csinsta='
wb_messages-installno '&mnumm=' wb_messages-problemno '&myear=' wb_messages-pyear
INTO wb_cssref.
APPEND wb_cssref TO lt_cssref.
ENDLOOP.
lo_nd_cssref->bind_table( lt_cssref ).
endmethod.
The node "CSSREF_DATA" contains just one attribute "CSSREF" type string, so I don't know why there's a problem binding a table of strings to this node.
I also tried the method "lo_nd_cssref->bind_elements( lt_cssref )", but the result was the same.
Does anybody know where my mistake is?
Best regards,
LennartHello,
the problem was, that the string table had not the same name as the context node.
Best regards,
Lennart
Maybe you are looking for
-
Address Book Application has disappeared from iMac
my son has an iMac with OSX 10.4 (Tiger). the Address Book application has literally disappeared from his computer. i suspect that i need to re-install Address Book, but cannot find where/how to do that anywhere on apple.com. any help will be greatly
-
Load Data from SQL Server to Oracle 10g using Sql*loader utility
I am trying to lod data from sql server 2005 to oracle 10g. What is the best way to do it? Can sql*loader utility do it? what is the difference of using sql*loader utility and migration tool fom sql developer ? Thanks Edited by: user11313758 on Sep 3
-
I want to block downloads from firefox
I want users not to download anything from firefox. How can this be done??
-
Edit in Photoshop: automate over, sharpen & back.
I can send an image to Photoshop for editing and I can manually run an Action to Sharpen and Save. Can all of this be combined? If a Preset would send to Photoshop and run an Action automatically.
-
Configuration of enterprise structure from Logistic Perspective
Hi expert, I have to configure the enterprise structure from Logistic perspective for a roll out project. So please explain me step by steps configuration for this. I will be very grateful. Regards, Vivek