on 06-28-2007 7:10 AM
1.I created a group but it is coming on the left top cornet i want to move that on to the middle.,how?
2. how can i restrict the input to input field is only a string,is there any way to track the keystroke?
Hi shanto,
Group:
1)Click Group UI element--->go to Properties-->change hAlign= Center
can u tell me clearly abt ur input field question....what u want to do...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can achieve this only by Validation....for this u have to write some coding......
1)Create 1 attribute as name and bind that to input field
Validation coding:
String name=wdContext.currentContextElement().getName();
for(int i=0;i<name.length();i++)
{
if(!(Character.isLetter(name.charAt(i)) || Character.isWhitespace(name.charAt(i)) || name.charAt(i)==46))
{
wdComponentAPI.getMessageManager().reportMessage(IMessageFilterModel.NAME_VALIDATION,null,false);
}
}
Hi,
That is because, the layout property of your view's RootContainer is FlowLayout.
Change the layout property of RootContianer and Group to Grid layout and accordingly choose the value of hAlign and vAlign in the layout data of the group.
I didnt get what you were asking about input field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.Make all layout including RootContainer as grid.Make hAlign as Center and colcount as 1 for all.
2. There is no way to track the keystroke in webdynpro, but some methods r there to change focus,etc..
Regards
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.