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

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 ModelString( 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

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 a target=_top, this functionally works good, but it adds a pagemap parameter to the URL: http://localhost:8080/my/page/wicket:pageMapName/modal-dialog-pagemap How can I remove the

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

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

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

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

Re: wicketAjaxGet and PageExpiredException?

2009-06-29 Thread Ryan McKinley
yup! works great actually I had to use e.getCause() instanceof... thanks (as usual) for the excellent help! ryan On Jun 23, 2009, at 11:19 PM, Igor Vaynberg wrote: have you tried class myrequestcycle extends webrequestcycle { onruntimeexception(e) { if (e instanceof

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

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 jweekend_for...@cabouge.com wrote: Ryan, Is PageView what you're looking for? Regards - Cemal http://jWeekend.com jWeekend ryantxu wrote: Hello- I

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

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:

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

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

Re: Share Localization across many pages/componets

2009-04-30 Thread Ryan McKinley
://www.wickettraining.com On Thu, Apr 30, 2009 at 3:22 PM, Ryan McKinley ryan...@gmail.com 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.properties

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

flush after /head?

2009-04-09 Thread Ryan McKinley
Is there an easy way to flush after you send the /head 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
add the child to the right component: you have wrapped the child/ 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 ryan...@gmail.com wrote: I

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

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.

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

Re: wicketstuff / ki / jsecurity

2009-03-25 Thread Ryan McKinley
.. 2009/3/24 Ryan McKinley ryan...@gmail.com 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

Re: wicketstuff / ki / jsecurity

2009-03-25 Thread Ryan McKinley
:59 AM, Jeremy Thomerson wrote: http://www.wickettraining.com/continuum/buildResult.action?buildId=6786projectId=248projectGroupId=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 McKinley ryan

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 kent.lars...@gmail.com wrote: Hi, Great

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)

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 ryan...@gmail.com wrote: Is your 'xxx' the instance inn each case? Depending

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: 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: 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:

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 ) {

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 session

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

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

2008-11-30 Thread Ryan McKinley
- 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 this has already been discussed, but another

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

2008-11-30 Thread Ryan McKinley
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] Organizing Wicket Stuff / Regular Release Schedule? Great work

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

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 IDataSourceT -- it does not make IQueryResult generic though. Is there anywhere to attach patches for inmethod-grid? I don't see anything on:

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

2008-11-26 Thread Ryan McKinley
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 discussed, but another part of the cleanup that would be nice is to group

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

2008-11-26 Thread Ryan McKinley
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:38 AM, Jeremy Thomerson wrote: I think Wayne was referring

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

2008-11-26 Thread Ryan McKinley
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 plugin groupIdorg.apache.maven.plugins/groupId

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: a href=/mount/param1/param2/.../a this links to a bookmarkable page with a URL coding strategy. Now I need to run the

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, so i'm

Re: linking to a text ResourceReference

2008-10-01 Thread Ryan McKinley
) -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, 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

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: script type=text/javascript var so = new

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

2008-09-10 Thread Ryan McKinley
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?

2008-08-03 Thread Ryan McKinley
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

modal window navigation?

2008-07-20 Thread Ryan McKinley
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

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

2008-06-03 Thread Ryan McKinley
[ 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

Re: (Class? extends Page?) casting troubles

2008-05-21 Thread Ryan McKinley
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 :

Re: (Class? extends Page?) casting troubles

2008-05-21 Thread Ryan McKinley
? 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] wrote: does

(Class? extends Page?) casting troubles

2008-05-20 Thread Ryan McKinley
Hello- I'm using 1.4 trunk and running into troubles compiling. My base page extends WebPageT, 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

links in inmethod grid?

2008-04-24 Thread Ryan McKinley
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

Re: Planning Wicket Next Generation

2008-03-17 Thread Ryan McKinley
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 see

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

2008-03-17 Thread Ryan McKinley
+1 ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: inmethod grid links?

2008-02-04 Thread Ryan McKinley
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 a href=... links withing the inmethod grid component. Clicking

inMethod Grid component, id=main

2008-01-25 Thread Ryan McKinley
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

2008-01-24 Thread Ryan McKinley
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...

2008-01-14 Thread Ryan McKinley
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

debug InspectorPage?

2008-01-09 Thread Ryan McKinley
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: {{{

Re: integrating extjs with wicket

2008-01-09 Thread Ryan McKinley
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

wicket + solr

2008-01-09 Thread Ryan McKinley
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

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

2008-01-03 Thread Ryan McKinley
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) {

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

2008-01-03 Thread Ryan McKinley
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 - a list within a list. I have a data

maven repository for wicketstuff

2007-12-02 Thread Ryan McKinley
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)?

2007-11-06 Thread Ryan McKinley
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