RE: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Chris Colman
It would be quite feasible to add support for multiple overridden sections using the above tag names while remaining backwards compatible with existing markup by continuing to support the old child/extends tags working the way they always have. It's kind of a predictable answer, but the

RE: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Chris Colman
There's nothing I would love more right now than to have to time to implement a patch to support multiple overridden sections in a wicket page but unfortunately time is one thing I don't seem to have much of these days. I can't believe 2007 is almost over - heck, where did this year go?

RE: Preserving user input after form error

2007-11-02 Thread Chris Colman
Could it be because the form page is bookmarkable? thats odd, all the values should be preserved, thats our rawinput that all formcomponents have. Do you have a repeater/listview around your formcomponents. On 11/1/07, Chris Colman [EMAIL PROTECTED] wrote: I've created a form and set up

RE: Preserving user input after form error

2007-11-03 Thread Chris Colman
Ok, I'll do that. The problem probably won't happen in the quickstart form ;) why dont you submit a quickstart and then we can figure out why its happening -igor On 11/2/07, Chris Colman [EMAIL PROTECTED] wrote: Could it be because the form page is bookmarkable? thats odd, all

RE: Preserving user input after form error

2007-11-03 Thread Chris Colman
Is there a page with guidelines on making a wicket quickstart? why dont you submit a quickstart and then we can figure out why its happening -igor On 11/2/07, Chris Colman [EMAIL PROTECTED] wrote: Could it be because the form page is bookmarkable? thats odd, all the values should

RE: Wicket jBPM

2007-11-03 Thread Chris Colman
I was wondering if anyone has started a Wicket project (instead of the JSF endorsed one). I would hate to recreate the wheel if someone has already started a similar project. Come on! Recreating the wheel is what us software engineers do best! Imagine how boring the wheel would be if we hadn't

RE: Multiple wicket:child / tags on a single base page?

2007-11-05 Thread Chris Colman
if i were you i would use tags other then extend and child just so you dont conflict. Yes Stefan, I would think that would be a better approach to use a new set of tags. It also allows you to choose more correct naming (because inheritance isn't actually a parent/child relationship so the

RE: Multiple wicket:child / tags on a single base page?

2007-11-05 Thread Chris Colman
the complement to abstract is implement not override... names are important. Arh, sorry, I made my last post before reading yours Igor. Yes, I agree abstract/implement make a great complimentary pair. - To unsubscribe,

RE: Multiple wicket:child / tags on a single base page?

2007-11-06 Thread Chris Colman
Wouldn't this essentially be the same as using wicket:panel id=header/ and using WebMarkupContainers on the java side? I.e.: Base Structural markup goes here (see below for explanation of this) wicket:panel id=header / More structural markup goes here wicket:panel id=body / And

RE: Multiple wicket:child / tags on a single base page?

2007-11-06 Thread Chris Colman
is then just an ordinary case of multiple where n=1. However, I'll consider using a different name and separate implementation for the prototype. -- Stefan Chris Colman wrote: if i were you i would use tags other then extend and child just so you dont conflict. Yes Stefan, I

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Wouldn't this essentially be the same as using wicket:panel id=header/ and using WebMarkupContainers on the java side? yes it would be exactly the same thing. If you think that these are the same then you've missed some vital plot points of the movie that it child/extend.

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Hmmm... more tags? I thought you guys liked Wicket because it's plain html support. Now looks like there's a big interest in having more tags. If this is true, why don't we go back a few years, or move to JSF? Let's give Wicket support to Tag Libraries too :) These aren't just like other

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Hey Chris, I would need some lobbying here! ;) -- stefan You're doing a great job Stefan - especially now I see that you've implemented it - excellent job! Are we both seeing something here that other people can't see? It wouldn't be the first time in my life I was in that position - only

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Given these subtle problems with this approach, I admit I'm warming to the multiple extend/child idea. im oposite - if i have X extends in a page, whose extend should be preferred (e.g: manipulating the head or a part outside of itself) ? I'm not sure I understand the issue you raise

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
And if somebody really needs 5 child areas, something else might be even messier than the page's constructor. I rather think that 2, 3 or in rare cases even 4 ids could make sense. i must disagree - i have a basepage which defines the default layout on a project, i.e. header,

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
How can it get messy when it's not yet possible to do in wicket? i believe it has been shown multiple times already that it CAN be done with vanilla wicket... I didn't like the look of any of those 'coded' solutions. They were not from the coding elegance book I've read. They also mean I'm

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
a lot of people are saying that this can be implemented with panels, and that is true. but actually implementing this with fragments will make it look very similar to this new strategy and does not have the id collission problem, because components ARE nested in two different containers:

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Presumably the coded work arounds that don't rely on child/extends mean that the structural markup of each page is used instead of just that of the base page - and that would spell maintenance issues. Without using child/extend then ALL the structural markup in each page is used for each render -

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Korbinian Bachl wrote: you missed solution3: the real-wicket-way(tm) for multiple content-places in a tied page-area: Whaaa, I seriously hope this is not the real-wicket-way! My brain hurts! A framework is supposed to make things easy and readable! The code below is just way too

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
and in extending classes you can easily do this: protected void initialize() { addToAnything(new AnyPanel(id)); addToAnything(new AnyPanel2(id2)); } So now you're proposing the Java code is defining the layout of components? That's what the markup's job is I

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
ok tell me with 2 examples what is soo different about having 2 panels (or fragments) in a page and implement that in a sub page or having 2 wicket childs in a page and implement those in a sub page. Ok, here we go... (well one example at least - it's getting late here ;) ) I'm not sure

RE: Attempted summary of multiple wicket:child / thread

2007-11-07 Thread Chris Colman
... 5) Conclusion In conclusion, the proposed change: - is useful - does not have to be used if you don't like it - is 100% backwards compatible - it introduces no new tags (if using child/extends) I also do not see any real issues. This is purely about merging

