Re: isRequired: Use function instead of boolean

2009-04-15 Thread ChuckDeal
Ok, so I left out the detail that I have an AbstractPredicate in my environment that implements Predicate and Serializable. I honestly don't dare if it is Predicate or not, just that some Class is able to execute the function. I chose Predicate in my environment because I use commons-collections

Re: session "jumping"?

2008-08-25 Thread ChuckDeal
t; cant you patch wicket for that specific problem? > > Is maybe trunk of 1.3 better for you? > > > On Fri, Aug 15, 2008 at 6:59 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: > >> >> OK, I upgraded to 1.3.4 and now I remember what was broken for me. Some >&

Re: session "jumping"?

2008-08-25 Thread ChuckDeal
s? >>> >>> But first upgrade to 1.3.4: >>> >>> The Apache Wicket team is proud to announce the availability of the >>> fourth >>> maintenance release: Apache Wicket 1.3.4. A lot of bugs have been >>> squashed >>> and >&

Re: session "jumping"?

2008-08-15 Thread ChuckDeal
rade > > On Fri, Aug 15, 2008 at 4:50 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: > >> >> Sorry, you had asked some questions too: >> >> I had not verified that it was the same httpsession. it just seemed to be >> the same wicket session. Where would

Re: session "jumping"?

2008-08-15 Thread ChuckDeal
have been squashed > and > several improvements implemented. Two noteworthy bugs have been squashed: > >- cross session leakage due to a dangling thread local in exceptional >circumstances >- memory leak in localizer (WICKET-1667) > > johan > > > &g

Re: session "jumping"?

2008-08-15 Thread ChuckDeal
localizer (WICKET-1667) > > johan > > > > On Fri, Aug 15, 2008 at 4:29 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: > >> >> Wicket 1.3.3 >> >> I am going to attempt to describe what I have experienced in the hopes >> that >> a core d

session "jumping"?

2008-08-15 Thread ChuckDeal
Wicket 1.3.3 I am going to attempt to describe what I have experienced in the hopes that a core dev can point me in the right direction. The background: We previously had a complete JSP system in place. We decided to use the Wicket framework, but could not convert the entire system at once, so

Re: [inmethod-grid] javascript error closing modal window containing grid

2008-05-19 Thread ChuckDeal
on as I get some spare time. In the meanwhile, > can you try putting the modal window in a wicket form and see if that > helps? > > -Matej > > On Tue, May 13, 2008 at 5:23 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: >> >> I am experiencing a javascript error whe

[inmethod-grid] javascript error closing modal window containing grid

2008-05-13 Thread ChuckDeal
I am experiencing a javascript error when closing a ModalWindow that contains an inmethod-grid control. I am having trouble tracking where the error originates. Could anyone offer some advice on how to begin debugging an error with the ModalDialog? This is a quickstart that shows the problem

Re: Making entire row editable in a DataTable

2008-05-07 Thread ChuckDeal
If you have a handle to the Item instance represetning the cell, then you can do something like cell.findParent(Item.class) which will get you the row's Item instance, on which you can call row.getModel() FWIW, the inmethod grid is excellent, but it does require pretty big changes in order to r

Re: [Inmethod-grid] column resize event?

2008-04-30 Thread ChuckDeal
avior call that method for each changed column (passing a target object so that the client can be altered as a result of the change). Chuck martin-g wrote: > > see com.inmethod.grid.common.AbstractGrid.onColumnStateChanged() > > On Tue, 2008-04-29 at 12:24 -0700, ChuckDeal wrot

[Inmethod-grid] column resize event?

2008-04-29 Thread ChuckDeal
Would it be possible to get a column resize event added? I am attempting to use a Dojo Combobox as the editable cell content. The grid has a css style defined for edited cells that forces the combobox text element to 100% of the column width. That has a cool effect when editting, but has the si

[wicketstuff-dojo] Dojo SuggestionList

2008-04-28 Thread ChuckDeal
I suppose this question is directed at Vincent Demay (the author listed int he component)... I am attempting to use a derivative of the DojoRequestSuggestionList. As part of it's contract with the DojoRequestSuggestionListHandler it needs to implement public abstract SuggestionList getMatching

Wicket's custom serialization

2007-11-14 Thread ChuckDeal
I have been using Wicket's custom serialization for quite some time now. I've noticed a few oddities, but I attributed them to my own mistakes. Now, that I have got most of my code ironed out, I have been following up on the oddities. The first scenario goes like this: I have a custom authoriz

Re: Component.wrap and IChainingModel

