Re: [Wicket-user] Evaluating Wicket for Spring long transactions+Hibernate case

2007-06-28 Thread James McLaughlin
>
> Doing conversations spanning requests is somewhat straightforward in a
> Spring MVC setting as the request lifecycle is easy to understand, but I'm
> quite at a loss as to how I'm going to go about this with Wicket.
> Essentially we need to go into some Spring transaction method at some point
> in some part of a component's lifecycle, detect the transaction failure,
> notify the user and then try again. I don't think I've really seen this
> discussed anywhere up to a length that would have given me an idea how I am
> to get started...
>
> Ideas appreciated :-)
>
> Eero

Hello Eero,
If i understand correctly, you want to avoid displaying or performing
ops on stale data. Wicket handles this brilliantly through its IModel
construct. You need to mediate all your dynamic data access in wicket
through models like LoadableDetachableModel. You can read more about
them here:
http://cwiki.apache.org/WICKET/detachable-models.html

This will assure that you always have the freshest data in your
request. To defend against operations on data that have been altered
between requests, you need to employ a strategy like Martijn outlined
in his blog here:

http://www.jroller.com/page/dashorst?entry=wicket_goodie_hibernate_versioned_form

best,
jim

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [announce] Apache Wicket

2007-06-20 Thread James McLaughlin
That's great news! I will drink a toast to each and everyone of you
tonight. Congrats  on all your hard work.

best,
jim

On 6/20/07, Arnout Engelen <[EMAIL PROTECTED]> wrote:
> Martijn Dashorst wrote:
> > We have Graduation! Apache Wicket is established as a top level
> > project within the Apache Software Foundation.
> >
> > !!! Champagne !!!
> Many well-deserved congratulations to all of the wicket team!
>
>
> Arnout
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

2007-06-19 Thread James McLaughlin
OK, you are in. I created wicket-contrib-openlayers and
wicket-contrib-openlayers-examples with mvn:archetype. Let me know if
you have any trouble.

best,
jim

On 6/19/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> My sourceforge id is matnor.
> Could you create the wicket-contrib-openlayers as well while your at it? ;)
>
> On 6/19/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > Send me your sourceforge id, and I will add you. My requirements are
> > not too complex: mapping the status of a distributed sensor network.
> > Except some of the sensors will be mobile, so I will need to plot them
> > with an X second refresh.
>
> Ah, ok, that sounds doable. Add/remove markers would be a good
> starting point then.
> How many sensors are we talking about?
>
> /Mats
>
> > On 6/19/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> > > On 6/19/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > > Hi Mats,
> > > > I think an openlayers project would be great. I currently have some
> > > > gmap integration, but have a requirement to move it to something that
> > > > will work on an isolated network in the next few months. Do you have
> > > > commit rights to wicket-stuff?
> > >
> > > No I don't.
> > >
> > > If not, I'm sure one of the devs will
> > > > grant you. If you start the project up, I will gladly contribute.
> > >
> > > That would be great!
> > > I think there are a lot of similarities between the gmap efforts and
> > > an openlayers one.
> > > Covering all of OL would be quite a lot so maybe one should just start
> > > out with a simple map-panel?
> > >
> > > What are the requirements for your project when it comes to mapping?
> > >
> > > I guess for the project to be self contained it would great to launch
> > > GeoServer and some sample data. I'll look into it.
> > >
> > > Btw, does anyone know of a simple tool to generate javastubs from 
> > > javascript?
> > >
> > > /Mats
> > >
> > > >
> > > > best,
> > > > jim
> > > >
> > > > On 6/19/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> > > > > Hi,
> > > > >
> > > > > On 6/19/07, Martin Funk <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Mats,
> > > > > > > I would love to contribute in some way but I don´t see the 
> > > > > > > relevance
> > > > > > > in just going the Google  way.
> > > > > > There are lots of ways to contribute and no one keeps you from 
> > > > > > going a
> > > > > > more relevant path.
> > > > >
> > > > > I realise that I may have sounded a bit arrogant. That was not my
> > > > > intention at all. :)
> > > > > I just wanted to state that the Google API is well supported in
> > > > > OpenLayers and that it would be interesting to see your take on it.
> > > > >
> > > > > I'll be following your scratching to see if I can get some inspiration
> > > > > for an OpenLayers attempt... :)
> > > > >
> > > > > Keep up the good work!
> > > > >
> > > > > Regards,
> > > > > Mats
> > > > >
> > > > > -
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > ___
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > >
> > > > -
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists

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

2007-06-19 Thread James McLaughlin
Send me your sourceforge id, and I will add you. My requirements are
not too complex: mapping the status of a distributed sensor network.
Except some of the sensors will be mobile, so I will need to plot them
with an X second refresh.

Definitely start with the simplest thing possible. Just a simple map
panel with an example project will be a good start. It will probably
be about three weeks before I can help out.

best,
jim

On 6/19/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> On 6/19/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > Hi Mats,
> > I think an openlayers project would be great. I currently have some
> > gmap integration, but have a requirement to move it to something that
> > will work on an isolated network in the next few months. Do you have
> > commit rights to wicket-stuff?
>
> No I don't.
>
> If not, I'm sure one of the devs will
> > grant you. If you start the project up, I will gladly contribute.
>
> That would be great!
> I think there are a lot of similarities between the gmap efforts and
> an openlayers one.
> Covering all of OL would be quite a lot so maybe one should just start
> out with a simple map-panel?
>
> What are the requirements for your project when it comes to mapping?
>
> I guess for the project to be self contained it would great to launch
> GeoServer and some sample data. I'll look into it.
>
> Btw, does anyone know of a simple tool to generate javastubs from javascript?
>
> /Mats
>
> >
> > best,
> > jim
> >
> > On 6/19/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > On 6/19/07, Martin Funk <[EMAIL PROTECTED]> wrote:
> > > > Hi Mats,
> > > > > I would love to contribute in some way but I don´t see the relevance
> > > > > in just going the Google  way.
> > > > There are lots of ways to contribute and no one keeps you from going a
> > > > more relevant path.
> > >
> > > I realise that I may have sounded a bit arrogant. That was not my
> > > intention at all. :)
> > > I just wanted to state that the Google API is well supported in
> > > OpenLayers and that it would be interesting to see your take on it.
> > >
> > > I'll be following your scratching to see if I can get some inspiration
> > > for an OpenLayers attempt... :)
> > >
> > > Keep up the good work!
> > >
> > > Regards,
> > > Mats
> > >
> > > -
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

2007-06-19 Thread James McLaughlin
Hi Mats,
I think an openlayers project would be great. I currently have some
gmap integration, but have a requirement to move it to something that
will work on an isolated network in the next few months. Do you have
commit rights to wicket-stuff? If not, I'm sure one of the devs will
grant you. If you start the project up, I will gladly contribute.

best,
jim

On 6/19/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 6/19/07, Martin Funk <[EMAIL PROTECTED]> wrote:
> > Hi Mats,
> > > I would love to contribute in some way but I don´t see the relevance
> > > in just going the Google  way.
> > There are lots of ways to contribute and no one keeps you from going a
> > more relevant path.
>
> I realise that I may have sounded a bit arrogant. That was not my
> intention at all. :)
> I just wanted to state that the Google API is well supported in
> OpenLayers and that it would be interesting to see your take on it.
>
> I'll be following your scratching to see if I can get some inspiration
> for an OpenLayers attempt... :)
>
> Keep up the good work!
>
> Regards,
> Mats
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket & YUI

2007-06-13 Thread James McLaughlin
OK, fixed that.

Igor, if you are listening, can you create a jira project for
wicketstuff YUI so I can create an issue for this. Thanks.

best,
jim

On 6/13/07, Matthieu Casanova <[EMAIL PROTECTED]> wrote:
> 2007/6/13, James McLaughlin <[EMAIL PROTECTED]>:
> > Hi Matthieu,
> > Which version from svn are you using? Trunk is intended to work with
> > 1.3 only. So if you want to work yui and 1.2.6, you need to:
> >
> > svn checkout 
> > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket_1_2
> > wicket-stuff_1.2
> >
> > If I remember correctly, there were some things broken in that branch.
> > I will try to get some time to look at it later today.
> >
>
> Hi, I took it from here
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-yui/
> (I think the page
> http://wicketstuff.org/confluence/display/STUFFWEB/Home#Home-WheredoIdownloadstablereleases%3F
> has an error because
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket_1_2
> doesn't seems to exists in SVN)
>
> Matthieu
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket & YUI

2007-06-13 Thread James McLaughlin
Hi Matthieu,
Which version from svn are you using? Trunk is intended to work with
1.3 only. So if you want to work yui and 1.2.6, you need to:

svn checkout 
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket_1_2
wicket-stuff_1.2

If I remember correctly, there were some things broken in that branch.
I will try to get some time to look at it later today.

best,
jim

On 6/13/07, Matthieu Casanova <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to make wicket-contrib-yui working with 1.2.6. I took the
> version from svn, but I have a lot of javascript errors. The first is
> because sometimes it uses YAHOO.js and sometimes it's yahoo.js. I fixed it
> but I still have a lot of problems.
> Is it completely broken or should it work ?
>
> Matthieu
>
> 2007/5/31, James McLaughlin <[EMAIL PROTECTED]>:
> > There is a wicket-contrib-yui project included in wicket-stuff on
> sourceforge:
> >
> http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-yui
> >
> > I've been working on it a little, mostly on the menu module. The drag
> > and drop is somewhat broken, and I haven't had time to look at it.
> > This may have happened when I updated the libs to 2.2.2. But the
> > slider and animation modules work fine.
> >
> > There is very little in the way of documentation, but there is a
> > wicket-contrib-yui-examples project that demos each module.
> >
> http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-yui-examples
> >
> > If you perform a mvn install on wicket-contrib-yui, then a mvn
> > jetty:run on wicket-contrib-yui-examples, you should be up and running
> > in a few minutes.
> > Once I get the menu working to my satisfaction, I will produce some
> > documentation.
> >
> > When I updated the libs, I created a YuiHeaderContributor that will
> > resolve dependencies for the module you want and include the necessary
> > files in the proper order (yui is way weaker than dojo in this
> > respect).
> >
> > A few months ago, a number of people expressed interest in
> > contributing, so if any of you are reading this, I would love to have
> > some help. In particular, i think it would be great if someone could
> > bring drag and drop back to life. I think it could use some pretty
> > heavy refactoring as well. Actually, there have been a lot of changes
> > in wicket since wcy was last worked on, so much of the project could
> > use "modernization". If you don't know where to start, respond to this
> > email and I can provide a few ideas.
> >
> > best,
> > jim
> >
> > On 5/31/07, howzat <[EMAIL PROTECTED] > wrote:
> > >
> > > Are there any examples/tutorials that re using YUI  with Wicket.
> > > I see there is also a wicket YUI project but could not find much getting
> > > started help.
> > > --
> > > View this message in context:
> http://www.nabble.com/Wicket---YUI-tf3848786.html#a10901677
> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > >
> -
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Cyclic parent/child relationship

2007-06-11 Thread James McLaughlin
Speaking of sanity, awhile back, I was guilty of this fine piece of
brain damage:

class MyBrainDamagedModel implements IModel
{
   // some interesting members

  // some interesting methods

  public Object getObject() {
 return this;
  }
}

Turns out this an excellent way to exercise your cpu. I don't know if
there is anything   wicket can do to prevent the hapless user the
shame and frustration of falling into such a sandtrap. Maybe a note in
the javadoc. Maybe this message will be enough. Maybe such users
should not be allowed near wicket in the first place :).

best,
jim

On 6/11/07, Nart Seine <[EMAIL PROTECTED]> wrote:
> Yeah agreed. I was just wondering if a sanity check is needed at that point
> in the code.
> Thanks.
>
>
> On 6/11/07, Alex Objelean < [EMAIL PROTECTED]> wrote:
> >
> > You just have to respect the hierarchy you have defined in the markup.
> >
> >
> > Nart Seine wrote:
> > >
> > > Hello,
> > >
> > > I made an innocent programming error that day by adding a Form as a
> child
> > > component of a TextField thats already the child of the Form. In that
> > > case,
> > > execution gets stuck in an infinite loop in Component.findParent(final
> > > Class
> > > c). I still am only scratching the surface of wicket, but are there any
> > > cases when two component can be parents of each other, as in, is this
> the
> > > case with some component types? Could a check be added in the code to
> > > prevent adding a component, if the component being added is already the
> > > parent of 'this' component? Or should I just ensure I have enough
> caffeine
> > > in my system before I start putting together component hierarchies ? :)
> > >
> > > Thanks
> > >
> > >
> -
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> > --
> > View this message in context:
> http://www.nabble.com/Cyclic-parent-child-relationship-tf3900804.html#a11058487
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> >
> -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AJAX Button on my Form inside a Panel needs 2 clicks to do a search

2007-06-08 Thread James McLaughlin
I think some of the older versions of wicket would sometimes omit
header contributions. When the error happens, check to see if
wicket-ajax.js is included in the page. Also, you might want to
upgrade to 1.2.6 and see if that fixes the issue.

best,
jim

