[Wicket-user] CRUD and state

2006-01-26 Thread Mats Norén
I've got a couple of questions regarding models and state between pages when using AbstractDetachableModel. I want to do a simple CRUD of en entity called Circulars. I begin with a ListCircularsPage wich uses a DefaultDataTable with a CircularProvider I've written. The provider uses an CircularDe

Re: [Wicket-user] CRUD and state

2006-01-27 Thread Mats Norén
Sure! public class ShowCircularPage extends BasePage { private Page backPage; public ShowCircularPage(Page backPage, long circularId) { this.backPage = backPage; DetachableCircularModel model = new DetachableCircularModel(circularId, getCircularDao()); this.setMod

Re: [Wicket-user] CRUD and state

2006-01-27 Thread Mats Norén
On 1/27/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > > If I start over and do: > > circular (displays the list) > > "edit" -> > > circular?path=1 (displays show view) > > "edit" -> > > circular?path=2 (displays edit view) > > "save" -> > > circular?path=1 (displays the same show view as b

Re: [Wicket-user] CRUD and state

2006-01-27 Thread Mats Norén
Correct! Thanks a million. I must say that the model abstraction gets me confused from time to time. :) It works as expected now. /Mats --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Downl

[Wicket-user] Tables in forms?

2006-02-09 Thread Mats Norén
Hi, I've got a question regarding forms. I'm trying to build a view containing a search form, a searchresult table and a selection table. The idea is that a user can add and remove rows from the selection table by clicking on a checkbox on each listitem. The user can also make a search which gene

[Wicket-user] Checkbox in nested ListView

2006-02-09 Thread Mats Norén
I'm trying to use a checkbox in a nested ListView, and I'm having trouble updating the selection. I tried the wrapper example in the wiki but it didn't work: http://www.wicket-wiki.org.uk/wiki/index.php/Listview_with_checkboxes_in_a_form I'm using wicket 1.2 from february. Any suggestions? My

Re: [Wicket-user] Checkbox in nested ListView

2006-02-09 Thread Mats Norén
d add them to a selectList. Looking at the example for CheckGroup it doesn't work over a nested list? Thanks for your input! > > -Igor > > > > On 2/9/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > > I'm trying to use a checkbox in a nested ListV

Re: [Wicket-user] Checkbox in nested ListView

2006-02-10 Thread Mats Norén
the problem? (you had getModel( ) in your code) > > I remember having a nested list like yours and it worked. > > > > - karthik > > > > > > On 2/10/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > On 2/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote

Re: [Wicket-user] Checkbox in nested ListView

2006-02-10 Thread Mats Norén
.getModelObject(), "selected"))); >} >}); > > Is this the problem? (you had getModel( ) in your code) > I remember having a nested list like yours and it worked. Do you have an example? > > - karthik > > > On 2/10/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > On

Re: [Wicket-user] Panel parameters

2006-02-10 Thread Mats Norén
Are there any thoughts about using generics? On 2/10/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yep, that's it. Instead of passing your domain object directly, you > might consider putting it behind a IModel instance: > > public class HeaderPanel extends Panel > { >public HeaderPanel

Re: [Wicket-user] Checkbox in nested ListView

2006-02-10 Thread Mats Norén
Thanks! On 2/10/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > It's mentioned here: > http://wicket-wiki.org.uk/wiki/index.php/Listviews_in_a_form > > Eelco > > > On 2/10/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > On 2/10/06, karthik Guru <[EMAI

[Wicket-user] Autocompleting TextField

2006-02-13 Thread Mats Norén
I saw that there is an autocompleting TextField in the scriptaculous examples at wicket-stuff. Is this the prefered way of doing it in 1.2? Or is it a behaviour one should use somehow? /Mats --- This SF.net email is sponsored by: Splunk Inc. D

Re: [Wicket-user] Autocompleting TextField

2006-02-13 Thread Mats Norén
ead and use it. > > > > i dont know if we will be providing an implementation as part of the core. > > depends on how complex the javascript needs to be to draw the drop down part > > and how cross browser it will be. > > > > -Igor > > > > >

[Wicket-user] Navigation

