Re: [Wicket-user] Ajax component replacement with updated Model issue

2007-07-15 Thread Erik Dreyer
Solved it. onModelChanged() is your friend. - 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. htt

[Wicket-user] Ajax component replacement with updated Model issue

2007-07-15 Thread Erik Dreyer
Hi, Here's a use case I'm having a bit of trouble with: 1) present user with a Panel that display Contact information as text ('display' component). 2) User chooses to edit info 3) Replace 'display' component (via Ajax) with an 'edit' component. 4) User saves changes (via Ajax form post). 5) Par

Re: [Wicket-user] Pages vs. Panels

2007-07-11 Thread Erik Dreyer
Interesting topic. After reading a few posts talking about the merits of replacing panels and whatnot, I decided to try to develop an application that has one page and essentially ALL requests will be AJAX based. I thought it would be interesting to try to create a webapp that functions as close

Re: [Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Erik Dreyer
ab"+index), " ")); On 7/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: On 7/4/07, Erik Dreyer <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to update the provided TabbedPanel to be able to provide a > new CSS style to each tab so I can control

Re: [Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Erik Dreyer
On 7/4/07, Erik Dreyer <[EMAIL PROTECTED]> wrote: Hi, I'm trying to update the provided TabbedPanel to be able to provide a new CSS style to each tab so I can control the color of each tab. I tried subclassing TabbedPanel and adding this method: @Override pro

[Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Erik Dreyer
Hi, I'm trying to update the provided TabbedPanel to be able to provide a new CSS style to each tab so I can control the color of each tab. I tried subclassing TabbedPanel and adding this method: @Override protected void onBeforeRender() { super.onBeforeRender(); // get eac

Re: [Wicket-user] help needed with creation of image Link component

2007-07-03 Thread Erik Dreyer
ROTECTED]> wrote: On 7/3/07, Erik Dreyer <[EMAIL PROTECTED]> wrote: > > I'm trying to create a link component that will produce output similar > to the following: > > onmouseup=" this.src='imgA';"> > > where: > 1) The link handler (onClick)

[Wicket-user] help needed with creation of image Link component

2007-07-03 Thread Erik Dreyer
I'm trying to create a link component that will produce output similar to the following: where: 1) The link handler (onClick) is defined by users of the component 2) The two images are provided in the component constructor for example, ImageLink link = new ImageLink("id", "path/to/imageA", "

Re: [Wicket-user] Seam2 and Wicket

2007-07-01 Thread Erik Dreyer
I think the BPM feature would be a nice addition. I'm currently also working with a Tapestry 3 project that integrated with Spring WebFlow. The integration is a bit hairy, but having the state machine for flow management was a big win. The cost is that virtually any link that moves from one pag

Re: [Wicket-user] dynamic JS question

2007-07-01 Thread Erik Dreyer
That worked Great! Thx for the help. I also created a simple Border that uses this Behavior since that is the pattern I'll be using the most (provided to help others): It seems there is more than one way to skin this cat. I'm really looking forward to Wicket in Action. I'm hoping that besides

[Wicket-user] dynamic JS question

2007-07-01 Thread Erik Dreyer
Hi, Thanks in advance for the help as I wrap my mind around Wicket. I'm trying to create a Border component that, using the openRico js library (www.openrico.org), will output JS that will be called on load to round its own borders. Basically Rico works like this: ... stuff goes here ... Rico

[Wicket-user] Forms with Panels question

2007-06-23 Thread Erik Dreyer
Hi, I'm loving Wicket, but still have a bit to learn. I didn't find any answers when searching for an answer to my questions, so here they are. BTW, I'm using Wicket 1.3 as built from SVN (up to date as of 6/23). I have a panel that I'd like to include in multiple _different_ forms. The panel