Re: Binding selected values from a ListView into a Mode

2011-06-09 Thread Madan Mohan
Hi,
I am using wicket:enclosureto hide some rows in a table.

Take for ex.,
 trtd Phone: span wicket:id=phoneNumber//td/tr
 wicket:enclosure
trtd Fax: span wicket:id=faxNumbertd/tr
 /wicket:enclosure

Initially faxNumber is *not visible*. So the faxNumber row is not rendered.
Later based on some user action, i want to make faxNumber to *visible*.

How to do this?

regards,
*Madan*
*www.educator.eu*


need help using wicket:enclosure tag.

2011-06-09 Thread Madan Mohan
Hi,
I am using wicket:enclosureto hide some rows in a table.

Take for ex.,
 trtd Phone: span wicket:id=phoneNumber//td
/tr
 wicket:enclosure
trtd Fax: span wicket:id=faxNumbertd/tr
 /wicket:enclosure

Initially faxNumber is *not visible*. So the faxNumber row is not rendered.
Later based on some user action, i want to make faxNumber to *visible*.

How to do this?


-- 

regards,
*Madan*
*www.educator.eu*


Re: need help using wicket:enclosure tag.

2011-06-09 Thread Madan Mohan
@Martin Grigorov, @James Carman: Thanks ;)

I was doing mistake while re-rendering the parent. I fixed it, working fine
now ;)


On Thu, Jun 9, 2011 at 4:59 PM, James Carman ja...@carmanconsulting.comwrote:

 You might want to check out Wicketopia.  It has logic for handling
 this kind of stuff and it might even do some of it automatically for
 you.

 http://wicketopia.sourceforge.net/

 Download it from SVN, build it, and run the example application.
 There is an example in there that hides/shows the SSN field based
 upon whether or not the logged in user is an admin.

 On Thu, Jun 9, 2011 at 4:10 AM, Madan Mohan mmo...@educator.eu wrote:
  Hi,
 I am using wicket:enclosureto hide some rows in a table.
 
  Take for ex.,
  trtd Phone: span wicket:id=phoneNumber//td
  /tr
  wicket:enclosure
 trtd Fax: span wicket:id=faxNumbertd/tr
  /wicket:enclosure
 
  Initially faxNumber is *not visible*. So the faxNumber row is not
 rendered.
  Later based on some user action, i want to make faxNumber to *visible*.
 
  How to do this?
 
 
  --
 
  regards,
  *Madan*
  *www.educator.eu*
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 

regards,
*Madan*
*www.educator.eu*


Re: 1.5 RC4

2011-05-05 Thread Madan Mohan
Hi,

Can anybody give me the best solution in the below case,

In database there are two fields say A, B
In UI i want to display a column which shows the value which is equal to A/B
and this column should be sortable and the table should support pagination.


we can load all the records from database and sort according to the (A/B)
and present in UI as per the pagination(manually).
This process will repeat for each pagination click and sort click. I feel
this is not a perfect solution.

Wicket has anything in these type of situations??

-- 
regards,
*Madan*
*www.educator.eu*