RE: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Chris Colman
The advantage of having this separate project is that such inheritance would be available for people who like it, and hey, maybe in the longer term you have something that works so good that you can convince people based on something that works. Executable code works much better than

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
heh, wellyou can be against this, but i think if we take a vote right now most core-devs with binding votes will vote this down I still can't see the reason for the negativity of some of the core-devs: this is an existing feature. If the feature sucks so bad why did people have the

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a directory created for the second level cache. I think the real issue for

Re: facebook support

2007-11-08 Thread Chris Lintz
I am curious what type of Wicket components/functionality you are hoping for? Just on a side note, we are using Octazen - http://www.octazen.com/ for social network slurping of contacts, etc. Of course there is a small license fee for the product, so it would be ideal to have a free library to

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
How can we limit the number of files and/or directories? I only see the option to limit the size of the session or the size of the pagemap for the DiskPageStore ( DiskPageStore(java.io.File fileStoreFolder, int maxSizePerPagemap, int maxSizePerSession, int fileChannelPoolCapacity) Matej

Is it possible to get AjaxLink stateless?

2007-11-08 Thread Chris Lintz
Hi. So i have tried setting the stateless hint and my AjaxLink is still statefull. I read some where where even Ajax components can be stateless. What am I missing? AjaxLink addFriend = new AjaxLink(addFriend) { @Override

RE: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Chris Colman
That is what I'd suggest as well, since it involves the least amount of change. As an added bonus, if no id's are added and 2 wicket:child sections are used, it could throw an exception (which it currently does not do, it just silently ignores the second wicket:child). That would be magic!

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
. Can you please file a high priority JIRA issue? We'll look at it as soon as possible. -Matej On Nov 8, 2007 6:35 PM, Chris Lintz [EMAIL PROTECTED] wrote: Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something

Re: Is it possible to get AjaxLink stateless?

2007-11-08 Thread Chris Lintz
they should be fast and could happen frequently and creating constantly a page for that is pretty heavy. johan On Nov 8, 2007 11:50 PM, Chris Lintz [EMAIL PROTECTED] wrote: Hi. So i have tried setting the stateless hint and my AjaxLink is still statefull. I read some where where even

Re: Is it possible to get AjaxLink stateless?

2007-11-09 Thread Chris Lintz
true. I dont know if all the urls are generated right then.. On Nov 9, 2007 4:51 PM, Chris Lintz [EMAIL PROTECTED] wrote: The onsubmit is adding a friend to XCP. An Ajax call decorator is then displaying a message on the client side... so the page doesnt change. Here is the link

RE: Attempted summary of multiple wicket:child / thread

2007-11-09 Thread Chris Colman
sections (as far as I can tell, or otherwise it should for backwards compatibility), and does precisely what both you and Chris want. Awesome! So it all sounds like a very low risk improvement of the existing functionality - cool! Sorry to all of those who've put up with such a long, sometimes

RE: JPA best-practices?

2007-11-10 Thread Chris Colman
i plan to use JPA together with Wicket. Are there any battle-proven best-practices out there of how to handle EnityManagers and Transactions? What do other people use (no, not the spring crowd ;) ? One EntityManager per Request seems to be the obvious idea and a guice

RE: Attempted summary of multiple wicket:child / thread

2007-11-10 Thread Chris Colman
I give up. Looks like this enhancement is really receiving positive votes. :) :) :) :) :) :) :) :) :) Just some of the many happy faces! In my second reason, I point to something that is... the _core_ of wicket: binding Java objects (Components) to HTML tags. So, not having this