2006-02-15 Thread Mats Norén
Hi, I'm looking into adding a navMenu to my application and was wondering if there are any existing solutions out there. What I'm interested in is a two level tabbed page navigation. Any pointers? /Mats --- This SF.net email is sponsored by:

Re: [Wicket-user] Navigation

2006-02-15 Thread Mats Norén
Thanks, I'll take a look at it. On 2/15/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > there is a tabbed panel in wicket-extensions. its not really a navigation > tool, just a tabbed panel :) > > maybe that will help. > > -Igor > > > > On 2/15/06, Mats No

Re: [Wicket-user] Navigation

2006-02-15 Thread Mats Norén
? On 2/15/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > And there's wicket-contrib-navmenu you might want to take a look at. > > Eelco > > > On 2/15/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > Thanks, I'll take a look at it. > > >

[Wicket-user] No such method

2006-02-17 Thread Mats Norén
Hi, I've upgraded from CVS today and got this error: java.lang.NoSuchMethodError: wicket.PageMap.getAccessStack()Ljava/util/Stack If my memory serves me right I saw somewhere that this method was altered? I'm using wicket-spring as well, does that have something to do with it? Stacktrace below:

Re: [Wicket-user] VOTE

2006-02-17 Thread Mats Norén
> 1. Give me the constructor change and the Java 5 functionality in one > pass (Wicket 2.0) +1 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes

Re: [Wicket-user] No such method

2006-02-18 Thread Mats Norén
from the start. > > If you look at the source code you do see that method? > > johan > > > > On 2/17/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I've upgraded from CVS today and got this error: > > > > java.lang.NoSuchMe

[Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
Stupid question, but is it possible to remove the actual span-tags from the output? getMarkupSettings().setStripWicketTags(true); removes the wicket:ids and the other wicket tags, but is it possible to remove the span tags for a label? My output looks almost like the font hell from early Frontpa

Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
wrote: > Mats Norén wrote: > > Stupid question, > > but is it possible to remove the actual span-tags from the output? > > > > getMarkupSettings().setStripWicketTags(true); > > > > removes the wicket:ids and the other wicket tags, but is it possible > &

Re: [Wicket-user] Navigation

2006-02-20 Thread Mats Norén
if i change the code/markup of the datatable it will break > yours since ids wont match, etc. > > you can copy the code if you want, but then you wont benefit from bug fixes, > etc. > > you have to choose whichever path you think is best for your case. > > > -Igor > &g

Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
On 2/20/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > It is not weird in my opinion to have it leave the span tag. By leaving it > in there, you maintain previewability between your rendered output and the > actual template. Agreed, it's a valid point. My beef with the span tags are more the f

[Wicket-user] Debugging wicket apps Tomcat5 + Intellij

2006-02-20 Thread Mats Norén
Has anyone else had any trouble with debugging their wicket apps with Intellij5.1 and Tomcat5? I keep getting messages "Invalid breakpoint. Source code changed". /Mats --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log

Re: [Wicket-user] Wicket remove tags

2006-02-20 Thread Mats Norén
On 2/20/06, Timo Stamm <[EMAIL PROTECTED]> wrote: > Mats Norén schrieb: > > Hmm...ok, so basically I have to litter my Java code with > > setRenderBodyOnly(true) instead. > > Create a subclass and use that. Good idea, a SimpleText extends Label with a setRenderBodyOn

[Wicket-user] Problems with AttributeModifier

2006-02-21 Thread Mats Norén
This code is taken from the wicket-contrib-navmenu. It defines a wicket:panel for the menuitems. I'm having real trouble with the AttributeModifier. Looking at the code the AttributeModifier is attached to the panel itself. public ItemPanel(final String id, final MenuRow row) {

Re: [Wicket-user] Problems with AttributeModifier

2006-02-22 Thread Mats Norén
be itemPanel.setRenderBodyOnly(false); or be removed to > have any attribute modifier work (as with true, there is no attribute > as there is no tag). > > Thanks for finding that bug, and sorry that you spent a lot of time on it. > > Cheers, > > Eelco > > > > On 2/2

[Wicket-user] CustomLayoutAjaxAutocompleteTextField

2006-03-03 Thread Mats Norén
Hi, I've been trying to use the CustomLayoutAjaxAutocompleteTextField from wicket-contrib-scriptaculous. Everything works as expected but for my usecase it doesn't quite fit. I was wondering how I could achieve the following: What I want to do is to let the user search for a Party by full name so

[Wicket-user] Snapshots at some maven2 repo?

2006-03-12 Thread Mats Norén
Sorry if this is a stupid question, but are there any 1.2 snapshots of the various wicket projects available at for instance ibiblio? /Mats --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends application

Re: [Wicket-user] Authentication

2006-03-14 Thread Mats Norén
Can I add a stupid question? :) Is there "wicket way tm" on how to get the logged in user and put it in a Wicket Session-object? Mats On 3/14/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > are these static pages just in the webroot? > if so then you can just have links to them in youre dynamic/