2007-11-12 Thread ChuckDeal
Dmitry Kandalov wrote: > > On Thursday 08 November 2007 23:28:40 ChuckDeal wrote: >> > Perhaps I didn't get the explanation but why can't you wrap models in >> > this order? >> > >> > AppendingListModel( >> >     SortingModel( >

Re: Component.wrap and IChainingModel

2007-11-08 Thread ChuckDeal
Johan Compagner wrote: > >> >> >> SortingModel (IChainingModel) -> AppendingListModel >> (IComponentAssignmentModel) -> HibernateListModel (database oriented >> model >> that returns a list of items from the db, unsorted). > > > > So the sorting model is the outside one that you give to the c

Re: Component.wrap and IChainingModel

2007-11-08 Thread ChuckDeal
Dmitry Kandalov wrote: > > On Wednesday 07 November 2007 01:18:32 ChuckDeal wrote: > >> SortingModel (IChainingModel) -> AppendingListModel >> (IComponentAssignmentModel) -> HibernateListModel (database oriented >> model >> that returns a list of items

Re: Component.wrap and IChainingModel

2007-11-06 Thread ChuckDeal
lls setChainedModel on the model containing the IComponentAssignmentModel to get it back into the hierarchy. It appears to be working for me now. If you are interested, I can post the code. Chuck On 11/6/07, ChuckDeal <[EMAIL PROTECTED]> wrote: > > > > Johan Compagner wrote: >

Re: Component.wrap and IChainingModel

2007-11-06 Thread ChuckDeal
ave an IComponentAssignedModel in my chain? I'll play with that idea and see what happens. Does this seem like the right approach to adding sorting capabilities to a model? Chuck johan On 11/6/07, ChuckDeal <[EMAIL PROTECTED]> wrote: > > > I have DropDownChoice objects wher

Component.wrap and IChainingModel

2007-11-06 Thread ChuckDeal
I have DropDownChoice objects where I want the choices model to be sorted. The choices come from a database (using a HibernateListModel from databinder) but I am unable to perform the sort on the database side, it must be done on the server after the results are returned (due to the nature of the

Re: how to remove 'choose one' from dropdownlist?

2007-10-31 Thread ChuckDeal
If it is just a matter of not wanting to see the phrase "Choose One" but that you are ok with a empty value, you could use the "null" property value to change the default text. There is also a "null.valid" property that you can define for the case where a null value is valid (used in conjuntion w

Re: Re[4]: RequestCycle?

2007-10-08 Thread ChuckDeal
Yeah, that happened to me this week as well, but it was working over the weekend as well as this morning, so try it again. Chuck Taranenko wrote: > > Yeah web server is alive... what about svn server? I can not update > sources :( > > > C:\opensource\net\databinder\trunk>svn update > svn:

Re: RequestCycle?

2007-10-04 Thread ChuckDeal
1.2 Wicket. Shot me the link > and I'll see if I can give it a shot tonight. > > ChuckDeal wrote: >> Stanczak Group wrote: >> >>> I'm not for sure what to use. I tried to override the newRequestCycle() >>> but I had trouble understanding it. I'

Re: Adding a label when I add a FormComponent.

2007-10-04 Thread ChuckDeal
If you are going to have to add extra containers anyway, you could try it the way we do it on my project. In the html, we add both a label and input element with wicket ids. to keep it simple, the label's id is the same as the related component's id with "label" appended to it. Then, we have a

Re: RequestCycle?

2007-10-04 Thread ChuckDeal
Stanczak Group wrote: > > I'm not for sure what to use. I tried to override the newRequestCycle() > but I had trouble understanding it. I'm doing something like what > DataBinder does, but with 1.3. DataBinder seems to be 1.2. Either way > I'd rather use my own. Does anyone have an example of

Re: hide/show components - role based

2007-10-02 Thread ChuckDeal
Juan Gabriel Arias wrote: > > The second one. > Components should check some roles and enable or disable itself. > > Thanks for the answers! > Juan > > On 10/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> >> On 10/1/07, Kent Tong <[EMAIL PROTECTED]> wrote: >> > >> > >> > Juan Gabriel Aria

Re: Inter component events?

2007-09-26 Thread ChuckDeal
Here is a thread where I posted a quickstart with our solution: http://www.nabble.com/Best-Practices-for-accessing-repainting-sibling-cousin-components--tf3841514.html#a10895313. This is with Wicket 1.3.0 The basic idea is that a component registers itself as a listener to another component and

JSP embedded in Wicket page, loaded in a popup window

2007-09-21 Thread ChuckDeal
I have successfully used Al Maw's technique for embedding legacy jsp content into a wicket page. When loading the page into the browser via address bar or another link, it seems to work great. However, if I attempt to load the page in a popup window the relative paths get broken. I can't seem t

Re: Context-sensitive roles

2007-09-19 Thread ChuckDeal
Robert ... wrote: > > I'm making a forum project to learn about Wicket, Hibernate & Spring. > It has been interesting, but now I am kinda stuck for a while on > authentication/authorization. > > The difficulty I am having is that the "roles" a user can have is > based on the forum he is on. Eac

Re: DataTable header that spans multiple columns

2007-09-07 Thread ChuckDeal
s, etc, then i > suggest you go with a dataview > > -igor > > > On 9/7/07, ChuckDeal <[EMAIL PROTECTED]> wrote: >> >> >> When using the DataTable with HeadersToolbar you can display the Label >> associated with the column as the column Header. Has

DataTable header that spans multiple columns

2007-09-07 Thread ChuckDeal
When using the DataTable with HeadersToolbar you can display the Label associated with the column as the column Header. Has anyone had a case where they wanted a label to span columns? Specifically, something where row one is a category that spans three columns and then row two contains individu

Re: Updating FeedbackPanel

2007-09-04 Thread ChuckDeal
Man, I came back from a long weekend and the updateFeedback() method was gone! It appears that my code still works just peachy without it, so thanks to whoever took care of that! Chuck ChuckDeal wrote: > > I have a scenario where upon submitting the page, a feedback message is &

Updating FeedbackPanel

2007-08-30 Thread ChuckDeal
I have a scenario where upon submitting the page, a feedback message is added, something like info("Last Saved: {datetime}"). I now am working on a different feature that wants to add feedback in the onBeforeRender() method of the page. At first, I was only seeing the original message (Last Save