CAPTCHA clarity in post 1.2.6 releaes

2007-11-10 Thread Chris Colman
I'm using the wicket extensions CAPTCHA feature which works perfectly except: I know the purpose of CAPTCHA is to make the text unreadable to a certain extent but it's *TOO* good at making the text unreadable - such that humans often get it wrong too. I have a client who has complained that

RE: CAPTCHA clarity in post 1.2.6 releaes

2007-11-10 Thread Chris Colman
i hope you guys realize that this isnt a wicket issue, its an issue with the captcha lib that wicket uses - thats what is generating the image. I realized that it was a third party thing. If it was written by the wicket devs it would rock like everything else they write! so why not simply

RE: CAPTCHA clarity in post 1.2.6 releaes

2007-11-11 Thread Chris Colman
The trouble is that the answers to the kitten questions usually have a small number of possible combinations: 1 - 5 roughly so on average a robot may be successful 20% of the time. thoof.com has a better captcha: select the kittens. I'd love to know if it works for them or not. Martijn

RE: JPA best-practices?

2007-11-12 Thread Chris Colman
Chris Colman schrieb: The obvious benefit in such an approach is that your POJO model and the services that you provide to implement business rules etc., remain completely portable to different persistence engines - ie., no vendor lock in. well, i thought that was JPA was all about

RE: JPA best-practices?

2007-11-12 Thread Chris Colman
Evan Chooly wrote: Do you know if theres any plans on making a maven2 archetype for qwicket? That's a definite feature i plan on adding as soon as I can. As a noted maven hater, though, it'll take some time and libations to help me swallow my pride. :) Good luck! Archetypes

RE: JPA best-practices?

2007-11-13 Thread Chris Colman
Chris Colman wrote: It seems it's also possible for a few other ORM tools to conform to that standard. Apart from Hibernate and JPOX you've got TopLink, Cayenne and others. That's my point. Which would you rather depend on; exPOJO or JPA? Two different things: exPOJO is a lightweight

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
that is waking up every day once and checks if there are files older then X. And that thread must be configured by you explicitly setting the timeout that you want to have. johan On Nov 14, 2007 12:04 AM, Chris Lintz [EMAIL PROTECTED] wrote: I think from previous threads

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
that are all valid. so that doesn't solve anything On 11/14/07, Johan Compagner [EMAIL PROTECTED] wrote: can you get the current process id by general api in java? have to look at Runtime then. On 11/14/07, Chris Lintz [EMAIL PROTECTED] wrote: That makes sense. Another thought that possibly makes

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
: no it doesnt matter what id i generate or get. This is still not enough because it doesnt say any thing if i can delete it or not. i have an id 1 then i restart and i have id 2 can i then delete everything from 1? No i cant because there could be live sessions from 1. On 11/14/07, Chris Lintz

Non-serializable model objects

2009-03-03 Thread Chris Hansen
to not be serializable? There must be downsides to the proxy approach that I'm not aware of, or an easier way to work with non-serializable model objects. Am I missing something? Thanks, Chris - To unsubscribe, e-mail: users-unsubscr