On 6/8/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote:
> James, sorry I took so long to respond. I tried to put PageLinks in the
> menu.
>
> And I could swear that the frequency of "error" drop, but some times it
> still happens.
>
> I am using wicket 1.2.5.
>
>
> f(t)
>
> On 6/6/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > Looks good. What version of wicket are you using? And the second time
> > you click DossierSearch, the time when no wicket ajax debug shows up,
> > do a view source and see if the proper wicket-ajax js files are in the
> > head section. Another thing I would suggest is using Bookmarkable
> > links in your menu for Dossier search. You are using regular links,
> > and that is why your url changes.
> >
> > best,
> > jim
> >
> > On 6/6/07, Francisco Diaz Trepat - gmail < [EMAIL PROTECTED]>
> wrote:
> > > Here is the video.
> > >
> > > It is .AVI file made with CamStudio, an Open-source project.
> > >
> > > and it is inside a rar.
> > >
> > > f(t)
> > >
> > >
> > >
> > >
> > >  On 6/6/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > > Hi Francisco,
> > > > I can't see anything logically wrong with your code, all though there
> > > > are things I would have done differently. What is the output of the
> > > > wicket ajax debug panel when you click on the ajax submit button?
> > > >
> > > > If you want some advice, I would suggest not using a pageablelistview
> > > > and not keeping your search results as an instance member (unless they
> > > > are very expensive to create). Instead, look into using
> > > > DefaultDataTable or extending DataTable. That way you can put all your
> > > > search logic in your IDataProvider (such as SortableDataProvider), and
> > > > retrieve only the results you will display in the current page, and
> > > > not carry them around in the session after the request is over. Hope
> > > > this helps.
> > > >
> > > > best,
> > > > jim
> > > >
> > > > On 6/6/07, Francisco Diaz Trepat - gmail
> <[EMAIL PROTECTED] >
> > > wrote:
> > > > > Sorry but I cannot find what the problem is. I've search Nabble.
> > > > >
> > > > > -
> > > > >
> > > > >
> > > > >
> > > > > Hello every one, I have a page that uses a panel (code ahead) that
> has a
> > > > > form with an AJAX button, it works fine, but some times I have to
> click
> > > on
> > > > > the Search button 2 times to make it work. I think it has to do with
> > > URLs or
> > > > > something because when it happens it changes the url.
> > > > >
> > > > > The code for the page that uses the following panel I don't include
> > > because
> > > > > it only has a statement saying add(new SearchPanel(etc...
> > > > >
> > > > > Here is the code, can some one help?
> > > > >
> > > > > ps: If any other comments like, your code sucks, please also include
> > > them.
> > > > >
> > > > > thanks a bunch
> > > > >
> > > > > f(t)
> > > > >
> > > > > and here is the code:
> > > > >
> > > > > package ch.logismata.wicket.panels.ajax;
> > > > >
> > > > > import ch.logismata.serverwrapper.DossierSearch ;
> > > > > import
> ch.logismata.serverwrapper.DossierSearchResult ;
> > > > > import
> > > ch.logismata.serverwrapper.DossierSearchResultList;
> > > > > import ch.logismata.wicket.pages.NewDossier ;
> > > > > import ch.logismata.wicket.panels.BasePanel;
> > > > > import java.io.Serializable;
> > > > > import java.util.ArrayList ;
> > > > > import wicket.AttributeModifier;
> > > > > import wicket.Component;
> > > > > import wicket.PageParameters;
> > > > > import wicket.ajax.AjaxRequestTarget;
> > > > > import
> wicket.ajax.markup.html.for

Re: [Wicket-user] AJAX Button on my Form inside a Panel needs 2 clicks to do a search

2007-06-06 Thread James McLaughlin
Looks good. What version of wicket are you using? And the second time
you click DossierSearch, the time when no wicket ajax debug shows up,
do a view source and see if the proper wicket-ajax js files are in the
head section. Another thing I would suggest is using Bookmarkable
links in your menu for Dossier search. You are using regular links,
and that is why your url changes.

best,
jim

On 6/6/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote:
> Here is the video.
>
> It is .AVI file made with CamStudio, an Open-source project.
>
> and it is inside a rar.
>
> f(t)
>
>
>
>
>  On 6/6/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > Hi Francisco,
> > I can't see anything logically wrong with your code, all though there
> > are things I would have done differently. What is the output of the
> > wicket ajax debug panel when you click on the ajax submit button?
> >
> > If you want some advice, I would suggest not using a pageablelistview
> > and not keeping your search results as an instance member (unless they
> > are very expensive to create). Instead, look into using
> > DefaultDataTable or extending DataTable. That way you can put all your
> > search logic in your IDataProvider (such as SortableDataProvider), and
> > retrieve only the results you will display in the current page, and
> > not carry them around in the session after the request is over. Hope
> > this helps.
> >
> > best,
> > jim
> >
> > On 6/6/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
> wrote:
> > > Sorry but I cannot find what the problem is. I've search Nabble.
> > >
> > > -
> > >
> > >
> > >
> > > Hello every one, I have a page that uses a panel (code ahead) that has a
> > > form with an AJAX button, it works fine, but some times I have to click
> on
> > > the Search button 2 times to make it work. I think it has to do with
> URLs or
> > > something because when it happens it changes the url.
> > >
> > > The code for the page that uses the following panel I don't include
> because
> > > it only has a statement saying add(new SearchPanel(etc...
> > >
> > > Here is the code, can some one help?
> > >
> > > ps: If any other comments like, your code sucks, please also include
> them.
> > >
> > > thanks a bunch
> > >
> > > f(t)
> > >
> > > and here is the code:
> > >
> > > package ch.logismata.wicket.panels.ajax;
> > >
> > > import ch.logismata.serverwrapper.DossierSearch;
> > > import ch.logismata.serverwrapper.DossierSearchResult ;
> > > import
> ch.logismata.serverwrapper.DossierSearchResultList;
> > > import ch.logismata.wicket.pages.NewDossier;
> > > import ch.logismata.wicket.panels.BasePanel;
> > > import java.io.Serializable;
> > > import java.util.ArrayList ;
> > > import wicket.AttributeModifier;
> > > import wicket.Component;
> > > import wicket.PageParameters;
> > > import wicket.ajax.AjaxRequestTarget;
> > > import wicket.ajax.markup.html.form.AjaxSubmitButton ;
> > > import
> > >
> wicket.ajax.markup.html.navigation.paging.AjaxPagingNavigator
> > > ;
> > > import wicket.markup.html.WebMarkupContainer;
> > > import wicket.markup.html.basic.Label;
> > > import wicket.markup.html.form.Form ;
> > > import wicket.markup.html.form.TextField;
> > > import wicket.markup.html.link.Link;
> > >  import wicket.markup.html.list.ListItem;
> > > import wicket.markup.html.list.PageableListView;
> > > import wicket.markup.html.panel.FeedbackPanel ;
> > > import wicket.model.AbstractReadOnlyModel;
> > > import wicket.model.CompoundPropertyModel ;
> > > import wicket.model.Model;
> > > import wicket.model.ResourceModel;
> > >
> > > /**
> > >  * Panel to make a Dossier Search and display the results
> > >  *
> > >  * @author gm
> > >  */
> > > public class DossierSearchPanel extends BasePanel {
> > > private SearchDossierModel
> m_cSearchDossierModel   = new
> > > SearchDossierModel();
> > > private ArrayList
> m_cSearchResults= new
> > > ArrayList();
> > > public DossierSearchPanel(String id) {
> > > //Call super base panel
> > > super(id);
> > > // create feedback panel to show errors
> > > final FeedbackPanel feedb

Re: [Wicket-user] wicket did not make the grade.

2007-06-06 Thread James McLaughlin
Nice work :). This would make a good contribution to wicket-minis.
After that, if you could whip up one with autocomplete instead of
refresh, that would be great too :)

best,
jim

On 6/6/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> I think that forms and tables seem awfully verbose when you first
> start Wicket.  A wiki page or two taking an example of such through a
> reasonable evolution to some short, tight code would be nice.  I have
> an old e-mail thread where Igor does exactly that, helping me.  I'll
> put it together into such a page.  Where would y'all like it?
>
> On a second point, Wicket's behaviors are insanely useful but
> under-advertised.  We let customers buy a variety of products and then
> we generate a form where the customer fills in the name of the person
> picking up the show tickets, the club passes, checking into the hotel,
> etc.  The first & last names are often the same and I was _easily_
> able to create a behavior that I add to all of the first name fields
> that propagates the model from one first name to all of the other
> first names (and of course another for the last name).  I can't
> imagine creating new, reusable functionality that easily in any other
> framework.
>
> (Don't confuse the enum method name() with the name property of the 
> behavior...)
>
>
> package com.vegas.ui.wicket.behaviors;
>
> import wicket.Component;
> import wicket.Component.IVisitor;
> import wicket.ajax.AjaxRequestTarget;
> import wicket.ajax.form.AjaxFormComponentUpdatingBehavior;
> import wicket.markup.html.form.FormComponent;
>
> public class ModelPropagationBehavior extends 
> AjaxFormComponentUpdatingBehavior
> {
> private static final long serialVersionUID = -451063727688504933L;
>
> public enum PREBUILT
> {
> FIRST_NAME, LAST_NAME;
>
> public ModelPropagationBehavior getBehavior()
> {
> return new ModelPropagationBehavior(name());
> }
> }
>
> private final String name;
>
> public ModelPropagationBehavior(String n)
> {
> super("onblur");
> this.name = n;
> }
>
> private String getName()
> {
> return name;
> }
>
> private boolean hasMatchingBehavior(Component component)
> {
> for (Object behavior : component.getBehaviors())
> {
> if (behavior instanceof ModelPropagationBehavior
> && ((ModelPropagationBehavior) 
> behavior).getName().equals(this.name))
> return true;
> }
>
> return false;
> }
>
> @Override
> protected void onUpdate(final AjaxRequestTarget target)
> {
> final FormComponent thisComponent = getFormComponent();
>
> thisComponent.getForm().visitChildren(new IVisitor()
> {
> public Object component(Component otherComponent)
> {
> if (otherComponent.equals(thisComponent))
> return 
> CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER;
>
> if (hasMatchingBehavior(otherComponent)
> && 
> otherComponent.getModelObjectAsString().isEmpty())
> {
> 
> otherComponent.setModelObject(thisComponent.getModelObject());
> target.addComponent(otherComponent);
> return 
> CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER;
>
> }
> return CONTINUE_TRAVERSAL;
> }
> });
> }
> }
>
>
> On 6/6/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> > I think I will echo Eelco in wishing you all the best with Struts2.
> >
> > Only thing I could summarize from this mail chain is that, maybe Wicket
> > needs that one extra out-of-the-box extension of ListView that you can do
> > say addColumn(String) and will use a Label by default?
> >
> > Otherwise as I said earlier, it is a waste of time trying to reverse
> > pre-conceived notions about which is *THE* UI framework to use.  Or if you
> > can point out anything obvious that the docs or examples are missing, I
> > guess that can be looked into as well.
> >
> > Thanks,
> >
> > Peter.
> >
> >
> >
> > On 6/6/07, Florian Hehlen < [EMAIL PROTECTED]> wrote:
> > > Hi John,
> > >
> > > John Krasnay wrote:
> > > > Amongst Wicket's many advantages, the following stand out for me:
> > > >
> > > > - The ability to encapsulate UI components, including all required
> > > >   markup, CSS, Javascript, and localization files, into shared JARs on
> > > >   the classpath. Having a s

Re: [Wicket-user] wickettester failures

2007-06-06 Thread James McLaughlin
Hi Ryan,

This explains it:
http://www.jroller.com/page/gridhaus?entry=maven2_testing_madness

File it under "Ways in which maven hates me..." :)

If you put this stanza in your pom, your test will work:


...
  
org.apache.maven.plugins
maven-surefire-plugin

  
**/*Panel*
  

  

best,
jim

On 6/6/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> On 6/5/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > Hi Ryan,
> > I don't think you can test it like that unless you have a default
> > constructor, and even then I don't think it will work (I'm a bit
> > spotty on this). What I have always done is this:
> >
> > tester.startPanel(new TestPanelSource () {
> >  Panel getTestPanel(final String panelId) {
> >return new TestPanel(panelId);
> >  }
> > });
> >
> > Hope that fixes it for you.
>
> No luck.  Using the TestPanelSource still has the same issues.  I've
> also tried using tester.startPage() instead of using panels, and I
> still get the same exception:
>
> org.apache.maven.surefire.booter.SurefireExecutionException: There is
> no application attached to current thread main
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AJAX Button on my Form inside a Panel needs 2 clicks to do a search

2007-06-06 Thread James McLaughlin
Hi Francisco,
I can't see anything logically wrong with your code, all though there
are things I would have done differently. What is the output of the
wicket ajax debug panel when you click on the ajax submit button?

If you want some advice, I would suggest not using a pageablelistview
and not keeping your search results as an instance member (unless they
are very expensive to create). Instead, look into using
DefaultDataTable or extending DataTable. That way you can put all your
search logic in your IDataProvider (such as SortableDataProvider), and
retrieve only the results you will display in the current page, and
not carry them around in the session after the request is over. Hope
this helps.

best,
jim

On 6/6/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote:
> Sorry but I cannot find what the problem is. I've search Nabble.
>
> -
>
>
>
> Hello every one, I have a page that uses a panel (code ahead) that has a
> form with an AJAX button, it works fine, but some times I have to click on
> the Search button 2 times to make it work. I think it has to do with URLs or
> something because when it happens it changes the url.
>
> The code for the page that uses the following panel I don't include because
> it only has a statement saying add(new SearchPanel(etc...
>
> Here is the code, can some one help?
>
> ps: If any other comments like, your code sucks, please also include them.
>
> thanks a bunch
>
> f(t)
>
> and here is the code:
>
> package ch.logismata.wicket.panels.ajax;
>
> import ch.logismata.serverwrapper.DossierSearch;
> import ch.logismata.serverwrapper.DossierSearchResult ;
> import ch.logismata.serverwrapper.DossierSearchResultList;
> import ch.logismata.wicket.pages.NewDossier;
> import ch.logismata.wicket.panels.BasePanel;
> import java.io.Serializable;
> import java.util.ArrayList ;
> import wicket.AttributeModifier;
> import wicket.Component;
> import wicket.PageParameters;
> import wicket.ajax.AjaxRequestTarget;
> import wicket.ajax.markup.html.form.AjaxSubmitButton;
> import
> wicket.ajax.markup.html.navigation.paging.AjaxPagingNavigator
> ;
> import wicket.markup.html.WebMarkupContainer;
> import wicket.markup.html.basic.Label;
> import wicket.markup.html.form.Form;
> import wicket.markup.html.form.TextField;
> import wicket.markup.html.link.Link;
>  import wicket.markup.html.list.ListItem;
> import wicket.markup.html.list.PageableListView;
> import wicket.markup.html.panel.FeedbackPanel;
> import wicket.model.AbstractReadOnlyModel;
> import wicket.model.CompoundPropertyModel ;
> import wicket.model.Model;
> import wicket.model.ResourceModel;
>
> /**
>  * Panel to make a Dossier Search and display the results
>  *
>  * @author gm
>  */
> public class DossierSearchPanel extends BasePanel {
> private SearchDossierModel  m_cSearchDossierModel   = new
> SearchDossierModel();
> private ArrayList  m_cSearchResults= new
> ArrayList();
> public DossierSearchPanel(String id) {
> //Call super base panel
> super(id);
> // create feedback panel to show errors
> final FeedbackPanel feedback = new
> FeedbackPanel("searchFeedback");
> //add feedback panel
> feedback.setOutputMarkupId(true);
> add(feedback);
>
> // create form with markup id setter so it can be updated via ajax
> Form form = new Form("dossierSearchForm", new
> CompoundPropertyModel(m_cSearchDossierModel));
> form.setOutputMarkupId(true);
>
> form.add(new Label("legend",  new
> ResourceModel("fields.legend")));
> form.add(new Label("nameLabel",   new ResourceModel("
> fields.name")));
> //Construct TextFields
> TextField cNameTextField= new TextField("name");
> TextField cLastNameTextField= new TextField("lastName");
> //add Fields to the form
> form.add(cNameTextField);
> form.add(new Label("lastNameLabel", new
> ResourceModel("fields.lastName")));
> form.add(cLastNameTextField);
>
>
>
> ///Add pageable table
> final WebMarkupContainer datacontainer = new
> WebMarkupContainer("data");
> datacontainer.setOutputMarkupId(true);
> add(datacontainer);
>
> Model modelForList = new Model(){
> public Object getObject(Component component){
> return m_cSearchResults;
> }
> };
>
> final PageableListView listview = new PageableListView("rows",
> modelForList, 10) {
>
> protected void populateItem(final ListItem item) {
> final DossierSearchResult dossierSearchResult =
> (DossierSearchResult)item.getModelObject();
>
> item.add(new Link("goToDetail") {
>public void onClick() {
>   setResponsePage(NewDossier.class, new
> PageParameters("dossierId="+dossierSearchResult.getDossierObjectId()));
>}
> 

Re: [Wicket-user] Tree with add/delete/edit nodes

2007-06-06 Thread James McLaughlin
Hello,
You can do this through the ITreeState
(tree.getTreeState().getSelectedNodes ()). Also, you can register with
the TreeState as an ITreeStateListener and implement the
nodeSelected(TreeNode node) method.

best,
jim

On 6/6/07, NYSophia <[EMAIL PROTECTED]> wrote:
>
> Thank you.  That was very helpful.  I am trying to get it to add a node as a
> child of the currently selected node.  I will let you know how it goes.
>
>
> I don't really have urls or code I can share. I do have a brain dead
> simple quickstart I created to determine if a bug was in my code or
> wicket (mine, obviously :)). Hope this helps:
>
> http://bones.homelinux.org/wicket/quicktree.jar
>
> You will want to look at SimpleTreePage.java
>
> best,
> jim
>
>
> --
> View this message in context: 
> http://www.nabble.com/Tree-with-add-delete-edit-nodes-tf3866796.html#a10982905
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wickettester failures

2007-06-05 Thread James McLaughlin
Hi Ryan,
I don't think you can test it like that unless you have a default
constructor, and even then I don't think it will work (I'm a bit
spotty on this). What I have always done is this:

tester.startPanel(new TestPanelSource () {
 Panel getTestPanel(final String panelId) {
   return new TestPanel(panelId);
 }
});

Hope that fixes it for you.

best,
jim

On 6/5/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> I could use a little help here.  I'm trying to write a unit test for
> my component in wicketstuff-scriptaculous.  The test runs in eclipse
> just fine, but running "mvn test" causes a build failure.
>
> What is the correct way to test this?
>
> public class AjaxEditInPlaceLabelTest extends TestCase {
> public void testModelIsNotEscaped() {
> WicketTester tester = new WicketTester();
> tester.startPanel(TestPanel.class);
>
> tester.assertContains("me & you");
> }
> }
>
> public class TestPanel extends Panel {
> public TestPanel(String id) {
> super(id);
> add(new AjaxEditInPlaceLabel("label", new Model("me & you")));
> }
> }
>
>
> http://www.wicketstuff.org/bamboo/build/viewBuildLog.action?buildKey=WICKETSCRIPTACULOUS-TRUNK&buildNumber=49
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket & YUI

2007-06-05 Thread James McLaughlin
Great! Looks good, sounds good.

best,
jim

On 6/5/07, David Leangen <[EMAIL PROTECTED]> wrote:
>
> > A few months ago, a number of people expressed interest in
> > contributing, so if any of you are reading this, I would love to have
> > some help. In particular, i think it would be great if someone could
> > bring drag and drop back to life. I think it could use some pretty
> > heavy refactoring as well. Actually, there have been a lot of changes
> > in wicket since wcy was last worked on, so much of the project could
> > use "modernization". If you don't know where to start, respond to this
> > email and I can provide a few ideas.
> >
>
> Yep, that's still the case for me. I've just had other "stuff" come up.
>
> I plan to get back to this in a few weeks. At that time, if for some
> reason you still need a server for the demos, you could use mine.
>
>
> Cheers,
> Dave
>
>
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread James McLaughlin
Hi Florian,
To be honest, you should have titled this post "My team did not make
the grade". There are many developers in the world whose skill and
ambition rise little above cut and paste robot, and many burned out
managers who have decided employees will never be capable of much
else. Struts is a perfect framework choice where such conditions
coincide. If you are in such a place right now, then for the love of
all things holy, move on before your soul, and skills, languish. On
the other hand, if you work for a place where the power of OOP is
understood, and developer creativity is required and appreciated,
Wicket will be the most natural choice.

jim

On 6/5/07, Florian Hehlen <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  The comparison was a bit skewed where I showed the richness of such
> components as a DataView(sortable and pageable) in wicket and that was
> compared with a simple static table on Struts 2.
>
>
>  Johan Compagner wrote:
>
>
> > Wicket if adding those low-level components was only necessary when one
> > wants to add special handling, formating, validation, etc.
>
>
>  and where is then the binding specified? What kind of data should be
> displayed where?
>  Well how about simply binding a DataView to a the Model and assume that for
> all wicket:id in the html template I should find a getter method in the
> bean?
>
>  regards,
>  Florian
>
>  PS: I agree wiith all you guys that this is not a big issue... that it's
> more a question of style/philospophy and possibly fashion.
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tree with add/delete/edit nodes

2007-06-04 Thread James McLaughlin
I don't really have urls or code I can share. I do have a brain dead
simple quickstart I created to determine if a bug was in my code or
wicket (mine, obviously :)). Hope this helps:

http://bones.homelinux.org/wicket/quicktree.jar

You will want to look at SimpleTreePage.java

best,
jim

On 6/4/07, evan2nave <[EMAIL PROTECTED]> wrote:
>
> Hi,
> This sounds great.  Would you mind posting the java code and html file (or
> relevant snippets) for a page that accomplishes this?  I'm still very new to
> wicket, and the example would be very helpful!
> Thanks,
> -Evan
>
>
> James McLaughlin-3 wrote:
> >
> > Hello,
> > I've just done this, works like a charm. Use a DefaultTreeModel for
> > your tree, and when it comes time to insert / remove nodes, just use
> > the appropriate methods on DefaultTreeModel. If you are doing this
> > with an ajax tree, you will want to call updateTree(AjaxRequestTarget)...
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Tree-with-add-delete-edit-nodes-tf3866796.html#a10956115
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tree with add/delete/edit nodes

2007-06-04 Thread James McLaughlin
Hello,
I've just done this, works like a charm. Use a DefaultTreeModel for
your tree, and when it comes time to insert / remove nodes, just use
the appropriate methods on DefaultTreeModel. If you are doing this
with an ajax tree, you will want to call updateTree(AjaxRequestTarget)
after. If you are adding to a leaf node, you will want to call
getTreeState().expandNode(node) on the parent after the call on
DefaultTreeModel and before updateTree.

best,
jim

On 6/4/07, NYSophia <[EMAIL PROTECTED]> wrote:
>
> I have searched the archive and the last time someone asked about this seems
> to be 2006.  We are new to wicket and were impressed with the Editable tree
> table example. We wanted to try to create a tree display that lets the users
> edit the nodes of the tree by adding a button to add a child node or delete
> a node. I was wondering if anyone had accomplished this or attempted by
> found it problematic.
> --
> View this message in context: 
> http://www.nabble.com/Tree-with-add-delete-edit-nodes-tf3866796.html#a10954856
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Javascript: Deletion Link

2007-06-03 Thread James McLaughlin
Hi Johannes,
I haven't used it, but something like below will move you in the right
direction:
(You might need to do something in the decorateScript method to
prevent the onclick from bubbling)


public class ConfirmationLink extends AjaxFallbackLink
{

public ConfirmationLink(String id)
{
super(id);
}

@Override
public void onClick(AjaxRequestTarget target)
{
if(null == target) {
setResponsePage(new AreYouSurePage(getModel()));
}

// else you know javascript works and they really want this

}

@Override
protected IAjaxCallDecorator getAjaxCallDecorator()
{
return new AjaxCallDecorator() {
@Override
public CharSequence decorateScript(CharSequence script)
{
return "if(confirm('Are you sure?')) { " + script + "};";
}
};
}

}

best,
jim

On 6/3/07, Johannes Schneider <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to create a link that shall delete an object on click.
> It would be great if there was shown a confirmation dialog (using
> javascript) before the onClick-method is called.
>
> I have read some suggestions about adding JavaScript to Links but I
> think this is a very basic behaviour that should be added to Wicket itself.
>
> It would also be great, if this link pointed to a HTML based
> confirmation page if no JavaScript is available...
>
>
> Cheers,
>
> Johannes Schneider
> --
> Johannes Schneider
> Im Lindenwasen 15
> 72810 Gomaringen
>
> Fon +49 7072 9229972
> Fax +49 7072 50
> Mobil +49 178 1364488
>
> [EMAIL PROTECTED]
> http://www.johannes-schneider.info
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket & YUI

2007-06-01 Thread James McLaughlin
Turns out the project needed a little touch up -- somehow it missed
the onAtach refactor and the pom was missing wicket-velocity. My
apologies to anyone who checked the project out only to be greeted by
some nice stack traces. It will work now.

jbq,
I put them up temporarily at
http://bones.homelinux.org/wicketstuff-yui-examples, but its a home
server, so no guarantees it will be there for any length of time. It
would be great if we could get it on wicketstuff.org at some point.
Now, if I could just convince you to contribute some of your spare
"mussels"... :)

Maurice,
That would be great! I look forward to it.

best,
jim

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
Well, it should be much easier to get the AjaxBehavior that is making
the PagingNavigatorLink act like an ajax link, so you can decorate the
onclick in the manner you suggested. You can create a jira issue here
http://issues.apache.org/jira/browse/WICKET

Describe your problem, what would make an elegant solution, and mark
it as an enhancement.

best,
jim

On 5/31/07, Tremelune <[EMAIL PROTECTED]> wrote:
>
> I doubt I've enhanced anything. This is a rather roundabout solution at
> best...You mean edit the Wicket source and post it somewhere?
>
>
>
>
> James McLaughlin-3 wrote:
> >
> >>From what I can tell, since it is not really an ajax link but rather a
> > regular link with an ajax behavior, the ajax behavior needs to prevent
> > the onclick from bubbling to the anchors clickhandler. Your
> > ajaxcalldecorator will need to do that as well. It would be great if
> > once you are done you could create an rfe in jira with the
> > enhancements that will make this process easier.
> >
> > jim
> >
> > On 5/31/07, Tremelune <[EMAIL PROTECTED]> wrote:
> >>
> >> Scratch that, the solution below causes a page refresh...
> >> getAjaxCallDecorator() returns new CancelEventIfNoAjaxDecorator() it
> >> works
> >> fine, but if it returns the defined decorator, the page refreshes after
> >> the
> >> ajax call is complete. Why would that be? Should decorator extend
> >> CancelEventIfNoAjaxDecorator??
> >>
> >>
> >>
> >>
> >> Tremelune wrote:
> >> >
> >> > Well, that works...I think this would be made easier if there were a
> >> > getAjaxBehavior() method in AjaxPagingNavigationIncrementLink. As it
> >> > stands, there are a few methods in my class that were copied/pasted
> >> > directly from AjaxPagingNavigationLink:
> >> >
> >> > public class DecoratableAjaxPagingNavigationIncrementLink extends
> >> > PagingNavigationIncrementLink
> >> > implements IAjaxLink {
> >> >
> >> >   public DecoratableAjaxPagingNavigationIncrementLink(final String id,
> >> > final IPageable pageable,
> >> >   final int
> >> increment)
> >> > {
> >> > super(id, pageable, increment);
> >> >
> >> > //Adds more text to onclick attribute
> >> > final AjaxCallDecorator decorator = new AjaxCallDecorator() {
> >> >   public CharSequence decorateScript(final CharSequence
> >> charSequence)
> >> > {
> >> > CharSequence ajaxCall = super.decorateScript(charSequence);
> >> > return ajaxCall + "more onclick stuff";
> >> >   }
> >> > };
> >> >
> >> > //Adds onclick attribute
> >> > final AjaxPagingNavigationBehavior behavior =
> >> > new AjaxPagingNavigationBehavior(this, pageable, "onclick") {
> >> >   protected IAjaxCallDecorator getAjaxCallDecorator() {
> >> > return decorator;
> >> >   }
> >> > };
> >> >
> >> > //The rest of this class is direct from AjaxPagingNavigatorLink
> >> >
> >> > add(behavior);
> >> > setOutputMarkupId(true);
> >> >   }
> >> >
> >> >
> >> >   protected String getEventHandler(String defaultHandler) {
> >> > return defaultHandler;
> >> >   }
> >> >
> >> >   public void onClick() {
> >> > onClick(null);
> >> > setRedirect(false);
> >> > setResponsePage(getPage());
> >> >   }
> >> >
> >> >   public void onClick(AjaxRequestTarget target) {
> >> > pageable.setCurrentPage(getPageNumber());
> >> >   }
> >> > }
> >> >
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10901080
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> _

Re: [Wicket-user] Wicket & YUI

2007-05-31 Thread James McLaughlin
There is a wicket-contrib-yui project included in wicket-stuff on sourceforge:
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-yui

I've been working on it a little, mostly on the menu module. The drag
and drop is somewhat broken, and I haven't had time to look at it.
This may have happened when I updated the libs to 2.2.2. But the
slider and animation modules work fine.

There is very little in the way of documentation, but there is a
wicket-contrib-yui-examples project that demos each module.
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-yui-examples

If you perform a mvn install on wicket-contrib-yui, then a mvn
jetty:run on wicket-contrib-yui-examples, you should be up and running
in a few minutes.
Once I get the menu working to my satisfaction, I will produce some
documentation.

When I updated the libs, I created a YuiHeaderContributor that will
resolve dependencies for the module you want and include the necessary
files in the proper order (yui is way weaker than dojo in this
respect).

A few months ago, a number of people expressed interest in
contributing, so if any of you are reading this, I would love to have
some help. In particular, i think it would be great if someone could
bring drag and drop back to life. I think it could use some pretty
heavy refactoring as well. Actually, there have been a lot of changes
in wicket since wcy was last worked on, so much of the project could
use "modernization". If you don't know where to start, respond to this
email and I can provide a few ideas.

best,
jim

On 5/31/07, howzat <[EMAIL PROTECTED]> wrote:
>
> Are there any examples/tutorials that re using YUI  with Wicket.
> I see there is also a wicket YUI project but could not find much getting
> started help.
> --
> View this message in context: 
> http://www.nabble.com/Wicket---YUI-tf3848786.html#a10901677
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
>From what I can tell, since it is not really an ajax link but rather a
regular link with an ajax behavior, the ajax behavior needs to prevent
the onclick from bubbling to the anchors clickhandler. Your
ajaxcalldecorator will need to do that as well. It would be great if
once you are done you could create an rfe in jira with the
enhancements that will make this process easier.

jim

On 5/31/07, Tremelune <[EMAIL PROTECTED]> wrote:
>
> Scratch that, the solution below causes a page refresh...
> getAjaxCallDecorator() returns new CancelEventIfNoAjaxDecorator() it works
> fine, but if it returns the defined decorator, the page refreshes after the
> ajax call is complete. Why would that be? Should decorator extend
> CancelEventIfNoAjaxDecorator??
>
>
>
>
> Tremelune wrote:
> >
> > Well, that works...I think this would be made easier if there were a
> > getAjaxBehavior() method in AjaxPagingNavigationIncrementLink. As it
> > stands, there are a few methods in my class that were copied/pasted
> > directly from AjaxPagingNavigationLink:
> >
> > public class DecoratableAjaxPagingNavigationIncrementLink extends
> > PagingNavigationIncrementLink
> > implements IAjaxLink {
> >
> >   public DecoratableAjaxPagingNavigationIncrementLink(final String id,
> > final IPageable pageable,
> >   final int increment)
> > {
> > super(id, pageable, increment);
> >
> > //Adds more text to onclick attribute
> > final AjaxCallDecorator decorator = new AjaxCallDecorator() {
> >   public CharSequence decorateScript(final CharSequence charSequence)
> > {
> > CharSequence ajaxCall = super.decorateScript(charSequence);
> > return ajaxCall + "more onclick stuff";
> >   }
> > };
> >
> > //Adds onclick attribute
> > final AjaxPagingNavigationBehavior behavior =
> > new AjaxPagingNavigationBehavior(this, pageable, "onclick") {
> >   protected IAjaxCallDecorator getAjaxCallDecorator() {
> > return decorator;
> >   }
> > };
> >
> > //The rest of this class is direct from AjaxPagingNavigatorLink
> >
> > add(behavior);
> > setOutputMarkupId(true);
> >   }
> >
> >
> >   protected String getEventHandler(String defaultHandler) {
> > return defaultHandler;
> >   }
> >
> >   public void onClick() {
> > onClick(null);
> > setRedirect(false);
> > setResponsePage(getPage());
> >   }
> >
> >   public void onClick(AjaxRequestTarget target) {
> > pageable.setCurrentPage(getPageNumber());
> >   }
> > }
> >
> --
> View this message in context: 
> http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10901080
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Applying TextTempate on the component's markup

2007-05-31 Thread James McLaughlin
Have you had a look at the VelocityPanel in wicket-velocity? If not,
it will probably do what you are looking for.

best,
jim

On 5/18/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
>
> Is it possible to apply TextTempate inside the markup of the component?
>
> More specifically, for the following markup:
>
> 
>   
> #${componentId} .selected {
>background: blue;
> }
>   
> 
> 
>This is markup for my component
> 
>
> the generated markup would replace the ${componentId} with the component
> markupId.. (same way - interpolate any other field dynamically using
> TextTemplate).
>
> I know that it is possible to interpolate variables on a file which is
> contributed in a head (css or js), but I am interested in the interpolation
> of the markup itself.
>
> Thank you!
>
> --
> View this message in context: 
> http://www.nabble.com/Applying-TextTempate-on-the-component%27s-markup-tf3780259.html#a10690722
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
Yeah, I see what you mean. The AjaxPagingNavigationIncrementLink is
not really an AjaxLink, but has had an AjaxBehavior grafted in. I
think your best bet would be to build a PagingNavigationIncrementLink
and add a behavior similar to AjaxPagingNavigationBehavior to it, but
with the scriptaculous stuff added in as well.

hth,
jim


On 5/31/07, Tremelune <[EMAIL PROTECTED]> wrote:
>
> I misspoke a earlier, the method I need to override is
> newPagingNavigationIncrementLink(). Looks like this:
>
> public AjaxPagingNavigationIncrementLink(final String id, final 
> IPageable
> pageable, final int increment)
> {
> super(id, pageable, increment);
> add(new AjaxPagingNavigationBehavior(this, pageable, 
> "onclick"));
>
> setOutputMarkupId(true);
> }
>
> Because the behavior is plugged into the constructor, there isn't anything I
> can override to change that, unless I duplicate the code in this constructor
> elsewhere. I may try using mouseup or onblur or something...My end goal is
> to use Scriptaculous to fade from one page to the next.
>
>
>
>
> James McLaughlin-3 wrote:
> >
> > Is this not possible for you:
> >
> >   protected Link newPagingNavigationLink(String id, IPageable pageable,
> > int pageNumber)
> >   {
> >   return new AjaxPagingNavigationLink(id, pageable, pageNumber) 
> > {
> >
> >   @Override
> >   protected IAjaxCallDecorator
> > getAjaxCallDecorator() {
> > return new
> > MyBrilliantAjaxPagingCallDecorator();
> >   }
> >};
> >   }
> >
> > best,
> > jim
> >
> > On 5/31/07, Tremelune <[EMAIL PROTECTED]> wrote:
> >>
> >> Sooo...getAjaxCallDecorator() is in AjaxPagingNavigationBehavior, which
> >> is
> >> constructed in AjaxPagingNavigationLink, which is constructed in
> >> AjaxPagingNavigator.newPagingNavigatorLink(), which my  subclass
> >> overrides.
> >> Is there a way to add this decorator without having to pass an object up
> >> the
> >> whole chain or duplicate all the constructor code in
> >> AjaxPagingNavigator.newPagingNavigatorLink()?
> >>
> >>
> >>
> >>
> >> James McLaughlin-3 wrote:
> >> >
> >> > If you mean getAjaxCallDecorator(), it is surely there. Just override
> >> > it to return your implementation of AjaxCallDecorator. To add to the
> >> > onclick, you will need to override the decorateScript method of
> >> > AjaxCallDecorator.
> >> >
> >> > best,
> >> > jim
> >> >
> >> > On 5/30/07, Tremelune <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> I'm looking to add an additional script to the onclick of a (paging)
> >> ajax
> >> >> link. I stumbled on this thread:
> >> >>
> >> >>
> >> http://www.nabble.com/Appending-to-AJAX-Submit-Button-onclick-tf1695285.html#a4600751
> >> >>
> >> >> I can't seem to find the additional code in 1.3. The thread is a year
> >> >> old,
> >> >> perhaps the code was discarded. Is there a new and better way to add
> >> >> additional onclick scripting somewhere else?
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10883013
> >> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >>
> >> -
> >> >> This SF.net email is sponsored by DB2 Express
> >> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> >> control of your XML. No limits. Just data. Click to get it now.
> >> >> http://sourceforge.net/powerbar/db2/
> >> >> ___
> >> >> Wicket-user mailing list
> >> >> Wicket-user@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >> >>
> >> >
> >> >
> >> -
> >> > This SF.net email is sponsored by DB2 Express
> >> > Dow

Re: [Wicket-user] Force page refresh after Ajax request completes?

2007-05-31 Thread James McLaughlin
Its a shameless hack, but you could try it in a setTimeout.  Or possibly,
target.appendJavascript("Wicket.Window.unloadConfirmation=false;window.location.reload()")
Otherwise, I believe the semantics of onClose make it necessary for
the modal to be around until onClose returns.

hth,

jim

On 5/31/07, dukejansen <[EMAIL PROTECTED]> wrote:
>
> Any chance anyone has any input on this? I still think this is a bug in
> Wicket, that I can't set Javascript to reload the page after the modal
> window is closed, since the page still thinks the modal is open.
>
>
> dukejansen wrote:
> >
> > Yup. That's why I was trying to do it using
> > target.appendJavascript("window.location.reload()") instead of doing the
> > setResponsePage server side...? Since I'm appending that Javascript AFTER
> > the 'close modal window' call, it seems like it should be able to close
> > the modal window client side, THEN call my javascript to refresh the page,
> > without the warning, since the modal has been closed.. ?
> >
> >
> > Matej Knopp-2 wrote:
> >>
> >> The problem is that when setResponsePage() is called, no appended
> >> Javascript is evaluated. In fact, wicket doesn't process the ajax
> >> response at all. Just sets window.location.
> >>
> >> -Matej
> >>
> >> On 5/9/07, dukejansen <[EMAIL PROTECTED]> wrote:
> >>>
> >>> Yeah, but I don't want to disable that warning. That warning is valid if
> >>> the
> >>> user really does try to navigate away while the modal is still being
> >>> displayed.
> >>>
> >>> The problem is that I am actually closing the modal before I do the
> >>> redirect, so it shouldn't show the warning at all.
> >>>
> >>> -Jason
> >>>
> >>>
> >>> Matej Knopp-2 wrote:
> >>> >
> >>> > There is a way that should also work in recent 1.x. To disable the
> >>> > confirmation dialog you need to put this inside the page with modal
> >>> > window:
> >>> > 
> >>> >   Wicket.Window.unloadConfirmation=false;
> >>> > 
> >>> >
> >>> > -Matej
> >>> >
> >>> > On 5/9/07, Arnout Engelen <[EMAIL PROTECTED]> wrote:
> >>> >> dukejansen schreef:
> >>> >> > My Ajax event handler needs to first close the current modal window
> >>> and
> >>> >> then refresh the entire page. Is there a better way to do this?
> >>> >> >
> >>> >> I once worked around something like this by putting the redirect in
> >>> the
> >>> >> windowClosedCallback of the ModalWindow. That was sufficient in our
> >>> >> case, but I too would be interested in some more enlightenment in
> >>> this
> >>> >> area :).
> >>> >>
> >>> >>
> >>> >> Arnout
> >>> >>
> >>> >>
> >>> -
> >>> >> This SF.net email is sponsored by DB2 Express
> >>> >> Download DB2 Express C - the FREE version of DB2 express and take
> >>> >> control of your XML. No limits. Just data. Click to get it now.
> >>> >> http://sourceforge.net/powerbar/db2/
> >>> >> ___
> >>> >> Wicket-user mailing list
> >>> >> Wicket-user@lists.sourceforge.net
> >>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >>
> >>> >
> >>> >
> >>> -
> >>> > This SF.net email is sponsored by DB2 Express
> >>> > Download DB2 Express C - the FREE version of DB2 express and take
> >>> > control of your XML. No limits. Just data. Click to get it now.
> >>> > http://sourceforge.net/powerbar/db2/
> >>> > ___
> >>> > Wicket-user mailing list
> >>> > Wicket-user@lists.sourceforge.net
> >>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>> http://www.nabble.com/Force-page-refresh-after-Ajax-request-completes--tf3714279.html#a10400468
> >>> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>>
> >>>
> >>> -
> >>> This SF.net email is sponsored by DB2 Express
> >>> Download DB2 Express C - the FREE version of DB2 express and take
> >>> control of your XML. No limits. Just data. Click to get it now.
> >>> http://sourceforge.net/powerbar/db2/
> >>> ___
> >>> Wicket-user mailing list
> >>> Wicket-user@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>>
> >>
> >> -
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> ___
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Force-page-refresh-after-Ajax-r

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
Is this not possible for you:

protected Link newPagingNavigationLink(String id, IPageable pageable,
int pageNumber)
{
return new AjaxPagingNavigationLink(id, pageable, pageNumber) {

  @Override
  protected IAjaxCallDecorator getAjaxCallDecorator() {
return new MyBrilliantAjaxPagingCallDecorator();
  }
   };
}

best,
jim

On 5/31/07, Tremelune <[EMAIL PROTECTED]> wrote:
>
> Sooo...getAjaxCallDecorator() is in AjaxPagingNavigationBehavior, which is
> constructed in AjaxPagingNavigationLink, which is constructed in
> AjaxPagingNavigator.newPagingNavigatorLink(), which my  subclass overrides.
> Is there a way to add this decorator without having to pass an object up the
> whole chain or duplicate all the constructor code in
> AjaxPagingNavigator.newPagingNavigatorLink()?
>
>
>
>
> James McLaughlin-3 wrote:
> >
> > If you mean getAjaxCallDecorator(), it is surely there. Just override
> > it to return your implementation of AjaxCallDecorator. To add to the
> > onclick, you will need to override the decorateScript method of
> > AjaxCallDecorator.
> >
> > best,
> > jim
> >
> > On 5/30/07, Tremelune <[EMAIL PROTECTED]> wrote:
> >>
> >> I'm looking to add an additional script to the onclick of a (paging) ajax
> >> link. I stumbled on this thread:
> >>
> >> http://www.nabble.com/Appending-to-AJAX-Submit-Button-onclick-tf1695285.html#a4600751
> >>
> >> I can't seem to find the additional code in 1.3. The thread is a year
> >> old,
> >> perhaps the code was discarded. Is there a new and better way to add
> >> additional onclick scripting somewhere else?
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10883013
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> ___
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10896587
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

2007-05-30 Thread James McLaughlin
+1. It can be tedious sometimes  figuring out  how to update
components that are on the other side of the tree from the onClick.

best,
jim

On 5/30/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>
>
> Maybe another way to auto-ajax-update a component would be to have it do
> that whenever its model changes.  There are a lot of caveats with model
> change notifications, but that seems to be a pretty clean idea if the rules
> for model changes were respected.  Might make a good RFE for next Wicket
> version.
>
>
> Jonathan Locke wrote:
> >
> >
> > It shouldn't be hard to write the method you're talking about.  To find
> > all the components using the same model as a given component, just walk
> > the component hierarchy using visitChildren() and add any component which
> > returns true for sameInnermostModel(component).
> >
> > There is a more general case of this problem though where one area of a
> > web page may need to be updated because some completely unrelated area
> > changed.  This I'm handling by hand right now, but I was asking a day or
> > two ago if there was a way to add a component to every ajax request (Eelco
> > answered that you can do this by implementing a request processor, I
> > think).  It seems to be pretty common in an AJAX request to want a global
> > feedback component to update.  Maybe we could have a poor-man's version of
> > this where if you override some boolean method, your component will get
> > auto-ajax-updated on every AJAX request. For many problems, this would be
> > convenient because it's easier to just update the thing every time than to
> > think about all the places it might need to be updated.
> >
> >
> > dukejansen wrote:
> >>
> >> I have some state which backs two panels, Panel A and Panel B, that may
> >> be included as part of other panels. Ultimately they are both on the same
> >> page, and their backing state is shared via the model class that backs
> >> both of them. Panel A has an Ajax event handler which modifies the
> >> backing model state, after which I want to force Panel A and Panel B to
> >> repaint.
> >>
> >> I've dealt with this in a few different ways so far, and they all bother
> >> me:
> >>
> >> 1. Walk up the containership tree and back down again until I find the
> >> panel with a known ID or which implements a specific marker interface,
> >> finding it that way. (Or do a full DFS of the tree to be thorough.)
> >>
> >> 2. Assume how my Panel is included and how the other Panel are included,
> >> and explicitly walk up and back down the containership tree. This is
> >> fragile because if I decide to rework panel containership, the method
> >> could fail.
> >>
> >> Is there some better way of doing this that I'm missing? A best practice
> >> for reaching out to siblings and cousins?
> >>
> >> Or something more fundamental to trigger refreshes of all componets
> >> backed by that model? Seems like a common use case. A component updates
> >> some state as part of ajax event, then wants to use ajax to repaint any
> >> other components backed by that state.
> >>
> >> Interested to hear how others have solved this problem.
> >>
> >> -Jason
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Best-Practices-for-accessing-repainting-sibling-cousin-components--tf3841514.html#a10883894
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-30 Thread James McLaughlin
If you mean getAjaxCallDecorator(), it is surely there. Just override
it to return your implementation of AjaxCallDecorator. To add to the
onclick, you will need to override the decorateScript method of
AjaxCallDecorator.

best,
jim

On 5/30/07, Tremelune <[EMAIL PROTECTED]> wrote:
>
> I'm looking to add an additional script to the onclick of a (paging) ajax
> link. I stumbled on this thread:
>
> http://www.nabble.com/Appending-to-AJAX-Submit-Button-onclick-tf1695285.html#a4600751
>
> I can't seem to find the additional code in 1.3. The thread is a year old,
> perhaps the code was discarded. Is there a new and better way to add
> additional onclick scripting somewhere else?
> --
> View this message in context: 
> http://www.nabble.com/Adding-more-onclick-script-to-ajax-link--tf3843103.html#a10883013
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] I got this : Expected close tag for ...

2007-05-29 Thread James McLaughlin
hmm...
I just ran into something similar with fragments. The markup looks like this:



[label 
here]




If I create a WebComponent for "menuCheck", I get the "expected close
tag for...". If I create a WebMarkupContainer for "menuCheck", it
works. Since a Label is a WebComponent, I bet this is the problem Kent
is seeing also. I think it is a bug. I'll try find some time to create
a test case.

best,
jim

On 5/28/07, Matthieu Casanova <[EMAIL PROTECTED]> wrote:
> 2007/5/27, Kent Tong <[EMAIL PROTECTED]>:
> > Matthieu Casanova  gmail.com> writes:
> >
> > > 
> > > 
> > > 
> > > key
> > > 
> > > Value
> > > 
> > > 
> > > 
> > > 
> >
> > If you use a fragment inside list2, there is no one to absorb the :
> >
> >  Value
> >
> > As it is sticking there, Wicket can't find the closing tag for list2.
> > A solution is to not to use a fragment. Just make list2 invisible
> > (or just use it as is. If the model given to it is null, list2 will
> > do nothing).
> >
> >
>
> I think I understand but it is strange to me : if I replace the list2 by a
> fragment, I expect the content of list2 is completely replaced so isn't it a
> bug ?
> The only method I found was to have 2 fragments : one if the list contains
> something and the other if the list is empty and my template is like that :
> 
> 
>
> 
> Nothing inside
> 
>
>
> 
> Value
> 
>
> It works but it is not really handy.
>
> The idea is to replace the content of a table by a line containing "no
> records" if there is no data instead of having an empty line.
> Is there a simple way to do that or nothing easier than my 2 fragments ?
>
>
> Matthieu
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Chicken-and-egg w/ Data Provider

2007-05-29 Thread James McLaughlin
The purpose of size() is to give the DataView an idea of how many
pages there will be, so this really won't work. You should fetch size
in a separate query as the number of orders total over all pages, and
cache that.

best,
jim

On 5/29/07, V. Jenks <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use a provider class for a DataView so I can do paging/sorting,
> etc.  It looks like this:
>
> 
> public class OrderProvider implements IDataProvider
> {
> private transient List orders;
>
> public OrderProvider()
> {
> }
>
> public Iterator iterator(int first, int count)
> {
> this.orders = 
> WicketHelper.>getDetachedModelObject(
> OrderProxy.getAll(first, first + count));
>
> return this.orders.iterator();
> }
>
> public IModel model(Object model)
> {
> return WicketHelper.getDetachedModel(model);
> }
>
> public int size()
> {
> return this.orders.size();
> }
> }
> 
>
> I thought this would work but it looks like size() is called first, since I
> get a NPE:
>
> 
> Caused by: java.lang.NullPointerException
> at com.myapp.provider.OrderProvider.size(OrderProvider.java:36)
> 
>
> It works if size() makes a call to the database to get a count of
> records...but I'm trying to use a global field to prevent that data call.
>
> Any suggestions?
> --
> View this message in context: 
> http://www.nabble.com/Chicken-and-egg-w--Data-Provider-tf3834369.html#a10855464
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RepeatingView/ Container behaviour

2007-05-28 Thread James McLaughlin
Not there, no. I mean, it is final, so it wouldn't work anyway. Just
renderChild. Or even more direct, for each child you add to
repeatingview, just call setRenderBodyOnly. Then you will see what I
mean. Overriding renderChild was only meant to save you some code :).

On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
>
> Hi Jim,
>
> so if I understnad right then you mean the
>
> protected final void onRender(final MarkupStream markupStream)
> {
> final int markupStart = markupStream.getCurrentIndex();
>
> Iterator it = renderIterator();
> if (it.hasNext())
> {
> do
> {
> markupStream.setCurrentIndex(markupStart);
> renderChild((Component)it.next());
> }
> while (it.hasNext());
> }
> else
> {
> markupStream.skipComponent();
> }
> }
>
> from the AbstractRepeater class. So, when i put a
>
> do
> {
> markupStream.setCurrentIndex(markupStart);
>
> renderChild(((Component)it.next()).setRenderBodyOnly(true));
> }
> there its the behaviour I need? - Shouldnt this be implemented by
> wicket-core already as the current .setRenderBodyOnly(bool) is offered but
> has no effect? That seems quite necessary to me, as they have no markup of
> their own (like you stated) but repeat their container-tag over the
> children.
>
> Regards
>
> Korbinian
>
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag
> > von James McLaughlin
> > Gesendet: Montag, 28. Mai 2007 18:26
> > An: wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
> >
> > Hi Korbinian,
> >
> > Well, the fundamental idea of ListView / RepeatingView is
> > that the component has no markup of its own. The markup is
> > given to the children. As such, setRenderBodyOnly on a
> > RepeatingView does nothing.
> > ListView provides populateItem, so you call setRenderBodyOnly
> > on the item there. I'm not sure how you are using
> > RepeatingView, but i believe your choices are to call
> > setRenderBodyOnly on each child component you add to it, or
> > override renderChild to call it on the child components automatically.
> >
> > best,
> > jim
> >
> > On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > Jim,
> > >
> > > thanks for your post - unfortunately i dont understand what you mean
> > > exactly: where should I overrrode renderChild and put what
> > for? - the
> > > trouble for me is the base-tag of the RepeatingView, not
> > the outputs
> > > of any of its childs...
> > >
> > >
> > >
> > >
> > > > -Ursprüngliche Nachricht-
> > > > Von: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] Im Auftrag von
> > > > James McLaughlin
> > > > Gesendet: Montag, 28. Mai 2007 14:40
> > > > An: wicket-user@lists.sourceforge.net
> > > > Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
> > > >
> > > > Haven't done this, but I think you would need to override
> > > > renderChild to get access to the component and setRenderBodyOnly.
> > > >
> > > > best,
> > > > jim
> > > >
> > > > On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > ive come to a problem I dont know how to solve. I use a
> > BasePage
> > > > > in wich i have 2 RepeatingViews in wich i then put components
> > > > > (dynamic way at runtime
> > > > > - i dont know what component will be in)
> > > > >
> > > > > 
> > > > > wicket:header container
> > > > > 
> > > > >
> > > > > 
> > > > > wicket:content container
> > > > > 
> > > > >
> > > > > and they work alright - however, i allways get the 
> > > > spans around
> > > > >
> > > > > HeaderComponent1HeaderComponent2
> > > > >
> > > > > - I tried to get rid of them by

Re: [Wicket-user] RepeatingView/ Container behaviour

2007-05-28 Thread James McLaughlin
Hi Korbinian,

Well, the fundamental idea of ListView / RepeatingView is that the
component has no markup of its own. The markup is given to the
children. As such, setRenderBodyOnly on a RepeatingView does nothing.
ListView provides populateItem, so you call setRenderBodyOnly on the
item there. I'm not sure how you are using RepeatingView, but i
believe your choices are to call setRenderBodyOnly on each child
component you add to it, or override renderChild to call it on the
child components automatically.

best,
jim

On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> Jim,
>
> thanks for your post - unfortunately i dont understand what you mean
> exactly: where should I overrrode renderChild and put what for? - the
> trouble for me is the base-tag of the RepeatingView, not the outputs of any
> of its childs...
>
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag
> > von James McLaughlin
> > Gesendet: Montag, 28. Mai 2007 14:40
> > An: wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
> >
> > Haven't done this, but I think you would need to override
> > renderChild to get access to the component and setRenderBodyOnly.
> >
> > best,
> > jim
> >
> > On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello,
> > >
> > > ive come to a problem I dont know how to solve. I use a BasePage in
> > > wich i have 2 RepeatingViews in wich i then put components (dynamic
> > > way at runtime
> > > - i dont know what component will be in)
> > >
> > > 
> > > wicket:header container
> > > 
> > >
> > > 
> > > wicket:content container
> > > 
> > >
> > > and they work alright - however, i allways get the 
> > spans around
> > >
> > > HeaderComponent1HeaderComponent2
> > >
> > > - I tried to get rid of them by using
> > > header = new RepeatingView("header");
> > > header.setRenderBodyOnly(true);
> > > add(header);
> > >
> > > but the setRenderBodyOnly(true) seems to be ignored... I
> > then thought
> > > i could use a WebMarkupcontainer but this then has no .newChildId
> > > function and would require me to know the ID of a component, wich i
> > > dont know as its dynamic;
> > >
> > > So how can i get rid of these s while having the rest of the
> > > RepeatingView behaviour?
> > >
> > >
> > >
> > >
> > --
> > > --- This SF.net email is sponsored by DB2 Express Download
> > DB2 Express
> > > C - the FREE version of DB2 express and take control of
> > your XML. No
> > > limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > --
> > ---
> > This SF.net email is sponsored by DB2 Express Download DB2
> > Express C - the FREE version of DB2 express and take control
> > of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RepeatingView/ Container behaviour

2007-05-28 Thread James McLaughlin
Haven't done this, but I think you would need to override renderChild
to get access to the component and setRenderBodyOnly.

best,
jim

On 5/28/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> ive come to a problem I dont know how to solve. I use a BasePage in wich i
> have 2 RepeatingViews in wich i then put components (dynamic way at runtime
> - i dont know what component will be in)
>
> 
> wicket:header container
> 
>
> 
> wicket:content container
> 
>
> and they work alright - however, i allways get the  spans around
>
> HeaderComponent1HeaderComponent2
>
> - I tried to get rid of them by using
> header = new RepeatingView("header");
> header.setRenderBodyOnly(true);
> add(header);
>
> but the setRenderBodyOnly(true) seems to be ignored... I then thought i
> could use a WebMarkupcontainer but this then has no .newChildId function and
> would require me to know the ID of a component, wich i dont know as its
> dynamic;
>
> So how can i get rid of these s while having the rest of the
> RepeatingView behaviour?
>
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] XML and Wicket?

2007-05-23 Thread James McLaughlin
Unfortunately no, but the javadoc is strong and the unit tests are clear :)

On 5/23/07, Ajanta Phatak <[EMAIL PROTECTED]> wrote:
> Are there any examples to help me with this?
>
> Thanks!
>
> James McLaughlin wrote:
> > see XsltTransformerBehavior or XsltOutputTransformerContainer.
> >
> > best,
> > jim
> >
> > On 5/23/07, Ajanta Phatak <[EMAIL PROTECTED]> wrote:
> >
> >> I have a need where a part of the page - say a panel contains
> >> dynamically generated XML. I could provide a XSL to convert that to
> >> html. How can I do this in Wicket?
> >>
> >>
> >> -
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> ___
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] XML and Wicket?

