Re: InputTransferSelect problem in Struts 2

2007-09-25 Thread Shoaib Gauhar
nt change the quotes to legal characters and that is the reason why it generates error and the buttons doesnt work. It has nothing to do with setters and getters of HashMap. Your help will be highly appreciated. Thanks in advance Shoaib --- Dave Newton <[EMAIL PROTECTED]> wrote: &

Re: InputTransferSelect problem in Struts 2

2007-09-25 Thread Shoaib Gauhar
on't know about the javascript piece but the > id on your input is > invalid. Your input should look something like > this: > id="TestAction_map_ID_input" /> > > Shoaib Gauhar wrote: > > Thanks for the reply. Actually the code which i >

Re: InputTransferSelect problem in Struts 2

2007-09-26 Thread Shoaib Gauhar
Mate you are a genious. Thanks alot. It has solved my silly problem. I should have thought of that before:(. Thanks once again. Shoaib --- Adam Ruggles <[EMAIL PROTECTED]> wrote: > You can specify an id in the tag and it > will override the default. > > Shoaib Gauhar wrote

Override the default behavior of Add/Remove in Select Components

2007-10-04 Thread Shoaib Gauhar
Hello: I am working in Struts 2 and would like to override the default behavior of Add and Remove button which are rendered by the OptionTransferSelect tag. Can I do this? Regards, Shoaib Ahmad Boardwal

Struts 2 validation off at page load

2007-11-21 Thread Shoaib Gauhar
Hello, I am new to struts 2 validation architecture. I am facing a problem which might be very simple. I am adding all of my validation rules in the actionclass-validation.xml. It works fine. But what happens is that when the JSP page opens for the first time, it validates the fields and shows

Re: Struts 2 validation off at page load

2007-11-21 Thread Shoaib Gauhar
validation.xml The S2 documentation wiki covers these options (and probably a few more) and there are a few WebWork validation articles out there as well, I believe they're linked to on the wiki. d. --- Shoaib Gauhar <[EMAIL PROTECTED]> wrote: > Hello, > > I am new to struts 2

Upgradation problem from 2.0.8 to 2.1.0

2007-11-27 Thread Shoaib Gauhar
Hello, I have been using version 2.0.8 for the last couple of months. It was running quite fine. But, now, i need to upgrade it to 2.1.0. I have downloaded the struts-2.1 ZIP file from http://people.apache.org/builds/struts/2.1.0/ I only replaced freemarker,xwork and struts-2-core jar from the

Upgradation from 2.0.8 to 2.0.11

2007-11-27 Thread Shoaib Gauhar
Regarding my previous mail, i have some how narrowed down the problem. Below is my action as described in my struts.xml. /WEB-INF/jsp/netsol/LibraryItemForm.jsp /WEB-INF/jsp/netsol/LibraryItemForm.jsp

Re: Upgradation from 2.0.8 to 2.0.11

2007-11-27 Thread Shoaib Gauhar
ute to the notes if you've solved some other issues :-) regards, Jeromy Evans Shoaib Gauhar wrote: > Regarding my previous mail, i have some how narrowed down the problem. Below > is my action as described in my struts.xml. > > class="com.netsol.

Re: Pitfall of , etc. tags in Struts2???

2007-11-28 Thread Shoaib Gauhar
Try the following code. item1 item2 - Original Message From: DJR <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, November 29

Token problem in Struts 2.1

2007-11-28 Thread Shoaib Gauhar
Hello: I have been trying to migrate from 2.0.8 to 2.1. I had some problems which were solved yesterday (thanks to you guys). But, now i am facing another problem regarding tokenSession. The same piece of code was working in 2.0.8 but is not working in 2.1. Actually it does work but at the same

Create DateTimePicker

2008-01-14 Thread Shoaib Gauhar
Hello, I am using Display Tags in my JSP. I have used a customized TableDecorator to render TextFields and ComboBoxes in its columns. Now i want to render a DateTimePicker in one of its columns. As i understand, the display tag does not render Struts Tags when outputted through TableDecorator b

Struts 2 + GWT problem

2008-03-05 Thread Shoaib Gauhar
Hello, I am trying to integrate Struts 2 and GWT. I am using the tutorial on the following link: http://cwiki.apache.org/WW/struts-2-gwt.html. I have been able to create the deployment structure according to that tutorial. But the problem is that my action does not submit. It doesnt do anything.

Resulting HTML for InputTransferSelect generates errors

2007-09-18 Thread Shoaib Gauhar
Hello: I am using Struts 2 and need to add InputTransferSelect in my JSP page. I am adding the following code in my JSP page. But it generates error when this page is converted into HTML page. The problem is with 'TRTMNT_TYPE_CODE' in the name attribute. Actually, the Struts 2 do

InputTransferSelect problem in Struts 2

2007-09-25 Thread Shoaib Gauhar
http://www.nabble.com/file/p12876594/Source%2BCode.zip Source+Code.zip I am attaching my struts.xml, TestAction.java and test.jsp, in which i have implemented InputTransferSelect. It generates a java script error when the page is rendered. I am posting this mail for the second time because the f

Struts 2.1 & AjaxAnywhere

2008-03-25 Thread Shoaib Gauhar
Hello, Has anyone tried AjaxAnywhere with Struts 2.1? My action class is never called. Actually, i am using ajax to achieve pagination in displaytag. I have used the example from the following link raibledesigns.com/rd/entry/the_future_of_the_displaytag. But the control doesnt reach my action cla

Struts 2.1 TabbedPanel scenario

2008-04-02 Thread Shoaib Gauhar
Hello, Here is the scenrio. I have two action classes. ClassA and ClassB. There is no relationship among these classes. You might say that if there is no relationship then why i have to put them in one single jsp. Well its a client's requirement. In a single jsp there are two tabs. Tab1ForClassA

Re: Struts 2.1 TabbedPanel scenario

2008-04-02 Thread Shoaib Gauhar
action class. There is no other idea which is coming to my mind at the moment. So, any other idea will be highly appreciated. The worst thing is that the solution must be generic. :,( Thanks again, Shoaib Ahmad Gauhar Laurie Harper wrote: > > Shoaib Gauhar wrote: >> Hello, >&g

Re: Struts 2.1 TabbedPanel scenario

2008-04-04 Thread Shoaib Gauhar
h tab ajax based. Here is my jsp code. I have put false in refreshOnShow attribute so the tab is not refreshed once it gets selected. What i want is to maintain the history of the changes made to other tabs which were not submitted. Thanks, Shoaib Ahmad Gauhar S

Re: Struts 2.1 & AjaxAnywhere

2008-08-02 Thread Shoaib Gauhar
> > I have tried Ajax Anywhere with Struts 2.0.12 and it didnt get me > anywhere.. I did not see the ajax behavior. Did you get it to work. Canyou > post some sample code. > > > > > Shoaib Gauhar wrote: >> >> Hello, >> >> Has anyone tri