Re: Non-serializable model objects

2009-03-03 Thread Chris Hansen
I'm familiar with that approach, but it seems a bit cumbersome - especially for collections of non-serializable objects. I was hoping there was some other way. -Chris On Tue, Mar 3, 2009 at 9:41 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Use a LoadableDetachableModel that can re

Re: Non-serializable model objects

2009-03-03 Thread Chris Hansen
. class name and constructor). It seems like this has not been implemented, but do you think it is possible to do so? -Chris On Tue, Mar 3, 2009 at 9:43 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: objects you put into the model are stored in components, which are in turn stored in httpsession

Re: 7th August London Wicket Event

2008-08-07 Thread Chris Miller
to be in/near London when one of these events is on, I can say it's well worth heading along to regardless of your level of experience with Wicket. Cheers, Chris Yiannis Mavroukakis-3 wrote: Hi everyone, Just wanted to say a quick thank you to Cemal, Al et al for organizing this event

RE: Questions about wicket features

2008-08-07 Thread Chris Colman
Hello I've browsed over the wicket documentation and examples. There are a couple of things I don't seem able to determine. So I would really appreciate your input on this questions. 1. Can I write a web application without coding any HTML whatsoever?... I mean, is there some kind of html

Re: Google Chrome Wicket

2008-09-03 Thread Chris Stein
[org.springframework.jms.config.JmsNamespaceHandler] does not implement the NamespaceHandler interface, see output below). I'm stuck. I'm running JDK build 1.6.0_07 and Tomcat 6.0.16. --Chris =TOMCAT STARTUP ERROR LOG= 03.09.2008 12:18:44 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web

Show/hide WebMarkupContainer

2008-09-03 Thread Chris Stein
with an empty WebMarkupContainer in order to achieve this. However, I seem unable to figure out how this is actually going to work. Can somebody please give me a head start on this? Sorry if this might be a stupid question and thanks a lot for your help! --Chris

Using standard query notation ?productId=3 instead of /productId/3

2008-09-08 Thread Chris Colman
with those types of queries. A. Is he right? B. Can I flick a switch in wicket to generate traditional queries? Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket critique

2008-09-23 Thread Chris Stein
I tried many different frameworks in the past and Wicket was probably one of the easiest to set up and integrate into Eclipse. I have to admit that the learning curve is quite steep here. It helped me being familiar with Eclipse and the Tomcat integration to get things going quickly. Besides: I

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread Chris Stein
that (I did setOutputMarkupId(true)). Thanks a ton! Chris -- View this message in context: http://www.nabble.com/Adding-HTML-class%3D%22invalid%22-after-validating-with-IndicatingAjaxButton-tp19624501p19624501.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread Chris Stein
that (I did setOutputMarkupId(true)). Thanks a ton! Chris -- View this message in context: http://www.nabble.com/Adding-HTML-class%3D%22invalid%22-after-validating-with-IndicatingAjaxButton-tp19624501p19624501.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-25 Thread Chris Stein
replacing form tag well -igor On Tue, Sep 23, 2008 at 1:39 PM, Chris Stein [EMAIL PROTECTED] wrote: Thanks, Igor. However, I tried it and it never showed up in the browser. Even more so, when I set a breakpoint to the onComponentTag-method, it never gets called. Is that correct? I only get

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-25 Thread Chris Stein
Martijn On Thu, Sep 25, 2008 at 1:56 PM, Chris Stein [EMAIL PROTECTED] wrote: Thanks, Igor. I've been playing around with your suggestions but still doesn't seem to make it work. My onSubmit is not being called when I set a breakpoint there. Is it possible that what I am asking

RE: border error

2009-09-03 Thread Chris Colman
I'm having trouble with borders as well. This markup is within a page and I use a component resolver and in the debug I see requests for the 'primaryWrapper' (PrimaryWrapper is a class derived from Border. I then see the resolve request to resolve 'aboutUsPanel'. The panel is created and added to

RE: border error

