Something like this should do the trick:
-Brian
On Wed, Jan 27, 2010 at 8:13 AM, Saeed Iqbal wrote:
> For header this is an interesting situation i have not come across
> yet. I cannot say anything.
>
> On Wednesday, January 27, 2010, Arpan wrote:
> > Hi Saeed,
> >
> > Replacing that with ch
For header this is an interesting situation i have not come across
yet. I cannot say anything.
On Wednesday, January 27, 2010, Arpan wrote:
> Hi Saeed,
>
> Replacing that with checkbox element will give me checkbox for every row for
> that column.
> But still my column header or title will not h
Hi Saeed,
Replacing that with checkbox element will give me checkbox for every row for
that column.
But still my column header or title will not have any checkbox.
On Wed, Jan 27, 2010 at 5:58 PM, Saeed Iqbal wrote:
> Replace the
>
>
> paramProperty="id" headerClass="listHeader">
>
>
Replace the
On Wed, Jan 27, 2010 at 5:23 PM, Arpan wrote:
> Hi Saeed,
>
> Thanks for the reply. But how can you display your checkbox inside that
> "column Title"?
>
> On Wed, Jan 27, 2010 at 4:45 PM, Saeed Iqbal wrote:
>
> > For display you can close your display tag open an
Hi Saeed,
Thanks for the reply. But how can you display your checkbox inside that
"column Title"?
On Wed, Jan 27, 2010 at 4:45 PM, Saeed Iqbal wrote:
> For display you can close your display tag open and end your tag
> separately.
> In between you can place your checkbox.
> For example:
> para
For display you can close your display tag open and end your tag separately.
In between you can place your checkbox.
For example:
For checking all (javascript) include an id with each checkbox and have
onclick with the top one to be able to code in javascript to check all
others.
O
My scenario is that I need a column only for checkboxes. In the title there
will be a checkbox and a link "Delete". How can I show these using display
tag.
When the user will select the top checkbox, all other checkboxes in that
column should be selected or unselected accordingly.
On Thu, Jan 7,
Hans Solo escribió:
should work.
2010/1/8 Chris Pratt :
I'm not positive but you might try:
(*Chris*)
On Thu, Jan 7, 2010 at 4:09 PM, Sergio
wrote:
Sergio escribió:
Chris Pratt escribió:
You can refer to the DisplayTag documentation about what collections they
suppor
should work.
2010/1/8 Chris Pratt :
> I'm not positive but you might try:
>
>
>
> (*Chris*)
>
> On Thu, Jan 7, 2010 at 4:09 PM, Sergio
> wrote:
>
>> Sergio escribió:
>>
>> Chris Pratt escribió:
>>>
You can refer to the DisplayTag documentation about what collections they
support, t
I'm not positive but you might try:
(*Chris*)
On Thu, Jan 7, 2010 at 4:09 PM, Sergio
wrote:
> Sergio escribió:
>
> Chris Pratt escribió:
>>
>>> You can refer to the DisplayTag documentation about what collections they
>>> support, there are quite a few. I usually use a java.util.List of
>>
Sergio escribió:
Chris Pratt escribió:
You can refer to the DisplayTag documentation about what collections
they
support, there are quite a few. I usually use a java.util.List of
JavaBean's And yes, you'll have to use JDBC, JPA, Ibatis,
Hibernate... to
get that data from the database into a
Chris Pratt escribió:
You can refer to the DisplayTag documentation about what collections they
support, there are quite a few. I usually use a java.util.List of
JavaBean's And yes, you'll have to use JDBC, JPA, Ibatis, Hibernate... to
get that data from the database into a structure that can be
If all you want to do is display data in a simple HTML table, this is
definitely the way to go. If you need pagination or columnar sorting
support, I'd go with DisplayTag.
(*Chris*)
On Thu, Jan 7, 2010 at 1:39 AM, xerax nono wrote:
> you can use iterator over a collection.
> see in
>
> http:/
You can refer to the DisplayTag documentation about what collections they
support, there are quite a few. I usually use a java.util.List of
JavaBean's And yes, you'll have to use JDBC, JPA, Ibatis, Hibernate... to
get that data from the database into a structure that can be displayed.
As for your
>> >>
>> >> -
>> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> >> For additional commands, e-mail: user-h...@struts.apache.org
>> >>
>>
you can use iterator over a collection.
see in
http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html
44.odd <
s:else>even">
46.
47.
48.
49.
50.
51.
52.
Chris Pratt escribió:
Maybe this will clear things up. This is a working example from our site:
No Users
Found
Reset
Password
(*Chris*)
On Wed, Jan 6, 2010 at 5:00 PM, Chris Pratt wrote:
In your action, add a getList() method that retur
Maybe this will clear things up. This is a working example from our site:
No Users
Found
Reset
Password
(*Chris*)
On Wed, Jan 6, 2010 at 5:00 PM, Chris Pratt wrote:
> In your action, add a getList() method that returns the list generated by
>
In your action, add a getList() method that returns the list generated by
the action, then just pass name="${list}" to the display:table tag. Or, you
could create the list and put it in the request or session scope and it
would work exactly the same.
The trick with the interceptor is just to get
wah can share how the interceptor work with display tag
sorry if this is silly question, but honestly i still need the glue
usually i create a private xxx List, and will be passed to the list
how integrate the list $xxx with the display tag?
thx
On Thu, Jan 7, 2010 at 7:25 AM, Chris Pratt wr
It's just a standard JSP Tag Library. Because Struts 2 has the Request
Wrapper, you can use standard JSTL EL to get the list from your action and
pass it to the DisplayTag Table, from then on it's just using the
capabilities of DisplayTag to put the data where you want it. The one
caveat is that
can share how the struts2 work with display tag
sorry never use this also, how the display tag work with List when we
submit the grid
F
On Thu, Jan 7, 2010 at 7:00 AM, Chris Pratt wrote:
> We use DisplayTag (http://www.displaytag.org), it works pretty well.
> (*Chris*)
>
> On Wed, Jan 6, 2
We use DisplayTag (http://www.displaytag.org), it works pretty well.
(*Chris*)
On Wed, Jan 6, 2010 at 3:28 PM, Sergio
wrote:
> Hi, people, how can i show a table into a jsp from the struts action? Are
> there a simple method for doing that? I've tried with java collections into
> the action and
Hi, people, how can i show a table into a jsp from the struts action?
Are there a simple method for doing that? I've tried with java
collections into the action and "property" tag into the jsp with no success.
thanks in advance
--
Sergio
--
this message in context:
http://www.nabble.com/Struts2-and-Tables-tp17815885p17815885.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
25 matches
Mail list logo