s:if test with empty String

2008-01-29 Thread quinquin2209
Hi All, I have an array of String "members"... where member[0] is the member id and member[1] is the member's name. In the jsp, I want to display member[1] if it is not empty, or member[0] if member[1] is empty. However, the e

Action method is not called when the page is redirected with actionError

2008-01-24 Thread quinquin2209
Hi All, I have the following 2 actions defined: RETRIEVE /jsp/main.jsp STORE list.action list.action When the addMember.action is called, it will add a member to DB. It will return act

Problem with loading form control when actionError return

2008-01-18 Thread quinquin2209
Hi All, In my web page main.jsp, I have a form defined, which contains a select box and a list of checkbox. The page works as follow: 1. user checks on the box to select member to be deleted 2. user presses the submit button 3. Member is deleted from DB 4. Return SUCCESS with actionMessage if mem

Re: Problem in using Message Store Interceptor

2008-01-09 Thread quinquin2209
d with just the store interceptor. You would need to add a > reference to the interceptor stack (name="defaultStack", or whatever > stack you're using if other than the default). > > > > ... > /jsp/main.jsp > /jsp/main.jsp > >

Re: Problem in using Message Store Interceptor

2008-01-09 Thread quinquin2209
gt; RETRIEVE > > > (*Chris*) > > On Jan 8, 2008 11:49 PM, quinquin2209 <[EMAIL PROTECTED]> > wrote: >> >> HI All, >> >> I have originally define some action as follow: >> >> >> >> /jsp/main.jsp >> >> >

Problem in using Message Store Interceptor

2008-01-08 Thread quinquin2209
HI All, I have originally define some action as follow: /jsp/main.jsp /jsp/main.jsp /jsp/main.jsp when the list.action is called, all members will be listed. User can press the addMember button which will retrieve some form values and add the member to DB. The list.action pag

Refresh parent browser when form in pop-up browser is submitted

2007-12-16 Thread quinquin2209
Hi All, In my application, user can open a member profile in the main page. The member profile is opened in a pop-up window and user can edit the profile. When user submits the form in pop-up browser, I want to close the pop-up browser, refresh the parent browser to reflect change and also displa

Problem with

2007-12-13 Thread quinquin2209
I have defined a hyperlink as follow: I and when the page is called ,it will use the param "state" for processing as follow: Inbox - Received Inbox - Exported Not Found The NOT Found is always shown. However, if I change the param "state" to "IR" and change the testing conditi

Re: Tabbed Panel and useSelectedTabCookie

2007-12-12 Thread quinquin2209
generated dynamically. Queenie Jeromy Evans - Blue Sky Minds wrote: > > quinquin2209 wrote: >> I have tried to store the last selected tab by setting >> useSelectedTabCookie=true. It works fine as long as the tab remains. >> However, problem occurs when the last selec

Dynamic Column generation in Displaytag

2007-12-12 Thread quinquin2209
I read the source code provided by Display Tag example about dynamically generate table column. This sample use the jstl to loop a list of hashmap. I wanna see if it is possible to do the same thing without using jstl? Queenie -- View this message in context: http://ww

Tabbed Panel and useSelectedTabCookie

2007-12-11 Thread quinquin2209
I have tried to store the last selected tab by setting useSelectedTabCookie=true. It works fine as long as the tab remains. However, problem occurs when the last selected is removed as follow: 1. User select tab "B" 2. In the jsp, remove the tab with id "B" 3. Refresh the browser Javascript erro

Re: Display tag and target div

2007-12-11 Thread quinquin2209
=1197368118484&d-49653-s=3&d-49653-o=2 where the page is not found. And also the whole page refresh instead of the div in tab pannel. Is there anything I wrongly defined? Queenie Jeromy Evans - Blue Sky Minds wrote: > > quinquin2209 wrote: >> In main.jsp, I have a tabb

Display tag and target div

2007-12-11 Thread quinquin2209
In main.jsp, I have a tabbed panel which has a remote tag loading an external page memberList.jsp. This memberList.jsp contains a display tag which is used for sorting and pagination. Now I encounter problem when I press on the display tag to do sorting/pagination. Every time I click on the hype

Re: Getting form input from a remote tabbed panel

2007-12-11 Thread quinquin2209
Thanks a lot. I understand it now. Jeromy Evans - Blue Sky Minds wrote: > > quinquin2209 wrote: >> I have a page which has a tabbed panel and all tab is remote tab: >> >> main.jsp >> http://www.w3.org/1999/xhtml"; xml:lang="en"> >&

Getting form input from a page dynamically loaded into a tabbed panel

2007-12-10 Thread quinquin2209
I have a page which has a tabbed panel and the content of each tab is dynamically loaded from an external source as follow: main.jsp http://www.w3.org/1999/xhtml"; xml:lang="en"> "http://localhost:8080/app/message/list.action The external page loaded has a form w

Re: DisplayTag - show image by condition

2007-12-06 Thread quinquin2209
rnString = " \"vip.gif\" "; > } else { >returnString = ""; > } > > > return returnString; > } > } > > DOnt forget to include the decorator in your table tag: > > name="memberDAO.members" decorator="my

Modal Dialog in Struts2

2007-12-06 Thread quinquin2209
Hi All, Is there any way to make modal dialog as that provided by dojo? Is that we don't need to put the dojo package to the /js folder as it is include in struts2? Can you please provide some example to achieve it? Thanks in advance. Queenie -- View this message in context: http://www.nabble

DisplayTag - show image by condition

2007-12-05 Thread quinquin2209
Hi All, I am trying with the displayTag and I would like to see if it is possible to display an image at the first column depending on some conditions. For example, a "vip.gif" should be shown if the person is a VIP and no image should be shown if the person is normal member. How can I achieve it

Re: Scrollbar problem with tabbed panel in Struts2

2007-12-05 Thread quinquin2209
Thanks. It's ok for your suggested method. Jeromy Evans - Blue Sky Minds wrote: > > quinquin2209 wrote: >> Thanks for reply >> >> Yes. The content of the tab remains, just the scrollbar >> appears/disappears. >> >> I have tried an experiment in

DisplayTag - How to do sort?

2007-12-04 Thread quinquin2209
I have just downloaded the DisplayTag and try with the sort function. I do the following: When I click on the column header, it displays "Nothing found to display". The URL has been changed to http://localhost:8080/test/jsp/folderList.jsp?d-49653-s=0&d-49653-o=2&d-49653-p=1 My fold

Re: Scrollbar problem with tabbed panel in Struts2

2007-12-04 Thread quinquin2209
lieve the issue is that the scrollbar appears and > disappears when the tab is clicked. > >> From: "quinquin2209" >>> However, if I click on the tab-header of the > currently opened tab, the >>> scrollbar disappear. It appears again if i click

Scrollbar problem with tabbed panel in Struts2

2007-12-04 Thread quinquin2209
Hi All, I have used the tabbed panel provided by Struts2. When the content within the current pane exceed the panel size, scrollbar is shown as expected. However, if I click on the tab-header of the currently opened tab, the scrollbar disappear. It appears again if i click that tab-header again.

Datagrid in Struts2

2007-12-04 Thread quinquin2209
Hi All, I am using Struts 2 and I wanna develop a datagrid as that provided in Struts Layout. I have couple of questions: 1. Is that I can't use Struts Layout in Struts 2? If it can be used? How to set up? 2. If Struts Layout cannot be used in Struts 2, is there any similar plugin that provide d