2009-09-03 Thread Chris Colman
it ourselves in order to get the latest version? Regards, Chris Back in my day we didn't need Tapestry, or Wicket or WebObjects, or even Servlets, or for that matter Java! We just coded in plain assembly language. And before that we had to just type in 1's and 0's. Sometimes we didn't even have 1's. I

Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
I apologize in advance if there is a completely obvious solution to this that I have missed... Is it possible to pass in parameters to a panel via the markup? Eg., Let's say that there are number of different ways that a particular panel could be rendered and that these ways are largely

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
- where you have access to data sources, session attributes, the user, etc -- Jeremy Thomerson http://www.wickettraining.com On Mon, Sep 7, 2009 at 5:09 PM, Chris Colman chr...@stepaheadsoftware.comwrote: I apologize in advance if there is a completely obvious solution

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
you say it is laughable to require knowledge of code to configure this. i agree, but i also think its laughable to require the knowledge of markup, why shouldnt a sysadmin be able to change this? so isnt a property file, or a jndi property, or a database table a better place to configure

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
Then why not just create a configuration panel so your designer can configure the number of items to display? Scenario: Let's say 8 different pages use the same SongChartPanel and each wants to list a different number of songs. Providing a configuration panel for the web designer to configure

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
within the tag in the container markup that instantiated a panel? Any pointers to examples of this or where I'd find the right calls in the API to pull in these attributes? Regards, Chris -igor On Mon, Sep 7, 2009 at 5:23 PM, Chris Colmanchr...@stepaheadsoftware.com wrote: you say

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
Thomerson http://www.wickettraining.com On Mon, Sep 7, 2009 at 9:47 PM, Chris Colman chr...@stepaheadsoftware.comwrote: officially we will not support this type of control because there are plenty of other alternatives which we find more appealing. that said, there are plenty of ways

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
I'm doing some experimenting with ComponentTag.getAttributes() - it looks like the one!! Doh! It doesn't seem to work. No matter how many attributes I add to the tag and no matter whether I add the wicket: namespace to them or not I only ever see the single wicket:id attribute when I run this

RE: Passing parameters from markup to panels

2009-09-07 Thread Chris Colman
-Original Message- Doh! It doesn't seem to work. ... Whoops! Please ignore the above! It works like a charm when you place the parameters in the right place ;) - To unsubscribe, e-mail:

RE: Passing parameters from markup to panels

2009-09-08 Thread Chris Colman
. There are only 10 types of people in the world: Those who understand binary, and those who don't. -Original Message- On Mon, Sep 7, 2009 at 5:23 PM, Chris Colmanchr...@stepaheadsoftware.com wrote: you say it is laughable to require knowledge of code to configure this. i agree

RE: Passing parameters from markup to panels

2009-09-09 Thread Chris Colman
Chris Colman wrote: I've thought of a very ugly way of doing it with the current version of wicket but it relies on quite a lot of smoke and mirrors and hooking into the component creation process. I'll give that a go for now. We went a similar but still different way :) We use our own

RE: Passing parameters from markup to panels

2009-09-09 Thread Chris Colman
why? what is different between a 10 or a 50 item song panel? the number of items? you should anyhow use a ListView which repeats the her is the song-block as many times as you want to.. It is using a ListView - the desire was to provide an easy way for the UI guy to specify a row count in the

Variation algorithm

2009-09-10 Thread Chris Colman
With using the getVariation() method is the 'fallback' process for when a particular variant isn't found like this: (a) Incremental removal of variant suffixes using '_' as the delimeter: i.e. Wicket looks for files in the following order until one is found: HeaderPanel_Var1_Var2_Var3.html

RE: Passing parameters from markup to panels

2009-09-10 Thread Chris Colman
Subject: RE: Passing parameters from markup to panels Am Donnerstag, den 10.09.2009, 14:03 +1000 schrieb Chris Colman: why? what is different between a 10 or a 50 item song panel? the number of items? you should anyhow use a ListView which repeats the her is the song-block as many times

RE: Variation algorithm

2009-09-10 Thread Chris Colman
is the one maybe it is. Regards, Chris -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, 11 September 2009 12:56 AM To: users@wicket.apache.org Subject: Re: Variation algorithm wicket will not iterate over '_' delimiters that you supply

Border 'auto hide'