2007-05-23 Thread James McLaughlin
see XsltTransformerBehavior or XsltOutputTransformerContainer.

best,
jim

On 5/23/07, Ajanta Phatak <[EMAIL PROTECTED]> wrote:
> I have a need where a part of the page - say a panel contains
> dynamically generated XML. I could provide a XSL to convert that to
> html. How can I do this in Wicket?
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how to pass values to applet tags and display

2007-05-23 Thread James McLaughlin
Hi Edi,
I'm not entirely sure what you want, so maybe I am oversimplifying. I
did this using the object tag instead of the applet tag, but the logic
should be similar. The object tag takes a certain number of
Attributes. I created a WebMarkupContainer for object, and inside of
onComponentTag, used tag.put(name, value) to provide those attributes.
Inside the object tag, there should be a list of one or more param
tags. You can fill these in with a simple Loop. Markup looks like
this:

   
  
   

code looks like so:

WebMarkupContainer object = new WebMarkupContainer("object") {
@Override
protected void onComponentTag(ComponentTag tag)
{
tag.putAll(attrMap);

}
}

Loop paramLoop = new Loop ("param", parameters.size ()) {

@Override
protected void populateItem(LoopItem item) {
AppletParameter param = 
parameters.get(item.getIteration());
item.add(new SimpleAttributeModifier ("name", 
param.getName()));
item.add(new SimpleAttributeModifier ("value", 
param.getValue()));
}

};

