on 10-12-2006 9:03 AM
Gurus,
How do I add a Swing component like JTextField to my layout view.?
For readers who are curious as why I want to do this when I have a InputField UI element in Webdynpro, the simple reson beign I want to have the lostFocus functionality of JTextField into my Webdynpro application.
Kindly bail me out.
regds,
S Rudra
Are you serious?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I too had an itch to reply with something like this
This is a sign of work well done!
The WD has so strong UI abstraction, that hides client-server nature applications almost completely. If you search forum, you will even find posts where developers try to upgrade value of ProgressMeter in <b>for</b> loop )
VS
Hi,
Plz do not undestand me in wrongly. I will try to expalin the requirement in more detail. I need to develope a webdynpro screen, where an a values entered into multiple InputField is summed upto into a readonly TextField. Since Webdynpro does not provide eventing related to lostFocus, I was just thinking of embedding a JTextFiled and achieve the same. If some one has a diffrenet approach to problem, plz do help me out.
regds,
S Rudra
This can only be achieved by explicitly triggering an action on the server, so you have to add some UI element like a button or link with an action to update the summary field.
Additionally, you could assign an action to the InputField.onEnter event which is triggered when the ENTER key is pressed inside the field.
Armin
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.