Anshul Chandra Saxena

Greenhorn
+ Follow
since Sep 10, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Anshul Chandra Saxena

Hi

I have a book page with two portlets on it, in a single column. Each portlet takes up 400 px, and the whole page is 800px in width. The user is allowed to maximize either portlet.

When I click the Maximize button on a portlet, the page is redrawn with only that portlet showing. The portlet's height expands to fill the entire page, but the portlet's width is still constrained to 400 px. I would like the portlet to be smart enough to manage its own width, just like it does with the height.

Can anyone please suggest how i can achieve this through CSS ?

Your prompt reply is highly appreciated.


thanks
Anshul
Hi All

I have a requirement such as when the user selects any value from the drop down and by the time that value gets populated in another place i need to make the whole page inactive by showing an hour glass.

Can anyone let me know how this can be achieved using Javascript ?

thanks
Anshul
Hi

I have got an offer from [removed]. Since its a small company and there aren't many people who knows about it.

I wanted to know about the work culture, the career opportunities etc.

If anyone has any idea about this, please share them with me.

thanks
8 years ago
Hi

I have a requirement wherein i have to parse an XML file and generate a new XML file out of that.

My XML file looks like this



My file has many entries like these. Now i have to parse this XML file and have to produce an output like this for all the entries:



Can anyone please help me with this.

thanks
Anshul

8 years ago
Hi

I have a sample code like this:



Can anyone please tell me how to retrieve the values from the valueMap ?As in, for key "FIRST" i want to retrieve the value "XXXXX" .

thanks
Anshul
8 years ago
Hi

Can anyone please help with this ?

thanks
8 years ago
JSF
Hi

I have to develop a <h:selectOneListBox>, wherein there will be 4 items.That is the dropdown will have 4 items. I need to retrieve the value that the user is selecting. I am facing the problem while retrieving the value. Its always coming null.

My Backing Bean is:


The view.jsp is as:


Now, whenever i try to get the selectedValue like



i get a NullPointerException.

Can anyone please help, how to retrieve the selected Value.

thanks
8 years ago
JSF
Hi Bear

Thanks for replying. Actually i am a novice and i am not really getting how to capture the clicks. Can you please help me in this ?

thanks
What i am looking for is, suppose i have the JavaBean like this.

I prepared an ArrayList of such beans, suppose 10 of them. Now i want to group these, and display them as

+ (then the first bean i.e the properties value of it. eg Source Page Name and Target Page Name.) These have already been populated by the Javacode.

Now when someone clicks the + button, all the lists will expand and all the beans with their property values will be displayed.

Can anyone suggest how to make this expandable/collapsible list ?

thanks
Hi All

I have a list of beans. The beans has getters and setters of some properties. I have prepared a list of such beans. My requirement is to create a clickable list, such that on clicking the icon, the complete list of beans with all the values will be displayed.

Can i do it in CSS, or div, DHTML. If anyone knows how to do it, please let me know.

thanks

Hi All

I have a requirement wherein i have to make use of the pagination tag of JSF. I need to make the list displayed configurable. i.e if i want to show 10 or 20 items per page...

Can anyone please let me know how to do this ?

thanks
Anshul
8 years ago
JSF
Hi

I have a main class, that receives an action from the jsp. On the basis of action value i need to invoke the correct service. I have adopted the Abstract Factory Pattern, wherein on the basis of action value, the correct service is invoked. My only problem is how to inject this factory into the main class using Spring.

Can anyone please let me know, how to do this.

thanks
8 years ago
Hi

I have a question .... I have a requirement wherein i have to create a clickable list i.e. there needs to be a + symbol, and on clicking it the list should expand and the values will be shown .. Do we have any such tag in JSF ? If yes, can anyone please let me know what it is ?

OR

Do i have to write my own custom component for that ?

thanks
8 years ago
JSF
Hi

I have a list of beans. I now want to retrieve the properties from the bean and then compare the properties. Can anyone please help me in this .

public class WireBean {

private String sourceName;
private String targetName;

public String getSourceName() {
return sourceName;
}

public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}

public String getTargetName() {
return targetName;
}

public void setTargetName(String targetName) {
this.targetName = targetName;
}


Based on the different values set in the properties, i have put the bean in a list. (list.add(wireBean))

Now i want to iterate through this list and i want to check the properties of sourceName in different beans and if they are equal, i want to put them in a Map.

Can anyone , please help !




}
8 years ago