Re: [Wicket-user] Authentication

2006-03-14 Thread Mats Norén
Mmm...ok, I'll rephrase. Is there a way within wicket to obtain the logged in user if the user is authenticated by the container with basic authentication and writing the user to a wicket session? Without having to do this: ((WebRequest)getRequest()).getHttpServletRequest().getUserPrincipal() -

Re: [Wicket-user] Authentication

2006-03-15 Thread Mats Norén
ke it a utility function somewhere. > > Eelco > > On 3/14/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > Mmm...ok, I'll rephrase. Is there a way within wicket to obtain the > > logged in user if the user is authenticated by the container with > > basic

Re: [Wicket-user] DataView (extentions)

2006-03-15 Thread Mats Norén
That would be great! btw, how is the performance with large resultsets? On 3/15/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: > > > > The DataTable in Wicket Extensions 1.1 handles paging and sorting, but you > must build a custom IDataProvider that accumulates the sorting instructions > from

[Wicket-user] Session Expired and Ajax

2006-03-17 Thread Mats Norén
I've got a page with a ajaxified form and two listviews updated with ajax. The two listviews works like the palette-component in wicket which allows a user to add / remove items. The difference is that I do it with AjaxFallbackLinks: ListView selectedItems = new PCMListView("selectedItems", select

Re: [Wicket-user] Session Expired and Ajax

2006-03-17 Thread Mats Norén
On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > what version are you using? I'm using subversion HEAD from yesterday >i thought i fixed this a long time ago. if you > dont mind create a distilled quickstart project that reproduces this so i > can play with it on my side. I could try :) Do

Re: [Wicket-user] Session Expired and Ajax

2006-03-17 Thread Mats Norén
browser doesnt capture ajax requests there is no point in > versioning any changes done inside that request. > > -Igor > > > > On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > what ve

Re: [Wicket-user] Session Expired and Ajax

2006-03-17 Thread Mats Norén
Oh, sorry. I made it in the constructor of my ajax-page. On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > where did you make that call? > > > -Igor > > > On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > ok, I did setVersioned(false) and everythin

Re: [Wicket-user] Session Expired and Ajax

2006-03-17 Thread Mats Norén
ie, I made the page nonversionable On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote: > Oh, sorry. I made it in the constructor of my ajax-page. > > On 3/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > where did you make that call? > > > > > > -Ig

[Wicket-user] Writing to outputstream (Trying to do export)

2006-03-21 Thread Mats Norén
Hi, I'm trying to export a POI worksheet as a download link in my wicket page. The link sets the responsepage to a download page in which trying to get the outputbuffer to write to. Only problem is that I keep getting this: "java.lang.UnsupportedOperationException: Cannot get output stream on Buffe

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-21 Thread Mats Norén
ategy, but a much better solution is to make your PO > > worksheet a resource instead of a page. Please check out > > wicket-stuff's JasperReports integration for an idea how to do this. > > > > Eelco > > > > On 3/21/06, Mats Norén <[EMAIL PROTECTED]>

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Mats Norén
On 3/22/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > That's not the preferred way of working though. If you want to play > nice with the framework, you should either make it a resource - imo > the most elegant solution, and again, look at > wicket-contrib-jasperreports - or a custom request tar

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Mats Norén
e instead of a page. Please check out > > wicket-stuff's JasperReports integration for an idea how to do this. > > > > Eelco > > > > On 3/21/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I'm trying to export a POI worksheet a

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Mats Norén
Sorry, I'm not quite with you. How is the DynamicByteArrayResource called from the internals? On 3/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > See DynamiceByteArrayResource > Then you can do the load lazy. Only when the link is clicked. > > johan > > > &

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Mats Norén
Ok, thanks! On 3/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > just create ResourceLink with a DynamicByteArrayResource > And implement getResourceState() and when that is called you do youre > loading. > > > johan > > > On 3/22/06, Mats Norén <[EMAIL P

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Mats Norén
uestTarget and provide your content > wrapped in a IResourceStream. > > Eelco > > On 3/22/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > On 3/21/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > why not just push a download request target into the request cycle? i

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-23 Thread Mats Norén
pages etc) or to resources (including variants like > shared resources etc). > > Eelco > > > On 3/22/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > Even better. Thanks for the tip. There are so many options it's quite > > easy to get confused :) > > > >