object.add(paramLoop);

hope this helps.

best,
jim

On 5/23/07, Edi <[EMAIL PROTECTED]> wrote:
>
> Hi !
>
> I have declared one applet file in display.html
>
> display.html looks like
>
> http://localhost:8080/project1"; CODE="classname" WIDTH=700
> HEIGHT=350>
>
> 
>
> Using this hard coded values, I can view the person name "Martin" in applet.
>
> Consider I have one wicket button with text box with Label name person name.
> If I enter some name and click button, it should pass the applet tag.
>
> How can I pass the person name here.
>
> Please explain with details
>
> I am newbie of Wicket.
>
> Thank you for answering
>
>
> --
> View this message in context: 
> http://www.nabble.com/how-to-pass-values-to-applet-tags-and-display-tf3803180.html#a10761263
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-12 Thread James McLaughlin

Good stuff!

On 5/12/07, Matej Knopp <[EMAIL PROTECTED]> wrote:


Should be fixed for 1.3.

-Matej

On 5/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> done!
> https://issues.apache.org/jira/browse/WICKET-556
>
> with a brief discussion of other possibilities.
>
> best,
> jim
>
>
>  On 5/11/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> > Yeah, looks like a good idea :)
> >
> > On 5/11/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > please make a jira issue with the fix you now have
> > >
> > > On 5/10/07, Murat Yücel < [EMAIL PROTECTED]> wrote:
> > > > Hi James
> > > >
> > > > Thanks for the fix. It works like a charm :)... Is this something
that
> > > > wicket will solve
> > > > in a future release?
> > > >
> > > > /Murat
> > > >
> > > > 2007/5/10, James McLaughlin <[EMAIL PROTECTED]>:
> > > > >
> > > > > erm, sorry that was:
> > > > >
> > > > >
> http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
> > > > >
> > > > > On 5/10/07, James McLaughlin < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi Murat,
> > > > > > I posted a hack to fix this several months back:
> > > > > >
> > > > > >
> http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
> > > > > >
> > > > > > Essentially, I have the timer check if the markup for the
> component it
> > > > > > was bound to is still in the page, and return without firing
if it
> is
> > > > not.
> > > > > > Hope this helps.
> > > > > >
> > > > > > best,
> > > > > > jim
> > > > > >
> > > > > >  On 5/10/07, Murat Yücel <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > > Hi All
> > > > > > >
> > > > > > > I had some problem with ajax when using wicket 1.2.6. I read
the
> > > > > > > thread with the following subject:
> > > > > > > Problem with concurren ajax requests on page
> > > > > > >
> > > > > > > Matej suggested that a upgrade to wicket 1.3 would solve the
> ajax
> > > > > > > problem. So i upgraded the application
> > > > > > > to wicket-1.3.0-incubating-SNAPSHOT.
> > > > > > >
> > > > > > > Now I have problems with AjaxSelfUpdatingTimerBehavior when
> using it
> > > > > > > together with AjaxTabbedPanel.
> > > > > > >
> > > > > > > Panel 1 includes a subpanel which has an
> > > > > > > AjaxSelfUpdatingTimerBehavior.
> > > > > > > Panel 2 has another subpanel and it doesnt include the
subpanel
> from
> > > > > > > panel 1.
> > > > > > >
> > > > > > > When swithing "page" from panel 1 to panel 2 then after 5
> seconds
> > > > > > > which is the duration of the first subpanel
> > > > > > > then i get the following error:
> > > > > > >
> > > > > > > org.apache.wicket.WicketRuntimeException:
> component
> > > > > > > contentpanel:menu:panel:showthreads not found
> on page
> > > > > > > dk.team.ninan.web.wicket.BasePage[id = 1],
> listener interface =
> > > > > > > [RequestListenerInterface name=IBehaviorListener,
method=public
> > > > abstract
> > > > > > > void
> org.apache.wicket.behavior.IBehaviorListener.onRequest()]
> > > > > > > at
> > > > > > >
> > > >
>
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
> > > > > > > (AbstractRequestCycleProcessor.java:394)
> > > > > > > at
> > > > > > >
> > > >
>
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage
(
> > > > > > > AbstractRequestCycleProcessor.java:440)
> > > > > > > at
> > > > > > >
> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(
> > > > > > > WebRequestCycleProcessor.java:137)
> > > > > > >
&

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread James McLaughlin

done!
https://issues.apache.org/jira/browse/WICKET-556

with a brief discussion of other possibilities.

best,
jim

On 5/11/07, Matej Knopp <[EMAIL PROTECTED]> wrote:


Yeah, looks like a good idea :)

On 5/11/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> please make a jira issue with the fix you now have
>
> On 5/10/07, Murat Yücel <[EMAIL PROTECTED]> wrote:
> > Hi James
> >
> > Thanks for the fix. It works like a charm :)... Is this something that
> > wicket will solve
> > in a future release?
> >
> > /Murat
> >
> > 2007/5/10, James McLaughlin <[EMAIL PROTECTED]>:
> > >
> > > erm, sorry that was:
> > >
> > > http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
> > >
> > > On 5/10/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Murat,
> > > > I posted a hack to fix this several months back:
> > > >
> > > >
http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
> > > >
> > > > Essentially, I have the timer check if the markup for the
component it
> > > > was bound to is still in the page, and return without firing if it
is
> > not.
> > > > Hope this helps.
> > > >
> > > > best,
> > > > jim
> > > >
> > > >  On 5/10/07, Murat Yücel <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hi All
> > > > >
> > > > > I had some problem with ajax when using wicket 1.2.6. I read the
> > > > > thread with the following subject:
> > > > > Problem with concurren ajax requests on page
> > > > >
> > > > > Matej suggested that a upgrade to wicket 1.3 would solve the
ajax
> > > > > problem. So i upgraded the application
> > > > > to wicket-1.3.0-incubating-SNAPSHOT.
> > > > >
> > > > > Now I have problems with AjaxSelfUpdatingTimerBehavior when
using it
> > > > > together with AjaxTabbedPanel.
> > > > >
> > > > > Panel 1 includes a subpanel which has an
> > > > > AjaxSelfUpdatingTimerBehavior.
> > > > > Panel 2 has another subpanel and it doesnt include the subpanel
from
> > > > > panel 1.
> > > > >
> > > > > When swithing "page" from panel 1 to panel 2 then after 5
seconds
> > > > > which is the duration of the first subpanel
> > > > > then i get the following error:
> > > > >
> > > > > org.apache.wicket.WicketRuntimeException: component
> > > > > contentpanel:menu:panel:showthreads not found on page
> > > > > dk.team.ninan.web.wicket.BasePage[id = 1], listener interface =
> > > > > [RequestListenerInterface name=IBehaviorListener, method=public
> > abstract
> > > > > void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
> > > > > at
> > > > >
> >
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
> > > > > (AbstractRequestCycleProcessor.java:394)
> > > > > at
> > > > >
> >
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage
(
> > > > > AbstractRequestCycleProcessor.java:440)
> > > > > at
> > > > > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve
(
> > > > > WebRequestCycleProcessor.java:137)
> > > > >
> > > > > The error message is correct because the panel showthreads is no
> > > > > longer a part of BasePage, but why doesnt the behaviour
disappear
> > > > > when replacing panels? What am i doing wrong? :)
> > > > >
> > > > > /Murat
> > > > >
> > > > >
> > > > >
> >
-
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and
take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > ___
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > &

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread James McLaughlin

erm, sorry that was:

http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html

On 5/10/07, James McLaughlin <[EMAIL PROTECTED]> wrote:


Hi Murat,
I posted a hack to fix this several months back:

http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559

Essentially, I have the timer check if the markup for the component it was
bound to is still in the page, and return without firing if it is not. Hope
this helps.

best,
jim

On 5/10/07, Murat Yücel <[EMAIL PROTECTED]> wrote:

> Hi All
>
> I had some problem with ajax when using wicket 1.2.6. I read the thread
> with the following subject:
> Problem with concurren ajax requests on page
>
> Matej suggested that a upgrade to wicket 1.3 would solve the ajax
> problem. So i upgraded the application
> to wicket-1.3.0-incubating-SNAPSHOT.
>
> Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
> together with AjaxTabbedPanel.
>
> Panel 1 includes a subpanel which has an AjaxSelfUpdatingTimerBehavior.
> Panel 2 has another subpanel and it doesnt include the subpanel from
> panel 1.
>
> When swithing "page" from panel 1 to panel 2 then after 5 seconds which
> is the duration of the first subpanel
> then i get the following error:
>
> org.apache.wicket.WicketRuntimeException: component
> contentpanel:menu:panel:showthreads not found on page
> dk.team.ninan.web.wicket.BasePage[id = 1], listener interface =
> [RequestListenerInterface name=IBehaviorListener, method=public abstract
> void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
> at
> 
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
> (AbstractRequestCycleProcessor.java:394)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(
> AbstractRequestCycleProcessor.java:440)
> at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(
> WebRequestCycleProcessor.java:137)
>
> The error message is correct because the panel showthreads is no longer
> a part of BasePage, but why doesnt the behaviour disappear
> when replacing panels? What am i doing wrong? :)
>
> /Murat
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread James McLaughlin

Hi Murat,
I posted a hack to fix this several months back:

http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559

Essentially, I have the timer check if the markup for the component it was
bound to is still in the page, and return without firing if it is not. Hope
this helps.

best,
jim

On 5/10/07, Murat Yücel <[EMAIL PROTECTED]> wrote:


Hi All

I had some problem with ajax when using wicket 1.2.6. I read the thread
with the following subject:
Problem with concurren ajax requests on page

Matej suggested that a upgrade to wicket 1.3 would solve the ajax problem.
So i upgraded the application
to wicket-1.3.0-incubating-SNAPSHOT.

Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
together with AjaxTabbedPanel.

Panel 1 includes a subpanel which has an AjaxSelfUpdatingTimerBehavior.
Panel 2 has another subpanel and it doesnt include the subpanel from panel
1.

When swithing "page" from panel 1 to panel 2 then after 5 seconds which is
the duration of the first subpanel
then i get the following error:

org.apache.wicket.WicketRuntimeException: component
contentpanel:menu:panel:showthreads not found on page
dk.team.ninan.web.wicket.BasePage[id = 1], listener interface =
[RequestListenerInterface name=IBehaviorListener, method=public abstract
void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
(AbstractRequestCycleProcessor.java:394)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(
AbstractRequestCycleProcessor.java:440)
at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(
WebRequestCycleProcessor.java:137)

The error message is correct because the panel showthreads is no longer a
part of BasePage, but why doesnt the behaviour disappear
when replacing panels? What am i doing wrong? :)

/Murat

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] newbie creating an expandable tree node with no children

2007-05-10 Thread James McLaughlin

Hi Shula,
You need to override isLeaf() in your TreeNode impl to return true.

best,
jim

On 5/10/07, sf <[EMAIL PROTECTED]> wrote:



How can I create an expandable node when the node doesn't have any
children.
it seems as if the '+' sign is added automatically only when children
exist
(I am implementing a lazy loading tree, the children will be added only
when
the user expands the node)?


Thanks
Shula
--
View this message in context:
http://www.nabble.com/newbie-creating-an-expandable-tree-node-with-no-children-tf3722311.html#a10415653
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Strange behavior when calling a function in appendJavascript

2007-05-05 Thread James McLaughlin

hmm.

Have you run it with firebug or venkman? When I've run into this before it
was usually because the script had a parse error causing the interpreter  to
barf and not load the rest of the script.

best,
jim

On 5/5/07, Tauren Mills <[EMAIL PROTECTED]> wrote:


