[Wicket-user] Moving mailing list?

2007-06-20 Thread cowwoc

Now that Wicket is an official Apache project are there any plans for
moving the mailing lists over? SourceForge's digest mode leaves a lot to
be desired.

Gili



signature.asc
Description: OpenPGP digital signature
-
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


[Wicket-user] Tapestry in Netbeans tutorial

2007-05-25 Thread cowwoc

http://www.netbeans.org/kb/55/quickstart-tapestry-in-netbeans.html

Would be nice to have similar integration for Wicket. It is especially
nice how you get to specify Tapestry as a framework your Web Project
uses and it then integrates nicely throughout.

Gili



signature.asc
Description: OpenPGP digital signature
-
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] Good Tutorial on core wicket

2007-05-03 Thread cowwoc

I wonder why the indentation is all screwed up for the code at the
bottom, the markup text looks correct to me...

Gili

Scott Swank wrote:
> Have you seen this in the wiki?  It's a reasonable start on the sort
> of thing that I _think_ you're asking for.
> 
> http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html
> 
> Scott
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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


[Wicket-user] Google Guice

2007-04-30 Thread cowwoc
http://video.google.com/videoplay?docid=6068447410873108038&q=user%3A%22Google+engEDU

This might be of interest to Wicket and its users. I personally like
their design :)

Gili



signature.asc
Description: OpenPGP digital signature
-
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] Classloader for selectively reload web tier

2007-04-08 Thread cowwoc

I'm not sure it's that easy or else they would have done it. In any
case you should probably post to their forum instead of here :)

Gili

Johan Compagner wrote:
> sun should first improve the method change/delete/rename/add thing that
> ibm already can do.
> That shouldn't be to hard because the internal memory of the instance
> doesn't have to be changed then
> 
> After that i think what they should try to do is have a "depricated" 
> class version of something
> So all instances that are currently in the vm just stay that way and use
> the old class version
> only new instances are created with the new class version.
> This does result in strange problems of course like class cast exceptions
> and how should an instance of check work then on an old and new instance?
> 
> johan
> 
> 
> On 4/6/07, *Eelco Hillenius* < [EMAIL PROTECTED]
> > wrote:
> 
> > Seems there might not be a full-proof fix for this problem:
> > http://forum.java.sun.com/thread.jspa?threadID=572396&tstart=0
> 
> 
> But at least they're working on it, and any improvement would be
> welcome imo.
> 
> 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



signature.asc
Description: OpenPGP digital signature
-
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] Classloader for selectively reload web tier

2007-04-06 Thread cowwoc

Seems there might not be a full-proof fix for this problem:
http://forum.java.sun.com/thread.jspa?threadID=572396&tstart=0

Gili

Carlos Pita wrote:
>> See wicket.protocol.http.ReloadingWicketFilter. YMMV though, as Wicket
> 
> I will give this filter a try. I see it's included in the trunk but
> not in 1.2.x releases. Is it compatible with wicket 1.2.5?
> 
>> the JDK provides. Some SDK implementations are working on improved
>> support (I think Johan has some experience with IBM JDK:
>> http://www-128.ibm.com/developerworks/java/jdk/eclipse/ ?) and see
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812 (and
>> vote!).
> 
> Yes, I'm using ibm jdk too, but still get a lot of hot replacement
> errors, specially during preliminary instances of page development
> which are subject to more refactoring.
> 
>>> Btw, I gave a chance to java hot-code-replacement but it's very limited (it 
>>> lets you
>>> modify inside methods but do nothing that alters the class
>>> schema/interface, someone out there would say it sucks)
>> See that issue at SUN. :)
> 
> I've read http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812
> before. It make me feel kinda sad.
> 
> Cheers,
> Carlos
> 
>> 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



signature.asc
Description: OpenPGP digital signature
-
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] Joost uses Wicket

2007-03-12 Thread cowwoc

That's news to me :) Thanks!

I tried reading more about it on the Wiki but I couldn't find an
example that maps the root. The example in
http://cwiki.apache.org/WICKET/migrate-13.html maps the application to
"/app". Do you have another example or documentation somewhere?

Gili

