Datatables with Expandable rows

2012-08-30 Thread Karen Schaper

Hi All,

I am looking to create a datatable that has an expandable rows so that 
the user can view more information about that row.


Basically the user would click a + sign on the row and it would expand.

I found this datatable plugin to jquery that does it..

http://datatables.net/blog/Drill-down_rows


But I'm not sure how they are getting the data to display and it doesn't 
seem like it would work for me.  The data needs to be in these javascipt 
arrays.


Has anyone implemented anything similar in Wicket?

Thanks in advance for any insight.  I would really appreciate it!

Regards,

Karen



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



pageMap locking issue

2011-12-14 Thread Karen Schaper
Hi,

A user was testing a web application.

Apparently they clicked on a link that opened a report and quickly
clicked the link again.

The web application became unusable and tomcat had to be restarted. 

If the issue was a long request time ( perhaps something was going on
with the database at the time this happened resulting in a hang up ). 

What can I do to prevent the entire application being unusable for all
users?

Here is the message that was in the logs.  This happened on a server
that I don't have access to right now.  Here is the message I was given.
I have been unable to reproduce the error myself.


org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
null is still locked by: Thread[http-bio-8080-exec-2,5,main], giving up
trying to get the page for path: 309:filterForm

org.apache.wicket.protocol.http.request.InvalidUrlException:
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
null is still locked by: Thread[http-bio-8080-exec-2,5,main], giving up
trying to get the page for path: 309:filterForm

at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)

at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)

at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)

at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)

at org.apache.coyote.AbstractProtocol
$AbstractConnectionHandler.process(AbstractProtocol.java:515)

at org.apache.tomcat.util.net.JIoEndpoint
$SocketProcessor.run(JIoEndpoint.java:300)

at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)



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



Exporting data in a DefaultDataTable to xls or csv file

2009-08-08 Thread Karen Schaper
Hi,

I am trying to export the contents of DefaultDataTable

to an excel spreadsheet.

I found this post...

http://www.nabble.com/export-excel-file-via-an-OutputStream-td16416239.html#a16416239

which had a snippet of code in which the user indicates no longer
outputs the data but a fragment of sql.  There were responses but I'm
not following on how to get the data from the data table into the output
stream for an excel spreadsheet.

Here's the snippet of code that I was looking at.

Button button = new Button(excelExport)
 { 
public void onSubmit() { 
getRequestCycle().setRequestTarget( 
new ComponentRequestTarget(dataTable) 
); 
WebResponse wr = (WebResponse)getResponse();
wr.setContentType( excel/ms-excel;
name=+getMSExcelFilename() ); 
wr.setHeader( content-disposition,
attachment;filename=+getMSExcelFilename() ); 
} 
};

Any help is greatly appreciated!

Thanks

Karen


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



Re: TreeTable and column issues

2009-05-05 Thread Karen Schaper

JulianS wrote:

I ran into similar problems, and decided to take a different approach. See
http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html.

Julian

  
   Thank you so much.  It worked really great! 


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



[Fwd: TreeTable and column issues]

2009-05-01 Thread Karen Schaper

Hi,

I need help with an issue I am having with the

org.apache.wicket.extensions.markup.html.tree.table.TreeTable

component.

Is there anyway to have the column widths adjust to the data that is in
the table?

If the columns are not wide enough the data does not appear.  The
customer has computers with different screen resolutions.  If I make the
column wider to avoid this then the columns are way too wide when
viewing with some screen resolutions.

There are several ways to define the column widths using the
ColumnLocation class.  EM, PX, and Proportional but I can't seem to get
any of them to work correctly.

The screen will appear fine in one resolution but if I change the
resolution to be smaller like 600x800 the data seems to disappear
columns that are not wide enough.

Any help or insight would be appreciated.

Thanks you,
Karen

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



TreeTable and column issues

2009-04-29 Thread Karen Schaper

Hi,

I need help with an issue I am having with the

org.apache.wicket.extensions.markup.html.tree.table.TreeTable

component.

Is there anyway to have the column widths adjust to the data that is in 
the table?


If the columns are not wide enough the data does not appear.  The 
customer has computers with different screen resolutions.  If I make the 
column wider to avoid this then the columns are way too wide when 
viewing with some screen resolutions.


There are several ways to define the column widths using the 
ColumnLocation class.  EM, PX, and Proportional but I can't seem to get 
any of them to work correctly.


The screen will appear fine in one resolution but if I change the 
resolution to be smaller like 600x800 the data seems to disappear 
columns that are not wide enough.


Any help or insight would be appreciated.

Thanks you,
Karen

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



easyb for testing wicket

2009-03-18 Thread Karen Schaper

Hi,

Is anyone out there using easyb for testing pages?

I've tried writing a test using easyb and the BaseWicketTester since the 
WicketTester is for JUnit.


But I'm getting this errorwhen creating the new BaseWicketTester.

   a wicket tester. -- InjectorHolder has not been assigned an 
injector. Use InjectorHolder.setInjector() to assign an injector. In m
ost cases this should be done once inside SpringWebApplication 
subclass's init() method.