I'm having a strange problem executing javascript functions from ajax.
Some scripts work and some don't.   I've got this java code:
target.appendJavascript
("toggleSelection(document.getElementById
('"+getComponent().getMarkupId()+"'))");

And in the html I've got this:





The function toggleSelection is in reports.js.

If I make toggleSelection just a simple script, it runs fine.  But if
I add more code to it, I sometimes get the following error response.
I've verified that reports.js is included in the html source.

INFO:
INFO: Initiating Ajax POST request on

/sa/app?wicket:interface=:3:tabs:panel:reportForm:availReport:availRow:3:row:scheduled:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true&random=
0.5721591389578449
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (204 characters)
INFO:

INFO: Response parsed. Now invoking steps...
ERROR: Exception evaluating javascript: ReferenceError:
toggleSelection is not defined
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...

I've gone through the JS code very carefully to see if there are any
mistakes.  I can't find any. Here is the code that causes the error:

function toggleSelection(element) {
var cn = element.parentNode.parentNode.className;
alert(cn);
switch(cn) {
case "odd":
alert("in odd");
element.parentNode.parentNode.className =
"oddSelected";
alert("out odd");
break;
case "oddSelected"):
alert("in oddSelected");
element.parentNode.parentNode.className = "odd";
alert("out oddSelected");
break;
case "even":
alert("in even");
element.parentNode.parentNode.className =
"evenSelected";
alert("out even");
break;
case "evenSelected":
alert("in evenSelected");
element.parentNode.parentNode.className = "even";
alert("out evenSelected");
break;
default:
break;
}
alert("done");
}

I have it working now by using a different toggleSelection script.
Now the output is this:

INFO:
INFO: Initiating Ajax POST request on

/sa/app?wicket:interface=:7:tabs:panel:reportForm:availReport:availRow:4:row:scheduled:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&wicket:ignoreIfNotActive=true&random=
0.8455243647238795
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (204 characters)
INFO:

INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...

And the code is this:

function toggleSelection(element) {
var cn = element.parentNode.parentNode.className;
if (cn == "odd") {
element.parentNode.parentNode.className = "oddScheduled";
}
else if (cn == "oddScheduled") {
element.parentNode.parentNode.className = "odd";
}
else if (cn == "even") {
element.parentNode.parentNode.className =
"evenScheduled";
}
else if (cn == "evenScheduled") {
element.parentNode.parentNode.className = "even";
}
}

What causes that type of Error message in the ajax window?  Is it
javascript that doesn't execute properly?  Why would it say the method
is undefined?  Is there something wrong with that first script?  I
realize this isn't a javascript list, but I really don't see anything
wrong with it.

Thanks,
Tauren

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.ne

Re: [Wicket-user] How may I access a Panel A from another Panel B (Ajax)?

2007-05-04 Thread James McLaughlin

Passing it in the constructor works, but you would have to call
setOutputMarkupPlaceHolderTag(true) on the logout panel otherwise it won't
be in the dom before the user logs in, and therefore can't be updated. This
is also why toggling the css attribute with script client side won't work
with isVisible false on the wicket side. If you do it by toggling an inline
stylesheet, then leave isVisble true on the wicket side. This doesn't really
mesh with the wicket way, however.

Since these two components operate together I would enclose them in a panel
together, something like

class SessionPanel extends Panel {

public SessionPanel(String id) {
 add(new LogoutPanel("logout"));
 LoginPanel lp = new LoginPanel("lp");
 add(lp);
 lp.add(new AjaxSubmitButton("sb") {
 onSubmit(target) {
 target.addComponent(SessionPanel.this);
}
 });
}

}


best,

jim


That way you don't need to worry about what is in the client dom. But there
are a million other ways to do it :)
On 5/4/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:


Hello, I have two panels, one that is mostly a form for login (user/pass
+button) and the other panel is just a link (onClick==>logou).

Now I changed the button for the login form to an ajax button. Everythig
works fine.

The thing is that I had a code something like this in the logout panel.



@Override
public boolean isVisible(){
return getMyWicketSession().isUserLoggedIn();
}

this code made every round trip evaluate whether the user was still logged
in and if so then render the appropriate option to logout.

how could I add to the target, the logout panel, do I need to pass it
through the constructor :


private final logoutPanel;
public LoginPanel(String id, LogoutPanel panel){
   logoutPanel = panel;

}

AjaxonSubmit(target...{
target.add(logoutPanel)
}
??

Or could I just set in the constructor of the LogoutPanel
setOutputMarkupId(true) and then call on it from the onSubmit AJAX button?

I am a bit lost on this. Or could I just add a simple JavaScript "
document.getElementById('logoutPanel').style.visibility = "visible";

f(t)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Custom CSS for Tree and TreeTable

2007-04-25 Thread James McLaughlin

You can override the css with more specific rules. Wicket tree already uses
an html element specifier, so your best bet would be to put the tree in
another div with a class, say "mytree". Then in the wicket:head section of
your panels markup, provide a style element with rules such as:

.mytree div.wicket-tree {
 border-top: 3px solid #000;
}

best,
jim

On 4/25/07, Stefan Wille <[EMAIL PROTECTED]> wrote:


 Hi,

is it possible to use my own CSS style definitions for Tree and TreeTable?
Both components add their own CSS file via header contribution. I would like
to override some style definitions. How would I do this?

Thanks,
Stefan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread James McLaughlin

For example, if the form lives inside, then in onSubmit do
target.addComponent(panel) . This way the panel's markup gets replaced in
the browser and since isVisible is false for the form, the forms markup
simply won't be there. I guess the problem you are having now is that you
are adding the form in onSubmit, but since you are setting isVisible to
false, nothing gets rendered, no markup gets sent to browser, and the form
markup that's there doesn't get replaced (erased). But maybe I haven't
understood your problem fully. I hope this helps.

best,
jim

On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:


Hi Jim

What do you mean by "replace the forms parent" ?

I'm a newbe, this may explain that ;)

Thanks again
ZedroS
On 4/23/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Sure, just replace the forms parent in onSubmit.
>
> best,
> jim
>
>
> On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED] > wrote:
> >
> > Hi all
> >
> > I've recently encountered and understood more and more ajax
> > limitations and here is one I'm still wondering about : should
> > form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit
> > even ? For sure, this form is the one the ajaxSubmitButton is linked
> > to.
> >
> > Thanks in advance
> > ZedroS
> >
> >
>
-
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread James McLaughlin

Sure, just replace the forms parent in onSubmit.

best,
jim

On 4/23/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:


Hi all

I've recently encountered and understood more and more ajax
limitations and here is one I'm still wondering about : should
form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit
even ? For sure, this form is the one the ajaxSubmitButton is linked
to.

Thanks in advance
ZedroS

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Variable Interpolation within the HTML

2007-03-28 Thread James McLaughlin
Are you using mvn to build? I changed the wicket dependency in the
WICKET_1_2 branch from SNAPSHOT to 1.2.5, so maybe this will help you.
Let me know if it doesn't.

best,
jim

On 3/27/07, Andrew Berman <[EMAIL PROTECTED]> wrote:
> Can this only be built against version 1.3 of Wicket?  I'm unable to build
> it against 1.2.5  I also checked out the code form
> https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-velocity/
> and couldn't get it to build either.  How do I get this to work?
>
> Thanks.
>
>
> On 3/20/07, Andrew Berman <[EMAIL PROTECTED]> wrote:
> > Cool, thanks guys, I'll check both options out.
> >
> >
> >
> > On 3/20/07, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> > > Alternatively, you could use post processing filters for that. Can't
> > > remember the exact name from the top of my head.
> > >
> > > Eelco
> > >
> > >
> > > On 3/20/07, James McLaughlin < [EMAIL PROTECTED]> wrote:
> > > > On 3/20/07, Andrew Berman < [EMAIL PROTECTED]> wrote:
> > > > > I have a use case where the text of the a page can change depending
> on the
> > > > > skin that is selected.  There is some dynamic text in the original
> text,
> > > > > such as website name, which also changes depending on skin.
> However,
> > > > > currently I have added a fixed number of Label objects to deal with
> the
> > > > > website name, but this doesn't really work because the text of the
> page
> > > > > might need more instances of the website name.  I can't dynamically
> add more
> > > > > Label objects, so I was wondering how I could do something like
> Velocity
> > > > > where I can put ${websiteName} in the HTML for a page or panel, set
> the
> > > > > variable in the page, and have it rendered properly.  I saw that
> Wicket
> > > > > includes MapVariableInterpolator but how do I do it with the HTML
> for the
> > > > > page?  I don't want to specify a filename because the filename is
> dependent
> > > > > on the style/skin.
> > > > >
> > > >
> > > > wicket-contrib-velocity provides exactly what you want
> > > >
> > > > you can get it here with subversion:
> > > >
> https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity
> > > >
> > > >
> -
> > > > 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 & business topics through brief surveys-and earn cash
> > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> -
> > > 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 & business topics through brief surveys-and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
>
>
> -
> 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 & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] General Java/OO/Pattern Question

2007-03-23 Thread James McLaughlin
You need an interface like javax.swing.tree.TreeNode that all your
nested objects implement. This is what wicket uses for its tree
implementation (take a look in wicket-extensions for 1.x). The wicket
tree impl rocks, so you can do no better than look there for
inspiration. Also, take a look at DefaultMutableTreeNode for ideas on
how to implement.

best,
jim

On 3/23/07, Matt Welch <[EMAIL PROTECTED]> wrote:
> As the subject indicates, this isn't a question specific to Wicket (although
> it WILL eventually involve Wicket to display these objects), so if you feel
> I should post this elsewhere, feel free to tell me so, however it seemed
> like a pretty bright bunch of Java guys hang around here so I'm hoping for
> some insight.
>
> I've been tasked with implementing a rather curious (to me anyway)
> hierarchical object structure. Most of the objects in this structure serve
> no other purpose than to group the objects below them; it's only at the
> final leaf levels that there are some significant behavioral difference in
> the objects. For lack of a better example, I'll call these objects Grouper1,
> Grouper2, Grouper3, and Leaf. So I might have a structure that looks like:
>
> Grouper1
> --Grouper2
> Grouper3
> --Leaf
> --Leaf
> --Leaf
> Grouper3
> --Leaf
> --Leaf
> --Leaf
>
> It can also look like this:
>
> Grouper1
> --Grouper3
>  Leaf
>  Leaf
>  Leaf
>  --Grouper3
>  Leaf
>  Leaf
>  Leaf
>
> Or like this:
>
> Grouper1
>  --Leaf
>  --Leaf
> --Grouper2
>  Grouper3
>  --Leaf
>  --Leaf
>  --Leaf
>  Grouper3
>  --Leaf
>  --Leaf
>  --Leaf
>
>  Or even like this:
>
>  Grouper3
>  --Leaf
>  --Leaf
>  --Leaf
>
> Although I'm willing to exclude that last example (with something other than
> a Grouper1 at the top) if it helps simplify things any.
>
> As you can see almost all objects in the hierarchy can exist at any level.
> Only the leaf node has any properties beyond those shared by all of the
> other objects. And before you ask, despite the fact that the branch items
> are so similar, they do have different labels that are important to the
> people using the hierarchy. I'm just trying to determine if those labels are
> important to the domain model.
>
> I started to model this using simple inheritance. Something like the
> following:
>
> public abstract class MyHierarchyObject{
> private String commonAttribute1;
> private boolean commonAttribute2 = false;
> private List children = new
> ArrayList;
> private MyHierarchyObject parent;  //the association needs to be
> bidirectional for up and down navigation
> ...
>  }
>
> public class Grouper1 extends MyHierarchyObject{
> }
>
> etc. etc.
>
> Of course, I realized after just a few seconds that this seemed a little
> silly since I was going to end up with at least three classes with either no
> behavior or properties or only extremely minor changes to the abstract
> class's properties like setting commonAttribute2 to true by default.
>
> So does using inheritance like this still make sense or should I do
> something like make the MyHierarchyObject not abstract and add a Type
> property that can be populated from an enum with elements like Grouper1,
> Grouper2, and Grouper3? What about the leaf node. It's not allowed to have
> children but because it can be a child of any of the Groupers, it seems like
> it needs to extend MyHierarchyObject in order to fit into the child parent
> model. Should I put the children related methods into an interface that only
> the Grouper classes implement? Of course that only works if I use the
> inheritance model; maybe that's a good reason to use it? Or is there a
> design pattern I'm missing in all of this that might help me.
>
> I've been thinking about this for so long now that I'm afraid I'm too deep
> into it and not thinking clearly about the best approaches. That's why I'm
> posting here. Unfortunately, the hierarchy is quite a bit more complex than
> this example, but I think if I can solve this level of complexity, I can
> apply similar logic to the rest of the hierarchy that I didn't represent
> here.
>
> Thanks for reading such a long post.
>
> Matt
>
> -
> 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 & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
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 & business topics through b

Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView

2007-03-23 Thread James McLaughlin
>From a quick glance, it looks like you missed a setOutputMarkupId:
(apologies for formatting)

 ListView lw = new ListView("listView", new PropertyModel(this, "rows")){
@Override
protected void populateItem(ListItem item) {
WebMarkupContainer updatingPanel = new
WebMarkupContainer("updatingPanel");
updatingPanel.add(new
AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));


//===

updatePanel.setOutputMarkupId(true);

//==


Label label = new Label("value", new
PropertyModel(WicketTestingAjaxQuery.this, "random"));
label.setRenderBodyOnly(true);
updatingPanel.add(label);
item.add(updatingPanel);
}
};

best,
jim

On 3/23/07, Juha Alatalo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have following case:
> - There is form including IndicatingAjaxSubmitButton
> - When button is pressed vector is filled
> - Vector is shown in a listView
> - ListView contains AjaxSelfUpdatingTimer
>
> Using this combination selfUpdatingTimers are not working. If I have
> understood correct, something should be added on  or  onload="...">, but this is not done.
>
> Simplified example case can be found on:
> https://download.syncrontech.com/public/wicket-ajaxTimerExample.zip
>
> - Juha
>
>
> -
> 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 & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Variable Interpolation within the HTML

2007-03-20 Thread James McLaughlin
On 3/20/07, Andrew Berman <[EMAIL PROTECTED]> wrote:
> I have a use case where the text of the a page can change depending on the
> skin that is selected.  There is some dynamic text in the original text,
> such as website name, which also changes depending on skin.  However,
> currently I have added a fixed number of Label objects to deal with the
> website name, but this doesn't really work because the text of the page
> might need more instances of the website name.  I can't dynamically add more
> Label objects, so I was wondering how I could do something like Velocity
> where I can put ${websiteName} in the HTML for a page or panel, set the
> variable in the page, and have it rendered properly.  I saw that Wicket
> includes MapVariableInterpolator but how do I do it with the HTML for the
> page?  I don't want to specify a filename because the filename is dependent
> on the style/skin.
>

wicket-contrib-velocity provides exactly what you want

you can get it here with subversion:
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-velocity

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread James McLaughlin
> The problem comes from cometd bus which is design to transport json and
> not xml. I was thinking of something which is able to serialize a
> component rendered as String and put all in a json object in order to
> avoid this second useless callback. but it need some additionnal work ;)
>
> --
> Vincent

I knew you had a good reason for it. Good stuff!

I'm not sure if it is enough to just serialize a component as a
string. Components are a mix of markup and javascript, and wicket-ajax
has a lot of infrastructure for parsing this out and then rendering
them in order. Pinging is the best solution for now.

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread James McLaughlin
On 3/20/07, Michel Wichers <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I'm currently developing a page with two frames. The left frame
> "SelectionFrame" contains an extensions Tree and the right frame "Main"
> contains any Contents.
>
> What i now want to do is to respond to the Contents Frame by clicking on
> some special tree nodes.
>
> e.g.:
> ...
> @Override
> protected void onNodeLinkClicked(AjaxRequestTarget target,
> TreeNode node)
> {
> IConfigurationPage userObj = (IConfigurationPage)
> ((DefaultMutableTreeNode) node).getUserObject();
> setResponsePage(new ConfigMainPage(userObj));
> }
> ...
>
> If you know any easy solution it would be great to share that with me.
> Any help would be appreciated.
>
>
> cheers!
>
> Michel


