Re: LDAP Authentication

2009-11-05 Thread Ryan McKinley
take a look at Apache Shiro http://incubator.apache.org/shiro/ I found it much easier to work with... There is a basic example with: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/shiro-security/ I have it working with JDBC or ActiveDirectory, using LDAP sh

Re: 508 accessibility support

2009-10-31 Thread Ryan McKinley
takes values for alt attribute . Like the sortable columns , If I can set value for alt attribute that would be really nice. how about: div.add( new AttributeModifier( "alt", true, new Model( "what it should say..." )) -

Re: urlFor(ResourceReference) strangeness

2009-10-27 Thread Ryan McKinley
urlFor( ) uses the current request to get a relative path. If the location you are calling urlFor() from changes, it will get a new location Note the only difference between the two urls is the ../../.. prefix On Oct 27, 2009, at 11:05 AM, pieter claassen wrote: WHen I start my applica

Bookmarkable link to parent frame from a Modal window?

2009-09-30 Thread Ryan McKinley
Hi- How do I make a bookmarkable link to the parent window from a Modal window? I added a bookmarkable link and http://localhost:8080/my/page/wicket:pageMapName/modal-dialog-pagemap How can I remove the page map name? It looks like I could set the IPageMap on the BookmarkablePageLink, but from

Re: How to redirect from a ModalWindow

2009-09-12 Thread Ryan McKinley
even better is to add this call to the request that opens the window: onClick( AjaxRequestTarget target ) { target.appendJavascript( "Wicket.Window.unloadConfirmation = false;" ); ... modal.show( target); } This way the logic is still contained in java and it works for a panel or a pa

Re: Wicketstuff releases?

2009-08-12 Thread Ryan McKinley
On Aug 12, 2009, at 9:11 AM, Jeremy Thomerson wrote: Now that Wicket 1.4.0 is out, I wonder which wicketstuff core version is compatible. There is no 1.4.0 version of wicketstuff core (yet?). Should I use 1.4-rc8-SNAPSHOT? It should be just 1.4-SNAPSHOT. 1.4-rc8-SNAPSHOT was an accidenta

Job Oportunity

2009-07-31 Thread Ryan McKinley
I am building a search engine for geographic data -- see http://voyagergis.com/ -- and would love some help from a good wicketeer. If interested, please contact me directly ryan...@gmail.com or skype: ryantxu Ideally someone who could get to/from Washington DC without much hassle, but we

Re: Looking for Pop-up menu...

2009-07-22 Thread Ryan McKinley
why not just a YUI menu? (not a context menu) On Jul 22, 2009, at 12:47 PM, Petr Fejfar wrote: Hi all, I went through lot of Javascript integrating components to find out pop-up menu similiar to YUI context menu except a menu could be poped-up by left mouse click, mouse hover etc... But I d

Re: wicketAjaxGet and PageExpiredException?

2009-06-28 Thread Ryan McKinley
pageexpiredexeption) { if (getrequst().isajax()) { // this is an ajax request that caused pep exception throw new abortwithhttpstatusexception(400); -igor On Tue, Jun 23, 2009 at 6:13 PM, Ryan McKinley wrote: Is there anyway for an ajax call to catch

wicketAjaxGet and PageExpiredException?

2009-06-23 Thread Ryan McKinley
Is there anyway for an ajax call to catch the PageExpiredException? I am using the jquery history plugin to load pages in wicket (http://www.mikage.to/jquery/jquery_history.html) -- this lets me do ajax updates with bookmarkable urls. The one issue I am having is that if the session has expired i

Re: Help debugging why a component is not showing up...

2009-06-01 Thread Ryan McKinley
yup that helps! Also just found: WicketTesterHelper.getComponentData( getPage() ) thanks On Sat, May 30, 2009 at 3:06 PM, jWeekend wrote: > > Ryan, > > Is PageView what you're looking for? > > Regards - Cemal > http://jWeekend.com jWeekend > > > > > ryantxu wrote: >> >> Hello- >> >> I am pulli

Help debugging why a component is not showing up...

2009-05-30 Thread Ryan McKinley
Hello- I am pulling my hair out trying to figure out why a component is not showing up within a page. When I run the app from eclipse in development or deployment mode, it shows up just fine. When I build a package run that... no luck. However it does include javascript libraries added from the

Re: HybridUrlCodingStrategy and parameters with "."

2009-05-13 Thread Ryan McKinley
any thoughts? thanks On May 7, 2009, at 4:04 PM, Ryan McKinley wrote: I'm using the HybridUrlCodingStrategy and ran into a glitch when I have parameter values that include the character "." For example, if I make a link with: params.add( "p", "Hello 2.01

Re: inmethod grid & converter/formatter?

2009-05-07 Thread Ryan McKinley
what about just implementing AbstractLightWeightColumn#newCell? this lets you write text directly to the output... On May 7, 2009, at 4:15 PM, Brill Pappin wrote: I'm spiking on the inmethod grid components from wicketstuff (1.4- SNAPSHOT) I need to be able to format the data in columns and

HybridUrlCodingStrategy and parameters with "."

2009-05-07 Thread Ryan McKinley
I'm using the HybridUrlCodingStrategy and ran into a glitch when I have parameter values that include the character "." For example, if I make a link with: params.add( "p", "Hello 2.01.00" ) This creates a link to: http://host/context/path/p/Hello%202.01.00 and then that gets redirected to: h

Re: Share Localization across many pages/componets

2009-04-30 Thread Ryan McKinley
http://www.wickettraining.com On Thu, Apr 30, 2009 at 3:22 PM, Ryan McKinley wrote: I'm finally getting around to localizing my application -- the wicket tools for this are awesome, thank you! Everything works great when I follow the standard pattern: page.html page.

Share Localization across many pages/componets

2009-04-30 Thread Ryan McKinley
I'm finally getting around to localizing my application -- the wicket tools for this are awesome, thank you! Everything works great when I follow the standard pattern: page.html page.properties page_es.properties This is all fine and good, but in practice, I have many strings that are dup

Re: Strange behavior with palette (1.3.4) and IE7

2009-04-22 Thread Ryan McKinley
The following like is for Apache Solr, but most of it applies to any Apache project: http://wiki.apache.org/solr/HowToContribute In particular, check: http://wiki.apache.org/solr/HowToContribute#head-23efb2d0bdccabdfb1de743a6dea519e9194 On Apr 22, 2009, at 3:55 PM, Jeremy Thomerson wrote:

flush after ?

2009-04-09 Thread Ryan McKinley
Is there an easy way to flush after you send the tag? http://developer.yahoo.com/performance/rules.html#flush I don't know if this is premature optimization or just hoping for magic speed up from simple fixes... but it is worth a shot! thanks ryan --

Re: panel wicket:extend confusion

2009-04-03 Thread Ryan McKinley
don't add the child to the right component: you have wrapped the tag inside a markup container. You have to make the markup container a transparent resolver, *or* add the child components to the markup container. Martijn On Fri, Apr 3, 2009 at 7:47 AM, Ryan McKinley wrote: I have been us

panel wicket:extend confusion

2009-04-02 Thread Ryan McKinley
I have been using markup inheritance for page layout for a while without any issue. I just tried to use it for a Panel and am running into some issues -- I imagine it is user error, so i figured I would ask here before banging my head much longer. I have two classes: SimpleRow.java publ

visibility Behavior?

2009-03-30 Thread Ryan McKinley
I am working on some security integration (Ki/wicket), and am looking at a general way to set component visibility based on the user permissions/roles etc. Of course I could do: component.setVisible( false ), but that gets really verbose when 'false' can be a rather long statement. Wicke

Re: freelance gig

2009-03-25 Thread Ryan McKinley
On Mar 25, 2009, at 2:58 PM, Martin Makundi wrote: Don't do it: http://www.joelonsoftware.com/articles/fog69.html I don't think that advice applies here... assuming the meat of the project is contained in the " already written suite of spring services that work..." Re-implemen

Re: wicketstuff / ki / jsecurity

2009-03-25 Thread Ryan McKinley
at 11:59 AM, Jeremy Thomerson wrote: http://www.wickettraining.com/continuum/buildResult.action?buildId=6786&projectId=248&projectGroupId=2 That shows what commit it started failing on, etc. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 10:53 AM, Ryan McKi

Re: wicketstuff / ki / jsecurity

2009-03-25 Thread Ryan McKinley
en On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially e

Re: wicketstuff / ki / jsecurity

2009-03-25 Thread Ryan McKinley
On Mar 25, 2009, at 4:12 AM, Maarten Bosteels wrote: Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself Thanks Maarten The idea was to let the code mature in http://code.google.com/p/wicke

wicketstuff / ki / jsecurity

2009-03-24 Thread Ryan McKinley
Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and lea

Re: Security in a Spring & Wicket layered application

2009-03-09 Thread Ryan McKinley
I have not used it (yet), but check: http://code.google.com/p/wicket-jsecurity/ On Mar 9, 2009, at 1:46 PM, Kent Larsson wrote: Hm, I had some problems. Are there any examples out there for this? On Mon, Mar 9, 2009 at 9:43 AM, Kent Larsson wrote: Hi, Great answer! :-) I'll try to do th

Re: a bit of topic but i couldnt resist ....

2009-03-03 Thread Ryan McKinley
() and both have the same kind of objects That should be fine, no? In that case you are really talking about: Set set1 = aaa; Collection col1 = bbb; ... On Wed, Mar 4, 2009 at 00:13, Ryan McKinley wrote: Is your 'xxx' the instance inn each case? Depending on the impl

Re: a bit of topic but i couldnt resist ....

2009-03-03 Thread Ryan McKinley
Is your 'xxx' the instance inn each case? Depending on the implementation, removing from the thing you are iterating over may cause some wierdness. On Mar 3, 2009, at 5:44 PM, Johan Compagner wrote: Is this the same? Set set1 = xxx Collection col1 = xxx; foreach (col in col1) set1.remove

Re: InMethod DataGrid Localization

2009-02-09 Thread Ryan McKinley
For that you may want to try overriding newCell in AbstractLightWeightColumn public IRenderable newCell(IModel rowModel) { return new IRenderable() { public void render(IModel rowModel, Response response) { return "

Re: InMethod DataGrid Localization

2009-02-09 Thread Ryan McKinley
Yes -- check the examples. I think all of them use an external properties file to declare the header row display. On Feb 9, 2009, at 8:50 AM, Michal Hybler wrote: Hi, is there any support for localization in DataGrid? I need to substitute cell content of explicit column. For example:

Re: View Layer: implementing presentation logic

2008-12-19 Thread Ryan McKinley
I may be missing something but what about just setting the visible property? for( section : sections ) { Label label = new Label( ... label.setVisible( section.id != 0 ); add( label ) } On Dec 19, 2008, at 4:52 AM, Thorsten Scherler wrote: Hi all, I am looking into implementing some

jsessionid 1.4-m1 vs 1.4-rc1

2008-12-09 Thread Ryan McKinley
Have there been any changes to how jsessionid might be handled in rc1? I never seen this error before, but when I upgraded to rc1 I get it most of the time when starting a new session. I'm using the HybridUrlCodingStrategy when I hit something that should be mapped, I get directed to: ht

Re: Application.get() from WicketSessionFilter?

2008-12-06 Thread Ryan McKinley
( "userDao" ); thanks ryan On Dec 6, 2008, at 11:24 AM, Ryan McKinley wrote: Hello- Any advice on how to get the Application from a non-wicket servlet? I have the session filter working well, so I can get the user session. However, I only store the name in the sesion, and in the

Application.get() from WicketSessionFilter?

2008-12-06 Thread Ryan McKinley
Hello- Any advice on how to get the Application from a non-wicket servlet? I have the session filter working well, so I can get the user session. However, I only store the name in the sesion, and in the session class call: public User getUser() { if( userName != null ) { U

Re: Wicket integration with good charts api

2008-12-05 Thread Ryan McKinley
I just started one with the implementation I have we can make it better, or perhaps add it to wicketstuff... http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html On Nov 5, 2008, at 3:59 PM, Thies Edeling wrote: Maarten Bosteels wrote: I have a similar requirement and played

inmethod-grid generics?

2008-11-30 Thread Ryan McKinley
Hi- Is there any interest in making inmethod grid generic? I have a half-way implementation that makes IDataSource -- it does not make IQueryResult generic though. Is there anywhere to attach patches for inmethod-grid? I don't see anything on: http://wicketstuff.org/jira/secure/Dashboard

YUI uploader?

2008-11-30 Thread Ryan McKinley
Anyone tried using wicket with the YUI uploader? http://developer.yahoo.com/yui/uploader/ http://developer.yahoo.com/yui/examples/uploader/uploader-advanced-queue_clean.html This uses a flash object to select files and post them -- all the progress is handled on the client side rather then pass

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-30 Thread Ryan McKinley
gnore for .classpath, .project and target folder? Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Ryan McKinley <[EMAIL PROTECTED]> Sent: Sunday, November 30, 2008 10:33 AM To: users@wicket.apache.org Subject: Re: [discuss]

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-30 Thread Ryan McKinley
ood suggestion - this was included. Take a look at: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core -- Jeremy Thomerson http://www.wickettraining.com On Tue, Nov 25, 2008 at 4:32 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: I don't know if

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-26 Thread Ryan McKinley
Thanks for the tip! On Wed, Nov 26, 2008 at 4:18 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: Right, the svn url is important especially when you deploy from 'non-released' versions (like most of wicketstuff) This is what I have in my pom.xml

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-26 Thread Ryan McKinley
unk" (at least you're not supposed to). You create a tag and create the release from there. So, the tag/revision would be what you need to easily recreate the release. On Wed, Nov 26, 2008 at 2:13 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: On Nov 26, 2008, at 11

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-26 Thread Ryan McKinley
p in the past, but it should work. Has anybody else tried this? It would be: wicket-stuff-parent -- wicket-foo -- wicket-foo-core -- wicket-foo-examples On Tue, Nov 25, 2008 at 4:32 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: I don't know if this has already been discus

[discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread Ryan McKinley
I don't know if this has already been discussed, but another part of the cleanup that would be nice is to group the main project and the example project into a folder with a common parent pom. For example, I find the layout of: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/tru

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Ryan McKinley
[X ] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each Wicket release. - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

clever wicket link renaming? context path?

2008-10-31 Thread Ryan McKinley
Hello- I've been happily running my app on the root context path... but now I need to run it on something else. Throughout my html code, I have links that look like this: ... this links to a bookmarkable page with a URL coding strategy. Now I need to run the application on a different conte

Re: linking to a text ResourceReference

2008-10-02 Thread Ryan McKinley
thanks! I knew it was one line. You guys are great! On Sep 30, 2008, at 10:39 PM, Igor Vaynberg wrote: call urlfor(resourcereference) -igor On Tue, Sep 30, 2008 at 6:08 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: Hello- I know I have seen an example of this somewhere,

Re: linking to a text ResourceReference

2008-10-01 Thread Ryan McKinley
eRequested(); } } On Tue, Sep 30, 2008 at 10:39 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > call urlfor(resourcereference) > > -igor > > On Tue, Sep 30, 2008 at 6:08 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: >> Hello- >> >> I know I have seen

linking to a text ResourceReference

2008-09-30 Thread Ryan McKinley
Hello- I know I have seen an example of this somewhere, so i'm feeling kinda silly as I ask for help I am trying to integrate Open Flash Charts (OFC) with wicket. You pass OFC a url containing json to draw a chart. Something like: var so = new SWFObject("/open-flash-ch

Re: GMap2 (wicket-contrib-gmap2) and autozoom with getBoundsZoomLevel

Strangely I needed to get this to work just yesterday! I was able to hack it by letting GMap2.java take a list of strings it will output at the end of getJSinit() GLatLngBounds bounds = new GLatLngBounds(sw, ne); gmap.appendInitJS( "var xxx = "+bounds.getJSconstructor()+";\n" );

Clear all sessions?

Hello! Is there any way to clear all the session/state data for all users ? I have tried implementing an ISessionStore (SecondLevelCacheSessionStore) that hangs on to (wicket) Sessions between onBind and onUnbind. When I want to clear then, I call invalidate() on all sessions. This does

modal window navigation?

Hello- I'm using a Page within a modal window and when the user clicks an 'OK' button, I want to refresh the whole page (not the modal window). I've tried a few variations of: form.add( new AjaxButton("actionSave") { @Override protected void onSubmit(AjaxRequestTarget ta

Re: users, please give us your opinion: what is your take on generics with Wicket

[ X] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. 2) How strongly do you feel about your cho

Re: (Class>) casting troubles

< ? extends Page< ? >> interceptPageClass) or am i missing something? On May 21, 2008, at 10:27 AM, Gerolf Seitz wrote: Ryan, this is already fixed in trunk and will be included in the rebuilt M2 release. Gerolf On Wed, May 21, 2008 at 3:49 PM, Ryan McKinley <[EMAIL PROTECTED]>

Re: (Class>) casting troubles

does this mean it should work now? strangely, things work fine for me in eclipse, but from the command line, I still get: $ mvn clean install: /Users/ryan/Documents/workspace/dexter/website/src/java/dexter/website/ wicket/page/DownloadingPage.java:[18,97] inconvertible types found : jav

(Class>) casting troubles

Hello- I'm using 1.4 trunk and running into troubles compiling. My base page extends WebPage, then I have a bunch of pages that extend that. Everywhere I need to pass in a class that extends Page, I get the error: /Users/ryan/Documents/workspace/...MyClass.java:[32,97] inconvertible typ

links in inmethod grid?

Hello-Should normal links work within the grid component?  As is, they get gobbled up by a _javascript_ "return false"I asked this question a while back, but was able to avoid it with a _javascript_ link (document.location=xxx) I can't do that now.http://www.nabble.com/inmethod-grid-links--td152801

Re: [vote] Release 1.4 with only generics and stop support for 1.3

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

Re: Planning Wicket Next Generation

yes, generics! It would make the model business so much more clear. ryan Enrique Rodriguez wrote: On Sun, Mar 16, 2008 at 9:32 PM, Ned Collyer <[EMAIL PROTECTED]> wrote: FWIW +1 to java5 and 1.3. Generics == joy, especially with the model stuff wicket uses :) Same here; would like to se

Re: inmethod grid links?

yes, latest from svn mvn clean install thanks ryan Matej Knopp wrote: Hi, that would be a bug, are you using latest svn version? -Matej On Feb 5, 2008 12:16 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote: I'm trying to add links withing the inmethod grid component. Clicking

inmethod grid links?

I'm trying to add links withing the inmethod grid component. Clicking on the link does not do anything -- i think this is becasue the row onclick event eats it up. I was able to make things work by adding an AttributeModifier to the link and calling javascript for document.location=URL Is

inMethod Grid component, id="main"

First off - this component is excellent! thank you thank you! I could just drop it in to some existing projects and it works no problem. But on one project it looked all funky. After inspecting what was happening, it looks like my layout used the id "main", and the grid adds another "main":

linking to custom static content

Hi I have an application where each object can have some files associated with it that I need to pull from various sources. I have: /mount/id//thumb.jpg /mount/id//meta.xml /mount/id//layer.lyr ... I followed the 'staticpages' example and am implementing a UrlCodingStrategy

HybridUrlCodingStrategy with trailing slash...

Hello- I ran into a hickup with HybridUrlCodingStrategy and just want to run it by you all. It looks like mounting a page with a trailing '/' causes things to get redirected to a page it cant find: mount( new HybridUrlCodingStrategy( "/aaa/", Index.class) ); mount( new HybridUrlCodingStrat

wicket + solr

Hello- I've put together a little sample using wicket and solr. http://example.solrstuff.org/solr-voyager-example/ this uses solrj to hit: http://example.solrstuff.org/pvs/ Its still got some problems and I'm still stumbling through getting the models/structure correct, so if anyone is intere

Re: integrating extjs with wicket

I have not used it, but I noticed that Pickwickuses ExtJs http://wicketstuff.org/confluence/display/STUFFWIKI/Pickwick http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/pickwick/src/main/resources/org/wicketstuff/pickwick/ext/2.0/ ryan Reinout van Schouwen wrote: Op woensdag

debug InspectorPage?

The InspectorPage works great in the examples, so I tried putting it in my app to see what is in my sessions. Everything works except 'RequestsPage' and I can't figure out why. Actually, I don't understand why it works in the examples... The error I get when I hit this page is: {{{ WicketMes

Re: nesting repeaters? A child with id 'rows' already exists

dooh! Thank you! Frank Bille wrote: add(new ListView("rows", field.getValues() ) { = listItem.add(new ListView("rows", field.getValues() ) { On Jan 3, 2008 7:44 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: Hello- I'm struggling with how to nest repeaters

nesting repeaters? A child with id 'rows' already exists

Hello- I'm struggling with how to nest repeaters - a list within a list. I have a data structure that returns a List of Lists. My Panel.java code looks like: add(new ListView("fields", new FacetFieldsModel( rsp ) ) { @Override public void populateItem(final ListItem listItem) { fi

wicketstuff.org is down

Hello- http://wicketstuff.org/ currently sends you to: http://wicketstuff.org/confluence/errors.jsp It was like this last night too... Happy new year and thanks for all your work on wicket! ryan - To unsubscribe, e-mail: [EMA

maven repository for wicketstuff

Hello- I am stumbling through learning wicket and am hitting some things I don't grock about maven. I want to run the gmap2 example. When I check it out and then run: $ mvn jetty:run (or mvn install) I get an error that says "Missing: org.wicketstuff:wicket-contrib-gmap2:jar:1.3.0-SNAPSHOT"

solr wicket component(s)?

Hello- I'm new to wicket and trying to build a general purpose wicket solr (http://lucene.apache.org/solr/) Before getting too deep into it, I figured I'd ask advice on what pattern to build from. In solr, I build a query and get a response with a few parts. The parts correspond to variou