Win a copy of Spring Boot in Practice this week in the Spring forum!

abi chitnis

Greenhorn
+ Follow
since Feb 13, 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 abi chitnis

I am using following to create checkboxes dynamically. These checkboxes are arranged horizontally. Is there any way I can arrange these in vertically.



Thank you

Abi
13 years ago
It is possible, in checkboxlist in struts2, to arrange checkboxes vertically?
13 years ago
I am using datetimepicker widget in my struts2 applicaion. How do I get the value of date enterd in the javascript. I tried following but it gives me value undefined when I do document.getElementById('documentDate').value.



Thank you,

Abhi
13 years ago
I am really not familiar with the concept of tooltip, so please excuse my ignorance. Following is the jsp I have and when I move the mouse over link I do not see any tooltip or popup. I am using struts2.1.6 and do not have <s:head> tag. What do I need to put it in <s:/head> tag?

13 years ago
Hi

I want to use tooltip functionality with anchor tag so that when user hovers over the link it will popup saml box with description of that link. I tried following but I am not much familiar with tooltip concept.



Any sample code or help in this matter is really appreciated.

Thank you,
13 years ago
I am using displaytags in my jsp and using displaytags pagination. When I click to go next page I get following error in the error log. Any help regarding this is appreciated.

ognl.InappropriateExpressionException: Inappropriate OGNL expression: (d
- 49653) - o
at ognl.SimpleNode.setValueBody(SimpleNode.java:257)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
at ognl.SimpleNode.setValue(SimpleNode.java:246)
at ognl.Ognl.setValue(Ognl.java:476)
at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:184)
at
com.opensymphony.xwork2.util.OgnlValueStack.setValue(OgnlValueStack.java
:162)
at
com.opensymphony.xwork2.util.OgnlValueStack.setValue(OgnlValueStack.java
:150)
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(
ParametersInterceptor.java:173)
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.intercept(Para
metersInterceptor.java:139)
at
13 years ago
I was trying to presrve actionErrors and actionMessages across resulttype redirect. I was able to fix that using MessageStoreInterceptor.
13 years ago
Initially I juat want a simple validation. So when user clicks on serach button with out entering anything on the page then I will go back to same page with message displayed at the top. But some how it is not working for me. Following is the flow.
display.action - display.jsp (displays dynamic text boxes and dropdowns)

when user clicks on serach button - showquery.action





13 years ago
I am dynamically genearting textfields on jsp. How do I validate content of those textfields in acton bean? Following is my jsp.


13 years ago
I am dynamically genearting multi select boxes on jsp. How do I access selected values in my action method when user clicks submit? Following is my jsp.
selectedValuesDropdowns is list defined in the action bean. I can get values if the drop down box is single select. But when it is multiselect I am having issues.

Any suggestions or alternate way to achieve this.

<s:form action="showquery">
<s:iterator value="lstRepositoryQueryActionBean" status="status">
<s:if test='htmlType=="TEXTBOX" '>
<s:textfield key="%{key}" name="selectedValuesBoxes" label="%{label}" size="20"/>
</s:if>
<s:else>
<s:select name="selectedValuesDropdowns" label="%{label}" list="%{optionList}"
listKey="value" listValue="description" multiple="true"
headerKey="%{headerKey}" headerValue="%{headerValue}" emptyOption="false"
value ="%{headerKey}" />

</s:iterator>
<s:submit value="Search"/>
</s:form>
13 years ago