Re: [Wicket-user] NoClassDefFoundError in TreeComponentInitializer#38

2006-03-30 Thread Mats Norén
Don't know if it is related but I've had a couple of similar errors when my inherited Tree is initialized. The problem then was that the static blocks of the superclass failed because of missing resources. This resulted in a NoClassDefFoundError on the MyTree class... On 3/31/06, Eelco Hillenius

[Wicket-user] Validating single formcomponent with Ajax

2006-03-30 Thread Mats Norén
Hi, Is there a behaviour / component for validating a single formfield with Ajax without submitting the whole form? I'm guessing there is an example somewhere, I just need a pointer in the right direction :) --- This SF.Net email is sponsored b

Re: [Wicket-user] Validating single formcomponent with Ajax

2006-03-31 Thread Mats Norén
s invalid. Should I do target.addComponent(border) and not just rerender the textfield? > > > -Igor > > > On 3/30/06, Mats Norén <[EMAIL PROTECTED]> wrote: > > > Hi, > Is there a behaviour / component for validating a single formfield > with Ajax without sub

[Wicket-user] Yahoo Calendar component

2006-04-17 Thread Mats Norén
Hi, I'm curious about the future plans for the Yahoo Calendar component in the 1.2 release? Could one of the developers shed some light on the subject? :) /Mats --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language t

[Wicket-user] Replacing components in ListView

2006-04-26 Thread Mats Norén
Hi, I'm trying to display a couple of dates in a listview. When the user clicks on one of the dates I would like to replace the link with simple form for editing the date. The list renders fine, I click on the editLink and the "replacing view with edit"-text appears in my log. *But* nothing else ha

[Wicket-user] Re: Replacing components in ListView

2006-04-26 Thread Mats Norén
Okey, I forget the setOptimizeRemoval(true) bit. The problem now is that every link I click is replaced by a form, the effect I was looking for is that only one date at a time should be editable. What am I missing? On 4/26/06, Mats Norén <[EMAIL PROTECTED]> wrote: > Hi, > I'm tr

Re: [Wicket-user] Re: Replacing components in ListView

2006-04-27 Thread Mats Norén
Ok, and when you mean keep track you mean adding a current_edited property to my panel and then in the onClick-handler do the switch. Is the component id available somehow in the onClick? --- Using Tomcat but need to do more? Need to support web

[Wicket-user] mount shared resource inside initializer?

