On 5/21/07, Ravindra Wankar <[EMAIL PROTECTED]> wrote:


Thanks. A few things are unclear to me...

1. How do wrap the link that when clicked opens the div with the palette
in it?
2. How can I make this "reusable" so that the div can have something other
than the palette?
3. We have the javascript to intelligently place the div close to the
link. How and where do I call this script?


i have something similar to this in my project. basically what it is is a
border that has an anchor tag and a div inside of it. the border:body tag is
inside this div. the div has the necessary styles (position:absolute, etc).
the border component implements iheadercontributor and through that writes
out the necessary javascript to connect the anchor tag with the div.

how to use it, simple. you add the border anywhere in your markup, and to it
you add a panel/fragment which will appear in the initially hidden div. and
you are done, nothing more to it it is totally reusable anywhere. i am
leaving on vacation tomorrow, maybe when i get back i will contribute it to
wicket-minis, unless you beat me to it :)

-igor

BTW, on the previous link you can see the "My Tasks" section for what I'm
trying to achieve with the "Multiple Item Action" using an Ajax enabled
pulldown. The behavior is similar except that the div contents are a bunch
of links fetched using Ajax.

Thanks
Ravi.

Igor Vaynberg wrote:

yep, thats easy.

create a div with an absolute position and put a palette [1] component
into it

[1]
http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage

-igor


On 5/21/07, Ravindra Wankar <[EMAIL PROTECTED]> wrote:
>
>
> Go to...
> 
http://www.celoxis.com/psa/user.do?bxn=umyhome&p_auth_authenticate=true&p_auth_login=mark&p_auth_password=celoxis1
>
>
> On this page click the "Pick Columns" link in the top right corner of
> the "My Projects" table.
>
> Thanks
> Ravi
>
>
> Igor Vaynberg wrote:
>
> got a screenshot? dont really understand what you are describing. maybe
> something like our palette component in extensions?
>
> -igor
>
>
> On 5/21/07, Ravindra Wankar <[EMAIL PROTECTED]> wrote:
> >
> >
> > In order to allow users to pick columns they wish to see in a table,
> > we
> > open/close a div layer that has 2 selectors to move columns to/from
> > "Available" to "Selected" and a submit/cancel button. We also position
> > this div layer close to the "Pick Columns" link.
> >
> > Is there a component in Wicket I can use to create a similar effect?
> > I've seen the ModalDialog but I'd like a slight variation because the
> > placement of this div layer needs to be controlled + the main window
> > need not be "greyed" out when showing the layer.
> >
> > Thanks
> > Ravi.
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>  ------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
>
> http://sourceforge.net/powerbar/db2/
>
>  ------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

------------------------------

_______________________________________________
Wicket-user mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to