Jinal Prakas Shah

Ranch Hand
+ Follow
since Jun 20, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jinal Prakas Shah

Here is a small tutorial I found online
http://gwtquickstart.blogspot.com/2009/11/call-php-script-from-gwt.html

You can refer it and if you need more specific then do post it.
6 years ago
GWT
Try changing the css property of Dockpanel. In this way you can manage the spacing in the panel. It will be in the gwt folder created when you compile the application
6 years ago
GWT
I have a very simple question. I'm writing this iteration code. Here is the code

I have a HashSet variable named myStates which contains the stateid which is the same Id above. Now if that id occurs in the HashSet what I want is to show it selected. Can you tell me How to do this?

Regards
7 years ago
Did you try the Vertical Panel?
7 years ago
GWT
It's a simple thing. In the cell table you need to replace that row with another row of textboxes. You need to create the listener on the button click and pass the object of that row to replace the content. I know it's a bit complicated in making you understand here in forum.

Regards
7 years ago
GWT
Behind the scene it is accessing the HttpServletRequest object and getting the parameters from the URL for you as a name value fashion in the Map class object.
7 years ago
but remember it will give you an object and not String when you do so.
7 years ago
You need to extend extends ActionSupport for your Struts Action class.
7 years ago
This is what you need to do
1. Make your Action implement the ParameterAware interface.

2. Define a class variable for parameters Map:
private Map parameters;

3. Create getter and setter methods for the above defined parameters Map.

4. Calling getParameters() gives you access to the request parameters through the above defined Map.

5. To make things simple, you can create a getParameterValue() method to return value of a request parameter by its name:

public String getParameterValue(String param) {
Object varr = getParameters().get(param);
if (varr == null) return null;
return ((String[]) varr)[0];
}

Regards
7 years ago
cool. Is that all or you need more help?
7 years ago
Try this
<s:param name="contId" value="#contId"/>

This should work
7 years ago
can you put the <s:property> tag in between <s:param> tag
7 years ago
so instead of %{contId} use #contId.
7 years ago
Do 1 thing separtely in that iteration of your's try to print the value of contId using <s:property value="contId"/> just to check whether you are able to access the variable or not.
7 years ago