If you are doing this with ajax, you probably don't want to call
setResponsePage. You should wrap your target frame with a
WebMarkupContainer or Panel and add that to the AjaxRequestTarget.
Excuse the formatting please:

  @Override
 protected void onNodeLinkClicked(AjaxRequestTarget target,
TreeNode node) {
//IConfigurationPage userObj = (IConfigurationPage)
// ((DefaultMutableTreeNode) node).getUserObject();
// setResponsePage(new ConfigMainPage(userObj));
   WebMarkupContainer frame = new WebMarkupContainer("frameId");
frame.add(new AttributeModifier("src",
urlFor(PageMap.forName("FramePageMap), ConfigMainPage.class, /*
PageParameters if you have them */ null));
 target.addComponent(frame);
 }
...

Then just make sure one of your frames has wicket:id="frameId".

Let me know if you need more help.

best,
jim

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread James McLaughlin
>
> WDYT?, Any comments, feelings?

This looks like really exciting work. I can't wait to try it out. I
took a look at the code and you've done a really nice job. One
question, is it possible to push rendered components instead of
pinging those components on the client side to call back?

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread James McLaughlin
The support I've received and watched others receive on this list is
way better than any support I have ever paid for. And good clear
questions always provoke well reasoned discussions of the highest
quality here. I am not exaggerating when I say I have learned as much
here as I have from any book. I feel ashamed when someone comes along
and doesn't get this, insults the team and disrespects all their
hardwork. Since no doubt this will happen again and again, I hope this
expression of gratitude will serve as a small counterweight to current
and future injuries you guys must endure.

thanks,

jim

On 3/19/07, Francis Amanfo <[EMAIL PROTECTED]> wrote:
> Hi Udora,
>
> I disagree with these comments, especially with the arrogance label you're
> putting on the Wicket developers. On the contrary, IMHO, they're one of the
> most humble in the open source space. As an example go to theserverside
> archives and go read some of the comments by them in some of the
> webframework wars threads. In those threads you'll find the right people who
> really deserve that arrogance label. Even in times when guys throw horrible
> denigrating shots at them, they stay their cool.
> And I want to also go with what the most have already said based on my own
> experience. They're fast with their responses, at least they're the fastest
> I've yet seen.
> Igor's comment may come over as harsh, but the reality is that we're all
> once in a while in a bad mood and say certain things. I haven't met him yet,
> but I believe he is a humorous hard working guy. He doesn't deserve those
> negatives attacks from you.
>
> Let's keep the peace here.
>
> Regards,
> Francis
>
>
>
> On 3/19/07, Udora <[EMAIL PROTECTED] > wrote:
> > Hi Igor,
> >
> > First of all, I would want to say that I've solved the problem myself and
> having now a great table component with all what I needed.
> > And I also want to say that I don't think I owe you as a developer
> anything for using Wicket. Of course being an open source developer, you
> have the luxury to tell your clients that. In my world, I try to be helpful
> to my clients even with the insults that occasionally come with their being
> in bad mood. In all those circumstances I strife to be client friendly, even
> when I've had the worst sleep ever, or my girlfriend denied me sex the
> previous night.
> > Because of the my impression so far, I've decided to download the Wicket
> source and look for answers to my future questions there. Probably I'd be
> less productive that way but unfortunately I don't clearly see any other
> alternative.
> > Have a nice day, even when you couldn't get sufficient caffeine dose for
> the day.
> >
> >
> >
> > On 3/18/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > so not having the _personal_ time to answer every single question that
> is on this list makes us arrogant? that is great!
> > >
> > > do you think i would rather spend my time pumping you for information or
> spend that time in a park playing with my daughter? maybe if you wouldve
> spent more then two minutes of your time writing up an appropriate question
> with code examples or a quickstart project instead of something so vague it
> is useless someone wouldve bothered to reply.
> > >
> > > remember: just because you are using wicket it doesnt mean the
> developers owe you anything. look at the threads on this list, quiet a lot
> of them are answered by other users. why do you think none of them answered
> yours?
> > >
> > > and unlike eelco i do hope this comes across as arrogant because your
> email was very disrespectful.
> > >
> > > -igor
> > >
> > >
> > >
> > >
> > > On 3/18/07, Udora < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I was attracted to Wicket because of its finesse and all the stories
> around praising how helpful their developers and user community are and the
> quick response one receives when you post a question. I must say, my
> experience has been bad so far. I posed the question below 2 days ago and
> still no response. I've known frameworks whose developers were also
> initially very helpful but became arrogant when they got the popularity and
> success. I hope Wicket is not getting on that slippery road.
> > > >
> > > >
> > > >
> > > >
> > > > On 3/16/07, Udora <[EMAIL PROTECTED] > wrote:
> > > > > Hi,
> > > > >
> > > > > I'm implementing a form with a table component as one of its
> component. The table has some textfields columns. The problem is that upon
> submit my model is not updated to reflect the values filled in the
> textfields. Can someone point me to an example where this sort of thing is
> implemented? I've already looked in Wicket examples but couldn't find
> anything.
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > --
> > > > > Wicket is Wicked
> > > >
> > > >
> > > >
> > > > --
> > > > Wicket is Wicked
> > > >
> -
> > > > Take Surveys. Earn Cash. Influence the Fu

Re: [Wicket-user] spring bean injection and interfaces(IDataProvider)

2007-03-12 Thread James McLaughlin

Great :) (didn't get back to my mail until now)

On 3/12/07, GS-ikiini <[EMAIL PROTECTED]> wrote:



i got it. Thank you.

-B



James McLaughlin-3 wrote:
>
> While wicket automatically injects all components (provided you have
setup
> the proper componentinstantiationlistener), you need to inject your own
> stuff with InjectorHolder.getInjector().inject(obj)
>
> best,
> jim
>
> On 3/12/07, GS-ikiini <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hey all,
>>
>> I am trying to use a spring bean in my implementaion of IDataProvider.
>> but
>> its just not working. i get a nullpointerexception. It however works
fine
>> in
>> my page classes. Can someone please help me with this problem. I would
>> really appreciate some help here. This is sending me mad at the moment.
>> Thanks
>>
>> -Ikiini
>> --
>> View this message in context:
>>
http://www.nabble.com/spring-bean-injection-and-interfaces%28IDataProvider%29-tf3391811.html#a9441927
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>>
-
>> 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 & business topics through brief surveys-and earn cash
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
>
-
> 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 & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context:
http://www.nabble.com/spring-bean-injection-and-interfaces%28IDataProvider%29-tf3391811.html#a9444336
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] spring bean injection and interfaces(IDataProvider)

2007-03-12 Thread James McLaughlin

While wicket automatically injects all components (provided you have setup
the proper componentinstantiationlistener), you need to inject your own
stuff with InjectorHolder.getInjector().inject(obj)

best,
jim

On 3/12/07, GS-ikiini <[EMAIL PROTECTED]> wrote:



Hey all,

I am trying to use a spring bean in my implementaion of IDataProvider. but
its just not working. i get a nullpointerexception. It however works fine
in
my page classes. Can someone please help me with this problem. I would
really appreciate some help here. This is sending me mad at the moment.
Thanks

-Ikiini
--
View this message in context:
http://www.nabble.com/spring-bean-injection-and-interfaces%28IDataProvider%29-tf3391811.html#a9441927
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxTimer clearTimeout

2007-03-09 Thread James McLaughlin

On 3/9/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:



Hmmm, yeah, that's interesting. Maybe others thought of this before,
but I hadn't. So we can add header (/body?) contributions via ajax
dynamically now. What we want here is the opposite: remove them when
the linked component was removed/ replaced, right?

Eelco





Right, my first instinct was to ask for an onRemove as part of the
component/behavior lifecycle. But with larger issues looming for wicket, I
decided to hold off. Turns out my problem with the AjaxTimer was pretty
straight forward to solve since wicket generates unique ids for all
components even if they occupy the same place in the hierarchy.

In case anyone is interested, you just need to override getCallbackScript :

@Override
   protected CharSequence getCallbackScript(boolean
recordPageVersion)
   {
   String mId = getComponent().getMarkupId();
   StringBuilder sb = new StringBuilder("exec_func(function() {
");
   sb.append("var el = wicketGet('" + mId + "'); ");
   sb.append("if(null != el) {");
   sb.append(super.getCallbackScript(recordPageVersion));
   sb.append("}");
   sb.append("})");

   return sb.toString();
   }


This just wraps it in an anonymous func that checks to see if the dom
element is still there before calling the timer. exec_func is necessary
because the anonymous function is passed to setTimeout as string and ff is
not happy with that (it does only what it says). But it is a hack and I
would love to have a wicket way of doing this.

Thanks for getting back to me.

best,

jim
-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AjaxTimer clearTimeout

2007-03-07 Thread James McLaughlin

Hi all,
I have a panel with an AjaxTimerBehavior that can be replaced through an
AjaxLink by another panel. However, this leaves the AjaxTimerBehaviors
setTimeout behind  to fire off after the replacement. When it fires  and
wicket can't resolve the requested component, a redirect to the containing
page occurs, causing an unsightly refresh and flicker.

First, is there a way to short circuit this redirect?

If not, what would be a good pattern for preventing this timeout when the
component is replaced?

I think the best way would be to wrap the javascript timer function in a
check  to see if it should still fire. This will be easy to do if generated
markupIds are unique even when one component replaces another. Can someone
confirm that is the case? Another way would be to capture the timeoutId and
clear it when the component gets replaced. That code already smells and it
hasn't even left my brain :).

Any other ideas?

thx,
jim
-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-07 Thread James McLaughlin

I've been using 2.0 since wicket first branched, and remember being really
excited about some of the things the constructor change would allow me to
do, such as perform all kinds of ajax magic. It turns out that wicket ajax
support has become so sophisticated I haven't had to do any of those things,
so downgrading shouldn't cause me any loss of features. Reverting the
constructor change will probably cost me a few days, but the end it will
probably be worth it. I have noticed recently a somewhat troubling trend.
You guys used to be very disciplined about adding features to 2.0 and then
backporting them to the other branches. Now it seems like new features are
developed in any branch and then maybe or maybe not ported to the others.
That's definitely a train wreck waiting to happen, and it is understandably
a source of misery for all of you. Dump it if you need to, your collective
happiness is more important to me :).

It would be great to have a definitive list of 2.0 features that will be
lost, so I can plan ahead for any redesign if necessary. For example, I've
used generics (with mixed feelings) and covariance extensively, so these
will probably be more painful to lose than the constructor change. Will
these be jettisoned as well?

thx,
jim

On 3/6/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Hi,

We (Wicket's developers) are having some discussion over 1.3 vs 2.0
and how difficult it is as a nun-funded project to spend so much time
synchronizing the branches.

A major issue in the discussion is that not everyone is convinced
anymore that the constructor change in 2.0 is for the better. There
are pros and cons for sure, but we want to get your opinion on this.

Please help us out giving your opinion. We want to know:

1) Who uses 2.0 for serious projects?

2) What do you think of the constructor change? Do you prefer 1.3's
add style or 2.0's style of passing in the parent construction time.

3) If we would ever backtrack on the constructor change (*if*, don't
panic for now) how much trouble would that give you?

Please don't be shy giving your opinion. This is an important issue in
the future development of Wicket.

Regards,

Eelco

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-21 Thread James McLaughlin

Unfortunately, it would be a pain to separate out the examples I have, but
there are some unit tests under wicket.markup.outputTransformer that I'm
pretty sure will get you going.

hth,
jim

On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:


Could you give me an example to show how it work?

On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Probably the thing that makes it difficult to use is that by default
> it looks for an xsl in the package of the component the
> XsltTransformerBehavior is being applied to, with the name of its
> componentId.
>
> So if you have a component foo.bar.MyComp.java you want to transform,
> and it is added to the hierarchy with "myId", then it will look for
> foo.bar.myid.xsl to apply for the transform.
>
> But you can also submit the full path and file name to the
> XsltTransformerBehavior's constructor.
>
> Other than that, it couldn't be easier to use. Just add(new
> XsltTransformerBehavior())
>
> On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> > Not really related to the original question, I try to use it before
> > but fail as I cannot find any example show how to work with this,
> > could you point some resource to me to take a look?
> >
> > On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > There is also XsltTransformerBehavior (in wicket.markup.transformer)
> > >
> > > hth,
> > > jim
> > >
> > > On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > > search for IMarkupFilter
> > > >
> > > > Juergen
> > > >
> > > > On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > oops, should have been more clear about what i want to do
> > > > > i want to be able to preprocess some of the tags (that do not
have wicket
> > > > > ids) in the markup and modify them if necessary
> > > > >
> > > > > example:
> > > > > modify the original tag:
> > > > > /a/b/c
> > > > >
> > > > > to the tag:
> > > > > /e/f
> > > > >
> > > > > that is, change the static paths in certain scenarios
> > > > >
> > > > > is there a way this can be done through wicket?
> > > > > (i dont want to add a 50 different wicket tags for 50 different
static
> > > > > resources in my markup file. So I would need to do this without
wicket tags)
> > > > >
> > > > > i think Igor pointed me to IMarkupFilter but that didnt help me
accomplish
> > > > > what I want.
> > > > > The filters dont seem to allow me to modify raw markup.
> > > > > dont know why but wicket LOVES to make classes and methods
final.
> > > > > so there is no way i can use polymorphism to extend
functionalities of
> > > > > wicket's base classes
> > > > >
> > > > > vk
> > > > >
> > > > >
> > > > >
> > > > > Timo Rantalaiho wrote:
> > > > > >
> > > > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > > > >> I simply want to be able to modify the values of some static
paths in the
> > > > > >> raw html markup
> > > > > >>
> > > > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > > > >> i started by looking into markup filters
> > > > > >> when i wrote my own markup parser, i couldnt find a way to
replace
> > > > > >> portions
> > > > > >> of the raw html
> > > > > >
> > > > > > It would help to know more specifically what you are trying
> > > > > > to achieve.
> > > > > >
> > > > > > But if you want to change URLs to static resources, you
> > > > > > might be better off providing a custom resource locator
> > > > > >
> > > > > >
> > > > > >
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > > > >
> > > > > > or if paths are produced by wicket components, tweaking your
> > > > > > own versions of the components.
> > > > > >
> > > > > > - Timo
> > > > > >
> > > > > > --
> > > > > > Timo Rantalaiho
> > > > > > Reaktor Innovations Oyhttp://www.ri.f

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-20 Thread James McLaughlin
Probably the thing that makes it difficult to use is that by default
it looks for an xsl in the package of the component the
XsltTransformerBehavior is being applied to, with the name of its
componentId.

So if you have a component foo.bar.MyComp.java you want to transform,
and it is added to the hierarchy with "myId", then it will look for
foo.bar.myid.xsl to apply for the transform.

But you can also submit the full path and file name to the
XsltTransformerBehavior's constructor.

Other than that, it couldn't be easier to use. Just add(new
XsltTransformerBehavior())

On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> Not really related to the original question, I try to use it before
> but fail as I cannot find any example show how to work with this,
> could you point some resource to me to take a look?
>
> On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > There is also XsltTransformerBehavior (in wicket.markup.transformer)
> >
> > hth,
> > jim
> >
> > On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > search for IMarkupFilter
> > >
> > > Juergen
> > >
> > > On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> > > >
> > > > oops, should have been more clear about what i want to do
> > > > i want to be able to preprocess some of the tags (that do not have 
> > > > wicket
> > > > ids) in the markup and modify them if necessary
> > > >
> > > > example:
> > > > modify the original tag:
> > > > /a/b/c
> > > >
> > > > to the tag:
> > > > /e/f
> > > >
> > > > that is, change the static paths in certain scenarios
> > > >
> > > > is there a way this can be done through wicket?
> > > > (i dont want to add a 50 different wicket tags for 50 different static
> > > > resources in my markup file. So I would need to do this without wicket 
> > > > tags)
> > > >
> > > > i think Igor pointed me to IMarkupFilter but that didnt help me 
> > > > accomplish
> > > > what I want.
> > > > The filters dont seem to allow me to modify raw markup.
> > > > dont know why but wicket LOVES to make classes and methods final.
> > > > so there is no way i can use polymorphism to extend functionalities of
> > > > wicket's base classes
> > > >
> > > > vk
> > > >
> > > >
> > > >
> > > > Timo Rantalaiho wrote:
> > > > >
> > > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > > >> I simply want to be able to modify the values of some static paths 
> > > > >> in the
> > > > >> raw html markup
> > > > >>
> > > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > > >> i started by looking into markup filters
> > > > >> when i wrote my own markup parser, i couldnt find a way to replace
> > > > >> portions
> > > > >> of the raw html
> > > > >
> > > > > It would help to know more specifically what you are trying
> > > > > to achieve.
> > > > >
> > > > > But if you want to change URLs to static resources, you
> > > > > might be better off providing a custom resource locator
> > > > >
> > > > >
> > > > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > > >
> > > > > or if paths are produced by wicket components, tweaking your
> > > > > own versions of the components.
> > > > >
> > > > > - Timo
> > > > >
> > > > > --
> > > > > Timo Rantalaiho
> > > > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > > > >
> > > > > -
> > > > > 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 & business topics through brief surveys-and earn cash
> > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > ___
> > > > > Wicket-user mailing list
> > > > >

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-20 Thread James McLaughlin
There is also XsltTransformerBehavior (in wicket.markup.transformer)

hth,
jim

On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> search for IMarkupFilter
>
> Juergen
>
> On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> >
> > oops, should have been more clear about what i want to do
> > i want to be able to preprocess some of the tags (that do not have wicket
> > ids) in the markup and modify them if necessary
> >
> > example:
> > modify the original tag:
> > /a/b/c
> >
> > to the tag:
> > /e/f
> >
> > that is, change the static paths in certain scenarios
> >
> > is there a way this can be done through wicket?
> > (i dont want to add a 50 different wicket tags for 50 different static
> > resources in my markup file. So I would need to do this without wicket tags)
> >
> > i think Igor pointed me to IMarkupFilter but that didnt help me accomplish
> > what I want.
> > The filters dont seem to allow me to modify raw markup.
> > dont know why but wicket LOVES to make classes and methods final.
> > so there is no way i can use polymorphism to extend functionalities of
> > wicket's base classes
> >
> > vk
> >
> >
> >
> > Timo Rantalaiho wrote:
> > >
> > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > >> I simply want to be able to modify the values of some static paths in the
> > >> raw html markup
> > >>
> > >> it seems that there is no way to do it in wicket 1.1 ??
> > >> i started by looking into markup filters
> > >> when i wrote my own markup parser, i couldnt find a way to replace
> > >> portions
> > >> of the raw html
> > >
> > > It would help to know more specifically what you are trying
> > > to achieve.
> > >
> > > But if you want to change URLs to static resources, you
> > > might be better off providing a custom resource locator
> > >
> > >
> > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > >
> > > or if paths are produced by wicket components, tweaking your
> > > own versions of the components.
> > >
> > > - Timo
> > >
> > > --
> > > Timo Rantalaiho
> > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > >
> > > -
> > > 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 & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> > --
> > View this message in context: 
> > http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -
> > 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 & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -
> 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 & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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 & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket under Tomcat, first steps

2007-02-12 Thread James McLaughlin
Debian has the security manager enabled by default. For development,
you can just edit /etc/default//tomcat5 and set TOMCAT5_SECURITY=no.
For testing/production, add a policy file to /etc/tomcat5/policy.d for
your webapp with the permissions listed on the wiki.

On 2/12/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Thanks for your quick response.
>
> On 2/12/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > First wi try to do it through the context classloader:
>
> This is clearly the way I'd like it.
> What version of wicket does it like this?
> What I experienced with wicket 1.2.4 was constistent with what I have
> found here:
> http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/ContextParamWebApplicationFactory.java?revision=473918&view=markup
>
> > But sharing jars is not a good thing anyway. Because what happens if other
> > webapps are deployed
> > that don't use the exact wicket version as you have deployed in the shared
> > lib?
>
> You are right, I would only deploy the wicket jars like that when I
> have complete control over the servlet container.
>
> > In development you can use tomcat with the tomcat launcher :
> > http://www.sysdeo.com/eclipse/tomcatplugin
>
> I just run ant from the IDE (eclipse) with the tomcat-specific
> targets, but I guess I'll realise the usefulness of this plugin when
> my project gets more complicated.
>
> > or just use the build in jetty. See the quickstart of wicket how to use
> > that.
>
> That works great, just gives me less insite into how things work.
>
> > As for that security thats very strange by default i don't have to change
> > any security settings in tomcat.
> > If you can't use reflection that i think most webapp frameworks won't work.
>
> This is on debian, tomcat5 package. Didn't even have default admin or
> manager user out of the box, I guesss the policy is maximum security
> unless configured otherwise.
>
> Guestbook example throws this:
>
> WicketMessage: unable to get object, model:
> Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL 
> PROTECTED]:expression=[text]:propertyType=[null],
> called with component [MarkupContainer [Component id = text, page =
> com.deverto.test.GuestBook, path = 1:commentForm:text.TextArea,
> isVisible = true, isVersioned = false]]
>
> Root cause:
>
> java.security.AccessControlException: access denied
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at 
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
> at 
> wicket.util.lang.PropertyResolver$MethodGetAndSet.(PropertyResolver.java:789)
> [...]
>
> -
> 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 Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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 Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Stuff Wiki update + shout out to all you lurking contributors...

2007-02-05 Thread James McLaughlin
Looks great!

Does anyone know, is there a way to provide consistent navigation
throughout the site, like a nav panel on the left hand side? I have
zero experience with confluence so I thought i would ask first.

thx,
jim

On 2/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Nice Al, thanks. I'll try to update some project descriptions tomorrow,
>
> Eelco
>
>
> On 2/3/07, Al Maw <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I've given http://wicketstuff.org a bit of love.
> > Let me know what you think. Better yet, all you wicket stuff
> > contributors please contribute to the wiki. :)
> >
> > When adding a top-level project page, make sure you add an appropriate
> > label so it is listed on the root wiki page.
> >
> > We currently have, "javascript", "java" and "example" categories.
> >
> > Best regards,
> >
> > Al
> >
> > -
> > 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 Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -
> 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 Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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 Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE: IModel and 'model object' name change

2007-01-23 Thread James McLaughlin

On 1/23/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


getModelValue would have been better than getModelObject yeah. That
said, imo (and I have stated this before), I think having those
methods in the first place is distracting, as it doesn't push people
in the direction of just letting the components and models work
directly for them.



I would hate to see this method go because I've used it frequently in cases
where I have inner classes and anonymous classes. Fixable with only mild
annoyance, though.
-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is there any uml diagram for wicket?

2007-01-15 Thread James McLaughlin

Probably pretty old, but...
http://www.nabble.com/UML-diagram--tf1501388.html#a4070219

hth,
jim

On 1/15/07, Ramazan Pekin <[EMAIL PROTECTED]> wrote:


Hi everyone

Is there any uml diagram for wicket framework, or is there any flowchart?

--
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! 
Travelto
 find your fit.

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

I'm with Filippo.
+1 for one wiki, one web site. Let's keep it real simple off the bat and not
create any administrative headaches. Most projects have only one maintainer,
and there are no separate mailing lists. We should be able to evolve into
spaces later, if necessary.

thx,
jim

On 1/11/07, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 1/11/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> you guys need to first decide how you want to organize confluence. space
per
> project? one wiki, one website? who has admin to what?

A workspace per project seems a bit overkill to me, since for every
workspaces we should create design, templates, logos and permission.
And there are quite a lot of subprojects right now.

I'd go with a read-only (for normal users) website, and let the
project maintainers use the public wiki to create subprojects
documentations (we will proide them a template for the project page)
Then we could simply link from the website the pages in the wiki.

Quite simple.

--
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jarforwicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

On 1/11/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


On 1/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
>
> http://jira.atlassian.com/browse/CONF-7573
>
> Looks like the timezone which is set for the system needs to be in
> classes\com\atlassian\confluence\core\timezones.properties file.


fixed




Excellent

Can the admins get shell access? If so, I would be glad to fix this.



no, i think for now we would rather keep that to the core group only.




Roger that.

-igor