Igor Vaynberg wrote:
> it is ok to do that (use /* mapping) if you use WicketFilter instead of
> WicketServlet
> 
> -igor
> 
> 
> On 3/12/07, *cowwoc* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> Hi Brian,
> 
> Yes you can probably do that for a Wicket site with no external
> references (i.e. static files hosted outside the scope of the servlet
> such as images) but last time I checked the Wicket developers were
> recommending against such a configuration.
> 
> Gili
> 
> Brian Topping wrote:
> > Gili,
> >
> > I think I did this on http://www.autoscraper.com...
> >
> > Brian
> >
> > On Mar 12, 2007, at 5:30 PM, cowwoc wrote:
> >
> >>  My point is that you can't do that with Wicket, unless you know
> >> something I don't...?
> >>
> >> Gili
> >>
> >> Ryan wrote:
> >>> In any public application I deploy I remove the servlet context path
> >>> (wicket or no wicket).
> >>>
> >>> Ryan
> >>>
> >>> On 3/12/07, cowwoc <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> >>>> If they use Wicket why doesn't it show at all on their
> >>>> website at
> >>>> joost.com <http://joost.com>? I am expecting to at least see
> some evidence of a servlet
> >>>> context path...
> >>>>
> >>>> Gili
> >>>>
> >>>> Brian Topping wrote:
> >>>>> Here I thought they were cool, then they use Ant?!?
> >>>>>
> >>>>> :b
> >>>>>
> >>>>> On Mar 12, 2007, at 8:45 AM, mraible wrote:
> >>>>>
> >>>>>> Thought y'all might be interested:
> >>>>>>
> >>>>>> http://opensource.joost.com/
> >>>>>>
> >>>>>> Joost is a new company started by the founders of Skype:
> >>>>>>
> >>>>>> http://en.wikipedia.org/wiki/Joost
> <http://en.wikipedia.org/wiki/Joost>
> >>>>>>
> >>>>>> Matt
> >>>>>> --
> >>>>>> View this message in context:
> http://www.nabble.com/Joost-uses- <http://www.nabble.com/Joost-uses->
> >>>>>> Wicket-tf3390296.html#a9437082
> >>>>>> Sent from the Wicket - User mailing list archive at
> Nabble.com <http://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
> <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
&

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread cowwoc
Hi Brian,

Yes you can probably do that for a Wicket site with no external
references (i.e. static files hosted outside the scope of the servlet
such as images) but last time I checked the Wicket developers were
recommending against such a configuration.

Gili

Brian Topping wrote:
> Gili,
> 
> I think I did this on http://www.autoscraper.com...
> 
> Brian
> 
> On Mar 12, 2007, at 5:30 PM, cowwoc wrote:
> 
>>  My point is that you can't do that with Wicket, unless you know
>> something I don't...?
>>
>> Gili
>>
>> Ryan wrote:
>>> In any public application I deploy I remove the servlet context path
>>> (wicket or no wicket).
>>>
>>> Ryan
>>>
>>> On 3/12/07, cowwoc <[EMAIL PROTECTED]> wrote:
>>>> If they use Wicket why doesn't it show at all on their  
>>>> website at
>>>> joost.com? I am expecting to at least see some evidence of a servlet
>>>> context path...
>>>>
>>>> Gili
>>>>
>>>> Brian Topping wrote:
>>>>> Here I thought they were cool, then they use Ant?!?
>>>>>
>>>>> :b
>>>>>
>>>>> On Mar 12, 2007, at 8:45 AM, mraible wrote:
>>>>>
>>>>>> Thought y'all might be interested:
>>>>>>
>>>>>> http://opensource.joost.com/
>>>>>>
>>>>>> Joost is a new company started by the founders of Skype:
>>>>>>
>>>>>> http://en.wikipedia.org/wiki/Joost
>>>>>>
>>>>>> Matt
>>>>>> --
>>>>>> View this message in context: http://www.nabble.com/Joost-uses-
>>>>>> Wicket-tf3390296.html#a9437082
>>>>>> 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
>>>>
>>>>
>>>>
>>> - 
>>> 
>>> 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
>>> 

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread cowwoc

My point is that you can't do that with Wicket, unless you know
something I don't...?

Gili

Ryan wrote:
> In any public application I deploy I remove the servlet context path
> (wicket or no wicket).
> 
> Ryan
> 
> On 3/12/07, cowwoc <[EMAIL PROTECTED]> wrote:
>> If they use Wicket why doesn't it show at all on their website at
>> joost.com? I am expecting to at least see some evidence of a servlet
>> context path...
>>
>> Gili
>>
>> Brian Topping wrote:
>>> Here I thought they were cool, then they use Ant?!?
>>>
>>> :b
>>>
>>> On Mar 12, 2007, at 8:45 AM, mraible wrote:
>>>
>>>> Thought y'all might be interested:
>>>>
>>>> http://opensource.joost.com/
>>>>
>>>> Joost is a new company started by the founders of Skype:
>>>>
>>>> http://en.wikipedia.org/wiki/Joost
>>>>
>>>> Matt
>>>> --
>>>> View this message in context: http://www.nabble.com/Joost-uses-
>>>> Wicket-tf3390296.html#a9437082
>>>> 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
>>
>>
>>
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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] Joost uses Wicket

2007-03-12 Thread cowwoc

If they use Wicket why doesn't it show at all on their website at
joost.com? I am expecting to at least see some evidence of a servlet
context path...

Gili

Brian Topping wrote:
> Here I thought they were cool, then they use Ant?!?
> 
> :b
> 
> On Mar 12, 2007, at 8:45 AM, mraible wrote:
> 
>> Thought y'all might be interested:
>>
>> http://opensource.joost.com/
>>
>> Joost is a new company started by the founders of Skype:
>>
>> http://en.wikipedia.org/wiki/Joost
>>
>> Matt
>> --  
>> View this message in context: http://www.nabble.com/Joost-uses- 
>> Wicket-tf3390296.html#a9437082
>> 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



signature.asc
Description: OpenPGP digital signature
-
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 in2.0

2007-03-08 Thread cowwoc

The point *was* that onWire should get called whenever the parent
changes (i.e. when moving a component to another parent). If one wishes
to listen for hierarchy changes one could implement some event listener
mechanism to that effect by overriding onWire() of the ancestor nodes
and have them fire an event down to interested descendants when onWire()
gets fired on them.

I don't claim to solve all theoretical use-cases that users might come
up with, I am simply commenting on the existing use-cases that have been
brought up.

Gili

Igor Vaynberg wrote:
> what happens when you move the component to another parent? will onWire
> be called again? and if not can we have a method that will please? and
> then another method if the component's hierarchy changes - a components
> ancestor is moved.
> 
> point being only a small percentage of wicket components care about
> this, and we provide a general solution which is onattach and ondetach,
> and will not provide ten thousand other solutions that cover ten
> thousand esoteric usecases users can come up with.
> 
> just my 2c.
> 
> -igor
> 
> 
> On 3/8/07, *cowwoc* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
> That's why I used the terminology onWire() as opposed to
> onAdd(). My
> point was that you should shift the burden of isInitialized() away from
> the end-user over to Wicket. When a component's ancestors (all the way
> up to the top-most component) are connected the first time or changed at
> some later time Wicket invokes onWire(), at which point the component
> modifies its state accordingly. This behavior differs from
> onAttach() in
> that the latter assumes that wiring will always take place at render
> time. onWire() allows you to do the wiring either shortly after
> construction time or at render-time depending on whether all ancestors
> have been defined or not.
> 
> It guarantees that errors will be thrown as soon as
> technically possible.
> 
> Gili
> 
> Eelco Hillenius wrote:
> > The problem with that is that the 2.0 constructor actually forced the
> > whole parent hierarchy to be in place, while add in 1.x just means it
> > is added to the parent without any guarantee the parent is added to
> > the parent yet. So even if we would provide onWire (though onAdd would
> > be better then) it wouldn't be safe to do things like getMarkupId.
> > onAttach is safe for that, as by then the rendering phase is reached.
> >
> > Eelco
> >
> >
> > On 3/8/07, cowwoc <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> >> Alternatively:
> >>
> >> 1) Components are POJOs. Users can define whatever constructor
> they want.
> >>
> >> 2) Users always use add() to associate a parent with a component
> but you
> >> move the component wiring out of the constructor and into a onWire()
> >> method. Now, whenever the hierarchy/parent changes onWire() gets
> >> invoked. So components with dynamic hierarchies get onWire() once
> per
> >> rendering whereas components with static hierarchies only have this
> >> method invoked once. Users can then remove isInitialized() so long as
> >> they invoke their methods from inside onWire().
> >>
> >> Gili
> >>
> >> Eelco Hillenius wrote:
> >>>> How about a hybrid system?
> >>>>
> >>>> Is there a clear-cut way to know up-front which
> components have an
> >>>> immutable parent versus others that might require it to change
> during
> >>>> rendering time? If so, couldn't you require the use of
> constructors that
> >>>> take a parent for components whose parents are immutable and
> then for
> >>>> all other components use the add() paradigm?
> >>> The largest problem with that would be that it would be inconsistent
> >>> for users. So apart from whether this is achievable, I wouldn't
> like
> >>> it as it would be too confusing.
> >>>
> >>> 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

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-08 Thread cowwoc

That's why I used the terminology onWire() as opposed to onAdd(). My
point was that you should shift the burden of isInitialized() away from
the end-user over to Wicket. When a component's ancestors (all the way
up to the top-most component) are connected the first time or changed at
some later time Wicket invokes onWire(), at which point the component
modifies its state accordingly. This behavior differs from onAttach() in
that the latter assumes that wiring will always take place at render
time. onWire() allows you to do the wiring either shortly after
construction time or at render-time depending on whether all ancestors
have been defined or not.

It guarantees that errors will be thrown as soon as technically 
possible.

Gili

Eelco Hillenius wrote:
> The problem with that is that the 2.0 constructor actually forced the
> whole parent hierarchy to be in place, while add in 1.x just means it
> is added to the parent without any guarantee the parent is added to
> the parent yet. So even if we would provide onWire (though onAdd would
> be better then) it wouldn't be safe to do things like getMarkupId.
> onAttach is safe for that, as by then the rendering phase is reached.
> 
> Eelco
> 
> 
> On 3/8/07, cowwoc <[EMAIL PROTECTED]> wrote:
>> Alternatively:
>>
>> 1) Components are POJOs. Users can define whatever constructor they want.
>>
>> 2) Users always use add() to associate a parent with a component but you
>> move the component wiring out of the constructor and into a onWire()
>> method. Now, whenever the hierarchy/parent changes onWire() gets
>> invoked. So components with dynamic hierarchies get onWire() once per
>> rendering whereas components with static hierarchies only have this
>> method invoked once. Users can then remove isInitialized() so long as
>> they invoke their methods from inside onWire().
>>
>> Gili
>>
>> Eelco Hillenius wrote:
>>>> How about a hybrid system?
>>>>
>>>> Is there a clear-cut way to know up-front which components have an
>>>> immutable parent versus others that might require it to change during
>>>> rendering time? If so, couldn't you require the use of constructors that
>>>> take a parent for components whose parents are immutable and then for
>>>> all other components use the add() paradigm?
>>> The largest problem with that would be that it would be inconsistent
>>> for users. So apart from whether this is achievable, I wouldn't like
>>> it as it would be too confusing.
>>>
>>> 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
>>
>>
>>
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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 in2.0

2007-03-08 Thread cowwoc

Alternatively:

1) Components are POJOs. Users can define whatever constructor they want.

2) Users always use add() to associate a parent with a component but you
move the component wiring out of the constructor and into a onWire()
method. Now, whenever the hierarchy/parent changes onWire() gets
invoked. So components with dynamic hierarchies get onWire() once per
rendering whereas components with static hierarchies only have this
method invoked once. Users can then remove isInitialized() so long as
they invoke their methods from inside onWire().

Gili

Eelco Hillenius wrote:
>> How about a hybrid system?
>>
>> Is there a clear-cut way to know up-front which components have an
>> immutable parent versus others that might require it to change during
>> rendering time? If so, couldn't you require the use of constructors that
>> take a parent for components whose parents are immutable and then for
>> all other components use the add() paradigm?
> 
> The largest problem with that would be that it would be inconsistent
> for users. So apart from whether this is achievable, I wouldn't like
> it as it would be too confusing.
> 
> 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



signature.asc
Description: OpenPGP digital signature
-
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 in2.0

2007-03-08 Thread cowwoc

How about a hybrid system?

Is there a clear-cut way to know up-front which components have an
immutable parent versus others that might require it to change during
rendering time? If so, couldn't you require the use of constructors that
take a parent for components whose parents are immutable and then for
all other components use the add() paradigm?

It seems to me that any component that knows up-front that its parent
is supposed to change between renderings will not run any operations
that depend on that parent until render time -- hence no need to add a
isInitialized() sanity check from all your methods. All methods that
depend on the parent should only be invoked at render time and if the
component has no parent it will never be rendered in the first place
hence there is no reason to check isInitialized() again.

On the other hand, other components that require an immutable parent
can then require it in their constructor and their methods can
implicitly assume it exists without that isInitialized() check.

Gili



signature.asc
Description: OpenPGP digital signature
-
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-06 Thread cowwoc

Why does "code explosion" happen as a consequence of the constructor
change?

Gili

Igor Vaynberg wrote:
> pros:
> 
> * free to call any method in the constructor like getpage(), urlfor(), etc.
> 
> * access to markup attributes in constructor as opposed to render time
> 
> * fail at component instantiation time rather then render time if there
> is a hierarchy<->java mismatch - so you get a java line-precise error as
> opposed to our error webpage
> 
> cons:
> 
> * code explosion
> 2.0: http://papernapkin.org/pastebin/view/4900
> 1.3: http://papernapkin.org/pastebin/view/4908
> 
> 
> * hacks necessary for nontrivial components
> GridView.populate()
> http://papernapkin.org/pastebin/view/4902
> notice fake1,fake2 parents necessary for child item instantiation and
> which are later removed
> 
> * more limited in how the hierarchy is created since it MUST be created
> top-down
> 
> * replacing components is less explicit.
> 1.3: a.replaceWith(new B());
> 2.0: new B(a.getParent(), a.getId());
> 
> -igor
> 
> 
> 
> 
> On 3/6/07, *Jonathan Locke* <[EMAIL PROTECTED]
> > wrote:
> 
> 
> 
> i would like to see a list of what we'd lose by not supporting the
> constructor change.  i actually prefer the add() usage and always
> have.  i just don't want us to forget why we originally wanted to
> make the constructor change.  the only two things i can recall are:
> 
> - better diagnostics, but i can't recall exactly /what/ diagnostics we
> thought we'd get
> 
> - ability to make component init dependent on parental
> context.  this might
> be either xml association or component data somehow.  i can't think
> of any
> times i've been screaming to do this, but can anyone give some of
> the best
> examples so we can evaluate what we'd be losing here?
> 
> 
> Eelco Hillenius 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
> 
> >
> >
> 
> --
> View this message in context:
> 
> http://www.nabble.com/IMPORTANT%3A-your-opinion-on-the-constructor-change-in-2.0-tf3358738.html#a9342589
> 
> 
> 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
> 
> 
> 
> 
> 
> 

Re: [Wicket-user] Wicket dev job in the LA Area

2007-02-22 Thread cowwoc

Ugh! Sorry for mistakenly posting this to the entire list :(

Gili

cowwoc wrote:
> Hi Daniel,
> 
>   I apologize if you get this email twice, as a power-out knocked out my
> computer the last time I sent this out so I'm not sure whether you got
> it or not :)
> 
>   I've attached my CV to this email. I am interested in applying for the
> Senior Software Engineer position and I would appreciate you giving more
> background on the position such as:
> 
> 1) Contractor or Full-Time? The former appeals to me strictly from a
> tax-deduction point of view :)
> 
> 2) Typical working hours? 40, 50, 60 hours a week?
> 
> 3) Size and makeup of the team I'd be working with.
> 
> 4) Working environment at Fox. What is the feel like? What kind of
> benefits does Fox offer? What are the career advancement opportunities
> like at Fox?
> 
> Thank you,
> Gili
> 
> Daniel Gould wrote:
>> Hopefully a job listing isn't out-of-place on wicket-user (if so, I
>> appologize).
>>
>> We are looking for two great wicket developers at FIM Labs, a newly-formed
>> new product research and development group at Fox Interactive Media.  We're
>> building a high-profile site witin MySpace using Wicket, and have a bunch of
>> other interesting projects going on.
>>
>> We're a small group that maintains a startup culture while still having
>> access to the resources of Fox (MySpace, FoxSports.com, IGN,
>> AmericanIdol.com, etc).  Or focus is on new social web applications.  Right
>> now, our group has one Software Engineer and one Sr. Software Engineer
>> position open. 
>>
>> We're in the LA area, but we'd be willing to relocate the right person.
>>
>> While we normally go though HR, feel free to send resumes for this position
>> to me (Daniel dot Gould at fox com) and I will forward them along to HR.
>>
>> The job listing is below; that said, we care far more about smart people who
>> can pick things up than any laundry list of tools and languages.  (The HR
>> folks normally attach all the info about benefits, free movies on the Fox
>> lot, lunch at our building, stuff about being an equal oppt'y employer, and
>> all that to the bottom of these, but I wanted to send this out to the wicket
>> community right away, so if you need the even more official version, let me
>> know.)
>>



signature.asc
Description: OpenPGP digital signature
-
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-contrib-javaee 1.0 release

2007-01-23 Thread cowwoc

Any JPA library in the works? Specifically I am looking for a
replacement for wicket-stuff-hibernate-3.0

Gili

Filippo Diotalevi wrote:
> Hi,
>just a quick post to announce that tonight I've released the first
> public version of wicket-contrib-javaee (1.0), a module for Wicket
> that provides integration with Java EE 5
> With wicket-javaee you can use in your wicket pages three annotations
> * @EJB
> * @PersistenceUnit
> * @Resource
> This release works with Wicket 1.2.x; a version for Wicket 2 is under
> construction.
> 
> The release is available at:
> https://sourceforge.net/project/showfiles.php?group_id=134391&package_id=219263
> 
> the documentation is available at:
> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee
> 
> --
> Filippo Diotalevi
> http://www.diotalevi.com
> 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



signature.asc
Description: OpenPGP digital signature
-
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] Interesting alternatives to Hibernate

2006-11-28 Thread cowwoc

Anyone ever look into Mr. Persister? Is it any good?
http://www.jenkov.com/mrpersister/introduction.tmpl

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

Thank you :) So assuming bookmarkable forms are 100% solved in Wicket
2.0 I think this covers all bases.

Gili

Eelco Hillenius wrote:
>> For example, if you go to Amazon, add some book to your cart do
>> "checkout" and copy/paste that the URL into someone else's browser it'll
>> recover gracefully by redirecting you to some page displaying something
>> related to cart (maybe it displays your cart as empty) or some page
>> displaying a list of products. The point is that it handles this
>> gracefully instead of displaying any sort of "oops you screwed up" page.
> 
> Yes, that is planned. See Matej's RFE.
> 
> 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



signature.asc
Description: OpenPGP digital signature
-
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] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

Eelco, one of the points I tried making (and seemed to have gotten lost
in the loop) is this:

1) User is viewing a non-bookmarkable page
http://www.google.com/Main/Start?wicket:interface=:0:: but wicket
displays http://www.google.com/Start in his URL bar instead (not sure if
this is technically possible, but assume it is this for a moment)

2) If the user then tries copy/pasting the URL into someone else's
browser it'll display the original bookmarkable page which led to the
non-bookmarkable page.

The benefit there is that the user will never get a "Page Expired" page
and instead get behavior we already see on other commercial websites
which is basically that users understand that Amazon stores some some
personal information in your browser cookie and *some* URLs you cannot
simply copy/pasted to your friend and if you do it'll take you to some
alternate page instead.

For example, if you go to Amazon, add some book to your cart do
"checkout" and copy/paste that the URL into someone else's browser it'll
recover gracefully by redirecting you to some page displaying something
related to cart (maybe it displays your cart as empty) or some page
displaying a list of products. The point is that it handles this
gracefully instead of displaying any sort of "oops you screwed up" page.

I am suggesting you might consider making this behavior default in
Wicket production mode. Even if you can't hide the non-bookmarkable URLs
in step 1, consider making it such that if a user pastes it into a
browser it redirects him to the original bookmarkable instead of the
Page Expired page (or you could make this behavior further configurable
by adding some hooks).

Just food for thought. It might be a good idea or not.

Gili

Eelco Hillenius wrote:
> Look, this discussion every time again is getting old. It has been
> stated many times before: the difference between Wicket and many other
> frameworks is that Wicket's URL are 'safe' *by default*; if you want
> them to be public (bookmarkable), you have to be explicit about it.
> With other frameworks, you have to do something extra to make the
> URL's secure. Imo, and certainly for the desktop-like apps I'm
> building, the safe by default option is better. For public facing,
> open apps, this might be inconvenient. But it is not much work to make
> pages bookmarkable, and we're still working (Matej had some cool
> ideas) to improve URLs so that even non-bookmarkable pages are
> recoverable to some extend. However, Wicket will be a safe by default
> framework in future too. If that's something that is problematic for
> you, you can always consider using another framework. But you'll find
> there is always something *not* to like about a framework.
> 
> Eelco
> 
> 
> On 11/22/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>>> I think you're missing a very important use-case. I created a Wicket
>>> webapp at work, what happens on a weekly basis is that someone sees
>>> something he wants to discuss so he copy/pastes the URL from his browser
>>> into an email. Non-nice URLs shouldn't even be visible for people to
>>> mistakenly export.
>>>
>>> Sometimes someone just wants to give someone else a link to my 
>>> webapp
>>> (not expecting it to display anything in particular) and it just so
>>> happens their browser has it open with a non-nice URL. Again, they will
>>> copy/paste that and the receiver will get an ugly URL and Page Expired.
>> So PLAN for that then. If you want a URL to be bookmarkable implement
>> that! What about step X of wizard Y? The checkout part of an online
>> store? Stuff like that... did you ever try to send an email with a
>> link like that and expect it to work?
>>
>> 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



signature.asc
Description: OpenPGP digital signature
-
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] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

When Wicket 2.0 is released and I can use bookmarkable forms I will
quite gladly use it. I am simply pointing out the problems with the
current design. BTW, Wicket 2.0 does completely solve this, right?

Gili

Eelco Hillenius wrote:
>> I think you're missing a very important use-case. I created a Wicket
>> webapp at work, what happens on a weekly basis is that someone sees
>> something he wants to discuss so he copy/pastes the URL from his browser
>> into an email. Non-nice URLs shouldn't even be visible for people to
>> mistakenly export.
>>
>> Sometimes someone just wants to give someone else a link to my webapp
>> (not expecting it to display anything in particular) and it just so
>> happens their browser has it open with a non-nice URL. Again, they will
>> copy/paste that and the receiver will get an ugly URL and Page Expired.
> 
> So PLAN for that then. If you want a URL to be bookmarkable implement
> that! What about step X of wizard Y? The checkout part of an online
> store? Stuff like that... did you ever try to send an email with a
> link like that and expect it to work?
> 
> 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



signature.asc
Description: OpenPGP digital signature
-
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] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

Again, I refer you to Tapestry. Obviously I wouldn't want the kind of
URL you pasted but if you look at Tapestry's screencast they don't add
*anything* to the URL. Now, it could very well be that this is something
specific to small examples and does not work for bigger ones but it
could also very well be that Tapestry is handling this in some way we're
not familiar with.

Gili

Igor Vaynberg wrote:
> yeah? and what happens when your component property is not a primitive?
> 
> are you then happy with
> http://www.google.com/Start.html?param1=A98AS98AA8947A8947A8947A89478A97A94879A847A9879A8479A8479A847A9847A9487A4987A4987A498A749A8749A8479A84789A7498A7498A7498A47A9847A984789A7498A4
> 
> which would be the base64 encoded string of that non primitive?
> 
> or would you like to make everything into a post and have client pages
> get huge?
> 
> or do you only restrict component properties to primitives?
> 
> -igor
> 
> 
> 
> On 11/22/06, *cowwoc* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
> heh, if I had to choose between:
> 
> http://www.google.com/Start.html
> 
> and
> 
> http://www.google.com/Main/Start?wicket:interface=:0::
> 
> I'd choose the first time time and time again. There is the
> interface
> part which I'd love to hide from users (they shouldn't ever be
> explicitly pasting that anyway because you'll end up with Page Expired)
> and there is also the fact that they don't seem to require some sort of
> base context path or there is some sort of "magic" going on to hide it.
> Either way it looks better than Wicket :)
> 
> Gili
> 
> Matej Knopp wrote:
> > Nice URLS?
> >
> > Well.. I don't know, to me it doesn't look that great. I mean it
> seem to
> > miss an information.  What happens if you open the page in multiple
> > browser windows? If the URL is same, how
> > will tapestry reconstruct the data?
> >
> > And also, does the Tapestry 5 finally supports dynamically changing
> > components hierarchy? Or nested components? Or is it still the [1]page
> > [0..n]Components approach?
> >
> > In Wicket the URLs will look much better in 2.0 than they look now
> - as
> > we will persist the mount path after requests, but it will take some
> > time to implement.
> >
> > -Matej
> >
> > cowwoc wrote:
> >>  Two questions about:
> >> http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html
> >>
> >> 1) How did they get "instantaneous" page reloads working?
> >> 2) How did they get their URLs to remain "nice" even though the
> >> underlying state is changing?
> >>
> >>  and what is the implications for Wicket? I suspect you guys
> have seen
> >> this before. Can you please comment on why Wicket does not do
> something
> >> similar? Is it something to do with the amount of client-side
> state they
> >> use?
> >>
> >> Thanks,
> >> Gili
> >>
> >>
> >>
> >>
> 
> >>
> >>
> -
> 
> >> 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

Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

If you can't copy/paste that additional information anyway (because
you'll get a Page Expired) then it shouldn't be visible at all so people
don't even make the mistake of including it.

I agree with you that Wicket somehow has to know that window1 has a
different state than window2 and if this isn't reflected somehow in the
URL then where is it stored? But I am also saying that Tapestry seems to
do that *somehow* and if we can do the same then we should do so.

Gili

Matej Knopp wrote:
> Again and again.
> What would do if you open the start.html page in two browsers windows? 
> Or don't your users do that? The additional information in url is not 
> there for fun. There is a good reason for that.
> 
> And give us some time, after the refactor planed for 2.0 it should be 
> possible to get rid of the "wicket" thing from url.
> 
> -Matej
> 
> cowwoc wrote:
>>  heh, if I had to choose between:
>>
>> http://www.google.com/Start.html
>>
>>  and
>>
>> http://www.google.com/Main/Start?wicket:interface=:0::
>>
>>  I'd choose the first time time and time again. There is the interface
>> part which I'd love to hide from users (they shouldn't ever be
>> explicitly pasting that anyway because you'll end up with Page Expired)
>> and there is also the fact that they don't seem to require some sort of
>> base context path or there is some sort of "magic" going on to hide it.
>> Either way it looks better than Wicket :)
>>
>> Gili
>>
>> Matej Knopp wrote:
>>> Nice URLS?
>>>
>>> Well.. I don't know, to me it doesn't look that great. I mean it seem to 
>>> miss an information.  What happens if you open the page in multiple 
>>> browser windows? If the URL is same, how
>>> will tapestry reconstruct the data?
>>>
>>> And also, does the Tapestry 5 finally supports dynamically changing 
>>> components hierarchy? Or nested components? Or is it still the [1]page 
>>> [0..n]Components approach?
>>>
>>> In Wicket the URLs will look much better in 2.0 than they look now - as
>>> we will persist the mount path after requests, but it will take some
>>> time to implement.
>>>
>>> -Matej
>>>
>>> cowwoc wrote:
>>>>Two questions about:
>>>> http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html
>>>>
>>>> 1) How did they get "instantaneous" page reloads working?
>>>> 2) How did they get their URLs to remain "nice" even though the
>>>> underlying state is changing?
>>>>
>>>>and what is the implications for Wicket? I suspect you guys have seen
>>>> this before. Can you please comment on why Wicket does not do something
>>>> similar? Is it something to do with the amount of client-side state they
>>>> use?
>>>>
>>>> Thanks,
>>>> Gili
>>>>
>>>>
>>>>
>>>> 
>>>>
>>>> -
>>>> 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] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

I think you're missing a very important use-case. I created a Wicket
webapp at work, what happens on a weekly basis is that someone sees
something he wants to discuss so he copy/pastes the URL from his browser
into an email. Non-nice URLs shouldn't even be visible for people to
mistakenly export.

Sometimes someone just wants to give someone else a link to my webapp
(not expecting it to display anything in particular) and it just so
happens their browser has it open with a non-nice URL. Again, they will
copy/paste that and the receiver will get an ugly URL and Page Expired.

Gili

Johan Compagner wrote:
> when do you "choose" an url?
> 
> urls only have to be "nice" when they are "exported" like links you
> click on in external resources, mails for example
> 
> internally it doesn't matter to much for the webapplications you make
> with wicket.
> 
> johan
> 
> 
> On 11/22/06, *cowwoc* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
> heh, if I had to choose between:
> 
> http://www.google.com/Start.html
> 
> and
> 
> http://www.google.com/Main/Start?wicket:interface=:0::
> 
> I'd choose the first time time and time again. There is the
> interface
> part which I'd love to hide from users (they shouldn't ever be
> explicitly pasting that anyway because you'll end up with Page Expired)
> and there is also the fact that they don't seem to require some sort of
> base context path or there is some sort of "magic" going on to hide it.
> Either way it looks better than Wicket :)
> 
> Gili
> 
> Matej Knopp wrote:
> > Nice URLS?
> >
> > Well.. I don't know, to me it doesn't look that great. I mean it
> seem to
> > miss an information.  What happens if you open the page in multiple
> > browser windows? If the URL is same, how
> > will tapestry reconstruct the data?
> >
> > And also, does the Tapestry 5 finally supports dynamically changing
> > components hierarchy? Or nested components? Or is it still the [1]page
> > [0..n]Components approach?
> >
> > In Wicket the URLs will look much better in 2.0 than they look now
> - as
> > we will persist the mount path after requests, but it will take some
> > time to implement.
> >
> > -Matej
> >
> > cowwoc wrote:
> >>  Two questions about:
> >> http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html
> >>
> >> 1) How did they get "instantaneous" page reloads working?
> >> 2) How did they get their URLs to remain "nice" even though the
> >> underlying state is changing?
> >>
> >>  and what is the implications for Wicket? I suspect you guys
> have seen
> >> this before. Can you please comment on why Wicket does not do
> something
> >> similar? Is it something to do with the amount of client-side
> state they
> >> use?
> >>
> >> Thanks,
> >> Gili
> >>
> >>
> >>
> >>
> 
> >>
> >>
> -
> 
> >> 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'l

Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-22 Thread cowwoc

heh, if I had to choose between:

http://www.google.com/Start.html

and

http://www.google.com/Main/Start?wicket:interface=:0::

I'd choose the first time time and time again. There is the interface
part which I'd love to hide from users (they shouldn't ever be
explicitly pasting that anyway because you'll end up with Page Expired)
and there is also the fact that they don't seem to require some sort of
base context path or there is some sort of "magic" going on to hide it.
Either way it looks better than Wicket :)

Gili

Matej Knopp wrote:
> Nice URLS?
> 
> Well.. I don't know, to me it doesn't look that great. I mean it seem to 
> miss an information.  What happens if you open the page in multiple 
> browser windows? If the URL is same, how
> will tapestry reconstruct the data?
> 
> And also, does the Tapestry 5 finally supports dynamically changing 
> components hierarchy? Or nested components? Or is it still the [1]page 
> [0..n]Components approach?
> 
> In Wicket the URLs will look much better in 2.0 than they look now - as
> we will persist the mount path after requests, but it will take some
> time to implement.
> 
> -Matej
> 
> cowwoc wrote:
>>  Two questions about:
>> http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html
>>
>> 1) How did they get "instantaneous" page reloads working?
>> 2) How did they get their URLs to remain "nice" even though the
>> underlying state is changing?
>>
>>  and what is the implications for Wicket? I suspect you guys have seen
>> this before. Can you please comment on why Wicket does not do something
>> similar? Is it something to do with the amount of client-side state they
>> use?
>>
>> Thanks,
>> Gili
>>
>>
>>
>> 
>>
>> -
>> 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



signature.asc
Description: OpenPGP digital signature
-
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] Tapestry 5 instantaneous reloads

2006-11-21 Thread cowwoc

Two questions about:
http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html

1) How did they get "instantaneous" page reloads working?
2) How did they get their URLs to remain "nice" even though the
underlying state is changing?

and what is the implications for Wicket? I suspect you guys have seen
this before. Can you please comment on why Wicket does not do something
similar? Is it something to do with the amount of client-side state they
use?

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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 cowwoc

I'd much prefer JPA integration. I don't see one as part of databinder.
I know Cheeser was working on one. Has anyone got a finished version we
could use?

Gili

Igor Vaynberg wrote:
> wicket-contrib-data-hibernate-3.0  can prob go to the glue factory now
> that databinder.net <http://databinder.net> is around
> 
> -igor
> 
> 
> On 11/21/06, *cowwoc* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> James McLaughlin wrote:
> > wicket-contrib-auth-class-roles  cowwoc
> > wicket-contrib-data  cowwoc
> > wicket-contrib-data-hibernate-3.0  cowwoc
> 
> I am the owner of the first one and yes I plan on
> maintaining it. I am
> not the owner of the last two though I committed Netbeans project files
> for them.
> 
> Gili
> 
> 
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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] DropDownChoice.onSelectionChanged() and Form button

2006-11-15 Thread cowwoc

Arrgh! Problem solved:
http://www.webprodevelopment.com/BrightLight/archives/17-this.form.submit-is-not-a-function.-Really,-its-an-object!.html

BTW: This issue was aggravated by the fact that I had
wicket:id="submit" and Wicket copied that value over to an attribute
"name" also equal to "submit".

It would be nice if Wicket would be smart enough to avoid these kinds
of reserved words, especially in light of how confusing the error
message is :)

Gili

cowwoc wrote:
> Hi,
> 
>   If I have a form with a single DropDownChoice with a onSelectionChanged
> listener then it gets invoked fine when I change the selection. The
> moment I add a "Submit" button into the form alongside the
> DropDownChoice, then the event no longer gets fired when I change the
> selection. FireFox's JS engine fails with:
> 
> Error: document.getElementById("unassignUserForm").submit is not a function
> 
>   In other words, it is no longer legal to invoke form.submit() the
> moment a button is added into the form. Is this some sort of bug in
> FireFox or Wicket? Or is this some sort of "feature" of HTML and if so
> is there a workaround?
> 
> Environment: FireFox 2.0, Wicket 1.2.3
> 
> Thanks,
> Gili
> 



signature.asc
Description: OpenPGP digital signature
-
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] DropDownChoice.onSelectionChanged() and Form button

2006-11-15 Thread cowwoc
Hi,

If I have a form with a single DropDownChoice with a onSelectionChanged
listener then it gets invoked fine when I change the selection. The
moment I add a "Submit" button into the form alongside the
DropDownChoice, then the event no longer gets fired when I change the
selection. FireFox's JS engine fails with:

Error: document.getElementById("unassignUserForm").submit is not a function

In other words, it is no longer legal to invoke form.submit() the
moment a button is added into the form. Is this some sort of bug in
FireFox or Wicket? Or is this some sort of "feature" of HTML and if so
is there a workaround?

Environment: FireFox 2.0, Wicket 1.2.3

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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] [Fwd: Emory Utilities]

2006-11-03 Thread cowwoc

Cross-post from the JINI mailing list that might be of some interest to
the wicket development team. Can't you use this to fix the JAR reloading
problem you discussed earlier?

Gili

 Original Message 
Seems like some of these classes (especially the URIClassLoader that
fixes some URLCLassLoader issues wrt reloading of classes) may be of
use in the community. Anybody have any experience or thoughts about
these utilities?

http://dcl.mathcs.emory.edu/util/features.php

Dennis



signature.asc
Description: OpenPGP digital signature
-
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] Nice Url

2006-10-19 Thread cowwoc

What about bookmarkable pages containing Forms? Is this still in the 
works?

Gili

Korbinian Bachl wrote:
> Hi,
>  
> yes it is possible, look here for detailed:
> http://www.javalobby.org/java/forums/t68753.html
>  
> you can then provide parameters via the PageParameter param - if this doesnt
> satisfy you (e.g: some special needs for URL) then you may also use a own
> implementation of IRequestTargetURLCodingStrategy  - a good beginnning there
> is examining the WOOGLE project and look at its URL Strategy
> (/q/queryword/page) - 
>  
> best Regards,
>  
> Korbinian
>  
> 
> 
> 
> 
>   Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Dipu
>   Gesendet: Donnerstag, 19. Oktober 2006 14:37
>   An: wicket-user@lists.sourceforge.net
>   Betreff: [Wicket-user] Nice Url
>   
>   
>   HI all, 
>
>   Is there anyway to make the non bookmarkable page urls look nicer.
>   I am using the wicket version 1.2.1
>
>   I need to display the urls like
>  
>   /x
>   /x/searching
>   /x/searchresults
>   /x/payment
>   /x/confirmation
>
>   Kind Regards
>   Dipu
> 
> 
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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 commit rights

2006-10-16 Thread cowwoc

Sorry for mistakenly posting this to the entire list :( Serves me right
for clicking "Reply all" :)

On a sidenote, this turned out to be due to sf.net weirdness. I needed
to explicitly logout, change my password and log back in to my sf.net
account and that seemed to resolve it.

Gili

cowwoc wrote:
> Hi Martijn,
> 
>   I wanted to commit some updated to the wicket-contrib-auth-class-roles
> module which I am the author of but SVN won't accept my sourceforge
> username/password. Is it possible my commit rights went away again?
> Please verify what the problem is and let me know when I can commit the
> changes. The username is "cowwoc"
> 
> Thanks,
> Gili
> 



signature.asc
Description: OpenPGP digital signature
-
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] wicket-stuff commit rights

2006-10-16 Thread cowwoc
Hi Martijn,

I wanted to commit some updated to the wicket-contrib-auth-class-roles
module which I am the author of but SVN won't accept my sourceforge
username/password. Is it possible my commit rights went away again?
Please verify what the problem is and let me know when I can commit the
changes. The username is "cowwoc"

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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] wicket-contrib-data-ejb3

2006-10-16 Thread cowwoc
Hi,

There exists a module called wicket-contrib-data-hibernate-3.0. Are
there plans for releasing wicket-contrib-data-ejb3 in the near future? I
know Cheeser was working on one but I don't know how far along it is.

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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] JBOSS Reload Classes

2006-10-06 Thread cowwoc

uh :) I understand he mentioned he's having issues with JBOSS but
baring that I would agree with him that developing under one platform
and deploying into another is asking for trouble. Jetty can't possibly
behave 100% like your target platform.

I personally use Netbeans with Tomcat or Glassfish. It integrates quite
nice (auto reloads and all).

Gili

Gwyn Evans wrote:
> "Dude", you'd have been better to stop at "I'm not here to get into an
> argument".  The point that you missed is that Wicket can normally be
> developed very well using Jetty on my laptop as the most convienient
> way of running the web-app, then deployed onto whatever production
> appserver is required - personally, I deploy to a WebLogic system on
> Solaris.
> 
> /Gwyn
> 
> On 06/10/06, craigdd <[EMAIL PROTECTED]> wrote:
>> Dude, I'm not here to get into an argument here, but you obviously haven't
>> worked in many corporate settings, you don't always get to pick and choose
>> which app servers you are using.  Jetty is NOT an option for us.
>>
>> As for the redeployment, that is a fine idea, however with the size of our
>> application redeploying is extremely slow, way worse then compiling to the
>> WEB-INF/classes dir and bouncing the container.
>>
>>
>>
>> igor.vaynberg wrote:
>>> mainstream enough to attract developers that are smart enough to figure
>>> out
>>> that the path of least resistence is to develop on jetty and deploy on
>>> jboss
>>> :)
>>>
>>> if you need app server features like ejb then the solution is not to
>>> restart
>>> the server, but to force it to redeploy your app.
>>>
>>> -Igor
>>>
>>>
>>> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:

 Yes, my next step is to check the jboss forums, I sort of figured a lot
 of
 people that where using wicket might also be using jboss and had figured
 out
 this issue because it greatly affects the efficiency of development.

 I'm getting the impression that most people are using jetty with wicket
 which makes me wonder how main stream this framework is.



 igor.vaynberg wrote:
> why not ask on the jboss forums? what you want to ask is that if jboss
 can
> be launched to take advantage of jvm's hotswap.
>
> -Igor
>
>
> On 10/6/06, craigdd <[EMAIL PROTECTED]> wrote:
>>
>> So in other words the out come to my question is that NO, jboss can
 not
>> be
>> configured to reloaded changed classes without restarting the
 container.
>>
>>
>> Erik van Oosten wrote:
>>> Martijn Dashorst wrote:
 Doesn't JBoss IDE start the jboss container in debug mode?
>>> Indeed, it does start jboss in debug mode.
>>>
>>> craigdd wrote:
>>>
 I don't think debug mode in jboss allows the reloading of classes,
 i
 believe
 it it just for remote debugging.

>>> Indeed again, JBoss is directly started from Eclipse (as all
 programs
>>> you start from Eclipse). Strictly there is no class reloading, but
 you
>>> _can_ change classes on the fly. Just remember that when you restart
>>> JBoss, you must recompile and redeploy your changed classes.
>>>
>>> Regards,
>>>  Erik.
>>>
>>>
>>> --
>>> Erik van Oosten
>>> http://day-to-day-stuff.blogspot.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
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6683715
>> 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 

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread cowwoc

I'm in favor of Session.get() returning null in 2.0, if not earlier.
You could add exists() in 1.3 and deprecate it in 2.0.

Gili

Frank Bille wrote:
> I guess it would be more like a Session.exists() :)
> 
> +1 for that. it's backportable.
> 
> Frank
> 
> 
> On 8/26/06, *Jaime De La Jara* < [EMAIL PROTECTED]
> > wrote:
> 
> I think Igor proposal, session.exists(), is correct and it could be
> added without
> any impact.
> 
> Jaime.
> 
> 
> 
> 
> >i think thats better then an npe, didnt even know we were doing that. so
> > either this or add a session.exists() so you can test for it.
>  
> > -Igor
>  
>  
>  
>  On 8/25/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>  >
>  > I thought about that myself too. I'd be fine letting
>  > RequestCycle.get (), Session.get() and Application.get() return
> null if
>  > the thread local is not set. What do others think of this?
>  >
>  > Eelco
>  >
>  >
>  > On 8/25/06, Jaime De La Jara <[EMAIL PROTECTED]> wrote:
>  > > Hi, I was wondering why Session.get() throws a
> WicketRuntimeException if
>  > the
>  > > session does not exists, in my app I define an
> AuthorizationStrategy and
>  > I'm
>  > > also using some spring interceptors where I get a user object
> that is
>  > saved
>  > > in the session but I had to include a try/catch block in each
> case to
>  > > prevent a NEP in the former case. If the session is null why it
> does not
>  > > return it?
>  > >
>  > > Thanks.
>  > >
>  > > Jaime.
> 
> 
> All-new Yahoo! Mail
> 
> -
> Fire up a more powerful email and get things done faster.
> 
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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] Javaref.com

2006-08-23 Thread cowwoc

I personally dislike their UI. The technology might be nice and well
but they need some UI guy to clean things up. Just my 2 cents.

Gili

Nathan Hamblen wrote:
> Take a look, if you haven't already: it's VERY well done. And it's done
> in Tapestry. Yay for second-gen Web frameworks, or something.
> 
> Nathan
> 
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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 J5EE combo?

2006-08-01 Thread cowwoc

There are some related blogs here: http://blogs.sun.com/geertjan

Gili

Ayodeji Aladejebi wrote:
> please,
> 
> who has successfully implemented these combo
> 
> Glassfish + EJB3 + Wicket + NB5.5anyone with some quick start for these
> 
> 



signature.asc
Description: OpenPGP digital signature
-
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] [Spam] Re: CSS background images

2006-08-01 Thread cowwoc

Upon first glance, looks good ;) Maybe you guys should roll it up into
core  

Gili

Al Maw wrote:
> Igor Vaynberg wrote:
>> i guess it is not something that we support right now, but something
>> that is cleary needed. we need to build a resource that can load a css
>> file, parse for images, replace them, and then serve the altered content.
>>
>> i know almaw has been working on something like this but i dont know how
>> far he got. a patch would be welcome, if not then i guess you will have
>> to wait until one of the core devels has the time.
> 
> Sorry for the late reply - been on holiday. Please find attached
> something that might be useful.
> 
> You'll need to change CssResource#getResourceStream() to understand how
> to tell if your app is in debug mode or not (see discussion on the dev
> list a week or two ago about that).
> 
> Best regards,
> 
> Al Maw
> 
> 
> 
> 
> package foo.wicket.resources;
> 
> import wicket.Application;
> import wicket.AttributeModifier;
> import wicket.Component;
> import wicket.ResourceReference;
> import wicket.SharedResources;
> import wicket.markup.ComponentTag;
> import wicket.markup.html.WebMarkupContainer;
> import wicket.model.IModel;
> import wicket.model.Model;
> import wicket.util.value.ValueMap;
> 
> /**
>  * Created on 03-May-2006.
>  * @author Alastair Maw
>  */
> public class CssReference extends WebMarkupContainer {
> 
> private static final long serialVersionUID = 1L;
> 
> /**
>  * Construct.
>  * @param id component id
>  * @param referer the class that is refering; is used as the relative
>  * root for gettting the resource
>  * @param file reference as a string
>  */
> public CssReference(final String id, final Class referer, final String 
> file) {
> this(id, referer, new Model(file));
> }
> 
> public CssReference(final String id, final Class referer, final IModel 
> file) {
> super(id);
> IModel srcReplacement = new Model() {
> private static final long serialVersionUID = 1L;
> 
> public Object getObject(Component component) {
> 
> Object o = file.getObject(component);
> if (o == null) {
> throw new IllegalArgumentException("The model must 
> provide a non-null object (component == " + component + ")");
> }
> if (!(o instanceof String)) {
> throw new IllegalArgumentException("The model must 
> provide an instance of String");
> }
> 
> String f = 
> (String)component.getConverter().convert(file.getObject(component), 
> String.class);
> final SharedResources sharedResources = 
> Application.get().getSharedResources();
> CssResource resource = 
> (CssResource)sharedResources.get(referer, f, getLocale(), getStyle(), true);
> if (resource == null) {
> resource = new CssResource(getRequestCycle(), referer, 
> file.getObject(component).toString());
> sharedResources.add(referer, f, null, null, resource);
> }
> 
> String url = getRequestCycle().urlFor(new 
> ResourceReference(referer, f)).toString();
> return url;
> 
> }
> };
> add(new AttributeModifier("href", true, srcReplacement));
> }
> 
> /**
>  * @see wicket.Component#onComponentTag(wicket.markup.ComponentTag)
>  */
> protected void onComponentTag(ComponentTag tag) {
> // Must be attached to a style tag
> checkComponentTag(tag, "link");
> ValueMap attributes = tag.getAttributes();
> attributes.put("rel", "stylesheet");
> attributes.put("type", "text/css");
> }
> 
> }
> 
> 
> 
> 
> package foo.wicket.resources;
> 
> import java.io.BufferedReader;
> import java.io.IOException;
> import java.io.InputStreamReader;
> 
> import org.apache.commons.logging.Log;
> import org.apache.commons.logging.LogFactory;
> 
> import wicket.Application;
> import wicket.RequestCycle;
> import wicket.Resource;
> import wicket.ResourceReference;
> import wicket.WicketRuntimeException;
> import wicket.markup.html.PackageResourceReference;
> import wicket.markup.html.WebResource;
> import wicket.util.lang.Packages;
> import wicket.util.resource.IResourceStream;
> import wicket.util.resource.ResourceStreamNotFoundException;
> import wicket.util.resource.StringBufferResourceStream;
> import wicket.util.resource.locator.IResourceStreamLocator;
> import wicket.util.time.Time;
> 
> /**
>  * Created on 03-May-2006.
>  * @author Alastair Maw
>  */
> public class CssResource extends WebResource {
> 
> private static final long serialVersionUID = 1L;
> 
> private static Log log = LogFacto

Re: [Wicket-user] apache wicket?

2006-07-29 Thread cowwoc

I have similar questions. I generally perceive Apache as the place
open-source projects go to die :) Let's just say I've never really been
awe inspired by any of their stuff. As such is this a step forward or
backward? SVN, Jira, Confluence sure are nice but keep in mind there are
more than one way to gain access to them. In fact, as an open-source
project Wicket is automatically entitled to free licenses, you don't
need Apache for that.

Apache might be the right way to go, but I'd definitely like to hear
more about the impacts it'll have on the future of the project. What new
rules and regulations will Apache enforce on the Wicket release
schedule, license, etc?

Gili

Steven Mak wrote:
> Hi,
> 
> I have some queries on this:
> 
> - What's the benefits of joining ASF then?
> - How to determine if Wicket is "ready" to graduate?
> - How do ASF decides who is joining them? They already have Struts,
> Tapestry, and some others related frameworks. Do they have any criteria
> to choose? or would they take it as any kind of "conflicts" due to
> similar nature with existing projects?
> 
> Regards,
> Steven
> 
> */Igor Vaynberg <[EMAIL PROTECTED]>/* wrote:
> 
> dear community,
> 
> the core wicket team has decided to join the ASF and make wicket a
> top level apache project (wicket.apache.org )
> 
> to those unfamiliar with the game, it goes something like this:
> 
> * the wicket team puts in a proposal to ASF (
> http://wiki.apache.org/incubator/WicketProposal )
> 
> * the apache powers that be vote on whether or not they want wicket
> in the ASF ( need 3 +1 and 0 -1 )
> 
> * if the vote passes wicket will enter the apache incubator and our
> infrastructure will move to incubator.apache.org
> . we will have website, SVN, jira, and
> confluence.
> 
> * when wicket is ready to graduate it will move to a top level
> apache project next to struts/tapestry/etc and our infrastructure
> will move to apache.org  ( wicket.apache.org
> )
> 
> if you are interested please read the proposal, it outlines what we
> hope to give and get from the ASF.
> 
> if you have any concerns or thoughts this would be a good time to
> have a discussion
> 
> -Igor
> 
> PS. im hoping apache mailing lists dont have outages as often as
> sf.net . im sending this on 7/26 6pm PST, lets see
> when it gets to you... :)
> -
> 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
> 
> 
> 
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> >
> 
> 
> 
> 
> -
> 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



signature.asc
Description: OpenPGP digital signature
-
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 customize multiple validate message in ListView ?

2006-06-29 Thread cowwoc

Ah! Would this also work for what I just posted too?

Gili

Igor Vaynberg wrote:
> if you do textfield.setLabel(new ResourceModel("label.field1")) and
> define validator message as ${label} is required which it already is
> defined like that i think you will get the desired message with key
> label.field1 in the properties file defning the name of the field, or do
> setLabel(new Model("first name"))
> 
> -Igor
> 
> 
> On 6/29/06, *Ingram Chen* <[EMAIL PROTECTED]
> > wrote:
> 
> I have a table of data need to do form submission:
> 
>Name Data
> ===
>   Item1  [ ]
>   Item2  [ ]
> 
> new ListView("items", items) {
>  populateItem(ListItem item) {
> item.add(new Lebel("name")
> item.add(new RequiredTextField("data"));
>  }
> } ;
> 
> if I leave all data blank, I will got multiple messages with the
> same messages:
> 
> 'data' is required.
> 'data' is required.
>  
> which is useless for client  It seems that RequiredValidator,
> NumberValidator... etc
>  don't allow to do things like:
> 
> data.RequiredValidator= Data of ${0} is required.
> 
> and produce messages as:
> 
> Data of Item1 is required.
> Data of Item2 is required.
> 
> Should I need to write my own Validator ? if so, how to do that ?
> 
> Thanks.
> 
> -- 
> Ingram Chen
> Java [EMAIL PROTECTED]
> Institue of BioMedical Sciences Academia Sinica Taiwan
> blog: http://www.javaworld.com.tw/roller/page/ingramchen
> 
> 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



signature.asc
Description: OpenPGP digital signature
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] How to customize multiple validate message in ListView ?

2006-06-29 Thread cowwoc

I also ran into similar problems. I had a NumberValidator and the
default message was: '0' is not in the range 1-65535 (limits which I had
set), which is nice and all but it would be nice if it mentioned which
field contained the invalid value instead. For example, I would have
preferred a default of "Field 'port' must have values in the range 1-65535".

Just my 2 cents...

Gili

Ingram Chen wrote:
> I have a table of data need to do form submission:
> 
>Name Data
> ===
>   Item1  [ ]
>   Item2  [ ]
> 
> new ListView("items", items) {
>  populateItem(ListItem item) {
> item.add(new Lebel("name")
> item.add(new RequiredTextField("data"));
>  }
> } ;
> 
> if I leave all data blank, I will got multiple messages with the same
> messages:
> 
> 'data' is required.
> 'data' is required.
>  
> which is useless for client  It seems that RequiredValidator,
> NumberValidator... etc
>  don't allow to do things like:
> 
> data.RequiredValidator= Data of ${0} is required.
> 
> and produce messages as:
> 
> Data of Item1 is required.
> Data of Item2 is required.
> 
> Should I need to write my own Validator ? if so, how to do that ?
> 
> Thanks.
> 
> -- 
> Ingram Chen
> Java [EMAIL PROTECTED]
> Institue of BioMedical Sciences Academia Sinica Taiwan
> blog: http://www.javaworld.com.tw/roller/page/ingramchen
> 
> 
> 
> 
> 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



signature.asc
Description: OpenPGP digital signature
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] Button and its model

2006-06-29 Thread cowwoc
Hi,

I'd like to pass in a non-String model into a Button so I can use it
for onSubmit() but then the Button text ends up being crap (hashcode of
the model object). I can workaround this issue using an
AttributeModifier("value") but this seems like a hack to me that might
break in future versions. Shouldn't there be a formal hook for doing
this in Button? I mean, I could always override getModelAsObjectString()
but there is no guarantee that the code won't use getModel().toString()
in the future.

Gili



signature.asc
Description: OpenPGP digital signature
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 emailaddress validation incorrect

2006-06-21 Thread cowwoc

Instead of using some super long regex why not code the logic by hand
(the old fashion way without regex). I find that often the resulting
code is easier to read and in this case it might actually turn out to be
shorter. Maybe :)

Gili

Frank Bille Jensen wrote:
> On Wed, 2006-06-21 at 12:02 -0400, Michael Day wrote:
>> I only glanced quickly at the larger expression, but it seems to  
>> allow for quite a bit that you would NOT want.  I think it's more  
>> geared toward mail servers.  For example, I think it will evaluate  
>> the following as a valid email address (possibly with random tabs and  
>> spaces throughout):  <[EMAIL PROTECTED]>
> 
> Below are some (according to the RFC) valid email adresses. I think the
> ones to notice is the ones with a space in 'em.
> 
> VALID_EMAIL1.setAddress("[EMAIL PROTECTED]");
> VALID_EMAIL2.setAddress("[EMAIL PROTECTED]");
> VALID_EMAIL3.setAddress("[EMAIL PROTECTED]");
> VALID_EMAIL4.setAddress("[EMAIL PROTECTED]");
> VALID_EMAIL5.setAddress("[EMAIL PROTECTED]");
> VALID_EMAIL6.setAddress("my @email.com");
> VALID_EMAIL7.setAddress("my@ email.com");
> VALID_EMAIL8.setAddress("\"Ulrik Jensen\"@email.com");
> 
> 
> 
>> Is this what most people want?  Probably not.  I would prefer to  
>> ensure the email address is in a format like this: [EMAIL PROTECTED]  And  
>> I think the smaller expression will validate emails in this format  
>> just fine.
> 
> 
> I agree. If Wicket used the RFC correct validation pattern and
> developers forgot to check whether there mailing systems actually were
> able to handle such email addresses they would probably be quite
> frustrated.
> 
> 
> How about having a RfcCompliantEmailAddressPatternValidator living next
> to the normal EmailAddressPatternValidator? Then developers would only
> pick the RFC compliant version if they actually needed it. Just a
> thought.
> 
> 
> Regards
> Frank Bille
> Avaleo
> 
> 
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user



signature.asc
Description: OpenPGP digital signature
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is there a shuttle(?) component?

2006-05-31 Thread cowwoc

There seems to be a bug in this example. I select the last entry, and
keep on clicking on the first button. Eventually, it moves the entry
from the right side to the left, even though I am clicking on the arrow
pointing from left to right. I am expecting the entry to remain on the
right. Can anyone else reproduce this?

Gili

Philip A. Chapman wrote:
> The palette component:
> 
> http://www.wicket-library.com/wicket-examples/compref;jsessionid=1964CEEDBD5270FCDA54CFE3AFAE4CB7?wicket:bookmarkablePage=:wicket.examples.compref.PalettePage
> 
> On Wed, 2006-05-31 at 23:32 -0300, Bruno Borges wrote:
>> I don't know how to name it, but "Shuttle" was the name I've seen
>> people using to specify this kind of component:
>>
>>  
>> | Item 1 |  >>  | Item 3 |
>> | Item 2 |  >   | Item 4 |
>> ||  ||
>> ||  <   ||
>> ||  <<  ||
>>
>>
>> Where: 
>> >> : move all right
>> >   : move all selected right
>> ... same, but to left side
>>
>>
>> If there's nothing like this ready-to-use, can somebody shot an idea
>> on how to implement? Some first steps would be nice... :)
>>
>> In the model, would be something like: 
>> - In the left , a list of "available" categories
>> - In the right , a list of "associated" categories
>>
>>
>> I think on something like this:
>>
>> ShuttleList s = new ShuttleList("shuttle", new
>> ShuttleModel(availableItems, selectedItems) {
>> public void populateItem(Item i) {
>> ...
>> }
>> }));
>>
>>
>> And then:
>>
>> List newSelectedItems ((ShuttleModel) s.getModel()).getSelectedItems();
>>
>>
>> Now, 'newSelectedItems' should have objects that came from
>> 'availableItems' and shouldn't have objects removed from 'selectedItems'.
>>
>> []'s
>>
>> -- 
>> Bruno Borges
>> Summa Technologies Inc.
>> www.summa-tech.com 
>> (11) 8565-7739 - (11) 3846-1622
> 
> -- 
> Philip A. Chapman
> 
> Desktop and Web Application Development:
> Java, .NET, PostgreSQL, MySQL, MSSQL
> Linux, Windows 2000, Windows XP
> 



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] Prettier page for new Wicket-related open source project

2006-05-30 Thread cowwoc

Very cool! I especially like the refactoring support and detection of
mismatches between HTML and Java code. Keep up the good work! :)

Gili

Geertjan Wielenga wrote:
> 
> Hi all,
> 
> Take a look:
> 
> https://nbwicketsupport.dev.java.net/
> 
> Gj
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] weird javascript header

2006-05-26 Thread cowwoc

Johan, I am fairly sure I told you guys to use:

*/

notice you use // instead of /* */ which is incorrect and might be
responsible for this problem.

Gili

Johan Compagner wrote:
> this is what we did get from the people who wants there pages completely
> xhtml.
> Because plain javascript is not possible then so you have to escape it.
> 
> johan
> 
> 
> On 5/26/06, *Wouter de Vaal* <[EMAIL PROTECTED]
> > wrote:
> 
> Hi,
> 
> I would like to express my concern on how wicket currently outputs
> JavaScript, my page outputs this header:
> 
>  
>"
> http://www.w3.org/TR/html4/strict.dtd";>
> 
>   
>   <
> link href="/mycss.css" rel=
> "stylesheet" 
> type="text/css" media="all">
>   <
> script type="text/javascript" 
> src="/shop/app/resources/wicket.markup.html.WebPage/cookies.js"
> >
> <
> script type="text/javascript">
> 
> 
> 
> Now I'm no JavaScript expert, but this seems quite strange to me.
> When I try to validate using Firefox's web developer
> (tools->validate local html),
> I get a validation error:
> Error /Line 14 column 6/: end tag for "HEAD" which is not finished.
> 
> |
> 
> *|
> 
> It looks to me that this originates from the strange (non-)nesting
> of the interesting comments+CDATA combination, because everything
> else seemds ok (right?).
> I have no JavaScript in my code/templates whatsoever.
> I also changed everything to xhtml and I get the same error.
> 
> So, is it incorrect? If not, what's wrong then?
> 
> Thanx,
> Wouter
> 
> 



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] Reverse Ajax

2006-05-25 Thread cowwoc

Darn it ;) This is like slashdot.org -- it's impossible to post first! 
:)

