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.
s:if test=%{members[#status.index][1]} == ''
s:property
Hi All,
I have the following 2 actions defined:
action name=list class=mainAction method=initDisplay
interceptor-ref name=store
RETRIEVE
/interceptor-ref
interceptor-ref name=defaultStack /
result name=input/jsp/main.jsp/result
/action
action
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
RETRIEVE
/interceptor-ref
(*Chris*)
On Jan 8, 2008 11:49 PM, quinquin2209 [EMAIL PROTECTED]
wrote:
HI All,
I have originally define some action as follow:
action name=list class=mainAction method=initDisplay
result name=input/jsp/main.jsp/result
/action
action name
name=success/jsp/main.jsp/result
result name=error/jsp/main.jsp/result
/action
L.
quinquin2209 wrote:
Thanks for reply. I have wrap them in param tags but don't know why it
disappear when posting to this forum.
The problem persists even if param tag is used.
Chris Pratt
HI All,
I have originally define some action as follow:
action name=list class=mainAction method=initDisplay
result name=input/jsp/main.jsp/result
/action
action name=addMember class=mainAction method=addMember
result name=success/jsp/main.jsp/result
result
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
I read the source code provided by Display Tag example about dynamically
generate table column.
display:table name=test
c:forEach var=cl items=${collist}
display:column property=${cl.property} title=${cl.title}
sortable=${cl.sortable} format=${cl.format} /
/c:forEach
is 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 selected is removed as follow:
1. User
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
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
heads:head theme=ajax debug=true//head
body
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
.
Is there anything I wrongly defined?
Queenie
Jeromy Evans - Blue Sky Minds wrote:
quinquin2209 wrote:
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
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 error
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
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
heads:head theme=ajax debug=true//head
body
http://localhost:8080/app/message/list.action/a
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:
returnString;
}
}
DOnt forget to include the decorator in your table tag:
display:table cellpadding=1 cellspacing=1
name=memberDAO.members decorator=myPackage.MemberListDecorator
.
.
.
Rich
On Dec 5, 2007 12:16 PM, quinquin2209 [EMAIL PROTECTED]
wrote:
Hi All,
I am trying
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?
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 the tabbed panel example in
struts2-showcase
as follow:
1
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
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.
.
From: quinquin2209
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.
The content of the tab remains, just the scrollbar
appears/disappears?
d
I have just downloaded the DisplayTag and try with the sort function. I do
the following:
display:table name=messages sort=list pagesize=8
display:column property=docId title=ID group=1 sortable=true
headerClass=sortable /
display:column property=sender title=Sender group=2
sortable=true
22 matches
Mail list logo