2009-09-17 Thread Chris Colman
I have a need to 'wrap' some content inside some border style markup, specifically within a li ... /li combo but the panel that is being inserted may be visible or invisible depending on logic within the panel and the current session etc,. When the 'wrapped' panel is invisible I don't want the li

RE: Border 'auto hide'

2009-09-17 Thread Chris Colman
If they don't, what would be the best way to have the border go invisible if the child is invisible? How about using wicket:enclosure child=wrappedPanel around the border. refer http://cwiki.apache.org/WICKET/wickets-xhtml- tags.html#Wicket%27sXHTMLtags-Elementwicket:enclosure

Border 'auto hide'

2009-09-17 Thread Chris Colman
On Thu, Sep 17, 2009 at 2:19 PM, Chris Colman chr...@stepaheadsoftware.comwrote: If they don't, what would be the best way to have the border go invisible if the child is invisible? How about using wicket:enclosure child=wrappedPanel around the border. I'm using my own

Creating a panel inside an enclosure via an IComponentResolver

2009-09-17 Thread Chris Colman
Is it possible to create a panel that's inside a wicket:enclosure vi an IComponentResolver implementation. If so where do I hook into such a beasty? I've tried replacing the standard EnclosureResolver in the apps collection of resolvers with a CustomEnclosureResolver than I created by extending

RE: Creating a panel inside an enclosure via an IComponentResolver

2009-09-17 Thread Chris Colman
Do you consider to use jsp for this project? They do the entire servlet based on the tag name.(just kidding) I've done my time in the jsp concentration camp - no more please! =) Make sure of remove the old standard EnclosureResolver and add your new one on: Yes, I've done that. I've made my

RE: Creating a panel inside an enclosure via an IComponentResolver

2009-09-17 Thread Chris Colman
From the stack trace you can see that the EnclosureResolver calls autoAdd which proceeds to do a render and eventually call getChildComponent - which obviously fails. It would seem like there needs to be some call to a resolver invoked for the newly created Enclosure object itself to give it a

Creating a panel inside an enclosure via an IComponentResolver

2009-09-17 Thread Chris Colman
I suppose one way around it would be to override Enclosure and create a DynamicEnclosure that supports the child components being resolved dynamically by a resolver. I then make my CustomEnclosureResolver return a DynamicEnclosure instead of a standard Enclosure. I guess to do that I'd need to

Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-17 Thread Chris Colman
As can be seen by the Enclosure.getChildComponent method below the component resolver expects to find the 'child' within its own parent - i.e. it assumes that its *child* is actually its sibling via: child = parent.get(childId.toString()); While all other children of the common parent are

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-18 Thread Chris Colman
a collection of them in the settings so does this need to be iterated through until one returns 'true' or is there somewhere in the framework where this iterating code can be called? Regards, Chris On Thu, Sep 17, 2009 at 1:57 PM, Chris Colman chr...@stepaheadsoftware.com wrote: As can be seen

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-18 Thread Chris Colman
? child = get(childId.toString()); How do you feel about that approach? Regards, Chris And... is there a convention for calling the component resolvers? There's obviously a collection of them in the settings so does this need to be iterated through until one returns 'true

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-18 Thread Chris Colman
to make the component a direct child of enclosure you would have to have an Enclosure component that is explicitly added into the hierarchy, at which point you can simply use a WebMarkupContainer whose visibility is tied to that of the child to replicate the functionality. the whole point of

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-19 Thread Chris Colman
that it was an Enclosure but now that you explain it as a two phase process: 1) handle tag to get a wicket:id 2) resolve the enclosure component i.e. look for a component with that wicket:id it now makes sense. -igor On Fri, Sep 18, 2009 at 8:35 PM, Chris Colman chr...@stepaheadsoftware.com wrote

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-19 Thread Chris Colman
this contract is not factored out anywhere, but maybe doing so may be worthwhile. can be part of your patch, something like ComponentResolvers.resolve(MarkupContainer parent, ) Yes looks like this code in MarkupContainer.renderNext would need to be factored out: // 3rd try: Try

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-19 Thread Chris Colman
this contract is not factored out anywhere, but maybe doing so may be worthwhile. can be part of your patch, something like ComponentResolvers.resolve(MarkupContainer parent, ) I've tried invoking the application resolvers from many different places within the Enclosure class but

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-20 Thread Chris Colman
as far as i rememember there is a collection registered in setttings and then each component can also implement a resolver. the contract can be seen in markupcontainer#rendernext method 1) first walk over the component hierarchy and check if any are resolvers 2) walk over collection