Gili

Igor Vaynberg wrote:
> too late
> 
> http://www.nabble.com/Wicket+1.2+released%21-t1673750.html#a4548599
> 
> -Igor
> 
> 
> On 5/25/06, *cowwoc* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
> Article that may be of interest to the Wicket team:
> http://www.theserverside.com/news/thread.tss?thread_id=40650
> 
> Gili
> 
> 
> 
> 



signature.asc
Description: OpenPGP digital signature


[Wicket-user] Reverse Ajax

2006-05-25 Thread cowwoc

Article that may be of interest to the Wicket team:
http://www.theserverside.com/news/thread.tss?thread_id=40650

Gili



signature.asc
Description: OpenPGP digital signature


Re: [Spam] Re: [Wicket-user] ENABLING WAR: Celebrity Christians and the realDa vinci Code

2006-05-23 Thread cowwoc

Why buy the book when I can summarize it for you for free?

Executive summary: "It's a conspiracy! (isn't everything?) Jews control
the world! Join us in finding new creative ways to blame them for all
our problems so we can murder more of them."

Man, I'm tired of this sort of crap. Makes me wonder how humanity has
made it to the 21st century.

Gili

Dorel Vaida wrote:
> this is too long to read. they should split it.
> [EMAIL PROTECTED] wrote:
>> Reply-To: cecarl
>>
>> http://straitgateministry.net/
>> 345-page ONE NATION UNDER ISRAEL Almost FREE (see end)
>> Published by Truths Press
>>
>> ENABLING WAR: HOW A BIBLE PUBLISHER CORRUPTED CHRIST'S WORDS
>> Why Celebrity leaders accept a form of Judaism and call it "Christianity"
>> By Charles E. Carlson (Director of We Hold These Truths)
>>
>> This study is not written to convince anyone of what Jesus said; it
>> quotes a small but important part of the Christian New Testament of
>> Jesus, explaining how these words have been reinterpreted to justify
>> serial wars.  This analysis is important to persons of all beliefs,
>> faiths, and races who are trying to understand why wars dominate our
>> world, and why many of those who call themselves by Jesus Christ's
>> name find themselves pitted in support of wars against other races. It
>> is undeniable that our current wars are directed at Islamic
>> populations.  We focus on one bible that is used every day as a war
>> enabler.
>> This is a re-written and abbreviated version of our more far reaching
>> 2006 series, "The Sheep and the Goats" Parts 1 & 2, which are drawn
>> from a study of book of Matthew, chapter 25.  Your author is
>> responding to requests that we more clearly prove and document the
>> essence of popular biblical distortion about Heaven and Hell in the
>> book of Matthew. Chapters 24-25, which evangelical believe to contain
>> Jesus' words, are intentionally distorted by these same persons, both
>> in the text and footnotes to the text in most popular bible study
>> versions.
>>
>> Self professed CHRISTIAN-ZIONISTS at the pulpit of mega-churches are
>> left with an untenable problem. It is impossible for them to tell the
>> truth about what certain New Testament Bible passages say, or even to
>> read them, without contradicting their own support for wars and for
>> the constantly warring state of Israel. Evangelical teaching and
>> preaching often directly contradict that which Jesus taught about love
>> and peace, and more surprisingly, celebrity Christian statements often
>> directly conflict with Jesus' statements about Heaven and Hell.
>> Church economics may be a factor in scriptural compromise. Opposition
>> to war is less popular than ignoring or accepting it.  Celebrity
>> Christian leaders may feel financial pressure to warp the New
>> Testament into a wide and easy path interpretation, which they say
>> points, not to Heaven and Hell, but to a "second coming."  Simply
>> stated, pastors have learned they can't fill 10,000 seat arenas by
>> leaning too heavily on sin, repentance and judgment as Jesus portrayed
>> it in this carefully worded chapter. It is just not good for
>> mega-church business.
>>
>> Nor do they want to refute what is public policy at the highest
>> levels. Some pastors no doubt justify compromise to choose the wide
>> path to build their own empires in contrast to what Christ called the
>> narrow path or "Strait" gate. Our government's public policy includes
>> war, which has also become many churches' policy.
>>
>> Evangelical celebrities generally believe in politically activism, and
>> every politician knows it pays to be "born again." Thus an unspoken,
>> unholy alliance has been created between financially successful
>> biblical teachers on one hand, and politically successful politicians
>> and businessmen who thrive on serial wars, on the other. The cost has
>> been untold lives in several unholy wars in the 20 years.   But where
>> to the war-accepting pastors find their scriptural support for war? We
>> will examine only once example in a corrupted version of the book of
>> Matthew, in one corrupted bible the Scofield Reference Bible 1967
>> version.
>>
>> Oh that my adversary would write a book
>>
>> The famous Scofield Reference Bible, perhaps the most powerfully
>> promoted Bible ever written, is the godfather of modern bible
>> distortion, which is now emulating and even exceeding in radicalism by
>> other popular study bibles including the NIV Study Bible and the
>> MacArthur Study Bible.  
>> Matthew 25 contains one of the most directly written and clearly
>> self-explained passages on Heaven and Hell, which was once taken at
>> face value in most churches. But the explanation of Matthew 25 we find
>> so simple and straight forward is now rejected in almost every
>> evangelical (Christian Zionist) church. And the Oxford/Scofield
>> re-write is increasingly influential in a growing number of mainline
>> churches where are me