thx,
> jim
>
> On 1/11/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
>
> > obviously it is not normal, but i dont have time to look into it.
> > someone needs to contact atlassian or browse their jira/docs
> >
> > -igor
> >
> >
> > On 1/11/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> >
> > >  is this normal:
> > >
> > > Error rendering macro: java.lang.StackOverflowError
> > >
> > > ???
> > >
> > > on left side of http://81.17.46.170:8090/confluence/dashboard.action
> > >
> > >  --
> > > *Von:* [EMAIL PROTECTED] [mailto:
> > > [EMAIL PROTECTED] *Im Auftrag von *Igor
> > > Vaynberg
> > > *Gesendet:* Donnerstag, 11. Januar 2007 20:16
> > > *An:* wicket-user@lists.sourceforge.net
> > > *Betreff:* Re: [Wicket-user] Wicket-stuff site (Was: Re:
> > > Jarforwicket-contrib-scriptaculous?)
> > >
> > > http://81.17.46.170:8090/confluence
> > >
> > > sign up for an account and i will grant you permissions
> > >
> > > -igor
> > >
> > >
> > > On 1/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Well, on second thought, there is hardly anything in the sf issue
> > > > tracker for wicket-stuff, so there wouldn't be any migration issues. I
> > > > didn't realize Jira could be part of the package. If others agree, and 
it
> > > > wouldn't be to difficult for you, it would be great to have Jira and
> > > > Confluence together.
> > > >
> > > > thx,
> > > > jim
> > > >
> > > > On 1/11/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > i was going to install jira, but i guess less work for me :)
> > > > >
> > > > > -igor
> > > > >
> > > > >
> > > > >  On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:
> > > > >
> > > > > > I'm with Martijn on this. Plus the sf issue tracker.
> > > > > > Confluence should just be for the project web site.
> > > > > >
> > > > > > jim
> > > > > >
> > > > > > On 1/11/07, Martijn Dashorst < [EMAIL PROTECTED]>
> > > > > > wrote:
> > > > > > >
> > > > > > > For downloads I would seriously consider using the 
sf.netoffering. It
> > > > > > > has enough mirrors to service the whole world.
> > > > > > >
> > > > > > > Martijn
> > > > > > >
> > > > > > > On 1/11/07, Korbinian Bachl < [EMAIL PROTECTED]>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Good News ! - thanks igor. Is this then completely
> > > > > > > independent and solely
> > > > > > > > for wicket stuff then? - means, we may setup a new wicket
> > > > > > > stuff website
> > > > > > > > there, and subpages for the projects and jar file
> > > > > > > downloads?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >  
> > > > > > > >  Von: [EMAIL PROTECTED]
> > > > > > > > [mailto:[EMAIL PROTECTED] Im
> > > > > > > > Auftrag von Igor Vaynberg
> > > > > > > > Gesendet: Donnerstag, 11. Januar 2007 18:04
> > > > > > > > An: wicket-user@lists.sourceforge.net
> > > > > > > > Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar
> > > > > > >
> > > > > > > > forwicket-contrib-scriptaculous?)
> > > > > > > >
> > > > > > > >

Re: [Wicket-user] Wicket-stuff site (Was: Re: Jarforwicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

http://jira.atlassian.com/browse/CONF-7573

Looks like the timezone which is set for the system needs to be in
classes\com\atlassian\confluence\core\timezones.properties file.

Can the admins get shell access? If so, I would be glad to fix this.

thx,
jim

On 1/11/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


obviously it is not normal, but i dont have time to look into it. someone
needs to contact atlassian or browse their jira/docs

-igor


On 1/11/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:

>  is this normal:
>
> Error rendering macro: java.lang.StackOverflowError
>
> ???
>
> on left side of http://81.17.46.170:8090/confluence/dashboard.action
>
>  --
> *Von:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *Im Auftrag von *Igor
> Vaynberg
> *Gesendet:* Donnerstag, 11. Januar 2007 20:16
> *An:* wicket-user@lists.sourceforge.net
> *Betreff:* Re: [Wicket-user] Wicket-stuff site (Was: Re:
> Jarforwicket-contrib-scriptaculous?)
>
> http://81.17.46.170:8090/confluence
>
> sign up for an account and i will grant you permissions
>
> -igor
>
>
> On 1/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> >
> > Well, on second thought, there is hardly anything in the sf issue
> > tracker for wicket-stuff, so there wouldn't be any migration issues. I
> > didn't realize Jira could be part of the package. If others agree, and it
> > wouldn't be to difficult for you, it would be great to have Jira and
> > Confluence together.
> >
> > thx,
> > jim
> >
> > On 1/11/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > >
> > > i was going to install jira, but i guess less work for me :)
> > >
> > > -igor
> > >
> > >
> > >  On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:
> > >
> > > > I'm with Martijn on this. Plus the sf issue tracker. Confluence
> > > > should just be for the project web site.
> > > >
> > > > jim
> > > >
> > > > On 1/11/07, Martijn Dashorst < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > For downloads I would seriously consider using the sf.netoffering. It
> > > > > has enough mirrors to service the whole world.
> > > > >
> > > > > Martijn
> > > > >
> > > > > On 1/11/07, Korbinian Bachl < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > >
> > > > > > Good News ! - thanks igor. Is this then completely independent
> > > > > and solely
> > > > > > for wicket stuff then? - means, we may setup a new wicket
> > > > > stuff website
> > > > > > there, and subpages for the projects and jar file downloads?
> > > > > >
> > > > > >
> > > > > >
> > > > > >  
> > > > > >  Von: [EMAIL PROTECTED]
> > > > > > [mailto:[EMAIL PROTECTED] Im
> > > > > > Auftrag von Igor Vaynberg
> > > > > > Gesendet: Donnerstag, 11. Januar 2007 18:04
> > > > > > An: wicket-user@lists.sourceforge.net
> > > > > > Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar
> > > > > > forwicket-contrib-scriptaculous?)
> > > > > >
> > > > > >
> > > > > > i will try to get it setup today.
> > > > > >
> > > > > > -igor
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:
> > > > > > > I'm with Fillipo. We've already determined that we can't
> > > > > host wicket-stuff
> > > > > > with wicket on apache.org. No need to mention it again. Both
> > > > > Eelco and Igor
> > > > > > mentioned that there are some boxes wicket has that we can use
> > > > > to set up
> > > > > > confluence. Let's do that. How do we move ahead?
> > > > > > >
> > > > > > >
> > > > > > > On 1/11/07, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > > On 1/11/07, Nick Heudecker < [EMAIL PROTECTED]> wrote:
> > > > > > > > > Confluence is setup here:
> &

Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

Done. Thanks!

(I got  "Error rendering macro: java.lang.StackOverflowError" after
registering, though)

On 1/11/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


http://81.17.46.170:8090/confluence

sign up for an account and i will grant you permissions

-igor


On 1/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:

> Well, on second thought, there is hardly anything in the sf issue
> tracker for wicket-stuff, so there wouldn't be any migration issues. I
> didn't realize Jira could be part of the package. If others agree, and it
> wouldn't be to difficult for you, it would be great to have Jira and
> Confluence together.
>
> thx,
> jim
>
> On 1/11/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> >
> > i was going to install jira, but i guess less work for me :)
> >
> > -igor
> >
> >
> > On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:
> >
> > > I'm with Martijn on this. Plus the sf issue tracker. Confluence
> > > should just be for the project web site.
> > >
> > > jim
> > >
> > > On 1/11/07, Martijn Dashorst < [EMAIL PROTECTED]> wrote:
> > > >
> > > > For downloads I would seriously consider using the sf.netoffering. It
> > > > has enough mirrors to service the whole world.
> > > >
> > > > Martijn
> > > >
> > > > On 1/11/07, Korbinian Bachl < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > Good News ! - thanks igor. Is this then completely independent
> > > > and solely
> > > > > for wicket stuff then? - means, we may setup a new wicket stuff
> > > > website
> > > > > there, and subpages for the projects and jar file downloads?
> > > > >
> > > > >
> > > > >
> > > > >  
> > > > >  Von: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED] Im
> > > > > Auftrag von Igor Vaynberg
> > > > > Gesendet: Donnerstag, 11. Januar 2007 18:04
> > > > > An: wicket-user@lists.sourceforge.net
> > > > > Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar
> > > > > forwicket-contrib-scriptaculous?)
> > > > >
> > > > >
> > > > > i will try to get it setup today.
> > > > >
> > > > > -igor
> > > > >
> > > > >
> > > > >
> > > > > On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:
> > > > > > I'm with Fillipo. We've already determined that we can't host
> > > > wicket-stuff
> > > > > with wicket on apache.org. No need to mention it again. Both
> > > > Eelco and Igor
> > > > > mentioned that there are some boxes wicket has that we can use
> > > > to set up
> > > > > confluence. Let's do that. How do we move ahead?
> > > > > >
> > > > > >
> > > > > > On 1/11/07, Filippo Diotalevi < [EMAIL PROTECTED] >
> > > > wrote:
> > > > > >
> > > > > > > On 1/11/07, Nick Heudecker < [EMAIL PROTECTED]> wrote:
> > > > > > > > Confluence is setup here: http://cwiki.apache.org/WICKET/
> > > > > > >
> > > > > > > Sorry guys... I don't get it.
> > > > > > > You've said in another thread that we cannot use apache
> > > > infrastructure
> > > > > > > for wicket-stuff.. right?
> > > > > > >
> > > > > > > So, if I understand well, that instance of confluence you
> > > > are
> > > > > > > referring to is not available for wicket-stuff
> > > > documentation; but
> > > > > > > Eelco also said that there is probably another server with a
> > > > > > > confluence installation. That's the reason of my question...
> > > > is this
> > > > > > > other server available?
> > > > > > >
> > > > > > > --
> > > > > > > Filippo
> > > > > > >
> > > > > > >
> > > > >
> > > > 

Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

Well, on second thought, there is hardly anything in the sf issue tracker
for wicket-stuff, so there wouldn't be any migration issues. I didn't
realize Jira could be part of the package. If others agree, and it wouldn't
be to difficult for you, it would be great to have Jira and Confluence
together.

thx,
jim

On 1/11/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


i was going to install jira, but i guess less work for me :)

-igor


On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:

> I'm with Martijn on this. Plus the sf issue tracker. Confluence should
> just be for the project web site.
>
> jim
>
> On 1/11/07, Martijn Dashorst < [EMAIL PROTECTED]> wrote:
> >
> > For downloads I would seriously consider using the sf.net offering. It
> > has enough mirrors to service the whole world.
> >
> > Martijn
> >
> > On 1/11/07, Korbinian Bachl < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Good News ! - thanks igor. Is this then completely independent and
> > solely
> > > for wicket stuff then? - means, we may setup a new wicket stuff
> > website
> > > there, and subpages for the projects and jar file downloads?
> > >
> > >
> > >
> > >  
> > >  Von: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Im
> > > Auftrag von Igor Vaynberg
> > > Gesendet: Donnerstag, 11. Januar 2007 18:04
> > > An: wicket-user@lists.sourceforge.net
> > > Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar
> > > forwicket-contrib-scriptaculous?)
> > >
> > >
> > > i will try to get it setup today.
> > >
> > > -igor
> > >
> > >
> > >
> > > On 1/11/07, James McLaughlin <[EMAIL PROTECTED] > wrote:
> > > > I'm with Fillipo. We've already determined that we can't host
> > wicket-stuff
> > > with wicket on apache.org. No need to mention it again. Both Eelco
> > and Igor
> > > mentioned that there are some boxes wicket has that we can use to
> > set up
> > > confluence. Let's do that. How do we move ahead?
> > > >
> > > >
> > > > On 1/11/07, Filippo Diotalevi < [EMAIL PROTECTED] >
> > wrote:
> > > >
> > > > > On 1/11/07, Nick Heudecker < [EMAIL PROTECTED]> wrote:
> > > > > > Confluence is setup here: http://cwiki.apache.org/WICKET/
> > > > >
> > > > > Sorry guys... I don't get it.
> > > > > You've said in another thread that we cannot use apache
> > infrastructure
> > > > > for wicket-stuff.. right?
> > > > >
> > > > > So, if I understand well, that instance of confluence you are
> > > > > referring to is not available for wicket-stuff documentation;
> > but
> > > > > Eelco also said that there is probably another server with a
> > > > > confluence installation. That's the reason of my question... is
> > this
> > > > > other server available?
> > > > >
> > > > > --
> > > > > Filippo
> > > > >
> > > > >
> > >
> > -
> > > > > 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 & business topics through brief surveys - and
> > earn cash
> > > > >
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > > > > ___
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > >
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > >
> > > >
> > > >
> > >
> > -
> > > > 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 & business topics through brief surveys - and earn
> > cash
> > > >
> > >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 

Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

I'm with Martijn on this. Plus the sf issue tracker. Confluence should just
be for the project web site.

jim

On 1/11/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:


For downloads I would seriously consider using the sf.net offering. It
has enough mirrors to service the whole world.

Martijn

On 1/11/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
>
>
> Good News ! - thanks igor. Is this then completely independent and
solely
> for wicket stuff then? - means, we may setup a new wicket stuff website
> there, and subpages for the projects and jar file downloads?
>
>
>
>  
>  Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im
> Auftrag von Igor Vaynberg
> Gesendet: Donnerstag, 11. Januar 2007 18:04
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar
> forwicket-contrib-scriptaculous?)
>
>
> i will try to get it setup today.
>
> -igor
>
>
>
> On 1/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > I'm with Fillipo. We've already determined that we can't host
wicket-stuff
> with wicket on apache.org. No need to mention it again. Both Eelco and
Igor
> mentioned that there are some boxes wicket has that we can use to set up
> confluence. Let's do that. How do we move ahead?
> >
> >
> > On 1/11/07, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> >
> > > On 1/11/07, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> > > > Confluence is setup here: http://cwiki.apache.org/WICKET/
> > >
> > > Sorry guys... I don't get it.
> > > You've said in another thread that we cannot use apache
infrastructure
> > > for wicket-stuff.. right?
> > >
> > > So, if I understand well, that instance of confluence you are
> > > referring to is not available for wicket-stuff documentation; but
> > > Eelco also said that there is probably another server with a
> > > confluence installation. That's the reason of my question... is this
> > > other server available?
> > >
> > > --
> > > Filippo
> > >
> > >
>
-
> > > 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 & business topics through brief surveys - and earn
cash
> > >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
>
-
> > 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 & business topics through brief surveys - and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
>
>
>
-
> 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 & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar for wicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

Thanks, Igor. You rock!

On 1/11/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


i will try to get it setup today.

-igor


On 1/11/07, James McLaughlin <[EMAIL PROTECTED]> wrote:

> I'm with Fillipo. We've already determined that we can't host
> wicket-stuff with wicket on apache.org. No need to mention it again.
> Both Eelco and Igor mentioned that there are some boxes wicket has that we
> can use to set up confluence. Let's do that. How do we move ahead?
>
> On 1/11/07, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> >
> > On 1/11/07, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> > > Confluence is setup here: http://cwiki.apache.org/WICKET/
> >
> > Sorry guys... I don't get it.
> > You've said in another thread that we cannot use apache infrastructure
> > for wicket-stuff.. right?
> >
> > So, if I understand well, that instance of confluence you are
> > referring to is not available for wicket-stuff documentation; but
> > Eelco also said that there is probably another server with a
> > confluence installation. That's the reason of my question... is this
> > other server available?
> >
> > --
> > Filippo
> >
> > -
> >
> > 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 & business topics through brief surveys - and earn cash
> >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
> -
> 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 & business topics through brief surveys - and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar for wicket-contrib-scriptaculous?)

2007-01-11 Thread James McLaughlin

I'm with Fillipo. We've already determined that we can't host wicket-stuff
with wicket on apache.org. No need to mention it again. Both Eelco and Igor
mentioned that there are some boxes wicket has that we can use to set up
confluence. Let's do that. How do we move ahead?

On 1/11/07, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 1/11/07, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Confluence is setup here: http://cwiki.apache.org/WICKET/

Sorry guys... I don't get it.
You've said in another thread that we cannot use apache infrastructure
for wicket-stuff.. right?

So, if I understand well, that instance of confluence you are
referring to is not available for wicket-stuff documentation; but
Eelco also said that there is probably another server with a
confluence installation. That's the reason of my question... is this
other server available?

--
Filippo

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-11 Thread James McLaughlin

Did we settle on Confluence? Did someone volunteer to set this up for this
on a box somewhere (Igor, Fillipo)?

On 1/11/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


At the same time: now is a good time to do a release for those
wicket-stuff projects and work on advertising them some more people!
:)

Eelco

On 1/11/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Where you mean a jar for wicket-contrib-scriptaculous I presume?
> Reading through Ryan's comments, most progress has been made with a
> wicket 2.x version.
>
> Getting the code and building a jar should be easy enough though, get
> the code from svn, and run maven jar or mvn package (depending on
> either project.xml or pom.xml is present in the root folder).
>
> You might need to tweak the version dependency on wicket so it takes
> the version you want to work with.
>
> Martijn
>
> On 1/11/07, Ian Clarke <[EMAIL PROTECTED]> wrote:
> > Just kinda taking this thread back to where it started:
> >
> > Does anyone have a .jar for wicket-stuff that will work with the
> > Wicket 1.x branch?
> >
> > Ian.
> >
> > On 1/9/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > That would be great. Maybe we can run the wicket-stuff examples
there, too.
> > > Is it possible for the wicket-stuff maintainers to get access to
said box.
> > >
> > > thx,
> > > jim
> > >
> > > On 1/9/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > > Yeah, we can't use Apache's infrastructure for wicket-stuff.
However,
> > > > we have a couple of servers available that are not related to
Apache I
> > > > believe.
> > > >
> > > > Eelco
> > > >
> > > > On 1/9/07, James McLaughlin < [EMAIL PROTECTED]> wrote:
> > > > > I thought there were licensing issues that prevented us from
hosting the
> > > > > wicket-stuff wiki with the wicket wiki on apache.org. If not,
then I am
> > > for
> > > > > it. I have never used confluence so maybe someone who knows
better can
> > > > > comment why it is so much better than the other wiki frameworks
out
> > > there.
> > > > >
> > > > >
> > > > > On 1/9/07, Filippo Diotalevi < [EMAIL PROTECTED]>
wrote:
> > > > > > On 1/9/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > > > > > Filippo seems to have experience with confluence,  however,
I'm
> > > still
> > > > > > > wondering if we can use it, as i dont know
> > > > > > > a, how to get the license or if we may use the Apache ones
for it
> > > > > > > b, on what server we will put it up - SF.net seems to limit
to cgi
> > > only
> > > > > and
> > > > > > > I cant remember to have seen cgi option on the confluence
webpage.
> > > > > >
> > > > > > Yes, I have some experience with confluence, and it's powerful
but
> > > > > > simple to use (customization can be a bit more tricky, but we
might
> > > > > > easily start using the default template).
> > > > > > Furthermore, you can set up different 'workspaces', so you
need just
> > > > > > one license to create different wikis.
> > > > > >
> > > > > > If there's already confluence installation for wicket, I'd go
with it,
> > > > > > and I'd be happy to maintain it.
> > > > > >
> > > > > > --
> > > > > > Filippo Diotalevi
> > > > > > [EMAIL PROTECTED]
> > > > > > http://www.diotalevi.com/weblog
> > > > > > http://www.jugmilano.it
> > > > > >
> > > > > >
> > > > >
> > >
-
> > > > > > 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 & business topics through brief surveys - and
earn cash
> > > > > >
> > > > >
> > >
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > > ___
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge

Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-09 Thread James McLaughlin

That would be great. Maybe we can run the wicket-stuff examples there, too.
Is it possible for the wicket-stuff maintainers to get access to said box.

thx,
jim

On 1/9/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Yeah, we can't use Apache's infrastructure for wicket-stuff. However,
we have a couple of servers available that are not related to Apache I
believe.

Eelco

On 1/9/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> I thought there were licensing issues that prevented us from hosting the
> wicket-stuff wiki with the wicket wiki on apache.org. If not, then I am
for
> it. I have never used confluence so maybe someone who knows better can
> comment why it is so much better than the other wiki frameworks out
there.
>
>
> On 1/9/07, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > On 1/9/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > Filippo seems to have experience with confluence,  however, I'm
still
> > > wondering if we can use it, as i dont know
> > > a, how to get the license or if we may use the Apache ones for it
> > > b, on what server we will put it up - SF.net seems to limit to cgi
only
> and
> > > I cant remember to have seen cgi option on the confluence webpage.
> >
> > Yes, I have some experience with confluence, and it's powerful but
> > simple to use (customization can be a bit more tricky, but we might
> > easily start using the default template).
> > Furthermore, you can set up different 'workspaces', so you need just
> > one license to create different wikis.
> >
> > If there's already confluence installation for wicket, I'd go with it,
> > and I'd be happy to maintain it.
> >
> > --
> > Filippo Diotalevi
> > [EMAIL PROTECTED]
> > http://www.diotalevi.com/weblog
> > http://www.jugmilano.it
> >
> >
>
-
> > 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 & business topics through brief surveys - and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
-
> 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 & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-09 Thread James McLaughlin

I thought there were licensing issues that prevented us from hosting the
wicket-stuff wiki with the wicket wiki on apache.org. If not, then I am for
it. I have never used confluence so maybe someone who knows better can
comment why it is so much better than the other wiki frameworks out there.

On 1/9/07, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 1/9/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> Filippo seems to have experience with confluence,  however, I'm still
> wondering if we can use it, as i dont know
> a, how to get the license or if we may use the Apache ones for it
> b, on what server we will put it up - SF.net seems to limit to cgi only
and
> I cant remember to have seen cgi option on the confluence webpage.

Yes, I have some experience with confluence, and it's powerful but
simple to use (customization can be a bit more tricky, but we might
easily start using the default template).
Furthermore, you can set up different 'workspaces', so you need just
one license to create different wikis.

If there's already confluence installation for wicket, I'd go with it,
and I'd be happy to maintain it.

--
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-09 Thread James McLaughlin

Damned holidays! My lack of attention to wicket-stuff has been gnawing away
at me.

Ryan, sorry to here yo haven't been able to create an account. I would be
glad to help -- let me know what problem you are having. You've tried
clicking login from the main page, and then clicking the UserPreferences
link to create an account?

