on 07-14-2008 10:39 AM
Hi All:
Can i design a forum with using web dynpro for java?
I want to design an application like a simple forum which maybe has many replies.So if i use
the UI technology "web dynpro for java", i will to create UI elements dynamically.How can i control this
dynamical UI elements to keep layout ?
Of course, you can implement a forum using WD Java. What is the exact question?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your replies...
I am very sorry that i described my question unexactly.
actually,just my question is that i don't know how to control
the layout of dynamical UI elements in my iview.
the layout,do u know what i mean?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That is very simple....
Dont look at that as a Dynamic Container...
instead first create a static layout in your NWDS,
then look at all the properties of your container, UI elements....
like, what layout you used, what are width of each UI Element you placed, etc.....
then in your Dynamic UI Coding use the same values....
Regards,
Srinivas.
Hi,
as per srinivas comment do the same and for the dynamic coding here i m giving you the path of a file in your webdynpro project in which dynamic codding use to store for the UI's created by you in the design time.
with the help of this file you can under stand and code dynamic UI as per your requirement.
go to navigator and follow the path:-
project name>gen_wdp>packages>com>sap>wdp>Internal<you view name>.java
Hope this may help you.
Regards,
Deepak
Hi,
yes you can do that....
for exaple if you observe SDN...
you can imagine like....
A big Transparent Container(TC)....
Inside that number of other TCs(depending upon the question nd its replies...)....
In side each TC, again around 9 UIElements....
one for menioning what is the question/reply?
other for your description of question/reply...
other for your name,
displaing your fourm point... etc...
So it will be
for(loop till your (Question+No of replies))
{
Create Transparent Container....
Add Childs to the Container...
Decide your layout....
}
In case if you want to know how to create UIElements dynamically....
http://help.sap.com/saphelp_nw04/helpdata/en/4f/07cf3dd28b5610e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/dynamic%2bui%2bgeneration
Regards,
Srinivas.
Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.