Re: [Wicket-user] ENABLING WAR: Celebrity Christians and the real Da vinci Code

2006-05-22 Thread cowwoc

Can you guys add some sort of Capcha authentication to the mailing list
subscription so we don't get this sort of "antisemitism by spam" in the
future?

Thanks,
Gili

[EMAIL PROTECTED] wrote:
> Reply-To: cecarl
> 
> http://straitgateministry.net/
> 345-page ONE NATION UNDER ISRAEL Almost FREE (see end)
> Published by Truths Press
> 
> ENABLING WAR: HOW A BIBLE PUBLISHER CORRUPTED CHRIST'S WORDS
> Why Celebrity leaders accept a form of Judaism and call it "Christianity"
> By Charles E. Carlson (Director of We Hold These Truths)
> 
> This study is not written to convince anyone of what Jesus said; it quotes a 
> small but important part of the Christian New Testament of Jesus, explaining 
> how these words have been reinterpreted to justify serial wars.  This 
> analysis is important to persons of all beliefs, faiths, and races who are 
> trying to understand why wars dominate our world, and why many of those who 
> call themselves by Jesus Christ's name find themselves pitted in support of 
> wars against other races. It is undeniable that our current wars are directed 
> at Islamic populations.  We focus on one bible that is used every day as a 
> war enabler. 
> 
> This is a re-written and abbreviated version of our more far reaching 2006 
> series, "The Sheep and the Goats" Parts 1 & 2, which are drawn from a study 
> of book of Matthew, chapter 25.  Your author is responding to requests that 
> we more clearly prove and document the essence of popular biblical distortion 
> about Heaven and Hell in the book of Matthew. Chapters 24-25, which 
> evangelical believe to contain Jesus' words, are intentionally distorted by 
> these same persons, both in the text and footnotes to the text in most 
> popular bible study versions.
> 
> Self professed CHRISTIAN-ZIONISTS at the pulpit of mega-churches are left 
> with an untenable problem. It is impossible for them to tell the truth about 
> what certain New Testament Bible passages say, or even to read them, without 
> contradicting their own support for wars and for the constantly warring state 
> of Israel. Evangelical teaching and preaching often directly contradict that 
> which Jesus taught about love and peace, and more surprisingly, celebrity 
> Christian statements often directly conflict with Jesus' statements about 
> Heaven and Hell. 
> 
> Church economics may be a factor in scriptural compromise. Opposition to war 
> is less popular than ignoring or accepting it.  Celebrity Christian leaders 
> may feel financial pressure to warp the New Testament into a wide and easy 
> path interpretation, which they say points, not to Heaven and Hell, but to a 
> "second coming."  Simply stated, pastors have learned they can't fill 10,000 
> seat arenas by leaning too heavily on sin, repentance and judgment as Jesus 
> portrayed it in this carefully worded chapter. It is just not good for 
> mega-church business.
> 
> Nor do they want to refute what is public policy at the highest levels. Some 
> pastors no doubt justify compromise to choose the wide path to build their 
> own empires in contrast to what Christ called the narrow path or "Strait" 
> gate. Our government's public policy includes war, which has also become many 
> churches' policy.
> 
> Evangelical celebrities generally believe in politically activism, and every 
> politician knows it pays to be "born again." Thus an unspoken, unholy 
> alliance has been created between financially successful biblical teachers on 
> one hand, and politically successful politicians and businessmen who thrive 
> on serial wars, on the other. The cost has been untold lives in several 
> unholy wars in the 20 years.   But where to the war-accepting pastors find 
> their scriptural support for war? We will examine only once example in a 
> corrupted version of the book of Matthew, in one corrupted bible the Scofield 
> Reference Bible 1967 version.
> 
> Oh that my adversary would write a book
> 
> The famous Scofield Reference Bible, perhaps the most powerfully promoted 
> Bible ever written, is the godfather of modern bible distortion, which is now 
> emulating and even exceeding in radicalism by other popular study bibles 
> including the NIV Study Bible and the MacArthur Study Bible.   
> 
> Matthew 25 contains one of the most directly written and clearly 
> self-explained passages on Heaven and Hell, which was once taken at face 
> value in most churches. But the explanation of Matthew 25 we find so simple 
> and straight forward is now rejected in almost every evangelical (Christian 
> Zionist) church. And the Oxford/Scofield re-write is increasingly influential 
> in a growing number of mainline churches where are members attend 
> dispensational bible studies, and while there hours before 
> celebrity-Christian media.  Members of most Catholic or mainline protestant 
> church are also deeply influenced by the “end times controversy.
> 
> Matthew, the first book in the New Testament, contains the most outra