RE: Is it a bug that Enclosure is not invoking component resolver to resolve its children?

2009-09-20 Thread Chris Colman
as far as i rememember there is a collection registered in setttings and then each component can also implement a resolver. the contract can be seen in markupcontainer#rendernext method 1) first walk over the component hierarchy and check if any are resolvers 2) walk over

maven/quickstart question

2009-09-23 Thread Chris Colman
I've been using wicket under for a while now, always using ant, but now I have to create a quickstart app and I'm new to maven... I've created the quickstart app and it runs under Jetty no problem but where does it store the Wicket and Jetty .jars? They don't seem to be under the directory I

RE: maven/quickstart question

2009-09-23 Thread Chris Colman
for a main build server allowing all logged-in users to build from a common local repository. On Wed, Sep 23, 2009 at 11:01 PM, Chris Colman chr...@stepaheadsoftware.com wrote: I've been using wicket under for a while now, always using ant, but now I have to create a quickstart app and I'm

RE: Complicated workflows

2009-09-30 Thread Chris Colman
Also, because we run in very large clusters, redirects are out of the question due to the potential that the second request hits a different server before HTTP session has been properly persisted/shared. Can't you set up server affinity for the cluster to avoid that from occurring?

Using component resolver with enclosures in 1.4.5

2009-12-21 Thread Chris Colman
With version 1.4.2 I finally got a component resolver mechanism working for components within enclosures so that the components could be dynamically populated instead of hard coding the creation of every possible component that 'might' be needed by the markup. I just upgraded to 1.4.5 and my

Using component resolver with enclosures in 1.4.5

2009-12-21 Thread Chris Colman
With version 1.4.2 I finally got a component resolver mechanism working for components within enclosures so that the components could be dynamically populated instead of hard coding the creation of every possible component that 'might' be needed by the markup. I just upgraded to 1.4.5 and my

RE: Tag Oriented Development

2009-12-22 Thread Chris Colman
I know JSF is standard; what is your idea about current JSF status? Just forget about it ... ;) Agreed! JSF is way too complex for doing simple things. They -again- forgot the KISS principle (Keep it Simple Straightforward/Stupid). Wicket (but also Tapestry) is in my opinion a giant

RE: enclosure changes in 1.4.4

2010-01-11 Thread Chris Colman
It seems like 1.4.4 will throw the error, as you say for *any* missing child declared inside enclosure's markup but unfortunately it appears to throw it even if the child is available by a component resolver. Version 1.4.2 does not throw an error if the child is found via the component resolver

Generic modal windows

2010-01-23 Thread Chris Colman
Currently in our wicket app we have multiple pages and panels that can pop up ModalWindows depending on user actions. To support this we have tags like like: div wicket:id=someModalWindow/div Sprinkled through various markups. All of our pages derive from a single page class and I was wondering

RE: Generic modal windows

2010-01-23 Thread Chris Colman
I suppose the pop up/ModalWindow Nirvana that I'm seeking would be to have modals handled as easily as they are in deskop apps: Create a class derived from ModalWindow Instantiate it and call showModal. Without having to worry about adding tags to every page or panel markup that may require a

Custom validation

2009-04-06 Thread Chris Carlson
New to wicket trying to figure out the best way to do custom validation. I have a dropdown and a textfield, only 1 of which is required. I want the user to select from the dropdown, and if their option is not listed, be able to enter anything in the textfield

Use of base tag in head seems to break AJAX

2009-05-28 Thread Chris Colman
We have a site with lots of wicket AJAX working fine but we needed to add a base href=http://www.mysite.com/; / because the site uses a Rich Text editor that wants to convert all absolute links to links relative to www.mysite.com/ Adding this base tag seems to have broken all AJAX on the site

<    1   2   3   4   5   6   7   8   9   >