I have no attachment to MoinMoin, but from my limited wiki admin experience
it is very lightweight and easy to configure. My other experience is with
TWiki, which is a bit cruftier, but pretty simple to use also. It also has
billions of plugins. I really liked the old wicket wiki, which i believe is
MediaWiki. We should take a vote and settle this so we can move ahead. My
advice is to stick with the sf infrastructure regardless of the wiki we use,
which requires the wiki to be cgi based.

Thoughts?

regards,
jim

On 1/9/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:


I'd love to try and use the main wicket confluence instance in some way.
seriously, i haven't even been able to create an account and login to the
wiki for wicket-stuff.

On 1/9/07, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
>
> On 1/9/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > the current seems very basic to me, and i never heard about MoinMoin
> and its
> > capabilities before - what wonders me, is if it would be possible to
> use
> > confluence, as its used for wicket main so we would have only 1
> technology /
> > system and users/ contributors would only have 1 system to know... any
> > thoughts on this? - can wicket-stuff also profit from apache or is
> this only
> > for listed projects there?
>
> Yeah, I must admit that I'd prefer so much to go with confluence.
> With this regard, there are 3 possible solutions:
>
> - ask Atlassian for a free open source license. I've already done
> that, it requires some time (it required more than a month in my
> case). Then you need to find a java hosting... not impossible, but
> requires some work as well
>
> - As I told you, I already have a free license of Confluence for the
> Java User Group Milano. We are building our website with it, but it
> should be easy to add a workspace in our installation for
> wicket-stuff. However, wicket-stuff would probably be a medium-traffic
> website (much more than our), so I'd probably need to find another
> java hosting
>
> - Use Apache confluence.. needless to say, I'd love it! but we've
> already discussed about it and I remember some folks being not very
> enthusiastic about this solution
>
> --
> Filippo Diotalevi
> [EMAIL PROTECTED]
> http://www.diotalevi.com/weblog
> http://www.jugmilano.it
>
>
> -
> 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 & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Timeline-component

2006-11-30 Thread James McLaughlin

Excellent! We have to get these online somewhere.

jim

On 11/30/06, Vincent Demay <[EMAIL PROTECTED]> wrote:


James McLaughlin wrote:
> /me makes mental note to check out all the good work in
> wicket-contrib-dojo
>
> Can we have wicket-library.com <http://wicket-library.com> host live
> examples from wicket-stuff, or is it just for wicket core? This would
> be great, especially for the more evolved projects like
> wicket-contrib-dojo.
>
For the moment there isn't any live demo. But you can test It on my
personal machine : http://www.demay-fr.net:8080/Wicket-start/app
It could be quitte slow... it is just my own server... it is not a
professionnal one - sorry;)

Vincent Demay
http://www.demay-fr.net/blog

> thx,
> jim
>
> On 11/29/06, *Jean-Baptiste Quenot* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> We just created a calendar component, it is in wicket-stuff trunk,
> in wicket-contrib-dojo.   But it  is not exactly  the same  as the
> timeline, it tries to mimic Google Calendar.
>
> An example is available at
> /wicket-stuff/trunk/wicket-contrib-dojo-examples
> It is called «Week Organizer sample»
>
> Enjoy,
> --
>  Jean-Baptiste Quenot
> aka  John Banana   Qwerty
> http://caraldi.com/jbq/ <http://caraldi.com/jbq/>
>
>
-
> 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 & business topics through brief surveys - and earn
cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> <mailto:Wicket-user@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> 
>
>
-
> 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 & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to remove a AjaxSelfUpdatingTimerBehavior from a Component

2006-11-29 Thread James McLaughlin

Hi Stefan,
onRenderHeadContribution => renderHead(IHeaderResponse response) (from
AbstractAjaxBehavior)

getCallbackScript(boolean,boolean) => getCallbackScript(boolean) (from
AbstractDefaultAjaxBehavior)

hth,
jim

On 11/29/06, Stefan Lindner <[EMAIL PROTECTED]> wrote:


Sorry once again,

but the code does not work with current Wicket 2 trunk. There is no

 getCallbackScript(boolean, boolean)

method to @Override and no

 onRenderHeadContribution()

method to @Override in the superclasses. I can't find any
onRenderHeadContribution mehtod in the whole wicket code when I search the
complete source tree with grep utility.

Maybe that's the reason that Igor did not commit the code.

Stefan Lindner


-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Timeline-component

2006-11-29 Thread James McLaughlin

/me makes mental note to check out all the good work in wicket-contrib-dojo

Can we have wicket-library.com host live examples from wicket-stuff, or is
it just for wicket core? This would be great, especially for the more
evolved projects like wicket-contrib-dojo.

thx,
jim

On 11/29/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:


We just created a calendar component, it is in wicket-stuff trunk,
in wicket-contrib-dojo.   But it  is not exactly  the same  as the
timeline, it tries to mimic Google Calendar.

An example is available at
/wicket-stuff/trunk/wicket-contrib-dojo-examples
It is called «Week Organizer sample»

Enjoy,
--
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Timeline-component

2006-11-29 Thread James McLaughlin

Cool. +1 for a wicket-stuff project.

On 11/29/06, Mats Norén <[EMAIL PROTECTED]> wrote:


Has anyone started work on creating a Timeline [1] component?
I was thinking that it wouldn't be that hard to adapt the GWT version
from http://gwtsimiletimeline.googlecode.com/svn/trunk/GWTSimileTimeline/

If anyone is interested in participating in building such a component
maybe we could setup a wicket-stuff project for it?

[1] http://simile.mit.edu/timeline/

/Mats

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding onload event in Ajax border

2006-11-28 Thread James McLaughlin

Hi Alberto,
I think a more elegant solution is being worked out in 2.0, but for now I've
been doing something like this:

public class MyJavascriptGizmo extends AbstractBehavior {

   public void bind (Component component)
   {
   component.getWebPage
().getBodyContainer().addOnLoadModifier(getScript());
   }

   public void onRendered(Component component)
   {
   if(component.getRequestCycle().getRequestTarget() instanceof
AjaxRequestTarget) {
   ... cast to ART ...
   target.appendJavascript(getScript());
   }
   }
}

hth,
jim

On 11/28/06, Alberto Bueno <[EMAIL PROTECTED]> wrote:


My problem is that I want to call to a javascript method after the
rendering of a page or after the rendering of the component with ajax.

Now I have a border and I want to add in the component an onload event.
For instance:


  




The alert runs correctly if I use the border in the page. But if I
update the border
with ajax, the alert is not rendered.

Who can I do to add the alert in both cases?

Thanks

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Stuff / Wiki

2006-11-27 Thread James McLaughlin

I would suggest sticking with moin until we know for sure it can't give us
what we need. Also, I'm not sure we need to force the entire website on to
the wiki. Let's leave that to the individual maintainers.

I've added a rewrite rule to hide the /cgi-bin/moin.cgi under /wiki-stuff,
per Upayavira's suggestion. Let me know if you see any problems.

thx,
jim

On 11/24/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:


As far as i understood, this is just for organisation, not for the Website
itself.


> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag
> von Upayavira
> Gesendet: Freitag, 24. November 2006 15:34
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Wicket Stuff / Wiki
>
> Korbinian Bachl wrote:
> > Hi,
> >
> > some days ago, Eelco and others had the idea to bring the
> wicket stuff
> > page to a wiki, so updates wold be easier. Hwoever, what
> wiki system
> > should be used? - I personally are quite new to thse and
> have only got
> > a small experience with JOOMLA and Typo3 (4.0) so far.
> >
> > Anyone who knows some? Any good/bad reputations about these?
>
> Erm, hasn't someone already installeg Moin on SourceForge.
>
> A little bit of URL guessing took me to:
>
> http://wicket-stuff.sourceforge.net/cgi-bin/moin.cgi
>
> (Don't know if SF allow rewrite rules in .htaccess files.
> Would be nice to have one or two in front of this...)
>
> Regards, Upayavira
>
> --
> ---
> 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 & business topics through brief
> surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-Stuff: ProjectMantainers page updated

2006-11-27 Thread James McLaughlin

Sounds like a good idea. For now, let's put a link on the front page to each
projects wiki. I am going to make an effort this week to theme the wiki
similar to the current wicket-stuff. I am hoping to put a left panel in that
provides navigation to each projects wiki. I'll get a backup/restore going
too. For orphaned projects, I think we should send another mail to the list
regarding projects w/o maintainers. Once we have determined projects are
orphaned but still viable, let's ask for volunteers to take them over.

jim

On 11/26/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 11/22/06, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Great. I'm thinking maybe we need a second ProjectStatus page, since I
> believe the amount of status info is going to grow. This would have info
> such as Notes, Current Versions,  Maven  support, and possibly a TODO
list
> for each project. Or each project can have a project status page, but I
> would still like one summary page to see it all at a glance. What d you
> think?

Hi James (sorry for the late answer.. I was abroad & not connected to
the internet) I agree with you: there are a lot of data to collect
and, overall, a lot of things to do.
I'm in favour of creating a single page for each project with all the
details we need *and* a todolist for each project. Each of this page
eventually might become the "official" page of the project, if we
decide to use the wiki as website.

I see also that there are a lot of projects whose mantainer is
unknown... I think we should clearly decide what to do with them,
because abandoned projects will rapidly become unusable with 1.3 and
2.0

--
  Filippo

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-Stuff WicketStuffToDo page created

2006-11-22 Thread James McLaughlin

There are some issues surrounding wiki that should be discussed, however. SF
webservers mount the project directories read only, so this means the wiki
data directory had to be under /tmp/persistent/...// and that
directory needs to be world writeable. I changed the permissions of our
directory under persistent to keep a guy with fat fingers from rm -rf'ing
the wiki, but someone with bad intent could find the data directory and do
some damage. Also, I'm not sure what promises sf makes regarding
/tmp/persistent. Supposedly they deleted everything there a couple of years
ago, probably because the fs filled up. Good backups will prevent a lot of
suffering here, but if we want to host wicket-stuff purely on a wiki, we
should at least discuss the risks and whether the wiki should be moved
elsewhere.

But also, I think we should leave it to the individual maintainers whether
to use the wiki or some other system for their site. All projects should
have a dir under htdocs, like some have now, and if they want to use the
wiki, they can simply redirect to their wiki page.

wdyt?

jim

On 11/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:


On 11/22/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> On 11/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > Which is not a wise thing to do. The site is generated from the
> > wicket-stuff main project using maven. So your change will be
> > overwritten the next time it is generated.
>
> heh. A couple of emails back you proposed not to use maven site in the
> future, but use the WIKI for the whole site instead :)

True, but then we would rm -rf the whole site... nuf said :)

Martijn

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-22 Thread James McLaughlin

Right. Spaced that out. Thanks.

This does bringing up what the default permission scheme should be. For now
we are allowing anyone who is logged in to read/write (No more anonymous).
Once we have the maintainers sorted out, would it be better to give write
permission to only maintainers, admins, wicket devs?

On 11/22/06, Gwyn Evans <[EMAIL PROTECTED]> wrote:


On 22/11/06, James McLaughlin <[EMAIL PROTECTED]> wrote:
> done!
>
> http://wicket-stuff.sourceforge.net/wiki

Well done, though I'd be surprised if you don't need to disable
anonymous edits very quickly!

/Gwyn
--
Download Wicket 1.2.3 now! - http://wicketframework.org

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket-Stuff WicketStuffToDo page created

2006-11-22 Thread James McLaughlin

I've created a Todo wiki page

http://wicket-stuff.sourceforge.net/cgi-bin/moin.cgi/WicketStuffToDo

Please add general wicket-stuff todo stuff here (not project specific).
Also, if someone wants to take a task, maybe they can put their name next to
it.

I have a couple of questions, too.

Is wicket hosting or going to host its own maven repository? If so, could we
add the wicket-stuff projects to it?

Should wicket-stuff projects match the version numbering of the wicket
releases they depend on?

Is it alright to restrict write access to the wiki to project maintainers
and admins?
-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-Stuff: ProjectMantainers page updated

2006-11-22 Thread James McLaughlin

Great. I'm thinking maybe we need a second ProjectStatus page, since I
believe the amount of status info is going to grow. This would have info
such as Notes, Current Versions,  Maven  support, and possibly a TODO list
for each project. Or each project can have a project status page, but I
would still like one summary page to see it all at a glance. What d you
think?

jim

On 11/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


Hi all,
  I've updated the new page ProjectMantainer in the wicketstuff-wiki
with (hopefully) all the projects of wicketstuff. Please take a minute
to see it and update with correct infos.
http://wicket-stuff.sourceforge.net/cgi-bin/moin.cgi/ProjectMaintainers

I think we particularly need to know if:
- a project has been discontinued
- a project is up-to-date with current Wicket release
- a project is Wicket 1.3-ready
- a project is Wicket 2.0-ready

--
Filippo Diotalevi
http://www.diotalevi.com

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread James McLaughlin

I can install moinmoin on sourceforge for wicket-stuff. Should I go ahead
and do it?

On 11/21/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 11/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Can't we set up a space for wicket-stuff which content we don't
> attribute to the ASF, but provide as a documentation ground for the
> wicket-stuff project?
> I'd rather have the documentation together in one place than scattered
> across the internets.

That would be great, and also better from the user point of view

--
  Filippo

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread James McLaughlin

done!

http://wicket-stuff.sourceforge.net/wiki

Needs de-uglification if someone wants to volunteer for that. I followed the
instructions at http://moinmoin.wikiwikiweb.de/SourceForge pretty much word
for word, so this will show you the install paths.

I've enabled the Anti Spam module, but supposedly sf's firewall interferes
with it. Also, there is a note that sf loves to munge world writeable files
on occasion, so does someone want to get a backup set up? If no one can, I
can look into later.

I've started a topic ProjectMaintainers and populated it with the mails
received today.

thanks,
jim



On 11/21/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


So that's a yes for installing a WIKI on SF James :)

eElco

On 11/21/06, Upayavira <[EMAIL PROTECTED]> wrote:
> Gwyn Evans wrote:
> > Not saying don't, but if it's just to track this sort of discussion,
> > then the main wiki's as good as anywhere for the moment.
>
> Well, yeah. If all that it is needed for is one page that will be thrown
> away afterwards, use what you like, including Apache one. If it is
> likely to grow into something bigger, or survive for some time, a
> separate wiki would be best. IMO.
>
> Regards, Upayavira
>
>
>
-
> 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 & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread James McLaughlin
sweet. works great on my side. I'll write up a couple of tests and submit a patch.thanks,jimOn 11/2/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:i think it would basically be thismove what is currently in onRenderHeadContribution() to rendered()
instead of attaching the script to the onloadmodifier output it straight into the response between 

Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread James McLaughlin
Would it work like this:* in onRendered, check if the RequestTarget is an AjaxRequestTarget, and appendJavascript* remove appendJavascript from respondthanks,jimOn 11/2/06, 
Igor Vaynberg <[EMAIL PROTECTED]> wrote:
best thing would be to make timer behaviors initialize the timeout by inlining the script after the component reather then in a boay onload attr.create an issue in jira, and a patch is welcome of course, look at ibehavior.rendered

()-igorOn 11/2/06, James McLaughlin <
[EMAIL PROTECTED]> wrote:

What's the best way to make this work? AbstractAjaxTimerBehavior sets itself up at first with a body onload modifier. Unfortunately, the component(s) I want to auto update are added via ajax. I see in respond(AjaxRequestTarget)  that the getJsTimeoutCall is appended to the target, but getJsTimeoutCall is protected. To make it even more difficult, the components I want to add SelfUpdatingBehavior to are nested a few levels deep inside the component being added, so I don't have direct access to the AjaxRequestTarget. If getJsTimeoutCall is made public, I suppose I could get access to the RequestTarget through 
RequestCycle.get().getRequestTarget(). Where would be the best place to do this: onBind() or another callback hook, or at instantiation?thanks in advance,jim

-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 Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-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 Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Jim McLaughlin   Director, Software EngineeringStonewater Control Systems
http://www.stonewatercontrols.com(o) 847.864.1060 x107(c) 773.416.0994
-
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 Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread James McLaughlin
What's the best way to make this work? AbstractAjaxTimerBehavior sets itself up at first with a body onload modifier. Unfortunately, the component(s) I want to auto update are added via ajax. I see in respond(AjaxRequestTarget)  that the getJsTimeoutCall is appended to the target, but getJsTimeoutCall is protected. To make it even more difficult, the components I want to add SelfUpdatingBehavior to are nested a few levels deep inside the component being added, so I don't have direct access to the AjaxRequestTarget. If getJsTimeoutCall is made public, I suppose I could get access to the RequestTarget through 
RequestCycle.get().getRequestTarget(). Where would be the best place to do this: onBind() or another callback hook, or at instantiation?thanks in advance,jim
-
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 Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Exception on startup with 2.0 latest and greatest

2006-10-22 Thread James McLaughlin
Exception in thread "main" java.lang.ExceptionInInitializerError    at wicket.Initializer.init(Initializer.java:52)    at wicket.Application.callInitializers(Application.java:808)    at wicket.Application.initializeComponents

(Application.java:598)    at wicket.protocol.http.WicketFilter.init(WicketFilter.java:344)    at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:162)    at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets

(WebApplicationHandler.java:145)    at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)    at org.mortbay.http.HttpServer.start(HttpServer.java:647)    at jetty.Start.main
(
Start.java:62)Caused by: java.lang.IllegalArgumentException: Method public abstract void wicket.behavior.IBehaviorListener.onRequest(wicket.Component) in interface interface wicket.behavior.IBehaviorListener cannot take any arguments
    at wicket.RequestListenerInterface.(RequestListenerInterface.java:116)    at wicket.RequestListenerInterface.(RequestListenerInterface.java:78)    at wicket.behavior.IBehaviorListener$1

.(IBehaviorListener.java:41)    at wicket.behavior.IBehaviorListener.(IBehaviorListener.java:41)    ... 9 morethanks,jim

-
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 Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-05 Thread James McLaughlin
Strange. Virtually all my models do this and it works perfectly. I think you are missing the id parameter in your SpringBean declaration. Maybe that is killing you.jimOn 10/3/06, 

Leszek Gawron <[EMAIL PROTECTED]> wrote:

Joni Freeman wrote:> Yes, it works. I use it in many places.>> JoniI have just checked:> public class GlobalNewsListModel extends LoadableDetachableModel {> @SpringBean> private NewsService   newsService;
>> public NewsService getNewsService() {> return newsService;> }>> @SuppressWarnings("unchecked")> @Override> protected Object load() {
> return new LinkedList( getNewsService().getGlobalNews(  Session.get().getLocale().getLanguage(),> 10 ) );> }> }

throws NPE. Not much space for eror, is it? The only thing I can thinkof is that you are using nested classes or anonymous classes (which youshould not do for models - so I've read).--Leszek Gawron
-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-- // Jim McLaughlin   // Director, Software Engineering// Stonewater Control Systems
// http://www.stonewatercontrols.com// (o) 847.864.1060 x107// (c) 773.416.0994

-
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 & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread James McLaughlin
There is no question the mighty Igor can not answer! Now I have my own finger crunching quintuple buckey for killing and relaunching applications. A million thank yous. And to you too Frank.jim
On 9/26/06, Frank Bille <[EMAIL PROTECTED]> wrote:
On 9/26/06, James McLaughlin <[EMAIL PROTECTED]
> wrote:
Well, its more a kingdom of pain, which i guess i should have mentioned upfront. Never doubted you would provide an answer though. But honestly, I am running 3.2 and the Terminate/Terminate and Relaunch option just isn't there. Curses!
It is if you go to the modify tabFrank

-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RunAs java/debug

2006-09-26 Thread James McLaughlin
Well, its more a kingdom of pain, which i guess i should have mentioned upfront. Never doubted you would provide an answer though. But honestly, I am running 3.2 and the Terminate/Terminate and Relaunch option just isn't there. Curses!
On 9/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
go to window/preferences/general/keyscategory: Run/DebugName: Terminate or Terminate and Relaunchso how much is your kingdom worth?-Igor
On 9/26/06, 
James McLaughlin <[EMAIL PROTECTED]> wrote:

it astounds me that eclipse doesn't have some full fist, quintuple buckey key combo for this. I have searched the world over for it. My kingdom to anyone who can find me such a key binding...


On 9/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


on the console window there is a little red square - just click that :)-IgorOn 9/26/06, 
Patrick Angeles <
[EMAIL PROTECTED]> wrote:Pardon the newbie question... but...



I run the 'Start' classes in the examples that call the Jetty servletengine... all is well and good.But is there a more elegant way of stopping/restarting, apart from droppingto the command line and issuing a 'kill -9' command?
--View this message in context: http://www.nabble.com/RunAs-java-debug-tf2340830.html#a6514870
Sent from the Wicket - User mailing list archive at 
Nabble.com.-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 & business topics through brief surveys -- and earn cash


http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user

-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash


http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___Wicket-user mailing list


Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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 & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  1   2   >