[Wicket-user] Google Web Toolkit

2006-05-17 Thread cowwoc

I'm sure by now you've all heard of http://code.google.com/webtoolkit/

I was wondering if this would help with any back button issues in
Wicket?
http://code.google.com/webtoolkit/documentation/com.google.gwt.user.client.History.html

I have no decent background in AJAX so I don't know how this framework
compares to others which are already around. If this is any good, you
might consider some sort of Wicket integration for it as well.

Gili



signature.asc
Description: OpenPGP digital signature


[Wicket-user] HibernateDatabaseObject null patch

2006-05-01 Thread cowwoc

Just curious: Long already supports null, why add this -1 hack?

Gili

[EMAIL PROTECTED] wrote:
> Revision: 698
> Author:   jonathanlocke
> Date: 2006-05-01 13:49:22 -0700 (Mon, 01 May 2006)
> ViewCVS:  http://svn.sourceforge.net/wicket-stuff/?rev=698&view=rev
> 
> Log Message:
> ---
> Fixed setId so that -1 is a special indicator of null id.
> 
> Modified Paths:
> --
> 
> trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java
> Modified: 
> trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java
> ===
> --- 
> trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java
>  2006-05-01 19:47:06 UTC (rev 697)
> +++ 
> trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java
>  2006-05-01 20:49:22 UTC (rev 698)
> @@ -59,7 +59,14 @@
>*/
>   public final void setId(Long id)
>   {
> - this.id = id;
> + if (id.longValue() == -1)
> + {
> + this.id = null;
> + }
> + else
> + {
> + this.id = id;
> + }
>   }
>  
>   /**
> 
> 
> This was sent by the SourceForge.net collaborative development platform, the 
> world's largest Open Source development site.
> 
> 
> 
> ---
> 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-autocvs mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/wicket-autocvs



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] Links to images and .css

2006-04-27 Thread cowwoc

What does it mean to namespace it in the context of Wicket?

Gili

Igor Vaynberg wrote:
> there is already a plan to namespace that directory for v2, or so i thought.
> 
> -Igor
> 
> 
> On 4/27/06, *cowwoc* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
> Personally, I dislike how Wicket prevents the use of
> "reserved paths"
> such as /resources. There should be a better way, somehow.
> 
> Why not let users bind whatever resources they want to
> /resources and
> if Wicket (or another user-call) tries binding to that same path you
> throw an exception? It would be up to the user to ensure he doesn't
> produce conflicts (which I think are extremely rare in the first place).
> 
> Anyway, just food for thought.
> 
> Gili
> 
> Eelco Hillenius wrote:
> > I'm afraid /resources/ is a reserved path with Wicket. I guess it's
> > not the best name we choose, as it's kind of an obvious path to use
> > for people. Maybe we should use another path, like
> > '/wicket-shared-resources/'  or something.
> >
> > Eelco
> >
> >
> > On 4/27/06, Rui Pacheco <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> >> My problem is, the images and css files can't be found by the
> html pages.
> >> I am calling them as if I was using a static page:
> >> 
> >>
> >> Images follow a similar pattern.
> >>
> >>
> >> On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> >>> how are you referring to those files inside your css?
> >>>
> >>> -Igor
> >>>
> >>>
> >>>
> >>>
> >>> On 4/27/06, Rui Pacheco <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > wrote:
> >>>> Hi all.
> >>>>
> >>>> My application, as with all applications, uses stylesheets and
> images.
> >> Those files are stored under
> >> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my
> >> wicket application I see an error on my logs saying that the file
> can't be
> >> found, even though I can see it on the filesystem.
> >>>> How can I make my files appear on the application?
> >>>>
> >>>> --
> >>>> Cumprimentos,
> >>>>
> >>>> Rui Pacheco
> >>>
> >>
> >>
> >> --
> >> Cumprimentos,
> >> Rui Pacheco
> >
> >
> > ---
> > 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=k&kid0709&bid&3057&dat1642
> <http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642>
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> <mailto:Wicket-user@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 
> 



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] Links to images and .css

2006-04-27 Thread cowwoc

Personally, I dislike how Wicket prevents the use of "reserved paths"
such as /resources. There should be a better way, somehow.

Why not let users bind whatever resources they want to /resources and
if Wicket (or another user-call) tries binding to that same path you
throw an exception? It would be up to the user to ensure he doesn't
produce conflicts (which I think are extremely rare in the first place).

Anyway, just food for thought.

Gili

Eelco Hillenius wrote:
> I'm afraid /resources/ is a reserved path with Wicket. I guess it's
> not the best name we choose, as it's kind of an obvious path to use
> for people. Maybe we should use another path, like
> '/wicket-shared-resources/'  or something.
> 
> Eelco
> 
> 
> On 4/27/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
>> My problem is, the images and css files can't be found by the html pages.
>> I am calling them as if I was using a static page:
>> 
>>
>> Images follow a similar pattern.
>>
>>
>> On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>> how are you referring to those files inside your css?
>>>
>>> -Igor
>>>
>>>
>>>
>>>
>>> On 4/27/06, Rui Pacheco <[EMAIL PROTECTED] > wrote:
 Hi all.

 My application, as with all applications, uses stylesheets and images.
>> Those files are stored under
>> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my
>> wicket application I see an error on my logs saying that the file can't be
>> found, even though I can see it on the filesystem.
 How can I make my files appear on the application?

 --
 Cumprimentos,

 Rui Pacheco
>>>
>>
>>
>> --
>> Cumprimentos,
>> Rui Pacheco
> 
> 
> ---
> 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=k&kid0709&bid&3057&dat1642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user



signature.asc
Description: OpenPGP digital signature


[Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()

2006-04-21 Thread cowwoc

I vote in favor of renaming setUseOptimizedItemRemoval() to
setReuseItems() because I feel it is more descriptive of what it
actually does. What do the rest of you think?

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] proposal: internationalization project

2006-04-20 Thread cowwoc

Wouldn't Wiki be easier?

Gili

Eelco Hillenius wrote:
> Hi all,
> 
> Thanks for the recent inputs of Application_x.properties. However, I
> now realize that we need more than just a one time contribution.
> 
> I think internationalization is a strong point for Wicket, and we
> should keep pushing to make this even stronger. It's cool to see that
> people from all over the world use it. And I was hoping to leverage
> that fact.
> 
> What I propose is this:
> 
> We start a seperate project in wicket-stuff
> (http://wicket-stuff.sf.net) specifically for internationalization.
> This project will have:
>   - Standard messages for validators and maybe more (some of the
> common error messages?). These messages will be in that project so
> that they can be easily maintained by all the committers on that
> project, and I/ other core devs of Wicket will put them in the main
> wicket project regularly.
>   - An example that shows off the languages/ variants we have. Much
> like FormInput in wicket-examples now, but maybe more complete and
> focussed on internationalisation.
> 
> For every language that will be in that project, there should be one
> 'owner'. The owner gets commit rights on wicket-stuff in case he/she
> didn't already have that.
> 
> Who is interested in contributing to this project? What I have in mind
> is pretty small/ low maintenance; besides the initial contribution of
> one or two web pages and one or two properties files, there will only
> be a fix now and then. We would use this list or wicket-dev to discuss
> any topics that arise when working on it.
> 
> If you are interested, please reply to this email (or send me an
> offline message if you prefer that). If we have enough people that
> want to work on this, I'll take the lead and create that project in
> wicket-stuff.
> 
> Cheers,
> 
> Eelco
> 
> 
> ---
> 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=k&kid0709&bid&3057&dat1642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] WebPage generated script problem

2006-04-18 Thread cowwoc

Like I said, I've never had any problems with text/html with the CDATA
blocks I mentioned.

Gili

Eelco Hillenius wrote:
> On 4/18/06, cowwoc <[EMAIL PROTECTED]> wrote:
>>  I personally think this is much ado about nothing. I've used
>> text/html for a long time and the CDATA thing below and to date I
>> haven't run into any problems. And if I do in the future, I'll just fix
>> it ;)
>>
>> Gili
> 
> Unfortunately, we have to find something that always works, as we're
> developing a framework rather than one application.
> 
> Eelco
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user



signature.asc
Description: OpenPGP digital signature


Re: [Wicket-user] WebPage generated script problem

2006-04-18 Thread cowwoc

They basically push for people to use application/xhtml+xml, which I
believe all browsers support -- except Internet Explorer ;) So we're
back to using text/html.

They seem to imply that when you migrate your code from text/html to
application/xhtml+xml stuff will break because your old code wasn't
really XHTML but the browser was more relaxed because your choice of
doctype... I personally think this is much ado about nothing. I've used
text/html for a long time and the CDATA thing below and to date I
haven't run into any problems. And if I do in the future, I'll just fix
it ;)

Gili

Eelco Hillenius wrote:
> Maybe I misread, but it looks like you have to follow a different path
> according to the doctype statement?
> 
> Eelco
> 
> On 4/18/06, cowwoc <[EMAIL PROTECTED]> wrote:
>> Reference: http://hixie.ch/advocacy/xhtml
>>
>> So...
>>
>> */
>>
>> Gili
>>
>> Eelco Hillenius wrote:
>>> So,
>>>
>>> Index: 
>>> /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java
>>> ===
>>> --- 
>>> /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java
>>>  (revision
>>> 5459)
>>> +++ 
>>> /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java
>>>  (working
>>> copy)
>>> @@ -28,10 +28,10 @@
>>>  public class JavascriptUtils
>>>  {
>>>   /** Script open tag */
>>> - public final static String SCRIPT_OPEN_TAG = ">> type=\"text/javascript\">";
>>> + public final static String SCRIPT_OPEN_TAG = "<script
>>> type=\"text/javascript\"><![CDATA[";
>>>
>>>   /** Script close tag */
>>> - public final static String SCRIPT_CLOSE_TAG = "";
>>> + public final static String SCRIPT_CLOSE_TAG = "]]>";
>>>
>>>   /** The response object */
>>>   private Response response;
>>>
>>> Should fix that. Before comitting something like that, I'd like to
>>> make sure that won't introduce additional problems though.
>>>
>>> Eelco
>>>
>>>
>>>
>>> On 4/18/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>>>> Also, will this give trouble for pages that are not explicitly XHTML 
>>>> complient?
>>>>
>>>> Eelco
>>>>
>>>> On 4/18/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>>>>> Without the // I think?
>>>>>
>>>>> So instead of
>>>>> //
>>>>>
>>>>> it's
>>>>>
>>>>> 
>>>>>
>>>>> Or did you have a special reason to include those slashes?
>>>>>
>>>>> Eelco
>>>>>
>>>>> On 4/18/06, nato <[EMAIL PROTECTED]> wrote:
>>>>>> May I suggest that you inlude  inside the  
>>>>>> element.
>>>>>> For example,
>>>>>> <script type="text/javascript">
>>>>>> //<![CDATA[
>>>>>> function isXhtmlFriendly() {
>>>>>> alert('Yes, I am XHTML friendly');
>>>>>> alert('quotes ", less than <, and ampersand & used in this javascript
>>>>>> code do not yield to XHTML validation error');
>>>>>> }
>>>>>>  //]]>
>>>>>> 
>>>>>>
>>>>>> The opening and closing CDATA inside the  tag do not affect the
>>>>>> javascript code because it is javascript-commented.
>>>>>>
>>>>>> It is a w3c recommendation that we enclose the javascript code inside 
>>>>>> CDATA
>>>>>> if the document type is xhtml. Please see
>>>>>> <a  rel="nofollow" href="http://www.w3.org/TR/xhtml1/#h-4.8">http://www.w3.org/TR/xhtml1/#h-4.8</a>
>>>>>>
>>>>>> I really need to make all my html pages to be valid XHTML because my 
>>>>>> moron
>>>>>> boss requires it. It will be an advance christmas gift for me if this 
>>>>>> issue
>>>>>> be fixed in Wicket-1.2final. Thanks to all.
>>>>>>
>>&g

Re: [Wicket-user] WebPage generated script problem

2006-04-18 Thread cowwoc

Reference: http://hixie.ch/advocacy/xhtml

So...

*/

Gili

Eelco Hillenius wrote:
> So,
> 
> Index: 
> /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java
> ===
> --- 
> /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java
>  (revision
> 5459)
> +++ 
> /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java
>  (working
> copy)
> @@ -28,10 +28,10 @@
>  public class JavascriptUtils
>  {
>   /** Script open tag */
> - public final static String SCRIPT_OPEN_TAG = " type=\"text/javascript\">";
> + public final static String SCRIPT_OPEN_TAG = "