2007-02-28 Thread Mats Norén
Hi, is it possible to mount my shared resource within my localizer? public class ForumFeedResource extends ContentFeedResource public static class Initializer implements IInitializer { public void init(Application application) { application.getSharedResources().add("newsFeed"

Re: [Wicket-user] mount shared resource inside initializer?

2007-02-28 Thread Mats Norén
On 2/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > i think that should work > Doesn't it? error? or the mount is just not there? not there! :) wicket 1.2.4 btw /Mats > > johan > > > > On 2/28/07, Mats Norén < [EMAIL PROTECTED]> wrote: > >

Re: [Wicket-user] mount shared resource inside initializer?

2007-02-28 Thread Mats Norén
> > > > On 2/28/07, Mats Norén <[EMAIL PROTECTED]> wrote: > > On 2/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > i think that should work > > > Doesn't it? error? or the mount is just not there? > > > >

[Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Hi, I'm looking for a pattern to create page instances from a configuration in db. I sounds really weird but the scenario is this: - A request comes in for /mountpoint/dynamicpart1/part2/part3 - A lookup is made to db for a PageConfig with urlPart = dynamicpart1/part2/part3 PageConfig contains a

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
> > > i dont have the code infront of me, but i would think this should be > > doable within the pagemap factory > > > > -igor > > > > On 3/1/07, Mats Norén < [EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > I'm looking for

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Forgot to ask, but it seems that DefaultPageFactory has a lot of final methods in 1.3. Is there another option? /Mats On 3/1/07, Mats Norén <[EMAIL PROTECTED]> wrote: > Brilliant! :-) I wouldn't have thought of that. That solves it. Thanks! > > On 3/1/07, Igor Vaynberg <[

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Mats Norén
Yep, thought of that just as I hit sent...works! Thanks again! On 3/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > use extension by delegation instead of inheritance > > > -igor > > > On 3/1/07, Mats Norén <[EMAIL PROTECTED] > wrote: > > Forgot to ask, b

Re: [Wicket-user] Error with 1.2.5 and Spring

2007-03-06 Thread Mats Norén
Got the same error On 3/5/07, Matt Welch <[EMAIL PROTECTED]> wrote: > I'm only just now upgrading to Wicket 1.2.5 and I've run into an issue. I'm > certain this is an problem on my side and not a bug because other people > would have run into this and reported by now and I can't find any repor

[Wicket-user] WicketTester

2007-04-04 Thread Mats Norén
Hi, Is there an example on how to test bookmarkable pages with pageparameters? Do I have to use the ITestPage and call the constructor page(PageParameters params)? /Mats - Take Surveys. Earn Cash. Influence the Future of IT J

Re: [Wicket-user] WicketTester

2007-04-04 Thread Mats Norén
I try to setup a simple testcase with a bookmarkablepage and get the following exception about the serialization. INFO - Application- [WicketTester$1] init: Wicket extensions initializer INFO - Application- [WicketTester$1] init: Wicket core library initializer IN

Re: [Wicket-user] WicketTester

2007-04-04 Thread Mats Norén
Update, I switched to the latest snapshot and got the same error On 4/4/07, Mats Norén <[EMAIL PROTECTED]> wrote: > I try to setup a simple testcase with a bookmarkablepage and get the > following exception about the serialization. > > INFO - Application

[Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Mats Norén
Is there JIRA for wicket-contrib-tinymce? I was thinking about adding a patch for the https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-tinymce/ so that it uses 1.3.0-incubating-SNAPSHOT instead of wicket 1.2.4... /Regards Mats ---

Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Mats Norén
:) btw, thanks for adding the tinymce project. /Mats On 4/17/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > it is the wicketstuff jira > > eelco is smoking crack again > > -igor > > > > On 4/17/07, Mats Norén <[EMAIL PROTECTED] > wrote: > > Ah,

Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Mats Norén
Ah, I thought it was http://wicketstuff.org/jira Is there a reason for the two separate issuetrackers? /Regards Mats On 4/17/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Formally: http://sourceforge.net/tracker/?group_id=134391. > > Eelco > > > On 4/17/07, Mats

[Wicket-user] AbstractTree in 1.3

2007-05-02 Thread Mats Norén
Just a quick question/clarification about the current Tree in 1.3. Is it correct that the AbstractTree only uses a TreeModel to gain access to the root TreeNode? Looking at the code in AbstractTree.java line 499: // is root item created? (root item is null if the items have not

[Wicket-user] Problem with AjaxLink and images in snapshot from this morning (1.3.0-incubating-SNAPSHOT)

2007-05-28 Thread Mats Norén
I've got a small snag with images inside an ajaxlink: My template looks like this: The generated output when the page loads for the first time: Notice the src-attribute for the image. The image displays correctly. When click the ajax-link the generated output looks slightly different: Not

Re: [Wicket-user] Problem with AjaxLink and images in snapshot from this morning (1.3.0-incubating-SNAPSHOT)

2007-05-31 Thread Mats Norén
Hi, The problem is still there, unfortunately... /Mats On 5/28/07, Mats Norén <[EMAIL PROTECTED]> wrote: > I've got a small snag with images inside an ajaxlink: > > My template looks like this: > > title="Bakåt"> src="img/button_goBack.gif">

[Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Mats Norén
Hi, Would it be possible to let the TreeTable take a model of columns instead of a fixed array? So that it would be possible to dynamically alter the number of columns based on a model? My usecase is a timeplanning tree with activities as rows and time as columns. Looking at the code it seems that

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-05-31 Thread Mats Norén
It would be great of you had some code to share, it makes it easier to follow... :) /Mats On 5/31/07, ChuckDeal <[EMAIL PROTECTED]> wrote: > > I had the same (at least it sounds similar) problem. My pages use a > role-based authorization strategy. Sometimes the role is based upon the > data on

Re: [Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Mats Norén
or recreate the tree every time > the columns change. > > -Matej > > On 5/31/07, Mats Norén <[EMAIL PROTECTED]> wrote: > > Hi, > > Would it be possible to let the TreeTable take a model of columns > > instead of a fixed array? > > So that it would be possibl

[Wicket-user] Input type="image" and relative urls in Wicket 1.3.0-incubating-SNAPSHOT

2007-06-12 Thread Mats Norén
This must have been asked a million times but I couldn't find the right answer in the list archives. I've upgraded one of my applications that uses 1.2.3 to 1.3 snapshot. In the process I got rid of my PrependContextPathFilter since wicket is supposed to make url:s relative. It works for everything

Re: [Wicket-user] Input type="image" and relative urls in Wicket 1.3.0-incubating-SNAPSHOT

2007-06-13 Thread Mats Norén
Thanks, I solved it by adding the behavior used in the RelativePathPrefixHandler to my custom button. I'll take a look at the ContextRelativeResource. /Mats On 6/12/07, Al Maw <[EMAIL PROTECTED]> wrote: > Mats Norén wrote: > > This must have been asked a million times but

Re: [Wicket-user] WARNING: head/ trunk is highly experimental for a while

2006-05-23 Thread Mats Norén
Could you define "a few months"? We're about to start a new project that may or may not use wicket 2.0 depending on the timetable. The first release is scheduled in september. Is that to soon for a reasonably stable wicket 2.0? Are there any simple issues that a non wicket export could help out wi

Re: [Wicket-user] Wicket 1.2 released!

2006-05-24 Thread Mats Norén
Congrats! A job well done!! On 5/24/06, David Leangen <[EMAIL PROTECTED]> wrote: Congratulations! Excellent job!! --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-07-21 Thread Mats Norén
Has there been any progress in merging AuthenticatedWebApplication and the spring-stuff lately or is there a best praktice out there somewhere? Best regards Mats On 6/8/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > The problem is that the wicket-auth-roles package assumes you subclass > Authe

[Wicket-user] Authorization-question

2006-07-30 Thread Mats Norén
Hi, I've got a scenario where I would like to filter rendering of components based on a users role but the roles change depending on a page parameter, ie: - PageA has a page parameter teamId - if the teamId is 1 the User is admin (for that particular team) - if the teamId is 2 the User is an ordina

Re: [Wicket-user] Authorization-question

2006-07-30 Thread Mats Norén
Ah, neat. OO to the rescue :) On 7/31/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > here is some pseudo code: > > class BaseTeamPage extends Webpage { > private final long teamid; > > public long getteamid() { return teamid; } > > public BaseTeamPage(long teamid) { > thi

Re: [Wicket-user] Authorization-question

2006-07-31 Thread Mats Norén
On 7/31/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i wouldnt recommend doint this in session because user entity will become > detached, i would instead do it in the requestcycle so the user is loaded > once per request It is? I've used a User-object in session and I haven't noticed that it ge

Re: [Wicket-user] HTML tools

2006-08-01 Thread Mats Norén
I can recommend Intellij IDEA as a HTML-editor. Great CSS-support as well. Theres a video demonstration somewhere. I think it's a google techtalk where one of the developers demos the HTML support. /Mats - Take Surveys. Earn

Re: [Wicket-user] HTML tools

2006-08-02 Thread Mats Norén
IDEA rocks! Although it has become more bloated for every release. :) The CSS support that automatically creates selectors when standing on an element in your HTML is a treat. And the ability to stand on an element and see which css rules apply to it is also very useful. I guess that's something t

[Wicket-user] url mounting and weird url:s

2006-08-02 Thread Mats Norén
I've noticed something weird that I can't explain. I've created my own RequestCycle by extending WebRequestCycle: public class DIFRequestCycle extends WebRequestCycle { transient Person user; public DIFRequestCycle(WebSession webSession, WebRequest webRequest, WebResponse response) {

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-03 Thread Mats Norén
2 [x] On 8/3/06, Frank Bille <[EMAIL PROTECTED]> wrote: > 2 [x] > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & busi

[Wicket-user] Form-question

2006-08-04 Thread Mats Norén
Hi, I've got a form problem that I don't really now how to handle. I've got three entities Person, PersonProperty and PropertyType. A Person has a Set A PersonProperty has a reference to a Person, a PropertyType and contains a value. What I would like to do is to edit a users dynamic properties

Re: [Wicket-user] Form-question

2006-08-04 Thread Mats Norén
a "map" that can insert new values. the > trick is that the model knows the person and the type which are the two > extra pieces of info you need to know except for the property itself. notice > i made person and type models because i dont know how big they are and if > you wa

[Wicket-user] Wicket + GIS

2006-08-08 Thread Mats Norén
Hi, has anyone on the list any experience with Wicket and GIS-backends like Geoserver? I'm trying to figure out the best approach for interfacing Wicket with GeoServer but I'm interested in other frameworks as well. /Mats - U

[Wicket-user] Wicket-contrib-navmenu

2006-08-08 Thread Mats Norén
Hi, I decided to upgrade my project from a pre-release of 1.2 to 1.2.1 and ran into some problems. I used the wicket-contrib-navmenu 1.2-SNAPSHOT in my pom.xml, I tried the easy approach and changed it to 1.2.1...unfortunately maven couldn't find it. Has it moved to some other package or is it rem

Re: [Wicket-user] Wicket-contrib-navmenu

2006-08-08 Thread Mats Norén
ou shouldn't expect it > to be versioned up along with the core. I'd expect you could just go > with the current version though, as 1.2 -> 1.2.1 should be a dropin > for clients, which is what wicket-contrib-navmenu is (should be, > anyway) in this context. > > /Gwyn

Re: [Wicket-user] Coding Authentification, Databinding and Role-related application behaviour

2006-08-09 Thread Mats Norén
nstantiationListener(new > SpringComponentInjector(this)); >} > } > > thats it, no need for extending any spring related application object. Ok, is this in version 1.2.1 or only in 2.0? /Mats > > -Igor > > > > On 7/21/06, Mats Norén < [EMAIL PRO

[Wicket-user] Link and Input

2006-08-10 Thread Mats Norén
Hi, I've noticed a strange behavior in 1.2.1 when using links with an img-element inside. in my HTML is changed to when wicket render it. The thing I don't understand is how/why the image-element is changed as well. Btw, the "test" in the url is the mountpoint of my webapp. In the same pag

Re: [Wicket-user] Link and Input

2006-08-10 Thread Mats Norén
her things look? Are those also relative links? Its a directory img under my webapplication root /webapp/img What I didn't understand was why it didn't do it's magic on the input-element? > > see the PrependContextPathHandler for the place that does this. > Ok, I'l

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
The input elements look like this: - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-i

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
On 8/11/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > ahh see the code: > > // Don't touch any wicket:id component > if (tag.getId() != null) > { > return tag; > } > > So in that case you have to do it yourself. That explains it! Thanks. So how does i

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
On 8/11/06, Mats Norén <[EMAIL PROTECTED]> wrote: > On 8/11/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > ahh see the code: > > > > // Don't touch any wicket:id component > > if (tag.getId() != null) > > { > >

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
n markupParserFactory; > > > Juergen > > On 8/11/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > you can use i guess public final void appendMarkupFilter(final IMarkupFilter > > filter) of MarkupParser > > But juergen just changes some of that code i

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
Disregard my last post. :) /Mats - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Ser

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
Hmm..didn't work out as I expected. Isn't Settings.java final in 1.2.1? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
I'm sorry if I come across as a little bit stupid here but the way I understood it was that getSettings() in Application is deprecated and shouldn't be used? And from what class should I derive MySettings? I mean since Settings is final. I thought I would supply my own IMarkupSettings but since t

  1   2   >