scenario The main page loads correctly.,
{
   given a wicket tester.,
   {
   tester = new BaseWicketTester( )
   }
   then we can render the main page.,
   {
   //
   //  start and render the test page
   //
   tester.startPage( MainPage.class )

   }
   and the page loads correctly,
   {
   //
   //  assert rendered page class
   //
   tester.assertRenderedPage( MainPage.class )

   //
   //  assert rendered label component
   //
   tester.assertLabel( myMessage, Hello! )
   }

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



Re: How NOT TO Cache Markup - Markup Dynamically created

2009-03-18 Thread Karen Schaper
It appears that the looping problem I was having with trying to get the 
markup to NOT cache


was because my page was a child of another page.

In the implementation of the method getMarkupResourceStream, I was 
returning wicket:extend blah blah blan /wicket:extend


Is this a limitation?


Thomas R. Corbin wrote:

On Sunday 15 March 2009, schapey said:
  

Hi All,

I don't see this post in the forum.. so I am posting again.



sometimes I just wish we were using grails.
but I am sure that would come with it's own problems.

  

I have a page where the markup is creating dynamically and I do not want
the markup to be cached.

I am implementing both IMarkupResourceStreamProvider,
IMarkupCacheKeyProvider


I'm not sure what I need to do in order for the markup not to be cached.

In one of the source files in here
http://wicketstuff.org/wicket13/customresourceloading,

it said that if I returned null from getCacheKey that the markup would not
be cached.

When I do this I get into a loop and it keeps trying to get the markup over
and over again.


   @Override
public String getCacheKey( MarkupContainer container, Class
containerClass )
{
return null;
}


I tried calling the clearing the cache after the page renders... but when I
do this the page won't even load.

Any help would greatly be appreciated.

I am using wicket1.4rc2.

Thanks
Karen.





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


  



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



IMarkupCacheKeyProvider - getCacheKey Problem

2009-03-16 Thread Karen Schaper

Hi All,

I have a wicket class that extends from WebPage and implements
   IMarkupResourceStreamProvider,
   IMarkupCacheKeyProvider

I am now using wicket 1.4rc2.


I DO NOT want the markup cached.  The page actually creates a variety of 
markup so it can be different each time.


From what I've read if the I return null in the method getCacheKey, the 
markup will not be cached.


However when I do this I get into a never ending loop of calls to get 
the markup.


Is this a bug?  Is there any way to not have the markup be cached?

Any thoughts or hints on this would be greatly appreciated.

Thanks

Karen

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



Re: IMarkupCacheKeyProvider - getCacheKey Problem

2009-03-16 Thread Karen Schaper

Eelco Hillenius wrote:

I don't remember the details from the top of my head, but there should
be an example at Wicket examples that shows you how to effectively
disable caching.

  
Yes I found the customresourceloading example and I am doing what it 
saysbut it gets into a loop and keeps calling my


This example loads the custom template just once, though it may reload 
when resource polling is turned on and the template changes. If you want 
a load the template every time a page (or panel) is requested, you can 
additionally let your container implement IMarkupCacheKeyProvider, and 
then return null in the implementation of getCacheKey; Wicket will not 
cache templates without a cache key. This functionality can be used to 
e.g. when you want to load templates from a database, and you know that 
the actual templates can be different from request to request.


Here's is what I am doingand it doesn't work the call 
getMarkupResourceStream happens over and over and over again



public class QueryDialogPage
   extends
   VariationPage
   implements
   IMarkupResourceStreamProvider,
   IMarkupCacheKeyProvider
{
 
   public QueryDialogPage( final PageParametersparameters )

   {
   super( parameters );

   ( method call to add components to page )
   }

  
   @Override
   public IResourceStream getMarkupResourceStream( final 
MarkupContainer   container,
   
 final Class  containerClass )

   {
   String markup  =   call to method to get the markup string ( 
creates it on the fly based on some xml )


   return new StringResourceStream( new StringBuffer( markup ) );
   }
  

   public String getCacheKey( MarkupContainer container, Class 
containerClass )

   {
   return null;
   }


}



Eelco

On Sun, Mar 15, 2009 at 4:00 PM, Karen Schaper karen.scha...@gmail.com wrote:
  

Hi All,

I have a wicket class that extends from WebPage and implements
  IMarkupResourceStreamProvider,
  IMarkupCacheKeyProvider

I am now using wicket 1.4rc2.


I DO NOT want the markup cached.  The page actually creates a variety of
markup so it can be different each time.

From what I've read if the I return null in the method getCacheKey, the
markup will not be cached.

However when I do this I get into a never ending loop of calls to get the
markup.

Is this a bug?  Is there any way to not have the markup be cached?

Any thoughts or hints on this would be greatly appreciated.

Thanks

Karen

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






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



How to not cache markup - Wicket 1.4rc1

2009-03-12 Thread Karen Schaper
Hi All,

I have a page where the markup is creating dynamically and I do not want the
markup to be cached.

I am implementing both IMarkupResourceStreamProvider,
IMarkupCacheKeyProvider


I'm not sure what I need to do in order for the markup not to be cached.

In one of the source files in here
http://wicketstuff.org/wicket13/customresourceloading,

it said that if I returned null from getCacheKey that the markup would not
be cached.

When I do this I get into a loop and it keeps trying to get the markup over
and over again.


   @Override
public String getCacheKey( MarkupContainer container, Class
containerClass )
{
return null;
}


I tried calling the clearing the cache after the page renders... but when I
do this the page won't even load.

Any help would greatly be appreciated.

Thanks
Karen.


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



wicket Yui Menu Orientation

2009-01-31 Thread Karen Schaper
Hi,

Not sure if this is the correct list...

Is anyway using the wicketstuff yui to build a menu?

import org.wicketstuff.yui.markup.html.menu2.YuiMenuBar;

In IE7 the menus are defaulting to horizontal but in IE6 the menus are
vertical.

I would like them to be horizontal everywhere.

Anyone ideas how I can do this?

Thanks
Karen



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



Need help with Upgrade to wicket 1.4-rc1

2009-01-28 Thread Karen Schaper
Hi,

I decided now is a good time for me to upgrade to the latest wicket code -
wicket 1.4-rc

We are currently at 1.3.4.


I'll also need to update the following other wicket jars I am using.  Are
there version that are compiled against wicket 1.4?

wicketstuff-dojo-1.3.0-beta.jar
wicketstuff-minis-1.3.0-SNAPSHOT.jar
wicketstuff-yui-1.3.0-SNAPSHOT.jar

I can't find them anywhere.

Thanks Karen


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



Multiple Sorting in a DataTable

2009-01-11 Thread Karen Schaper
Hey,

Just wanted to repost this.  I know that's  big no -no but there were tons
of emails around my first posting and I just want to make sure it didn't get
lost in the shuffle.

Or maybe just no one has any good solutions for this.

Has anyone tried to implement multiple sorting in a data table?

I was thinking of trying to do something simliar to the filtertoolbar but
for sorting.

Thanks for any input.

Karen



 View this message in context:
 http://www.nabble.com/Multiple-Sorting-in-a-DataTable-tp21316708p2
1316708.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



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



RE: Filter Toolbar and changing size of TextFilter input box

2008-08-14 Thread Karen Schaper
Thanks.

I got it working.  I created my own TextFilteredPropertyColumn and my own
TextFilter.

The constructor takes an input box size.

 -Original Message-
 From: Kai Mütz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 14, 2008 2:35 AM
 To: users@wicket.apache.org
 Subject: RE: Filter Toolbar and changing size of TextFilter input box


 Karen Schaper mailto:[EMAIL PROTECTED] wrote:
  Hello,
 
  I have a question about the FilterToolbar.  I just came across it
  and I love
  it.
 
  Except now my page is taking up to much space and the user has to
  scroll right to see all my columns.
 
  This is because the text filter boxes are too big for the column they
  represent.
 
  How do I change this?  Do I have to create my own TextFilter
  object and set
  the size on the input box?  I can't remember but if you don't set the
  size for an input text box I think html defaults to something?

 I have extended TextFilter with my own markup where I have set the size of
 the input field.

 HTH, Kai


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Filter Toolbar and changing size of TextFilter input box

2008-08-13 Thread Karen Schaper
Hello,

I have a question about the FilterToolbar.  I just came across it and I love
it.

Except now my page is taking up to much space and the user has to scroll
right to see all my columns.

This is because the text filter boxes are too big for the column they
represent.

How do I change this?  Do I have to create my own TextFilter object and set
the size on the input box?  I can't remember but if you don't set the size
for an input text box I think html defaults to something?

Is that what is happening?

Thanks

Karen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: YuiMenuBar in WicketStuff

2008-07-23 Thread Karen Schaper
 There should be a method that you can overwrite(although not so pretty
 but it should work), there were that for the YUI rich editor...


I don't see any method to overwrite.  These configuration values look 
like
they are in the javascript files.

Maybe I am missing something?



 Karen Schaper wrote:
  Hi,
 
  I've switched to using the YuiMenuBar in wicket stuff from
 directly using
  the Yui javascript.
 
  The YuiMenuBar automatically adds this javascript...
 
  var oMenu = new YAHOO.widget.MenuBar(webMenuBar,
 
 {visible:true,clicktohide:false,autosubmenudisplay: true,
  hidedelay: 750, lazyload: true});
 
  I need it to look like this?
 
  var oMenuBar = new YAHOO.widget.MenuBar( webMenubar,
   { autosubmenudisplay:false,
  hidedelay:750, lazyload:true } );
 
 
  I need to set the autosubmenudisplay to false.  This way the user can
  actually click on the menu... at least I'm pretty sure that is what will
  happen.
 
 
  Thanks
 
 
 
  Karen
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



YuiMenuBar in WicketStuff

2008-07-22 Thread Karen Schaper
Hi,

I've switched to using the YuiMenuBar in wicket stuff from directly using
the Yui javascript.

The YuiMenuBar automatically adds this javascript...

var oMenu = new YAHOO.widget.MenuBar(webMenuBar,

{visible:true,clicktohide:false,autosubmenudisplay: true,
hidedelay: 750, lazyload: true});

I need it to look like this?

var oMenuBar = new YAHOO.widget.MenuBar( webMenubar,
 { autosubmenudisplay:false,
hidedelay:750, lazyload:true } );


I need to set the autosubmenudisplay to false.  This way the user can
actually click on the menu... at least I'm pretty sure that is what will
happen.


Thanks



Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



request.getSession.getAttribute()

2008-07-15 Thread Karen Schaper
Hi,

I am calling a servlet that is not part of my wicket application.  This
servlet is expecting some things in the Session object.

The non wicket servlet is  calling getSession on the HttpServletRequest
object and then gets out the attributes.

 request.getSession().getAttribute( user );


Is there a way I can put this attribute in this session ?


Thanks

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: wicketstuff yui context menu clashes with YUI menu

2008-07-07 Thread Karen Schaper
Hi,

I looked at this further and the problem seems to be  because the YUI menu
was not being created with the wicketstuff YUI classes but directory using
the YUI javascript library with javascript files being added into the html
clashing with the javascript files that are being added by using the
YuiContextMenu.

I changed the menu to be created using the java classes and now there is not
a problem.   The Yui menu is not clashing with my context menu below.

Thanks
Karen


 Karen,

 I am the original author of the menu2 package.

 What I believe is happening (as I haven't looked at this in
 awhile) is that
 YUI menu that is created originally is losing the 'reference' of the item
 that had the context menu associated with it.  This happens
 because you are
 using Ajax to refresh data view and not the menu too.

 I believe to fix you will need to add the menu component that contains the
 YuiContextMenuBehavior to the AjaxTarget.

 If this doesn't work, please post some example code or send me a
 quick start
 to reproduce so I can take a look.

 - Doug
 --
 View this message in context:
 http://www.nabble.com/wicketstuff-yui-context-menu-clashes-with-YU
 I-menu-tp18305922p18320478.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: wicketstuff yui context menu clashes with YUI menu

2008-07-07 Thread Karen Schaper
Although this seems strange sense the Yui libary I am using is 2.4.1 and the
wicketStuff yui looks like it is also 2.4.1.

Is it because some javascript files are added twice?

 -Original Message-
 From: Karen Schaper [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 07, 2008 12:48 PM
 To: users@wicket.apache.org
 Subject: RE: wicketstuff yui context menu clashes with YUI menu


 Hi,

 I looked at this further and the problem seems to be  because the YUI menu
 was not being created with the wicketstuff YUI classes but directory using
 the YUI javascript library with javascript files being added into the html
 clashing with the javascript files that are being added by using the
 YuiContextMenu.

 I changed the menu to be created using the java classes and now
 there is not
 a problem.   The Yui menu is not clashing with my context menu below.

 Thanks
 Karen


  Karen,
 
  I am the original author of the menu2 package.
 
  What I believe is happening (as I haven't looked at this in
  awhile) is that
  YUI menu that is created originally is losing the 'reference'
 of the item
  that had the context menu associated with it.  This happens
  because you are
  using Ajax to refresh data view and not the menu too.
 
  I believe to fix you will need to add the menu component that
 contains the
  YuiContextMenuBehavior to the AjaxTarget.
 
  If this doesn't work, please post some example code or send me a
  quick start
  to reproduce so I can take a look.
 
  - Doug
  --
  View this message in context:
  http://www.nabble.com/wicketstuff-yui-context-menu-clashes-with-YU
  I-menu-tp18305922p18320478.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wicketstuff yui context menu clashes with YUI menu

2008-07-06 Thread Karen Schaper
Hi,

I have a menu at the top of my page that was generated using YUI.

I then have a datatable that is refreshed using ajax.  Each row has an image
that has a

(org.wicketstuff.yui.markup.html.menu2.contextMenu )  attached to it.

My problem is that the top menu is not working when using the right click
context menu on the same page.  The yui menu items are not selectable
anymore.

The context menu is working fine just now I can't navigate to anyplace else.

I tried using the DOJO context menu but can't find an example of how to 
get
the menu items to do anything.

I'm getting so frustrated.  Any suggestions??

Btwthis is an internal domain specific web application.

Thanks

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: New browser window on RedirectRequestTarget(url)

2008-06-29 Thread Karen Schaper
I can't use a Link.  This happens when the user clicks on a menu item from a 
context menu I've created.

It's in the onClick of IYuiMenuAjaxAction.

Not sure I'm doing this right. I don't need to forward the request.  I just 
need to open this url in it's own window.  





 -Original Message-
 From: Martin Grigorov [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 27, 2008 4:17 AM
 To: users@wicket.apache.org
 Subject: Re: New browser window on RedirectRequestTarget(url)
 
 
 On Thu, 2008-06-26 at 23:02 -0400, Karen Schaper wrote:
  Hello Again,
  
  I'm hoping there is a simple solution for this.  I can't seem 
 to find the
  right place to look.
  
  Basically this line of code, I'd like to open a new browser window to
  display it in.
  
   getRequestCycle().setRequestTarget(new 
 RedirectRequestTarget( url ) );
  
  
  Thanks for all your help.  It is REALLY appreciated.
  
  -Karen
 
 Hi Karen,
 
 Try with:
 
 link = new Link(wid)  {
 
   public void onClick() {
    getRequestCycle().setRequestTarget(new 
 RedirectRequestTarget( url ) );
   }
 }
 
 link.setPopupSettings(new PopupSettins(...));
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



New browser window on RedirectRequestTarget(url)

2008-06-26 Thread Karen Schaper
Hello Again,

I'm hoping there is a simple solution for this.  I can't seem to find the
right place to look.

Basically this line of code, I'd like to open a new browser window to
display it in.

 getRequestCycle().setRequestTarget(new RedirectRequestTarget( 
url ) );


Thanks for all your help.  It is REALLY appreciated.

-Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



User needs to set timer duration and start and stop

2008-06-20 Thread Karen Schaper
Hi,

I am trying to use the AjaxSelfUpdatingTimer to implement a request to be
able to turn the timer off and on.

The users also need to be able to specify in minutes what the duration will
be when the timer is on.

Right now I have 2 buttons Off and On and a field that the user can enter in
minutes.  The user is looking at data that is time sensitive and may not
want the page to keep refreshing if they are in the middle of something.

Anyway I can't get this timer to shut off and turn back on.  Is this not
possible?

I've tried removing behavior and re-adding and stopping the timer.

Anyone done anything like this?

Thanks

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dojo ToolTips and wicket ajax component problem

2008-05-30 Thread Karen Schaper
 Hi Wicket Users,

 I need help with a problem I am having when changing the submit
 button to be
 an ajax component.

 I am using org.wicketstuff.dojo.markup.html.tooltip.DojoTooltip
 to create a
 tooltip on an image in a datatable.  The tool tips work great
 until I try to
 use an ajax component that filters the data in the table.

 My problem is very similar to the post below.


 http://www.nabble.com/Problem-with-JavaScript-when-using-Wicket-AJAX-Compo
 nents-td14432037.html#a14438456

 EXCEPT this person uses the sweetTitles  tooltips.

 Is there a solution for this if using the dojo tooltips?

 Thank You Very Much,

 Karen


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dojo ToolTips and wicket ajax component problem

2008-05-30 Thread Karen Schaper

 I had some troubles too, I switched to the tool tip thingy in
 minis instead.

 http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis  ,
 the prototip...

Thanks I'll try this.


 I'd really like to see tooltip contrib that actually requested the
 tooltip via ajax instead of just placing a panel on the page.. What do
 you think about that?

Honestly still consider myself somewhat of a wicket newbie and didn't 
even
know the underlying mechanism of the dojo tool tip.



 Karen Schaper wrote:
  Hi Wicket Users,
 
  I need help with a problem I am having when changing the submit
  button to be
  an ajax component.
 
  I am using org.wicketstuff.dojo.markup.html.tooltip.DojoTooltip
  to create a
  tooltip on an image in a datatable.  The tool tips work great
  until I try to
  use an ajax component that filters the data in the table.
 
  My problem is very similar to the post below.
 
 
 
http://www.nabble.com/Problem-with-JavaScript-when-using-Wicket-AJAX-Compo
 nents-td14432037.html#a14438456

 EXCEPT this person uses the sweetTitles  tooltips.

 Is there a solution for this if using the dojo tooltips?

 Thank You Very Much,

 Karen


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with javascript when using wicket ajax component

2008-05-29 Thread Karen Schaper
Hi Wicket Users,

I need help with a problem I am having when changing the submit button to be
an ajax component.

I am using org.wicketstuff.dojo.markup.html.tooltip.DojoTooltip to create a
tooltip on an image in a datatable.  The tool tips work great until I try to
use an ajax component that filters the data in the table.

My problem is very similar to the post below.


http://www.nabble.com/Problem-with-JavaScript-when-using-Wicket-AJAX-Compo
nents-td14432037.html#a14438456

EXCEPT this person uses the sweetTitles  tooltips.

Is there a solution for this if using the dojo tooltips?

Thank You Very Much,

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CompoundPropertyModel need to track changes

2008-04-14 Thread Karen Schaper
Hi,

I am using a CompoundPropertyModel.

CompoundPropertyModel personModel  = new CompoundPropertyModel(
person );
Form_editForm= new EditPersonForm( 
editForm,
personModel ) ;

Upon submitting the form, I thought that the setter methods would be called
on the person object. How is the person object updated?  The code in the
setter methods of person are not called.

Am I missing something?

I want to track changes in my object and I wanted to check for the change in
the setter methods of the person object.

Thanks for any help.  It is greatly appreciated!

Karen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: CompoundPropertyModel need to track changes

2008-04-14 Thread Karen Schaper
Thanks.  

My class variables for example are _name with the underscore.

and the getter and setter would be setName and getName.

In my form for this page I had included the underscore _name so I think wicket 
was looking for set_Name.  Once I changed the wicket:id to be just name the 
setter setName was called.

Thank you for the clues.



 -Original Message-
 From: Gerolf Seitz [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 14, 2008 7:18 AM
 To: users@wicket.apache.org
 Subject: Re: CompoundPropertyModel need to track changes
 
 
 On Mon, Apr 14, 2008 at 1:05 PM, Maurice Marrink 
 [EMAIL PROTECTED] wrote:
 
  Hmm, it should try to use bean methods before trying the field directly.
  you could try changing the wicket id of your formcomponent to the full
  method name, e.g. setLastname() if your property is lastname.
  If that does not work, it might indicate a problem with your getters
  and setters.
 
 
 it could also be that he only provided a getter or a setter and not both.
 in this case, the field is accessed directly.
 
   Gerolf
 
 
 
  An alternative way to intercept changes (only those coming through the
  compoundmodel) is to override
  CompoundPropertyModel#wrapOnInheritance(Component) and return a model
  similar to AttachedCompoundPropertyModel where you overwrite the
  setObject method to listen for changes. Unfortunately you cannot
  extend it because it is private so you have to copy paste it.
 
  Maurice
 
  On Mon, Apr 14, 2008 at 5:37 AM, Karen Schaper
  [EMAIL PROTECTED] wrote:
   Hi,
  
I am using a CompoundPropertyModel.
  
CompoundPropertyModel personModel  = new CompoundPropertyModel(
person );
Form_editForm= new 
 EditPersonForm(
  editForm,
personModel ) ;
  
Upon submitting the form, I thought that the setter methods would be
  called
on the person object. How is the person object updated?  The code in
  the
setter methods of person are not called.
  
Am I missing something?
  
I want to track changes in my object and I wanted to check for the
  change in
the setter methods of the person object.
  
Thanks for any help.  It is greatly appreciated!
  
Karen
  
  
  
  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



onBeforeSubmit

2008-04-14 Thread Karen Schaper
Hi,

I would like to do something after the user clicks a submit button but
before the fields are actually submitted.

Is there a way to do this in wicket?


Thanks

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Change css style of AjaxButton

2008-04-11 Thread Karen Schaper
Hi,

I'd like to change the color of a button after clicking it.  The button was
added to the page using AjaxButton.

Is there a way to change the style of a button?  I've change the css style
when using PropertyColumns but I don't see anything for changing the style
of a button.

I could make 2 different buttons and make only one visible at a time but I
don't really want to do this.

Am I missing something?

Thanks

Karen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: right click popup context menu

2008-03-07 Thread Karen Schaper
Thanks for the reply Doug.

I actually found this project and now have a context menu appearing when
clicking on the id column for a row. Now I just need to make my different
actions actually work and the table refreshed.

Right now I using the TestAction inner class that is in your example.  In
the onClick method of the TestAction the targetId is the id of the row that
I am right clicking on to get the context menu.

Is there a way to get the object that the row is based on?


Thanks

Karen


 -Original Message-
 From: Doug Leeper [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 07, 2008 2:20 PM
 To: users@wicket.apache.org
 Subject: Re: right click popup context menu



 Take a look at wicket-contrib-yui.  There is a context menu
 (built on top of
 YUI) contained in org.wicketstuff.yui.markup.html.menu2.contextMenu

 There are some examples in wicketstuff-yui-examples for the Context Menu
 (tree and list/data view)

 Note: these are SVN projects located at
 http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/

 Let me know if you have any questions as I am the author of this
 contribution.

 - Doug
 --
 View this message in context:
 http://www.nabble.com/right-click-popup-context-menu-tp15876468p15
903821.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: right click popup context menu

2008-03-07 Thread Karen Schaper
Yep.  I have that working just as you described below.

Glad I'm doing it correctly.

Thanks

 -Original Message-
 From: Doug Leeper [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 07, 2008 5:43 PM
 To: users@wicket.apache.org
 Subject: RE: right click popup context menu
 
 
 
 In the populateItem, you will need to do the following:
 
 
 contextMenuBehavior.applyAttributes(item, popupMenu, new Model(   
 rowId));
 
 Where rowId is the value you are looking for when the action has been
 selected (the targetId in the onClick method)
 
 private class MyAction extends AbstractYuiMenuAction implements
   IYuiMenuAjaxAction {
 
   public void onClick(AjaxRequestTarget target, String targetId) {
// targetId == the rowId in applyAttributes
   }
 }
 -- 
 View this message in context: 
 http://www.nabble.com/right-click-popup-context-menu-tp15876468p15
 908004.html
 Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sorting using a DataTable

2008-01-30 Thread Karen Schaper
Hello,

I am using a SortableDataProvider with a DefaultDataTable.

From my understanding, it seems that for every column that I wish to sort
on,   I need to add code to the iterator method of the
data provider.  None of the columns were sorting and when I added some code
in the iterator method (see below) I was able to sort on the street column.

Is this the best way to sort columns?  I am using wicket 1.3.

Thanks Karen

iterator method from a SortableDataProvider  

public Iterator iterator( int first, int count ){

final SortParam sp = getSort();
EventList  list = getInterruptionList();
if ( sp.getProperty().equals(street) ){
Collections.sort(list, new Comparator()
{
public int compare(Object arg0, Object arg1){
if ( sp.isAscending() )
return
((Interrupt)arg0).getStreet().compareTo(((Interrupt)arg1).getStreet());
else
return
((Interrupt)arg1).getStreet().compareTo(((Interrupt)arg0).getStreet());
}
});
}
return list.listIterator( first );
}


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: DateField and Validation

2008-01-18 Thread Karen Schaper
I forgot to mention I am also setting the type to Date.class

I am using the latest wicket release 1.30.

 -Original Message-
 From: Karen Schaper [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 18, 2008 12:44 AM
 To: [EMAIL PROTECTED] Apache. Org
 Subject: DateField and Validation


 Hello,

 I'm using org.apache.wicket.extensions.yui.calendar.DateField and I am
 trying to attach a date validator.

 Nothing is happening when I enter a non-date.  The other validators on the
 TextFields are working.

 If I view the source on the html page I see that the onBlur for the
 validator is inside the span tag instead of the input text box that is
 generated.


 Here is some of my code..

 field.add( DateValidator.maximum( new Date() ) )
 field.add( new FXValidationAjaxHandler(onblur) )
 add(  field )

 Is there a way to validate the DateField?

 Thanks

 Karen




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DateField and Validation

2008-01-17 Thread Karen Schaper
Hello,

I'm using org.apache.wicket.extensions.yui.calendar.DateField and I am
trying to attach a date validator.

Nothing is happening when I enter a non-date.  The other validators on the
TextFields are working.

If I view the source on the html page I see that the onBlur for the
validator is inside the span tag instead of the input text box that is
generated.


Here is some of my code..

field.add( DateValidator.maximum( new Date() ) )
field.add( new FXValidationAjaxHandler(onblur) )
add(  field )

Is there a way to validate the DateField?

Thanks

Karen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: lang.merge is not a function error

2008-01-14 Thread Karen Schaper
 is the YUI menu from the wicketstuff project? 

No just from YUI

if so, what YUI version does

version 2.2.0

Thanks that must be my problem.



 it use?
 
 i suspect this only happens if the YUI menu js files (yahoo, dom, event,
 menu, ...) are
 loaded before the datepickers yuiloader-beta-min.js.
 yuiloader checks if YAHOO.lang is already available (which it would be if
 the YUI menu
 is loaded first) and reuses it instead of creating a new YAHOO object.
 
 if there is no such method YAHOO.lang.merge prior to 2.4.1 (which 
 is used by
 wicket-datetime),
 then the issue you are experiencing is almost definitely caused 
 by a version
 conflict.
 
   Gerolf
 
 On Jan 14, 2008 2:16 AM, Karen Schaper [EMAIL PROTECTED]
 wrote:
 
  Hello Again,
 
  I am experience a strange issue when using the new date picker in
  conjunction with the YUI menu.  I can use them each alone but when then
  are
  together I get this error in firebug.
 
  The error is lang.merge is not a function which is located in the
  yuiloader-beta-min.js.  This js is located in the wicket-datetime.
 
  I googled lang.merge and is it possible that it should be 
  YAHOO.lang.merge.
 
  Thanks for any help.
 
  I think this is my last problem due to upgrade to wicket 1.3.
 
  Karen.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



InjectorHolder has not been assigned an injector error

2008-01-13 Thread Karen Schaper
Hello Again,


I am upgrading to the latest and greatest  release of wicket 1.3.  I made
the change to register my converters by overriding the newConverterLocator
method.  In my customer converter class, in the constructor, I am calling
InjectorHolder.getInjector().inject( this );   The converter class is using
a couple of spring beans.

I am getting the following error when started tomcat.

java.lang.IllegalStateException: InjectorHolder has not been assigned an
injector. Use InjectorHolder.setInjector() to assign an injector. In most
cases this should be done once inside SpringWebApplication subclass's init()
method.

In the my Application class, (which is extends AuthenticatedWebApplication)

   @Override
protected void init()
{
super.init();
addComponentInstantiationListener( new SpringComponentInjector(
this );
.
..

I tried calling the InjectorHolder.setInjector to assign an injector but
still get the error.  Again the only change I made that caused the error was
using the new way to register converters and of course upgrading my wicket.
My converter needs to call InjectorHolder.getInjector().inject( this ).

I'm guessing that the call to newConverterLocater happens before Spring
injection.

Any ideas on how to fix this?

Thanks

Karen
(Wicket Newbie)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Karen Schaper


 -Original Message-
 From: Eelco Hillenius [mailto:[EMAIL PROTECTED]
 Sent: Sunday, January 13, 2008 12:11 PM
 To: users@wicket.apache.org
 Subject: Re: InjectorHolder has not been assigned an injector error


  I'm guessing that the call to newConverterLocater happens before Spring
  injection.

 Yeah. Too bad, maybe in hind sight it would have been better to create
 it lazily.

  Any ideas on how to fix this?

 I think just creating the SpringComponentInjector in your webapp's
 constructor instead of in the init method should do the trick.

Tried putting  addComponentInstantiationListener( new
SpringComponentInjector(this );

into the constructor of Application which extends
AuthentationWebApplication... but I now get the following error.

java.lang.IllegalStateException: servletContext is not set yet. Any code in
your Application object that uses the wicket filter instance should be put
in the init() method instead of your constructor

Thanks for the suggestion anyhow.


 Eelco

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: InjectorHolder has not been assigned an injector error

2008-01-13 Thread Karen Schaper
  Tried putting  addComponentInstantiationListener( new
  SpringComponentInjector(this );
 
  into the constructor of Application which extends
  AuthentationWebApplication... but I now get the following error.
 
  java.lang.IllegalStateException: servletContext is not set yet. 
 Any code in
  your Application object that uses the wicket filter instance 
 should be put
  in the init() method instead of your constructor
 
 That sucks. How about - big hack - doing it in your
 newConverterLocater method, just before you create the locator? That
 should definitively work, though it's a bit nasty :-)

Yes that worked.  Now I'm onto other upgrading issues :)

 
 Could you please open a JIRA issue for this? We should probably create
 the converterLocator and possibly the session store lazily instead of
 in Application#internalInit.

Sure.  

 
 Cheers,
 
 Eelco
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



lang.merge is not a function error

2008-01-13 Thread Karen Schaper
Hello Again,

I am experience a strange issue when using the new date picker in
conjunction with the YUI menu.  I can use them each alone but when then are
together I get this error in firebug.

The error is lang.merge is not a function which is located in the
yuiloader-beta-min.js.  This js is located in the wicket-datetime.

I googled lang.merge and is it possible that it should be YAHOO.lang.merge.

Thanks for any help.

I think this is my last problem due to upgrade to wicket 1.3.

Karen.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



IConverterLocatorFactory no longer exists?

2008-01-12 Thread Karen Schaper
Hello,

I am trying upgrade some code from the wicket-1.3.0-incubating-SNAPSHOT.jar
to the latest wicket.

It appears that the IConverterLocatorFactory no longer exists.

I need to register a custom converter to the application.

Here is my code which will not compile now.

.
 getApplicationSettings().setConverterLocatorFactory( new
IConverterLocatorFactory()
{
public IConverterLocator newConverterLocator()
{
return new OmsConverter();
}
} );

Is there other solution for this?

Thanks

Karen
(wicket newbie)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Karen Schaper
Thanks for pointing out this reference.  Sorry though I should have been
able to find this myself.

I appreciate the help.

Karen

 -Original Message-
 From: Eelco Hillenius [mailto:[EMAIL PROTECTED]
 Sent: Saturday, January 12, 2008 6:54 PM
 To: users@wicket.apache.org
 Subject: Re: IConverterLocatorFactory no longer exists?


 On Jan 12, 2008 3:52 PM, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
  Yup, in your application override newConverterLocator and let it
  return the IConverterLocator instance you want.

 http://cwiki.apache.org/WICKET/migrate-13.html states this btw. In
 case you run into other things, you might want to consult that WIKI
 page.

 Eelco

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Input Text Boxes are frozen after ajax update

2008-01-07 Thread Karen Schaper
Hi,

I solved my problem.  I just added focus to one of the text field components
and now all the text fields can be focused on.

-Karen.

 -Original Message-
 From: Karen Schaper [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 07, 2008 7:32 PM
 To: [EMAIL PROTECTED] Apache. Org
 Subject: Input Text Boxes are frozen after ajax update


 Hi,

 I am a pretty new wicket user and I am encountering a strange
 behavior on a
 web page.

 My page has many inputs consisting of checkboxes, drop downs and simple
 input text boxes.

 On one area of my page, the user can open a modal window, enter data and a
 row is added to the main page via an ajax call.

 After this window closes and I am at the mainb pageI can't edit any of
 the text boxes.  I can click the checkboxes, dropdowns and click
 on the date
 picker but my cursor will not enter into the text box.

 Very strange.

 Any ideas what would cause this?

 Thanks

 Karen.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DatePickerSettings and Time?

2007-12-16 Thread Karen Schaper
Hello,

I am looking for a component that I can use that will allow users to enter a
date and a time.

I was hoping to use the following 2 classes to accomplish this.

wicket.extensions.markup.html.datepicker.DatePickerSettings ;
wicket.extensions.markup.html.datepicker.PopupDatePicker;

I don't see a way to change the format to also allow for a time to be
entered.

Is there another package that has components that allow for a time picker?

Also I ran into a problem with using the date picker in a modal window.  It
didn't work.  Any workarounds for that?

Thanks for any help.

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Create button to open popup Window.

2007-12-10 Thread Karen Schaper
Hi,

I am very new to wicket.  My background is with jsp.

I'd like to add a button that will open a popup window that contains
mulitple checkboxes.  The user will select a few checkboxes and then those
choices will be listed back on the main page ( using ajax??)

Right now I'm trying to figure out how in wicket to have my button open a
popup window.  I don't want to submit the form but have some type of onclick
event.

Any insight is greatly appreciated.

Thanks

Karen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]