on 06-04-2009 1:40 PM
Hi,
I am developng an application in Netweaer Mobile .I am Using NWDS 7.1 CE SP07. The application I am developing requires some validation. How could I use the message pool in the IDE and also how to trigger the same out of it.
Regards,
Muhammed Nishad J
Hi Muhammed
Are you using laptop client or PDA client.
If you are using Mobile Applications for handhelds perspective you can use the getResourceBundle inside each view to get messages from message pool.
Regards
Vidyadhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the application code for a view you can use the method "getResourceBundle()" and using its APIs get the message as string.
Using WDLite.showMessage() API you can show the message as a pop up with choices of buttons.
Using WDLite.showStatusMessage() API you can show the message in the status bar at the top of container. This is mostly used to show application messages.
Regards,
Nipun
Hi Nishad
Here is the sample code.
I created a message in message pool of UI component with key name "one".
In the java editor of view you can use this sample code.
String str = getResourceBundle().getString(I<YourComponent>CompMessages.MSG_KEY_one);
WDLite.showStatusMessage(0, str);
Regards
Vidyadhar
Hi Muhammed Nishad,
What sort of validation do you want to add ?
According to my understanding, is it regarding some data which has reached you application on the
client ?
Correct me if im wrong ...
Thanks,
Swarna Shree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I might be saving some data in my mobile device. Before saving the data I need to validate in the device. If the validation fails I need show an error message.{ I can see a message pool in the IDE, But I do not sure to work with that}.
Please have a solution or work around to show messages.
Regards
Muhammed Nishad J
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.