Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Ryan Sonnek

I'm not familiar with the @Column annotation.  If you have any info on how
it works, I'd be happy to add support in.

Even better, the code to add new annotation support is drop dead simple.
let me know if have a solution and I can commit it.
http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/main/java/org/wicketstuff/hibernate/annotation/HibernateAnnotationComponentConfigurator.java

put(NotNull.class, new HibernateAnnotationConfig() {
public void onAnnotatedComponent(Annotation annotation,
FormComponent component) {
component.setRequired(true);
}
});
put(Length.class, new HibernateAnnotationConfig() {
public void onAnnotatedComponent(Annotation annotation,
FormComponent component) {
int max = ((Length)annotation).max();
component.add(new 
AttributeModifier(maxlength, new
Model(Integer.toString(max;

component.add(StringValidator.maximumLength(max));
}
});


On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:



Fair enough Ryan, but one question for you.

Does this only work with the @Length and @NotNull annotations or does it
also work with the attributes of the @Column annotation (nullable and
length)?

Thanks
Craig


Ryan Sonnek-2 wrote:

 I may be biased, but i'm using these annotations on a production/live
site
 and they've made my life easier.  no more hibernate exceptions bubbling
up
 to the screen because a field was left blank.

 On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:


 Has anyone made heavy use of this project yet?  Any issues or concerns?

 -Craig


 igor.vaynberg wrote:
 
 

http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/
 
  -igor
 
 
  On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:
 
 
  Unless I was dreaming this the other night I swear someone announced
 that
  they created a wicket stuff project that added form validation based
 on
  JPA
  annotations of a domain model?  Was I dreaming, if not I can't seem
to
  find
  the project in wicket stuff.
 
  Thanks
  Craig
  --
  View this message in context:
 

http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11549413
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 

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

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

 --
 View this message in context:

http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11550269
 Sent from the Wicket - User mailing list archive at Nabble.com.



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



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



--
View this message in context:
http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11552674
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Ryan Sonnek

I haven't seen anything on JPA annotations.  Last I heard, they were in
draft or review.  Are they actually available now, and if so, who's
using them?

On 7/12/07, Craig Lenzen [EMAIL PROTECTED] wrote:



Thanks Al, I look forward to the post.

-Craig


Al Maw wrote:

 Craig Lenzen wrote:
 Sorry, I was a little confused, I thought this project was using the
JPA
 annotations for validation.  Instead you are actually using the
hibernate
 validator project annotations.  Which means the @Column annotation
would
 be
 pretty hard to use..:)

 :-)

 I have JPA annotation integration working. It's really very easy. Will
 post some stuff on my blog about it later.

 Al
 --
 herebebeasties.com


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



--
View this message in context:
http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11572215
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] JPA Annotation Validation

2007-07-11 Thread Ryan Sonnek

I may be biased, but i'm using these annotations on a production/live site
and they've made my life easier.  no more hibernate exceptions bubbling up
to the screen because a field was left blank.

On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:



Has anyone made heavy use of this project yet?  Any issues or concerns?

-Craig


igor.vaynberg wrote:


http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/

 -igor


 On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:


 Unless I was dreaming this the other night I swear someone announced
that
 they created a wicket stuff project that added form validation based on
 JPA
 annotations of a domain model?  Was I dreaming, if not I can't seem to
 find
 the project in wicket stuff.

 Thanks
 Craig
 --
 View this message in context:

http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11549413
 Sent from the Wicket - User mailing list archive at Nabble.com.



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



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



--
View this message in context:
http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11550269
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] Hibernate Query Panel

2007-06-27 Thread Ryan Sonnek

just my 2 cents, but i think the databinder project would be a great place
for this.

On 6/27/07, Xavier Hanin [EMAIL PROTECTED] wrote:


Hi,

I've blogged about that a few days ago [1], but jonathan told me it might
be interesting to contribute it to wicket contrib or wicket examples. It
is a reusable panel featuring a text area where you can type an Hibernate
HQL query, a button to submit the query, and a datatable to display the
results.

The panel is very generic, it just needs a SessionFactory, and work with
Hibernate metamodel to display the result. We use it in our administration
page (which is targetted to developpers), it might also be useful for debug
purpose (we use it pretty frequently as an easy way to test queries). So I'd
be happy to contribute this to wicket more directly (the code [2] is already
ASLv2), but I need some help.

First I have a dependency on databinder HibernateObjectModel, which is
used to wrap query result objects in models. To put this in wicket contrib,
I'd need a similar generic way of wrapping hibernate objects in IModel.
Maybe there's something similar in wicket-contrib-hibernate?

My second question is where should I put this panel?
wicket-contrib-hibernate? Somewhere else? Right now I have trouble accessing
wicket-stuff svn, so I can't even try to make a good guess :-)

Xavier

[1] http://xhab.blogspot.com/2007/06/wicket-hibernate-query-panel.html
[2]
http://www.xoocode.org/wsvn/xoocode/org.xoocode.xooctory/trunk/xooctory/src/main/java/org/xoocode/xooctory/web/component/hibernate/HibernateQueryPanel.java?op=filerev=0sc=0

--
Xavier Hanin - Independent Java Consultant
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] HibernateAnnotationComponentConfigurator

2007-06-25 Thread Ryan Sonnek

Hey Nathan.  Thanks so much for your reply.

Thanks for understanding my comments.  I *really* didn't want to come off
like a jerk, and I *do* think that there is a place for databinder, it's
just not my cup of tea for my current project.

Please feel free to take whatever I've done to use with databinder.  If
there's anything I can do to help make the integration as seemless as
possible, let me know.

On 6/25/07, Nathan Hamblen [EMAIL PROTECTED] wrote:


Ryan Sonnek wrote:
 I don't want to sound like a databinder basher,

Oh I hope not, I was just about to link to your post and say nice things!

 In my opinion, database access should be abstracted away from the UI
 layer altogether, which leaves the goals of databinder
 questionable.  Does anyone remember the horror of the JSP tags that
 directly connected to datbases??  Spring integration is a much more
 desirable location for database access, and there  is already
 excellent spring integration with wicket.

The way that a Databinder application works has little in common with
any JSP horror; as in all Wicket applications the page templates contain
no executable code and refer only to user interface components.

The coupling to the database in page templates, such as it is, is in the
wicket:id of those components. But that is a Wicket innovation, the
CompoundPropertyModel handling the common base case of components
referring to property names of bound objects (and so table columns).
You'll see (and must have seen) the same coupling in Wicket applications
that use Spring or anything else, because it saves a ton of time and
redundant code. And as much as you want to or need to, you can manually
bind components to any object and field in any Wicket application,
including one that uses Databinder.

Where Databinder is unconventional is not in the templates or anything
that might relate to the JSP dead horse; it is that the view components
themselves encourage the direct use of Hibernate. This also saves a ton
of code and time, but it violates the widespread belief that grown-up
Java applications must have hand-coded database layers. For me,
Hibernate itself is the only layer I require between most UI components
and the database. And I'm not about to encourage users to do extra work
(that I wouldn't do) just to fit a traditional Java architecture
diagram. (Elsewhere, writing ActiveRecord db code in Rails's uninspired
view controllers seems pretty desirable to people.)

But there's plenty of room to disagree on that point, and I realize my
position is still very much the minority in Java circles. I just thought
I should explain it in response. (No further debate from this corner.)

As for the validation configurator, I'm trilled to have it at my
disposal! Yes it's something I thought about doing inside Databinder
(the list is very long, and items are rarely crossed off), but it makes
no differences to me if things are inside or outside, as long as they
work well. Expect it to see some action in the Databinder examples.
(Whenever I wrap up the next version, which Wicket 1.3's trials and
travails have allowed me to procrastinate doing for far too long.)

And thank you for contributing to the world of Wicket programming.

Nathan


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

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


Re: [Wicket-user] HibernateAnnotationComponentConfigurator

2007-06-24 Thread Ryan Sonnek

Thanks for the advice Matej!

The current implementation does *not* support OGNL type nested expressions.
I even have a unit test for it right now.  =)

I'll gladly look into the IPropertyReflectionAwareModel interface to see if
I can improve on this.

I'm not too concerned about this lookup being done multiple times.  It's
only done once per component, and introducing some sort of cache seems like
overhead for now.

On 6/24/07, Matej Knopp [EMAIL PROTECTED] wrote:


Hi,

I noticed that you get the field like this:

String fieldName = propertyModel.getPropertyExpression();
Class type = propertyModel.getTarget().getClass();
...
Field field = type.getDeclaredField(fieldName);
...

That means that the lookup is done on every configuration. Also will
this work for expression such as property1.property2.property3?

Property and CompoundProperty models in wicket implement the
IPropertyReflectionAwareModel interface which can be used to get the
reflection information. I think you should use those instead.

-Matej


On 6/23/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 I don't want to sound like a databinder basher, but I want to make this
 solution very *non-invasive*.  I don't want to have to implement
specific
 interfaces or use specific components for this to work.

 My solution works with standard wicket components and property
models.  No
 need to change your whole application just to get UI validation.


 On 6/23/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
  I've looked at databinder in the past, and although it may be useful,
I
 think it's a bit heavyweight for what I'm trying to achieve.
 
  In my opinion, database access should be abstracted away from the UI
layer
 altogether, which leaves the goals of databinder questionable.  Does
anyone
 remember the horror of the JSP tags that directly connected to
datbases??
 Spring integration is a much more desirable location for database
access,
 and there  is already excellent spring integration with wicket.
 
  My goal is simply to integrate hibernate into wicket for relevant UI
 features.  Validation is an excellent example where wicket should simply
 re-use the same backend validation and display good user feedback
instead of
 waiting for the hibernate validation fire and throwing a big fat
stacktrace.
 
 
 
  On 6/23/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  
   On 6/23/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
  
  
Just sending out a quick release announcement for a new
 Hibernate/Wicket integration in the wicketstuff project.  The
 HibernateAnnotationComponentConfigurator automatically
 configures a wicket component based on the POJO's Hibernate annotations.
   
one especially cool feature is that you can register this behavior
for
 your *entire* application, without worrying about adding this
functionality
 to each page/component.
   
Take a look and let me know what you think!
   
   

http://jroller.com/page/wireframe?entry=hibernateannotationcomponentconfigurator
  
  
   you should consider teaming up with databinder and working on this
 there.
  
   -igor
  
  
  

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



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



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

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


Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-23 Thread Ryan Sonnek

Looks like I got the problem resolved.

I was trying to attach a Behavior from the IComponentOnBeforeRenderListener
in order to setRequired which throws an exception.  When I just setRequired
from within the listener it works fine.

Thanks for the help.
Ryan

On 6/22/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


it should be pretty easy to update the wicketstuff-hibernate project to
verify this is broken.  how should i proceed with this issue?

On 6/22/07, Matej Knopp [EMAIL PROTECTED] wrote:

 That's weird. You should be able to call setRequired from that
 listener, that's the point why i have introduced it!

 -Matej

 On 6/22/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
  I'm *still* trying to find a way to modify a component *when the model
 is
  bound*.  The new IComponentOnBeforeRenderListener seems
  close, but I can't *modify* the component since it's already started
 the
  rendering cycle.  I'm trying to call Component.setRequired (true) on
 the
  component, and that throws an exception right now.
 
  for a more exact usecase (and even a unit test!), check out the
  wicketstuff-hibernate codebase.  The test is currently disabled to not
 break
  the build...
  
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/test/java/org/wicketstuff/hibernate/HibernateAnnotationComponentInstantiaionListenerTest.java?revision=2456view=markup

 
  Again, my goal is to have an *application wide* hook for when the
 model is
  bound on *any* component.  I like the direction of
  IComponentInstantiationListener and
  IComponentOnBeforeRenderListener.  Maybe just need to
  introduce an IComponentOnModelBoundListener?
 
  Ryan
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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



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


[Wicket-user] HibernateAnnotationComponentConfigurator

2007-06-23 Thread Ryan Sonnek

Just sending out a quick release announcement for a new Hibernate/Wicket
integration in the wicketstuff project.  The
HibernateAnnotationComponentConfigurator automatically configures a wicket
component based on the POJO's Hibernate annotations.

one especially cool feature is that you can register this behavior for your
*entire* application, without worrying about adding this functionality to
each page/component.

Take a look and let me know what you think!

http://jroller.com/page/wireframe?entry=hibernateannotationcomponentconfigurator
-
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] HibernateAnnotationComponentConfigurator

2007-06-23 Thread Ryan Sonnek

The current implementation uses:
* NotNull annotation automatically sets the component to be required
(setRequired(true))
* Length annotation automatically adds a MaxLength validator *and* adds html
maxlength attribute to the markup.

If there are other annotations that would be useful, let me know!  I'd love
leverage more hibernate metadata to help wicket projects.

On 6/23/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote:


This sounds very cool! Does it work with Hibernate Validator Annotations
also ?

Thanks, Paolo

On 6/23/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:

 Just sending out a quick release announcement for a new
 Hibernate/Wicket integration in the wicketstuff project.  The
 HibernateAnnotationComponentConfigurator automatically configures a wicket
 component based on the POJO's Hibernate annotations.

 one especially cool feature is that you can register this behavior for
 your *entire* application, without worrying about adding this functionality
 to each page/component.

 Take a look and let me know what you think!

 
http://jroller.com/page/wireframe?entry=hibernateannotationcomponentconfigurator





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



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


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


Re: [Wicket-user] HibernateAnnotationComponentConfigurator

2007-06-23 Thread Ryan Sonnek


this might be nice too
onbeforerender(component c) {
  if (c.hasbeenrednered())  return;
  ...
}



Good catch!

I'm still relatively new to wicket's rendering lifecycle.  Thanks for the
help and let me know if you see other optimizations.
-
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] HibernateAnnotationComponentConfigurator

2007-06-23 Thread Ryan Sonnek

I've looked at databinder in the past, and although it may be useful, I
think it's a bit heavyweight for what I'm trying to achieve.

In my opinion, database access should be abstracted away from the UI layer
altogether, which leaves the goals of databinder questionable.  Does anyone
remember the horror of the JSP tags that directly connected to datbases??
Spring integration is a much more desirable location for database access,
and there  is already excellent spring integration with wicket.

My goal is simply to integrate hibernate into wicket for relevant UI
features.  Validation is an excellent example where wicket should simply
re-use the same backend validation and display good user feedback instead of
waiting for the hibernate validation fire and throwing a big fat stacktrace.

On 6/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


On 6/23/07, Ryan Sonnek [EMAIL PROTECTED] wrote:

 Just sending out a quick release announcement for a new
 Hibernate/Wicket integration in the wicketstuff project.  The
 HibernateAnnotationComponentConfigurator automatically configures a wicket
 component based on the POJO's Hibernate annotations.

 one especially cool feature is that you can register this behavior for
 your *entire* application, without worrying about adding this functionality
 to each page/component.

 Take a look and let me know what you think!

 
http://jroller.com/page/wireframe?entry=hibernateannotationcomponentconfigurator



you should consider teaming up with databinder and working on this there.

-igor


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


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


Re: [Wicket-user] HibernateAnnotationComponentConfigurator

2007-06-23 Thread Ryan Sonnek

I don't want to sound like a databinder basher, but I want to make this
solution very *non-invasive*.  I don't want to have to implement specific
interfaces or use specific components for this to work.

My solution works with standard wicket components and property models.  No
need to change your whole application just to get UI validation.

On 6/23/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


I've looked at databinder in the past, and although it may be useful, I
think it's a bit heavyweight for what I'm trying to achieve.

In my opinion, database access should be abstracted away from the UI layer
altogether, which leaves the goals of databinder questionable.  Does anyone
remember the horror of the JSP tags that directly connected to datbases??
Spring integration is a much more desirable location for database access,
and there  is already excellent spring integration with wicket.

My goal is simply to integrate hibernate into wicket for relevant UI
features.  Validation is an excellent example where wicket should simply
re-use the same backend validation and display good user feedback instead of
waiting for the hibernate validation fire and throwing a big fat stacktrace.


On 6/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 On 6/23/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 
  Just sending out a quick release announcement for a new
  Hibernate/Wicket integration in the wicketstuff project.  The
  HibernateAnnotationComponentConfigurator automatically configures a wicket
  component based on the POJO's Hibernate annotations.
 
  one especially cool feature is that you can register this behavior for
  your *entire* application, without worrying about adding this functionality
  to each page/component.
 
  Take a look and let me know what you think!
 
  
http://jroller.com/page/wireframe?entry=hibernateannotationcomponentconfigurator
 


 you should consider teaming up with databinder and working on this
 there.

 -igor



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



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


Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-22 Thread Ryan Sonnek

it should be pretty easy to update the wicketstuff-hibernate project to
verify this is broken.  how should i proceed with this issue?

On 6/22/07, Matej Knopp [EMAIL PROTECTED] wrote:


That's weird. You should be able to call setRequired from that
listener, that's the point why i have introduced it!

-Matej

On 6/22/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 I'm *still* trying to find a way to modify a component *when the model
is
 bound*.  The new IComponentOnBeforeRenderListener seems
 close, but I can't *modify* the component since it's already started the
 rendering cycle.  I'm trying to call Component.setRequired(true) on the
 component, and that throws an exception right now.

 for a more exact usecase (and even a unit test!), check out the
 wicketstuff-hibernate codebase.  The test is currently disabled to not
break
 the build...

http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/test/java/org/wicketstuff/hibernate/HibernateAnnotationComponentInstantiaionListenerTest.java?revision=2456view=markup

 Again, my goal is to have an *application wide* hook for when the model
is
 bound on *any* component.  I like the direction of
 IComponentInstantiationListener and
 IComponentOnBeforeRenderListener.  Maybe just need to
 introduce an IComponentOnModelBoundListener?

 Ryan



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



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

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


[Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-21 Thread Ryan Sonnek

I'm *still* trying to find a way to modify a component *when the model is
bound*.  The new IComponentOnBeforeRenderListener seems close, but I can't
*modify* the component since it's already started the rendering cycle.  I'm
trying to call Component.setRequired(true) on the component, and that throws
an exception right now.

for a more exact usecase (and even a unit test!), check out the
wicketstuff-hibernate codebase.  The test is currently disabled to not break
the build...
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/test/java/org/wicketstuff/hibernate/HibernateAnnotationComponentInstantiaionListenerTest.java?revision=2456view=markup

Again, my goal is to have an *application wide* hook for when the model is
bound on *any* component.  I like the direction of
IComponentInstantiationListener and IComponentOnBeforeRenderListener.  Maybe
just need to introduce an IComponentOnModelBoundListener?

Ryan
-
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] IComponentInstantiationListener problem

2007-06-18 Thread Ryan Sonnek

I've had this same issue when trying to build a component instantiation
listener for inspecting hibernate annotations.  Since the
IComponentInstantiationListener interface doesn't have a hook for
onModelBinding, i've tried to use Behaviors instead.  Can you try
something like this?

public MyComponentInstantiationListener implements
IComponentInstantiationListener {
   public void onInstantiation(Component component) {
   component.add(new MyBehavior());
   }
}

public MyBehavior extends AbstractBehavior {
   public void bind(Component component) {
   super.bind(component);

   //inspect the model of the component and do your crazy work here
  }
}


On 6/18/07, Alberto Bueno [EMAIL PROTECTED] wrote:


Hi,

I'm using IComponentInstantiationListener to add additional
functionality to my components. But in this listener I need to know the
model of the component to condition this functionality.
If we inspect the code, we can see that the listeners are called before
assigning the model to the component:

public Component(final String id, final IModel model)
{
setId(id);
getApplication().notifyComponentInstantiationListeners(this);
this.model = wrap(model);

final IDebugSettings debugSettings =
Application.get().getDebugSettings();
if (debugSettings.getComponentUseCheck())
{
setMetaData(CONSTRUCTED_AT_KEY, Strings.toString(this, new
MarkupException(
constructed)));
}
}

Are there any reason to do the notification in that moment?

Thanks



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

-
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] absolute resource paths and asset servers

2007-06-08 Thread Ryan Sonnek
I've seen a discussion over the past few days about relative vs
absolute paths in wicket.  I'd like to pose a similar question and see
if wicket can support this usecase.

Ruby on Rails has this new feature where they will automatically
convert images and javascript references to use a different domain
name (a.k.a. asset server).  This allows for the application to bypass
the browser limitation of two resources per domain at a time.

I would like to know if I can do something similar in wicket.

for example, I have several servers (asset1.myserver.com,
asset2.myserver.com), and I would like to use a wicket
ResourceReference that will automatically (or randomly) choose between
my servers for improved performance.

Something like:
add(new AssetResourceReference(MyClass.class, javascript.js, new
String[] {asset1.myserver.com, asset2.myserver.com}));

The question is, can something like this work?  can wicket generate
absolute urls, or does wicket only deal with relative urls?

This would be a big deal for working with high traffic wicket sites.

Ryan

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


Re: [Wicket-user] wickettester failures

2007-06-06 Thread Ryan Sonnek
here is the output from maven (copied from bamboo logs):

[INFO] Surefire report directory: /data/​home/​wicket/​var/​data/
bamboo/​xml-data/​build-dir/​ WICKETSCRIPTACULOUS-TRUNK/​target/
surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to
instantiate POJO 'class
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel'; nested
exception is java.lang.InstantiationException:
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel; nested
exception is org.apache.maven.surefire.testset.TestSetFailedException:
Unable to instantiate POJO 'class
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel'; nested
exception is java.lang.InstantiationException:
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel
org.apache.maven.surefire.testset.TestSetFailedException: Unable to
instantiate POJO 'class
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel'; nested
exception is java.lang.InstantiationException:
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel
java.lang.InstantiationException:
org.wicketstuff.scriptaculous.inplaceeditor.TestPanel
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at 
org.apache.maven.surefire.testset.PojoTestSet.init(PojoTestSet.java:52)
at 
org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.createTestSet(JUnitDirectoryTestSuite.java:61)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:93)
at 
org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

On 6/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 What is the failure stack trace when you execute it in maven?

 Eelco

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

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

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


Re: [Wicket-user] wickettester failures

2007-06-06 Thread Ryan Sonnek
On 6/5/07, James McLaughlin [EMAIL PROTECTED] wrote:
 Hi Ryan,
 I don't think you can test it like that unless you have a default
 constructor, and even then I don't think it will work (I'm a bit
 spotty on this). What I have always done is this:

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

 Hope that fixes it for you.

No luck.  Using the TestPanelSource still has the same issues.  I've
also tried using tester.startPage() instead of using panels, and I
still get the same exception:

org.apache.maven.surefire.booter.SurefireExecutionException: There is
no application attached to current thread main

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


Re: [Wicket-user] wickettester failures

2007-06-06 Thread Ryan Sonnek
THANK YOU!

I was pulling my hair out, and since this was my first time with the
WicketTester, i was totally thinking it was my use of the wicket
classes.

Now i'm back to kicking ass!

On 6/6/07, James McLaughlin [EMAIL PROTECTED] wrote:
 Hi Ryan,

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

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

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

 build
 ...
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-surefire-plugin/artifactId
 configuration
   excludes
 exclude**/*Panel*/exclude
   /excludes
 /configuration
   /plugin

 best,
 jim

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

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


-
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] TextTemplateHeaderContributor.forJavaScript and Ajax

2007-06-05 Thread Ryan Sonnek
Issue filed:
https://issues.apache.org/jira/browse/WICKET-618


On 6/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Was an RFE made for that? Seems like something we should do
 automagically if possible.

 Eelco

 On 6/5/07, Alex Objelean [EMAIL PROTECTED] wrote:
 
  I use for this purpose the Igor's idea of OnLoadJavascriptBehavior, see
  http://www.nabble.com/adding-a-listener-to-the-AjaxRequestTarget-tf3065865.html#a8548871
  here .
 
 
 
 
  N. Kiellberg wrote:
  
   Hi
   I have panel where I have added a TextTemplateHeaderContributor. When I
   include this panel directly on a page there is no problems, but when I
   use Ajax to replace another panel with this panel it dosen´t work. It
   seems like the browser dosen´t know that js-functions has been included .
   If I refresh the page it works again.
  
   Nicholas
  
  
 
  --
  View this message in context: 
  http://www.nabble.com/TextTemplateHeaderContributor.forJavaScript-and-Ajax-tf3865042.html#a10975739
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

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


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


[Wicket-user] wickettester failures

2007-06-05 Thread Ryan Sonnek
I could use a little help here.  I'm trying to write a unit test for
my component in wicketstuff-scriptaculous.  The test runs in eclipse
just fine, but running mvn test causes a build failure.

What is the correct way to test this?

public class AjaxEditInPlaceLabelTest extends TestCase {
public void testModelIsNotEscaped() {
WicketTester tester = new WicketTester();
tester.startPanel(TestPanel.class);

tester.assertContains(me  you);
}
}

public class TestPanel extends Panel {
public TestPanel(String id) {
super(id);  
add(new AjaxEditInPlaceLabel(label, new Model(me  you)));
}
}


http://www.wicketstuff.org/bamboo/build/viewBuildLog.action?buildKey=WICKETSCRIPTACULOUS-TRUNKbuildNumber=49

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


[Wicket-user] Fwd: inspecting property models

2007-05-11 Thread Ryan Sonnek
forwarding to wicket-user

-- Forwarded message --
From: Ryan Sonnek [EMAIL PROTECTED]
Date: May 10, 2007 10:33 PM
Subject: inspecting property models
To: [EMAIL PROTECTED]


This discussion came out of the recent hibernate wicket-stuff
activity.  For my behaviors/validators/listeners to work, I need to
have visibility into the PropertyModel's internal configuration.  In
particular, I need access to the:
* propertyExpression configured for a particular form component
*  targetClass that this model is using

I've worked around this for now by creating a subclass
(HibernateAnnotationPropertyModel), but it's pretty restrictive and
unfortunate that users are forced to use this non-standard property
model.

Any opinions on a better way to go about this, or change the
wicket-core to support this use case?

http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-hibernate-behavior/

-
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] inspecting model from IComponentInstantiationListener

2007-05-10 Thread Ryan Sonnek
What exactly should a component instantiation listener be able to do?
I'm trying to build one that will inspect the model of every
component, but the model is not yet bound.  is there a way to register
a listener that is notified once the model is bound?

-
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] Button using button tag instead of input

2007-05-05 Thread Ryan Sonnek
On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 * Ryan Sonnek:

  Using  the current  Link  object  is *not*  an  option since  it
  doesn't disable buttons correctly.

 Yes it does it's fixed.


So, now I'm confused.  If Link is fixed, should I use it or the
updated Button object?

-
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] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
I've actually tried that.  The issue I currently have is that when a
true link is disabled, wicket removes the a tag and renders it as
an unclickable span.  With a button, the disabled='disabled'
attribute should be added.

Is there a way to customize this or override the current behavior of
the Link object?

On 4/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 use link or submitlink.

 -igor



 On 4/30/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 
  I'm trying to use a wicket Button on an html button tag instead of
  an input tag, but wicket keeps throwing this error:
  WicketMessage: Component deleteSlideButton must be applied to a tag of
  type 'input', not 'button wicket:id=deleteSlideButton'
 
  Is this possible, or is there a different wicket object that I can use?
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



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


Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
should this change be in the recent 1.3 snapshots (from bamboo)?  I
can check it out later today if so.

On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 in html button tag is a container, while our button component is not. so a
 link is a better match. did you also fix it so button doesnt add a value
 attr when it is attached to button? because button value=foo/ is
 illegal.

 -igor



 On 5/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
  i fixed that again.
  that broke all our solutions and it just feels stupid that
  button doesn't map on the component Button
 
  Button class should just do its job looking where it is attached to.
 
  johan
 
 
 
 
  On 5/1/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   use link or submitlink.
  
   -igor
  
  
  
  
   On 4/30/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:
I'm trying to use a wicket Button on an html button tag instead of
an input tag, but wicket keeps throwing this error:
WicketMessage: Component deleteSlideButton must be applied to a tag of
type 'input', not 'button wicket:id=deleteSlideButton'
   
Is this possible, or is there a different wicket object that I can
 use?
   
   
 -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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



-
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] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
I'm open to anything, but *something* needs to have knowledge of these
exceptions.  specifically:
the link tag does *not* work to disable buttons.

Either the Link, Button or a new Component should be able to handle this.

On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 buttons dont need name either. they dont post. so how many exceptions are
 you making just for button? it is easier to simply attach a link.


 -igor


 On 5/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
  Button is a FormComponent and all FormComponents are Containers so that
 works fine.
 
  if (Strings.isEqual(input, name))
  {
  String value = getModelObjectAsString();
  if (value != null  !.equals(value))
  {
  tag.put(value, value);
  }
  }
 
  so only if it is an input the value will be set.
  What about the name?
 
 
  johan
 
 
 
  On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
   in html button tag is a container, while our button component is not. so
 a link is a better match. did you also fix it so button doesnt add a value
 attr when it is attached to button? because button value=foo/ is
 illegal.
  
   -igor
  
  
  
  
   On 5/1/07, Johan Compagner  [EMAIL PROTECTED] wrote:
i fixed that again.
that broke all our solutions and it just feels stupid that
button doesn't map on the component Button
   
Button class should just do its job looking where it is attached to.
   
johan
   
   
   
   
On 5/1/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 use link or submitlink.

 -igor




 On 4/30/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:
  I'm trying to use a wicket Button on an html button tag instead
 of
  an input tag, but wicket keeps throwing this error:
  WicketMessage: Component deleteSlideButton must be applied to a
 tag of
  type 'input', not 'button wicket:id=deleteSlideButton'
 
  Is this possible, or is there a different wicket object that I can
 use?
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 



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

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


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


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

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
I've created an issue in JIRA to track this issue:
https://issues.apache.org/jira/browse/WICKET-521

Again, i don't have any preference on a solution, just that something
works.  Using the current Link object is *not* an option since it
doesn't disable buttons correctly.

On 5/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
 Buttons can have a name and value:

 http://www.w3schools.com/tags/tag_button.asp
 http://www.htmlcodetutorial.com/forms/_BUTTON.html

 and some more examples and you see that they are pretty much equal to input
 type=xxx

 http://www.expertrating.com/courseware/XHTMLCourse/XHTML-Forms-4.asp

 and i still think it is stupid to have a Button component that can't be
 mapped on the button tag
 If we make an exception then Button should work for buttom and we should
 make some SubmitButton component for input type=submit
 thats much more logical.
 But this is not needed. We just need to figure out so that it works on both
 because they are the same except with one distinction:
 Inside a button element you can put content , like text or images. This is
 the difference between this element and buttons created with the input
 element.



 On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  buttons dont need name either. they dont post. so how many exceptions are
 you making just for button? it is easier to simply attach a link.
 
 
  -igor
 
 
 
  On 5/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
   Button is a FormComponent and all FormComponents are Containers so that
 works fine.
  
   if (Strings.isEqual(input, name))
   {
   String value = getModelObjectAsString();
   if (value != null  !.equals(value))
   {
   tag.put(value, value);
   }
   }
  
   so only if it is an input the value will be set.
   What about the name?
  
  
   johan
  
  
  
   On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
in html button tag is a container, while our button component is not.
 so a link is a better match. did you also fix it so button doesnt add a
 value attr when it is attached to button? because button value=foo/ is
 illegal.
   
-igor
   
   
   
   
On 5/1/07, Johan Compagner  [EMAIL PROTECTED] wrote:
 i fixed that again.
 that broke all our solutions and it just feels stupid that
 button doesn't map on the component Button

 Button class should just do its job looking where it is attached to.

 johan




 On 5/1/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  use link or submitlink.
 
  -igor
 
 
 
 
  On 4/30/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:
   I'm trying to use a wicket Button on an html button tag
 instead of
   an input tag, but wicket keeps throwing this error:
   WicketMessage: Component deleteSlideButton must be applied to a
 tag of
   type 'input', not 'button wicket:id=deleteSlideButton'
  
   Is this possible, or is there a different wicket object that I
 can use?
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and
 take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 



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

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


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

[Wicket-user] wicket-bench for 1.3-SNAPSHOT

2007-04-30 Thread Ryan Sonnek
is there anyone from the wicket-bench team out there that can provide
info on a new version for the upcoming 1.3 release?  now that the
package names have changed, my wicket bench tests are totally hosed
up...

-
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] Button using button tag instead of input

2007-04-30 Thread Ryan Sonnek
I'm trying to use a wicket Button on an html button tag instead of
an input tag, but wicket keeps throwing this error:
WicketMessage: Component deleteSlideButton must be applied to a tag of
type 'input', not 'button wicket:id=deleteSlideButton'

Is this possible, or is there a different wicket object that I can use?

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


Re: [Wicket-user] ajax / javascript widgets in wicket

2007-04-13 Thread Ryan Sonnek
i'll just add my two cents here.  I don't have a solution for you, but
i can tell you that wicket has helped me kick ass developing AJAX
heavy apps.  The wicket API makes it extremely easy for me to get what
I need done.

It makes the easy things easy and the hard things possible.  Looks
like you're trying to do some of the harder things, so i wouldn't
expect an easy answer...

On 4/13/07, Alexei Sokolov [EMAIL PROTECTED] wrote:
 This discussion is going nowhere.

 Adding li tag is not browser safe? First, it is not true; second - it's
 not the point. Let's say i want to call 'addNewItemToMyList()' function on
 the client instead. How should I do this so that my component is *reusable*
 in both cases - when I update it from ajax call or using regular page
 update. Behavior seems like a good fit, but it is not possible to remove a
 behavior from the component, so one time use behaviors are not possible.
 Here is how it might work: you have a behavior that generates whatever you
 want when component is added to ajaxrequesttarget, sometimes overriding
 markup generated by the component. This behavior is added by the component
 when you call certain component methods (like itemAdded()) and should remove
 itself from the component after request processing is done. This way you can
 customize output of ajaxrequesttarget.add(component). Also, at the moment
 javascript files (and other resources) are nicely packages, but there are no
 mechanism for javascript namespaces (i'd like to see all component-related
 javascript to reside in its own private namespace on the client, so there
 are no conflicts).

 I have a feeling that wicket is not javascript-friendly. AjaxRequestTarget
 seems to be taconite limited edition (tm) (see
 http://taconite.sourceforge.net/), and it is not clear to
 me how to create reusable ajax/javascript widgets using wicket. I hope it is
 possible, but not very well documented.


 Alex

 On 4/13/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
 
  from the wiki:
 
  
 
  What you typically want to do is to redraw the complete ul/ul
  part, because most browsers really don't appreciate when you replace
  parts of a tag, especially when you are working with a table.
 
  
  just adding a line li there with JS isnt browsersafe - you can however
 still do it if you provide a own ListView implementation.
 
 
  
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Alexei Sokolov
  Gesendet: Freitag, 13. April 2007 18:14
  An: [EMAIL PROTECTED]
  Betreff: Re: [Wicket-user] ajax / javascript widgets in wicket
 
 
 
  That solution will replace ul element and all of its children, which is
 not what I want.
 
  I need something like one-time-use javascript behavior, which can be
 attached to a component and then discarded after first rendering.
 
  Alex
 
 
  On 4/13/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  
  
   We had this question 2 days ago, solution is in wiki:
  
  
 http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
  
   the List actions itself like add and delete are part of List and you
 just would have to ListView.setList(yourListInHere) prior to repainting the
 markupcontainer with ajax.
  
   Regards
  
  
  
   
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Alexei Sokolov
   Gesendet: Freitag, 13. April 2007 00:41
   An: [EMAIL PROTECTED]
   Betreff: [Wicket-user] ajax / javascript widgets in wicket
  
  
  
   Hello guys,
  
   I have a question about designing ajax/javascript widgets using wicket.
 Here is my problem:
  
   I have a form, which I submit using ajax submit button and I have a list
 view like this:
  
   ul
 li wicket:id=itemblah/li
   /ul
  
  
   What I want to do is:
   - add a new li element to the list (but don't change other DOM nodes
 in the document)
   - call a javascript function to apply some visual effects to the item
  
   I want a similar method for removing items from the list, updating
 items, etc.
  
   How do I design such widget?
  
   Thank you,
   Alex
  
  
  
 -
   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.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   [EMAIL PROTECTED]
  
 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] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-07 Thread Ryan Sonnek
Just my 2 cents, but considering the *massive* API changes in other
opensource projects when releasing a major version, i don't think
providing users with an easy upgrade path is that important.

Look at struts for example.  version 2.0 is a *complete* rewrite and
requires users to do a lot of work to change.

I would rather have the wicket developers make these decisions based
on what's best for the Wicket API rather than what's best for users.
Just a thought...

On 3/7/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 Hello,

 We are currently evaluating whether to use 1.2, 1.3 or 2.0 for a new
 project. Given that 1.3 will have a RC very soon, and that the question
 on W2.0 is even out there, we will go for 1.3 for sure.
 If this is a more common sentiment, I would say: drop further
 development for 2.0 as soon as possible. In the arts world there is an
 expression: 'Kill your darlings'. I am afraid this is appropriate here
 as well.

 I am sorry if Eelco en Martijn have to rewrite their book ;(

 Regards,
 Erik.


 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.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 --
 Erik van Oosten
 http://www.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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] building wicket-stuff snapshots

2007-03-05 Thread Ryan Sonnek

I'm working on setting up the wicket-contrib-scriptaculous project on the
wicket-stuff bamboo server, and would like to know if it's possible to have
it automatically publish snapshots to the wicket-stuff maven repo?

anything special needed to set this up?
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] building wicket-stuff snapshots

2007-03-05 Thread Ryan Sonnek

Rock on!  It can't get much more simple than that!

On 3/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


nothing special, just mvn install

the webserver links to the local maven repository :)

-igor


On 3/5/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:

 I'm working on setting up the wicket-contrib-scriptaculous project on
 the wicket-stuff bamboo server, and would like to know if it's possible to
 have it automatically publish snapshots to the wicket-stuff maven repo?

 anything special needed to set this up?


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 2.x - renderHead() changes?

2007-03-05 Thread Ryan Sonnek
I just updated the wicket-contrib-scriptaculous bamboo build to
automatically kick off whenever the core wicket build occurs, and I'm
getting a wierd error.  Did some core API change somewhere?

http://wicketstuff.org/bamboo/build/viewBuildLog.action?buildKey=WICKETSCRIPTACULOUS-TRUNKbuildNumber=3

cannot find symbol
symbol  : method renderHead(wicket.markup.html.IHeaderResponse)
location: class wicket.markup.html.form.TextFieldT
/data/ ​home/​wicket/​var/​data/​bamboo/​xml-data/​build-dir/
WICKETSCRIPTACULOUS-TRUNK/​src/​java/​wicket/​contrib/​scriptaculous/
autocomplete/​AutocompleteTextFieldSupport.java:[37,9] method does not
override a method from its superclass
-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 2.x - renderHead() changes?

2007-03-05 Thread Ryan Sonnek
My apologies, I pulled down the latest codebase and was able to change
the scriptaculous code to use HeaderContributor.forCss() instead.

Now that bamboo is setup to build correctly, i should catch these
issues right away!

On 3/5/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 I just updated the wicket-contrib-scriptaculous bamboo build to
 automatically kick off whenever the core wicket build occurs, and I'm
 getting a wierd error.  Did some core API change somewhere?

 http://wicketstuff.org/bamboo/build/viewBuildLog.action?buildKey=WICKETSCRIPTACULOUS-TRUNKbuildNumber=3

 cannot find symbol
 symbol  : method renderHead(wicket.markup.html.IHeaderResponse)
 location: class wicket.markup.html.form.TextFieldT
 /data/ home/​wicket/​var/​data/​bamboo/​xml-data/​build-dir/
 WICKETSCRIPTACULOUS-TRUNK/​src/​java/​wicket/​contrib/​scriptaculous/
 autocomplete/​AutocompleteTextFieldSupport.java:[37,9] method does not
 override a method from its superclass

-
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.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Ryan Sonnek

Igor,
I'd love to get the wicket-scriptaculous project involved in this as well.
what account information do you need to set this up?

On 2/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


yes, you can create user groups and assign them to projects, etc.

so far no one from wicket-stuff asked to be added. you are an admin in
bamboo btw, so you can add them too.

-igor


On 2/26/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:

 * Igor Vaynberg:

  if  project/wicket-stuff  maintainers   add  their  projects  to
  our   bamboo  instance   the   snapshots  will   be  housed   at
  wicketstuff.org/maven/repository

 Thanks Igor, nice idea.  I just did it:

 
http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3-incubating-SNAPSHOT/


 http://wicketstuff.org/bamboo/browse/DOJO-CORE

 However bamboo is not accessible to all wicket-stuff maintainers
 yet.  Is it possible to configure access control in Bamboo, so
 that XXX maintainer only has access to XXX?
 --
  Jean-Baptiste Quenot
 aka  John Banana   Qwerty
 http://caraldi.com/jbq/

 -

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

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 1.3/2.0 Snapshots?

2007-02-09 Thread Ryan Sonnek

i can't wait for 2.0 snapshots!  =)

would it be worthwhile for me to open a JIRA issue to monitor when snapshots
for 2.0 start getting published?

On 2/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


1.3 is here, 2.0 will be joining at some point in the future

http://wicketstuff.org/maven/repository/org/apache/wicket/

-igor


On 2/9/07, spencer.c [EMAIL PROTECTED] wrote:


 Excellent, I hadn't seen that link anywhere.

 This helps, esp. with the 2.0 build.  1.3 is not listed here, however,
 and
 perhaps could be set up since the other two branches are handled.  Then
 we
 could have a one stop snapshot spot.


 http://wicketstuff.org/maven/repository/

 -igor


 On 2/9/07, spencer.c wrote:
 
 
  Since it seems like there are alot of recommendations toward using the
 1.3
  and/or 2.0 branches on new developments, I was wondering if it would
 be
  possible to start getting snapshots of those branches built once in a
  while
  for download?  Whether continuously or every so often at a mostly
 stable
  state, it would be a big time saver.
 
  Thanks for your consideration.
 
  -spencer

 --
 View this message in context:
 http://www.nabble.com/1.3-2.0-Snapshots--tf3202761.html#a8893671
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -

 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-21 Thread Ryan Sonnek

As a followup question

Until this bug has been fixed, is there a way to disable page versioning
all-together?  My app is very ajax heavy, so it's bordering on unusable
until this is fixed.

On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


Done!
https://issues.apache.org/jira/browse/WICKET-216


On 1/17/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 dont think so but feel free to open one

 -igor


 On 1/17/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:
 
  Thanks for the update.
 
  is there a JIRA issue that I can watch for when this will be fixed?
 
  On 1/17/07, Matej Knopp  [EMAIL PROTECTED] wrote:
  
   Yeah, this is a problem with 2.0 currently. Ajax requests increase
   page
   version. Johan promised to fix this soon :)
  
   -Matej
  
   Igor Vaynberg wrote:
a good start is to isolate this in a quickstart so we can all look
   at
it. if you want to do it yourself then just break in request cycle
   and
walk the steps, see why the page cannot be resolved.
   
-igor
   
   
On 1/16/07, *Ryan Sonnek*  [EMAIL PROTECTED]
mailto: [EMAIL PROTECTED] wrote:
   
I'm running wicket-2.0 from a recent svn checkout and i'm
   seeing a
*lot* of page expired exceptions when using ajax
   behaviors.  I'm
wondering where I can start digging to see why this is
   happening.
Any ideas?
   
   
   -
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.phpp=sourceforgeCID=DEVDEV

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto: Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https

Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-17 Thread Ryan Sonnek

Thanks for the update.

is there a JIRA issue that I can watch for when this will be fixed?

On 1/17/07, Matej Knopp [EMAIL PROTECTED] wrote:


Yeah, this is a problem with 2.0 currently. Ajax requests increase page
version. Johan promised to fix this soon :)

-Matej

Igor Vaynberg wrote:
 a good start is to isolate this in a quickstart so we can all look at
 it. if you want to do it yourself then just break in request cycle and
 walk the steps, see why the page cannot be resolved.

 -igor


 On 1/16/07, *Ryan Sonnek* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I'm running wicket-2.0 from a recent svn checkout and i'm seeing a
 *lot* of page expired exceptions when using ajax behaviors.  I'm
 wondering where I can start digging to see why this is happening.
 Any ideas?


-
 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.phpp=sourceforgeCID=DEVDEV
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-17 Thread Ryan Sonnek

Done!
https://issues.apache.org/jira/browse/WICKET-216


On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


dont think so but feel free to open one

-igor


On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote:

 Thanks for the update.

 is there a JIRA issue that I can watch for when this will be fixed?

 On 1/17/07, Matej Knopp  [EMAIL PROTECTED] wrote:
 
  Yeah, this is a problem with 2.0 currently. Ajax requests increase
  page
  version. Johan promised to fix this soon :)
 
  -Matej
 
  Igor Vaynberg wrote:
   a good start is to isolate this in a quickstart so we can all look
  at
   it. if you want to do it yourself then just break in request cycle
  and
   walk the steps, see why the page cannot be resolved.
  
   -igor
  
  
   On 1/16/07, *Ryan Sonnek*  [EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED] wrote:
  
   I'm running wicket-2.0 from a recent svn checkout and i'm seeing
  a
   *lot* of page expired exceptions when using ajax behaviors.  I'm
 
   wondering where I can start digging to see why this is
  happening.
   Any ideas?
  
  
  -
   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.phpp=sourceforgeCID=DEVDEV
   
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   mailto: Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
   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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-16 Thread Ryan Sonnek

I'm running wicket-2.0 from a recent svn checkout and i'm seeing a *lot* of
page expired exceptions when using ajax behaviors.  I'm wondering where I
can start digging to see why this is happening.  Any ideas?
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

2007-01-11 Thread Ryan Sonnek

I just signed up as well (wireframe).

should we create a separate space for each wicket-stuff project?  I think
that confluence works the best using spaces instead of child pages to
segregate info.

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


On 1/11/07, James McLaughlin [EMAIL PROTECTED] wrote:
 Well, on second thought, there is hardly anything in the sf issue
tracker
 for wicket-stuff, so there wouldn't be any migration issues. I didn't
 realize Jira could be part of the package. If others agree, and it
wouldn't
 be to difficult for you, it would be great to have Jira and Confluence
 together.

Yeah, absolutely.
+1 for Jira
Jira rocks!

--
  filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

2007-01-11 Thread Ryan Sonnek

+1 for space per project

I'll take the scripaculous project documentation lead.

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


you guys need to first decide how you want to organize confluence. space
per project? one wiki, one website? who has admin to what?

after a consensus has been reached i will create the necessary
spaces/permissions

-igor


On 1/11/07, Justin Lee [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: RIPEMD160

 I just signed up as cheeser.  How do I go about creating a space for the
 JR stuff?  Do I need to be an admin for that or can any user do that?

 Igor Vaynberg wrote:
  i already have, while i was setting up the other three :)
 
  -igor
 
 
  On 1/11/07, *Eelco Hillenius* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Could you make me an admin as well? Thanks,
 
  Eelco
 
  On 1/11/07, Igor Vaynberg  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
   you, jim, and korbinian are now admins for the wicket-stuff
 spaces
  
   -igor
  
  
  
   On 1/11/07, Filippo Diotalevi  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
On 1/11/07, Igor Vaynberg  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 http://81.17.46.170:8090/confluence

 sign up for an account and i will grant you permissions
   
Great Job igor!
I've just signed up with the account 'fdiotalevi'
--
Filippo Diotalevi
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
http://www.diotalevi.com/weblog
http://www.jugmilano.it
   
   
  
 
 -
 
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net 's Techsay panel and you'll get the
 chance
  to share
   your
opinions on IT  business topics through brief surveys - and
  earn cash
   
  
  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto: Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  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.phpp=sourceforgeCID=DEVDEV

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

 - --
 Justin Lee
 http://www.antwerkz.com
 AIM : evan chooly
 Skype : evanchooly
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2.1 (Cygwin)

 iD8DBQFFpp/MJnQfEGuJ90MRA6g/AKDYxhU5LoTXA9i8aeuJhgl9xYzdGACfXFmz
 5Cok7tkcLQUSvV+Hr5QTjJc=
 =lD5o
 -END PGP SIGNATURE-


 -
 Take Surveys. Earn Cash. Influence 

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

2007-01-09 Thread Ryan Sonnek

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

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


On 1/9/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 the current seems very basic to me, and i never heard about MoinMoin and
its
 capabilities before - what wonders me, is if it would be possible to use
 confluence, as its used for wicket main so we would have only 1
technology /
 system and users/ contributors would only have 1 system to know... any
 thoughts on this? - can wicket-stuff also profit from apache or is this
only
 for listed projects there?

Yeah, I must admit that I'd prefer so much to go with confluence.
With this regard, there are 3 possible solutions:

- ask Atlassian for a free open source license. I've already done
that, it requires some time (it required more than a month in my
case). Then you need to find a java hosting... not impossible, but
requires some work as well

- As I told you, I already have a free license of Confluence for the
Java User Group Milano. We are building our website with it, but it
should be easy to add a workspace in our installation for
wicket-stuff. However, wicket-stuff would probably be a medium-traffic
website (much more than our), so I'd probably need to find another
java hosting

- Use Apache confluence.. needless to say, I'd love it! but we've
already discussed about it and I remember some folks being not very
enthusiastic about this solution

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem using JavaScriptReference

2007-01-08 Thread Ryan Sonnek

I wish some of these shortcuts made it up on the wiki.  the majority of
users start from existing example code, which is usually the hard way.

On 1/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Use

new JavaScriptReference(myJs, scripts/myjs.js);

btw, you don't really need the wicket:head section, as you can simply
do:

add(HeaderContributor.forJavaScript(scripts/myjs.js));


Eelco


On 1/2/07, Gavin [EMAIL PROTECTED] wrote:

 I am trying to use JavaScriptReference and add it to a panel's header
 section.

 JavaScriptReference js = new JavaScriptReference(
 myJs,
 MyClass.class,
 scripts/myjs.js);
 in my panel

 and
 head
 wicket:head
 script wicket:id=myJs language=javascript
 type=text/javascript/script
 /wicket:head
 /head

 However, I would like to locate the mysj.js in a scripts directory off
the
 main (root) directory. I want the following dir structure...

 webapps
myapp
   WEB-INF
classes
 myapp
   scripts

 Can anyone help me?

 Thanks


 --
 View this message in context:
http://www.nabble.com/Problem-using-JavaScriptReference-tf2906839.html#a8121038
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] confusing AjaxFallbackLink API

2007-01-08 Thread Ryan Sonnek

Although I'm not a committer, I'd like to open RFE for an API change, and
I'd like to get feedback from the devs.

Here's my complaint.  When I'm using an AjaxFallbackLink, I'm making an
explicit decision that I want to handle ajax and non-ajax requests in
different ways.  The problem is that there's only one callback function
which causes my implementation to *always* look something like this:

new AjaxFallbackLink() {
 protected void onClick(AjaxTarget target) {
   if (target == null) {
 //ajax not used, fallback to normal
 getRequestCycle().setResponsePage(Foo.class);
   }
   //perform ajax stuff
   target.addComponent(this);
 }

I think it would be much nicer if the API had two extension points to avoid
this branching logic.  something like:

new AjaxFallbackLink() {
 protected void onFallbackClick() {
 //ajax not used, fallback to normal
 getRequestCycle().setResponsePage(Foo.class);
 }

 protected void onClick(AjaxTarget target) {
   //perform ajax stuff
   target.addComponent(this);
 }

I'd be happy to open an issue and even provide patches if others think this
would be useful.
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] confusing AjaxFallbackLink API

2007-01-08 Thread Ryan Sonnek

That's not a bad idea.  it's a simple enough extension.  I could even add
it to the wiki if anyone else has a similar use case.

On 1/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


thats funny, i came to the opposite conclusion when designing it. most of
my usecases looked like this

onclick(AjaxRequestTarget) {
   // dosomething
   if (target!=null) {
// setup repaint
   }
}

the // dosomething being the same between ajax and non ajax versions, so
having two methods was being pita.

if you come up against your usecase a lot why not create a simple subclass
and route to different methods?

-igor


On 1/8/07, Ryan Sonnek [EMAIL PROTECTED] wrote:

 Although I'm not a committer, I'd like to open RFE for an API change,
 and I'd like to get feedback from the devs.

 Here's my complaint.  When I'm using an AjaxFallbackLink, I'm making an
 explicit decision that I want to handle ajax and non-ajax requests in
 different ways.  The problem is that there's only one callback function
 which causes my implementation to *always* look something like this:

 new AjaxFallbackLink() {
   protected void onClick(AjaxTarget target) {
 if (target == null) {
   //ajax not used, fallback to normal
   getRequestCycle().setResponsePage(Foo.class);
 }
 //perform ajax stuff
 target.addComponent(this);
   }

 I think it would be much nicer if the API had two extension points to
 avoid this branching logic.  something like:

 new AjaxFallbackLink() {
   protected void onFallbackClick() {
   //ajax not used, fallback to normal
   getRequestCycle().setResponsePage(Foo.class);
   }

   protected void onClick(AjaxTarget target) {
 //perform ajax stuff
 target.addComponent(this);
   }

 I'd be happy to open an issue and even provide patches if others think
 this would be useful.


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

2007-01-08 Thread Ryan Sonnek

I have a jar ready and available for the wicket-scriptaculous project.
http://jroller.com/page/wireframe/?anchor=wicket_scriptaculous_0_1_1

Unfortunately, all my projects are using wicket-2.0 so that's what the
scriptaculous project has been built against.  if anyone out there wants to
maintain the 1.x version, be my guest, but I'm going to continue just
working with wicket-2.0.  There's no turning back!  =)

On 1/8/07, Ian Clarke [EMAIL PROTECTED] wrote:


I'm using the 1.x branch of Wicket (from about 2 weeks ago), and would
like to use wicket-contrib-scriptaculous, but from a brief
conversation on ##wicket on freenode (where people are infinitely
helpful and a real credit to the project), it appears that this is
maybe not as easy as perhaps it should be (talk of Maven builds, and
undocumented dependencies on particular versions of other libraries).

It was hinted that maybe some people need an excuse to package this
stuff so that it is more conveniently accessible, if so, consider this
to be just such an excuse :-)  Really, if something can be  packaged
as a simple .jar that you can drop into your project, then it should
be - asking people to build it themselves, a process that is not well
documented so far as I can see - is not a good option and really
doesn't do credit to all of your hard work.

Ian.

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AbstractStringResourceStream content type bug

2007-01-05 Thread Ryan Sonnek

I'm building a class that implements the IMarkupResourceStreamProvidor
interface and I'm using the AbstractStringResourceStream like so:

   public IResourceStream getMarkupResourceStream(MarkupContainer
container, Class? extends MarkupContainer containerClass) {
   final String feedOutput = renderFeed();
   return new AbstractStringResourceStream(application/xml;
charset=UTF-8) {
   @Override
   protected String getString() {
   return feedOutput;
   }
   public long length() {
   return feedOutput.length();
   }
   };
   }


I'm passing in the content type, but the page always renders as text/html.
is this a bug, or am I doing something incorrect?
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek

I'm building an rss page similar to the one on the wiki (
http://cwiki.apache.org/WICKET/rss-page.html), but I'd like to have the rss
library i'm using write out the rss instead of duplicating all the markup
and components.

Is it possible for a page to programatically write out to the stream without
having a markup file at all?
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek

As a followup, I was able to override the onRender() method to stream my
content, but I still need an empty markup file or else wicket throws an
exception.

are any risks with going with this approach, and is there any way to get
around the empty markup file?

On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote:


I'm building an rss page similar to the one on the wiki (
http://cwiki.apache.org/WICKET/rss-page.html), but I'd like to have the
rss library i'm using write out the rss instead of duplicating all the
markup and components.

Is it possible for a page to programatically write out to the stream
without having a markup file at all?

-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek

I wrote up a quick blog to demonstrate this solution in case anyone is
interested.  I've built a better wicket RSS page that can handle any of
the RSS formats along with Atom.  if anyone's interested, this could
probably go into wicket-stuff too.

http://jroller.com/page/wireframe?entry=wicket_feedpage

On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote:


As a followup, I was able to override the onRender() method to stream my
content, but I still need an empty markup file or else wicket throws an
exception.

are any risks with going with this approach, and is there any way to get
around the empty markup file?

On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote:

 I'm building an rss page similar to the one on the wiki 
(http://cwiki.apache.org/WICKET/rss-page.html
 ), but I'd like to have the rss library i'm using write out the rss
 instead of duplicating all the markup and components.

 Is it possible for a page to programatically write out to the stream
 without having a markup file at all?



-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek

I would like to use a page so that I can have bookmarkable urls to my rss
feeds.

On 12/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote:


instead of building a page why not just build a link - like DownloadLink -
but instead of streaming a file stream an output of your rss library. or a
combination link/shared resource if you want mounting.

-igor


On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote:

 I'm building an rss page similar to the one on the wiki 
(http://cwiki.apache.org/WICKET/rss-page.html
 ), but I'd like to have the rss library i'm using write out the rss
 instead of duplicating all the markup and components.

 Is it possible for a page to programatically write out to the stream
 without having a markup file at all?


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Ryan Sonnek

the maven2 snapshots of wicket seems to be down.
I've been using wicket-repository (http://maven.sateh.com/wicket/) for quite
a while now.  anyone else use that server or have an alternate?
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Ryan Sonnek

Does anyone know who runs the http://maven.sateh.com/wicket/ site?


On 12/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote:


still waiting for johan to setup our dedicated wicket server to host them
:)

-igor


On 12/29/06, Ryan Sonnek  [EMAIL PROTECTED] wrote:

 the maven2 snapshots of wicket seems to be down.
 I've been using wicket-repository (http://maven.sateh.com/wicket/) for
 quite a while now.  anyone else use that server or have an alternate?


 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-stuff svn issues

2006-12-18 Thread Ryan Sonnek

I know this isn't a core wicket issue, but is anyone else having issues
with the wicket-stuff svn on sourceforge?

I'm getting:
405 Method Not Allowed (https://svn.sourceforge.net)
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] new SortableContainer Component

2006-12-15 Thread Ryan Sonnek

Hey wicket-users,
I've written up a short tutorial on a new Wicket component
(SortableContainer) that integrates scriptaculous into wicket for drag/drop
reordering of ListView items.
http://jroller.com/page/wireframe?entry=wicket_sortable_container

I'd be very interested to hear any feedback from people who've used it, or
have suggestions for improvement!
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Why I recommended Wicket...

2006-12-14 Thread Ryan Sonnek

Other points of consideration is long term maintenance. A component
oriented framework like Wicket encapsulates component functionality into a
black box that can be used in many different contexts and still work as
designed. The same effect is very difficult to achieve with custom tags
(especially when they have external dependencies like javascript, etc).



Well said.  I think this is one of the best accomplishments of wicket.  IMO,
re-usable JSP tags are nearly impossible, while reusable wicket components
are extremely quick and easy to use.
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-scriptaculous release

2006-12-13 Thread Ryan Sonnek

It's just a snapshot release, and since there are
wicket-2.0-SNAPSHOTreleases being published, this doesn't seem much
different.

On 12/13/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:


* Ryan Sonnek:

 Thanks.   I was  mainly wondering  if wicket-stuff  had a  maven
 repository.  Something so  that I can create  releases simply by
 doing: mvn deploy

However what's the point of  releasing a wicket-stuff module based
on a moving wicket trunk?  Is trunk frozen now?
--
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-scriptaculous release

2006-12-12 Thread Ryan Sonnek

The source is available in the wicket-stuff subversion repository (
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-scriptaculous/).
I'll be posting examples on my blog (http://jroller.com/page/wireframe) and
I'll be updating the wicket-stuff examples in subversion as well (
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-scriptaculous-examples/
).

On 12/12/06, Andrew Klochkov [EMAIL PROTECTED] wrote:


Ryan Sonnek wrote:
 Hey wicket users,
 Just wanted to let everyone know I just released the first version of
 the wicket-contrib-scriptaculous project.  It's based on wicket-2.0,
 so it might not work for everyone, but give it a try if your interested!

Where could we get sources/javadocs? Does some sort of demo exist?

--
Andrew Klochkov


-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-scriptaculous release

2006-12-11 Thread Ryan Sonnek

Hey wicket users,
Just wanted to let everyone know I just released the first version of the
wicket-contrib-scriptaculous project.  It's based on wicket-2.0, so it might
not work for everyone, but give it a try if your interested!

http://jroller.com/page/wireframe/?anchor=wicket_scriptaculous_snapshot_release

wicket-stuff admins:
Not sure where the wicket-stuff repository is, so this release is hosted on
my public maven repository (http://maven.codecrate.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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-scriptaculous release

2006-12-11 Thread Ryan Sonnek

I'll take some time to update the wiki with some info.  That's a heck of a
lot easier than updating the maven-site.  =)


On 12/11/06, Filippo Diotalevi [EMAIL PROTECTED] wrote:


On 12/11/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
 Hey wicket users,
 Just wanted to let everyone know I just released the first version of
the
 wicket-contrib-scriptaculous project.  It's based on wicket-2.0, so it
might
 not work for everyone, but give it a try if your interested!


http://jroller.com/page/wireframe/?anchor=wicket_scriptaculous_snapshot_release

 wicket-stuff admins:
 Not sure where the wicket-stuff repository is, so this release is hosted
on
 my public maven repository ( http://maven.codecrate.com)

Congrats Ryan!

as a side note, we really need to update the wicket-stuff website,
since only a few of the wicket-stuff subprojects are documented...
Ryan, do you have any documentation for  wicket-contrib-scriptaculous
? we could start putting it on the wiki, e.g. in this page:
http://wicket-stuff.sourceforge.net/wiki-stuff/WicketContribScriptaculous

--
  filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doing wicket-stuff releases

2006-11-21 Thread Ryan Sonnek

I thought it was up to the individual wicket-stuff projects to release
themselves.

I know that I'm going to be putting some major rework into the
wicket-contrib-scriptaculous project here soon and I'm planning on
performing snapshot and major releases to get them out into the public.

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


On 11/21/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 What is the target Wicket version that wicket-stuff modules should
 be released for?

That depends on the release masters and on which branches are
maintained for the individual projects. Most projects in wicket-stuff
have a 1.2, 1.3 and 2.0 (trunk) branch.

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 Ryan Sonnek

+1 for wicket-stuff using the main wicket wiki

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


Let's let the new maintainers decide on that then :) I agree with
Martijn that it might be nice to have everything in one WIKI - if that
would be ok with Apache policy etc - though otoh, it could be good for
the wicket-stuff project to give it it's own feel and dynamics.

Eelco


On 11/21/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 Not saying don't, but if it's just to track this sort of discussion,
 then the main wiki's as good as anywhere for the moment.

 /Gwyn

 On 21/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  i think if its easy it should be on sf.net
 
  so i would say go ahead
 
  -igor
 
 
  On 11/21/06, James McLaughlin  [EMAIL PROTECTED] wrote:
  
   I can install moinmoin on sourceforge for wicket-stuff. Should I go
ahead
  and do it?
  
  
   On 11/21/06, Filippo Diotalevi  [EMAIL PROTECTED] wrote:
  
On 11/22/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
 Can't we set up a space for wicket-stuff which content we don't
 attribute to the ASF, but provide as a documentation ground for
the
 wicket-stuff project?
 I'd rather have the documentation together in one place than
scattered
 across the internets.
   
That would be great, and also better from the user point of view
   
--
  Filippo
   
   
 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
  your
opinions on IT  business topics through brief surveys - and earn
cash
   
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


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


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

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] adding class to listview

2006-10-17 Thread Ryan Sonnek
I'm using a listview to output an ordered list. I would like to add a class to my li programatically. I don't see a way to do that using the ListView simple template:ol !-- want to add a class=foo to this li! --
 li wicket:id=itemtext goes here/li
/olcode:populateItem(Item item) { //how to add a class to this li? item.addClass(foo);}

-
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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] ajax request does not recreate component with changed model

2006-10-07 Thread Ryan Sonnek
I have a page with a local variable currentItem. I'm trying to use an ajax request to change that item and refresh a detail panel, but the component does not reflect the changes. AjaxLink link = new AjaxLink(selectItem) {
 public void onClick(AjaxRequestTarget target) { currentItem = item; target.addComponent(currentItemContainer); }};public class CurrentItemContainer extends WebMarkupContainer { public CurrentItemContainer(String id) {
 super(id); setOutputMarkupId(true); add(new Label(currentItemName, currentItem.getName())); }}my ajax link fires, and streams back the CurrentItemContainer, but it does not have the newly selected item for model. I'm sure wicket supports this somehow, and i've checked through the ajax examples, but I haven't come across anything yet.

-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ajax request does not recreate component with changed model

2006-10-07 Thread Ryan Sonnek
That worked great, thanks!!I had tried the property model approach, but it didn't work because I wasn't using the EnclosingClass as the modelObject On 10/7/06, 
Matej Knopp [EMAIL PROTECTED] wrote:Your problem is that you create label with constant modal, that is set
to the value of currentItem.getName. So even if you change current itemlater, the item container is not recreated, thus the label still showsold current item name.The solution would be to create the label like this (assuming
currentItem is a member variable of enclosing class:add(new Label(currentItemName, newPropertyModel(EnclosingClassName.this, currentItem.name)));-MatejRyan Sonnek wrote:
 I have a page with a local variable currentItem.I'm trying to use an ajax request to change that item and refresh a detail panel, but the component does not reflect the changes.
 AjaxLink link = new AjaxLink(selectItem) { public void onClick(AjaxRequestTarget target) { currentItem = item; target.addComponent(currentItemContainer); }
 }; public class CurrentItemContainer extends WebMarkupContainer { public CurrentItemContainer(String id) { super(id); setOutputMarkupId(true); add(new Label(currentItemName, 
currentItem.getName())); } } my ajax link fires, and streams back the CurrentItemContainer, but it does not have the newly selected item for model.I'm sure wicket supports this somehow, and i've checked through the ajax examples, but I
 haven't come across anything yet.  -
 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.phpp=sourceforgeCID=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 ITJoin SourceForge.net
's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of 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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Fwd: edit in place label

2006-10-05 Thread Ryan Sonnek
trying again. looks like the first email was blocked.-- Forwarded message --From: Ryan Sonnek 
[EMAIL PROTECTED]Date: Oct 2, 2006 10:44 AMSubject: edit in place labelTo: wicket-user@lists.sourceforge.netI'm trying to build out a new wicket component on top of the scriptaculous edit in place label. The piece that's confusing me is how to submit this html form that was constructed outside of wicket. The in place editor takes a url parameter to post the data to. does anyone have a recommendation on how to handle the posted values? does it have to be a form, or is there some other way to process the values?
http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor
has anyone already done this? i'd be willing to contribute it to wicket-stuff if i can get all the kinks worked out. Thanks.
Ryan


-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] edit in place label

2006-10-05 Thread Ryan Sonnek
I'm trying to build out a new wicket component on top of the scriptaculous edit in place label. The piece that's confusing me is how to submit this html form that was constructed outside of wicket. The in place editor takes a url parameter to post the data to. does anyone have a recommendation on how to handle the posted values? does it have to be a form, or is there some other way to process the values?
http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditorhas anyone already done this? i'd be willing to contribute it to wicket-stuff if i can get all the kinks worked out. Thanks.
Ryan
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AJAX Edit In Place Label

2006-10-05 Thread Ryan Sonnek
Title: AJAX Edit In Place Label






I'm having issues with the mailing list, so I hope this makes it through...

I've just finished a first version of an Ajax Edit In Place Label.  This implementation uses scriptaculous and is similar to something found on flickr.  I've added it to the wicket-stuff project if anyone is interested in taking a look. 

http://jroller.com/page/wireframe?entry=wicket_ajaxeditinplacelabel 



-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] ajax refresh component

2006-10-05 Thread Ryan Sonnek
I'm trying to use a link to refresh a component with new content. any documentation out there on this?here's a simple example to describe what i'm trying to do:list of links:--link to item1
link to item 2panel with detail info:info about selected item.
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket arguments for big slow companies (Was:links about wicket scalability...)

2006-09-26 Thread Ryan Sonnek
Don't forget my *favorite* selling point of wicket...* NO XML!!!On 9/26/06, Marc-Andre Houle [EMAIL PROTECTED]
 wrote:I never liked HTML, PHP and everything related to GUI programming. Finding a Framework like Wicket that let me do all my trick in Java and never have to tweak html and CSS make me so happy, you can't understand. And the learning curve was not that hard. I begin Wicket in my new Job and after 1 week, I was at creating new Panel and delivering new stuff.
MarcOn 9/26/06, Nino Wael 
[EMAIL PROTECTED] wrote:
Hehe, I espcially agree to the unlearning effect. Had a hard time getting used to the fact that wicket controls what are selected in a component...Regards Nino-Original Message-From: 

[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of Eelco HilleniusSent: 26. september 2006 13:12
To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Wicket arguments for big slow companies (Was:links about wicket scalability...)
 * Very small learning curve.
 Comment: Agreed. But I still think you need at least one more experienced Wicket developers for more advanced things like manipulating html generated by other components. Of course, books
 like 'Pro Wicket' help a lot but are not for every programmer.I'm not even sure whether I agree :) Wicket can be hard for peoplethat are not comfortable with OO programming. If all you've learned so
far is coding PHP, JSP or RoR will be much easier to pick up. Also,for people who have done a bunch of projects with web MVC frameworkslike Struts, there is what Howard Lewis Ship (Tapestry) calls the'unlearning effect'.
Wicket probably *is* very easy to learn for programmers that areexperienced OO programmers, did a lot of Swing/ SWT/ ... desktopapplications, or weren't doing too much UI before. Also, I thinkWicket is the best of all web frameworks to learn for programmers who
are now learning the trade. It's just Java and just HTML instead ofyet another DSL, and imo there's not much that will encourage badprogramming practices. I also thought about: * Good support for modern web pages (AJAX), while
 being compatible with older browsers. But this one is I am afraid not good enough. For example FireFox 1.0 is not supported.This is not inherently true for the framework though. We provide aconvenience implementation for Ajax, which can be used with other
implementations (Dojo, scriptaculous, your own, ...). I think a strongfeature of Wicket is that you can create you custom components,including any Ajax support you want for them, without too muchtrouble.

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

https://lists.sourceforge.net/lists/listinfo/wicket-user-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net

's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

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


Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
+1 for versioned _javascript_. I am seeing more and more people suggest putting something like ?rand=132123 into their css/_javascript_/image urls to avoid this kind of caching.FYI: Ruby on Rails does this automatically for you... =)
On 9/18/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
To prevent these things from happening, could we add a version numberto the script? So wicket-ajax-1.2.2.js? that would prevent browsercaching from giving support headaches.For Wicket snapshots, we could generate the current time in milli's as
a version number.MartijnOn 9/18/06, Matej Knopp [EMAIL PROTECTED] wrote: Selects should be working with latest svn. Don't forget to clear IE's cache, it tends to help.
 -Matej Stefan Lindner wrote:  select tag had a problem in Model Dialogs in IE. But it should have  been  solved by now. Try to do a svn update to get the latest model window
  code.   I did a svn update but select does still not show up.   I can imagine autocomplete not working, perhaps the autocomplete div  has  lower z-index. Anyway, if you need autocomplete/datepicker/other
  _javascript_ components that have absolute positioning, you may need to  use the modal window in page mode - with iframe inside.   In page mode everything works: auto completion and select. Thank you
  fort he hint!   Stefan   -  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=lnkkid=120709bid=263057dat=121642  ___  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.phpp=sourceforgeCID=DEVDEV ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
--Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow-- http://wicketframework.org-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of 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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
On 9/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
that will be very ugly, what about all the other resources?It depends on how it's implemented. there's no reason the version *needs* to be a part of the query string. The query string could just as well be something like:
/resources/1.2.2/foo/wicket-ajax.jsright?maybe we can make packagedresource append the wicket version into the url if the file is coming out of a wicket.* package
/foo/wicket-ajax.js - /foo/wicket-
ajax.jsver=1.2.2-IgorOn 9/18/06, Martijn Dashorst 
[EMAIL PROTECTED] wrote:
To prevent these things from happening, could we add a version number
to the script? So 
wicket-ajax-1.2.2.js? that would prevent browsercaching from giving support headaches.For Wicket snapshots, we could generate the current time in milli's asa version number.MartijnOn 9/18/06, Matej Knopp 
[EMAIL PROTECTED] wrote: Selects should be working with latest svn. Don't forget to clear IE's cache, it tends to help.
 -Matej Stefan Lindner wrote:
  select tag had a problem in Model Dialogs in IE. But it should have  been  solved by now. Try to do a svn update to get the latest model window  code.
 
  I did a svn update but select does still not show up.   I can imagine autocomplete not working, perhaps the autocomplete div  has  lower z-index. Anyway, if you need autocomplete/datepicker/other
  _javascript_ components that have absolute positioning, you may need to  use the modal window in page mode - with iframe inside.   In page mode everything works: auto completion and select. Thank you
  fort he hint!   Stefan   -  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=lnkkid=120709bid=263057dat=121642  ___  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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user
--Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow-- 
http://wicketframework.org-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

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


Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
On 9/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
sure, but that means modifying how we resolve the resources. if you make it a queryparam we dont need to change anything but the part that creates the urlI'm not saying it'd be worth it, i'm just saying it's an option.
-Igor
On 9/18/06, 
Ryan Sonnek [EMAIL PROTECTED] wrote:

On 9/18/06, Igor Vaynberg 

[EMAIL PROTECTED] wrote:
that will be very ugly, what about all the other resources?It depends on how it's implemented. there's no reason the version *needs* to be a part of the query string. The query string could just as well be something like:
/resources/1.2.2/foo/wicket-ajax.jsright?

maybe we can make packagedresource append the wicket version into the url if the file is coming out of a wicket.* package
/foo/wicket-ajax.js - /foo/wicket-
ajax.jsver=1.2.2-IgorOn 9/18/06, Martijn Dashorst 


[EMAIL PROTECTED] wrote:
To prevent these things from happening, could we add a version number
to the script? So 
wicket-ajax-1.2.2.js? that would prevent browsercaching from giving support headaches.For Wicket snapshots, we could generate the current time in milli's asa version number.MartijnOn 9/18/06, Matej Knopp 
[EMAIL PROTECTED] wrote: Selects should be working with latest svn. Don't forget to clear IE's cache, it tends to help.
 -Matej Stefan Lindner wrote:
  select tag had a problem in Model Dialogs in IE. But it should have  been  solved by now. Try to do a svn update to get the latest model window  code.


 
  I did a svn update but select does still not show up.   I can imagine autocomplete not working, perhaps the autocomplete div  has  lower z-index. Anyway, if you need autocomplete/datepicker/other
  _javascript_ components that have absolute positioning, you may need to  use the modal window in page mode - with iframe inside.   In page mode everything works: auto completion and select. Thank you
  fort he hint!   Stefan   -  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=lnkkid=120709bid=263057dat=121642  ___  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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 


https://lists.sourceforge.net/lists/listinfo/wicket-user
--Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow-- 


http://wicketframework.org-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash



http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys -- and earn cash


http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list


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


-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list

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


-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID

Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
Ok. I'm done herethis is going nowhere, and I guarentee I'm not the only one out there that has run into this issue. It's too bad that this has turned into a mud slinging contest. The Rails team is obviously much more understanding of these issues and how to solve them.
On 9/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 9/18/06, Ryan Sonnek [EMAIL PROTECTED] wrote:

On 9/18/06, Igor Vaynberg 

[EMAIL PROTECTED] wrote:
On 9/18/06, Ryan Sonnek 


[EMAIL PROTECTED] wrote:
+1 for versioned _javascript_. I am seeing more and more people suggest putting something like ?rand=132123 into their css/_javascript_/image urls to avoid this kind of caching.


that is idiotic.
why the hell would you want to add
something random into _javascript_ and css? those are static 99% of the
time! if it by default appended the last_modified file date i would be
much more impressedWow...it's the same damn concept. Chill you're right that having the random info be the last modified date is the best solution. 
no its not at all the same concept. a random param will make your browser reload those resources on _every_ request. why would you want to do that? the _convention_ for js and css files are that they are static, so appending the random string ot the url should be _configuration_. wasnt this what ror was all about?
Actually, yes it is the same concept. Both solutions are to solve the same problem; to PREVENT browser caching of these files. if these resources were *truely* static, it wouldn't matter if the browser cached them. The problem is that they *do* change from time to time, and there is no good way to automatically tell the browser to clear it's cached version.
I don't think this deserves to be a framework configuration. It should always just work this way.

FYI: Ruby on Rails does this automatically for you... =)
and we have NonCachingImageAnd that's only useful for images right? CSS and Javascirpt are still SOL? 

yes, they are. and this is a tiny subset of the usecases. there is nothing stopping you from writing small components that append the random param where necessary. take a look at code to NonCachingImage - there are only about 5 lines of code that make it work.
If it's just 5 lines of code, why not provide this simple solution for other non-image resources so that every developer doesn't need to re-invent the wheel. The more useable Wicket is out of the box, the fewer messages will be sent to this mailing list asking how do i prevent caching of these resources?
-Igor
-Igor


On 9/18/06, Martijn Dashorst 
[EMAIL PROTECTED] wrote:

To prevent these things from happening, could we add a version numberto the script? So wicket-ajax-1.2.2.js? that would prevent browsercaching from giving support headaches.For Wicket snapshots, we could generate the current time in milli's as
a version number.MartijnOn 9/18/06, Matej Knopp [EMAIL PROTECTED] wrote: Selects should be working with latest svn. Don't forget to clear IE's
 cache, it tends to help.
 -Matej Stefan Lindner wrote:  select tag had a problem in Model Dialogs in IE. But it should have  been  solved by now. Try to do a svn update to get the latest model window
  code.   I did a svn update but select does still not show up.   I can imagine autocomplete not working, perhaps the autocomplete div  has  lower z-index. Anyway, if you need autocomplete/datepicker/other
  _javascript_ components that have absolute positioning, you may need to  use the modal window in page mode - with iframe inside.   In page mode everything works: auto completion and select. Thank you
  fort he hint!   Stefan   -  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=lnkkid=120709bid=263057dat=121642  ___  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.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 



https://lists.sourceforge.net/lists/listinfo/wicket-user
--Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow-- 



http://wicketframework.org-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share

Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
On 9/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 9/18/06, Ryan Sonnek [EMAIL PROTECTED] wrote: Ok.I'm done herethis is going nowhere, and I guarentee I'm not the only one out there that has run into this issue.It's too bad that this has
 turned into a mud slinging contest.The Rails team is obviously much more understanding of these issues and how to solve them.Thing is though, is that usually you want images, _javascript_ files and
css and such to be cached, but just not when developing. Theexceptional cases are things like dynamic images and _javascript_. Ithink a setting that would guarantee non-caching for development butthat relies on default behavior in production mode would be best.
What do you think?Eelco
I work on an application that undergoes weekly production releases, so
we've had to implement something very similar for both development and
production modes. There's just too high of risk if the user gets an
out of date version of the _javascript_. 

The question is, what is the cost of having these two modes seperate?
keeping everything uniform makes debugging and troubleshooting easier
as well as having only one codebase to worry about. Why not *always*
have this behaviour?
-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of 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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
this is exactly why the file last modified time is the best solution. all these problems and complex usecases just go away. If i release my app every week, that means every week, users will probably be pulling down the _javascript_ and css again even if those files haven't changed. if other users wait monthes before releasing, even better for them.
FYI: this *is* what rails uses by default for all css and _javascript_ includesOn 9/18/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:

I work on an application that undergoes weekly production releases, so
we've had to implement something very similar for both development and
production modes. There's just too high of risk if the user gets an
out of date version of the _javascript_. so why would you not want to cache resources from the wicket jar? they dont change every week like your app. if you are using some other 3rd party custom wicket component that are in their own jars why do you want to reload those resources as well if they havent changed?

The question is, what is the cost of having these two modes seperate?
keeping everything uniform makes debugging and troubleshooting easier
as well as having only one codebase to worry about. Why not *always*
have this behaviour?because _javascript_ libs can be huge and it will make your site slow if the user has to pull them down on every request.-Igor


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

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


Re: [Wicket-user] Wicket 2, modal window, ListChoice, auto completion

2006-09-18 Thread Ryan Sonnek
Just so we're clear, i *never* suggested that _javascript_ and css be reloaded with each request. i just suggested using the random query param as a *possible* solution to get around these caching issues.the file last modified time is by far the most standard and correct solution.
On 9/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:

I work on an application that undergoes weekly production releases, so
we've had to implement something very similar for both development and
production modes. There's just too high of risk if the user gets an
out of date version of the _javascript_. so why would you not want to cache resources from the wicket jar? they dont change every week like your app. if you are using some other 3rd party custom wicket component that are in their own jars why do you want to reload those resources as well if they havent changed?

The question is, what is the cost of having these two modes seperate?
keeping everything uniform makes debugging and troubleshooting easier
as well as having only one codebase to worry about. Why not *always*
have this behaviour?because _javascript_ libs can be huge and it will make your site slow if the user has to pull them down on every request.-Igor


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

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


Re: [Wicket-user] AutoCompleteTextField

2006-08-30 Thread Ryan Sonnek
quickstrat??? =)On 8/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
looks like it stops recognizing the function signature. maybe it is related to the other bug someone reported where _javascript_ headers are contributed again and again after ajax updates - that would cause this.
a quickstrat would really help out here :)
-IgorOn 8/30/06, samyem 
[EMAIL PROTECTED] wrote:
I can see that I get the following error reported in my JS console infirefox:Error: Wicket.Ajax.AutoComplete is not a constructorSource File: 

http://localhost:8081/mm/app?wicket:interface=:2::Line: 78The HTML code codes something like:... input id=directShipFilter_form_supplier name=supplier
value=asd type=text autocomplete=off wicket:id=suppliersize=50/script type=text/_javascript_!--/*--![CDATA[/*!--*/
newWicket.Ajax.AutoComplete('directShipFilter_form_supplier','/mm/app?wicket:interface=:2:directShipFilter:form:supplier::IBehaviorListenerwicket:behaviorId=1');...Eelco Hillenius wrote:
 Could you please file an issue with our bug tracker? Eelco On 8/30/06, samyem 
[EMAIL PROTECTED] wrote: No other ajax component is added except the target is passed the
 feedbackcomponent. I can see all the _javascript_s necessary, and there is no error either on the _javascript_ side or on the java side. The callback function to get the autocomplete iterator is not called at all by wicket
 when the autocomplete textfield component has the error message associated to it. I can show my file file if necessary. Johan Compagner wrote: 
  is there somehow another ajax component also added to the page when you  see  the feedback?   Can you see if alll the _javascript_ that you see first (when it works)
 is  still there?   johanOn 8/30/06, samyem 
[EMAIL PROTECTED] wrote:
I have a custom converter associated to my autocomplete text field that  throws a conversion exception if it cannot convert the entered text
 into  the  associated object. Once it does this, I can see the error in the feedback  panel, but the autocomplete feature stops working.
Eelco Hillenius wrote: What kind of errors do you mean? Where/ how did you encounter this?  
   Eelco   On 8/29/06, samyem 
[EMAIL PROTECTED] wrote:  
   If there is an error associated to AutoCompleteTextField, the auto   complete   text field does not do auto complete, which prevents the user from
   correcting the problem easily. Can it be done such that even if there  are   errors in the AutoCompleteTextField, it still behaves normally and
  show   the   autocomplete drop down?   --   View this message in context:   
http://www.nabble.com/AutoCompleteTextField-tf2186341.html#a6048058
   Sent from the Wicket - User forum at 
Nabble.com.-   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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
   ___   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/AutoCompleteTextField-tf2186341.html#a6052587
  Sent from the Wicket - User forum at Nabble.com.  
  -
  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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
  ___  Wicket-user 

Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Ryan Sonnek
+1 for continuous integration publishing snapshot versions...On 8/25/06, Martijn Dashorst [EMAIL PROTECTED]
 wrote:Then I'll try to build one this weekend. Just a snapshot, no magic/wonders :-)
MartijnOn 8/25/06, Stefan Lindner [EMAIL PROTECTED] wrote:  But we could throw out a snapshot of 2.0 at this time This would be a helpful Johan! I think this would be a good kick off for
 Wicket 2.0. Stefan -- Message: 1 Date: Fri, 25 Aug 2006 11:09:06 +0200 From: Johan Compagner 
[EMAIL PROTECTED] Subject: Re: [Wicket-user] Wicket 2.0, when? To: wicket-user@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1
 then it has to be automated. Because if it is constant a manual thing then it cost us to much work. But we could throw out a snapshot of 2.0 at this time. So that people can
 download it easier. johan - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user--Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org-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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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-06 Thread Ryan Sonnek
I hope something like this will be included in wicket soon. I
have an issue hard-coding the path in my css. Since I use
wicket-bench for testing, my tests have a different servlet path than
my actual application instance.On 8/1/06, cowwoc [EMAIL PROTECTED] wrote:
Upon first glance, looks good ;) Maybe you guys should roll it up intocore hint hintGiliAl 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 = "" 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 = LogFactory.getLog(CssResource.class); /** CSS definition */ private StringBufferResourceStream css = new StringBufferResourceStream();
 private Class scope; private String path; public CssResource(RequestCycle cycle, Class scope, String path) { this.scope = scope; this.path
 = path; refreshResource(cycle); } private void refreshResource(RequestCycle cycle) { String absolutePath = Packages.absolutePath(scope, path); // Locate the resource
 IResourceStreamLocator locator = Application.get().getResourceSettings().getResourceStreamLocator();
IResourceStream resourceStream = locator.locate(scope, absolutePath,
null, null, null); // Check 

[Wicket-user] CSS background images

2006-07-23 Thread Ryan Sonnek
I know this is a pretty newbie question, but how can i package an image
with my wicket app, and reference it within a static css file?
I've been searching through the wicket wiki, with no luck. is
there a wicket-stuff app or someplace i can dig through for an example?

Just to be clear, here's what i'm expecting to do with my css:

.myapplicationClass {
 background-image: url('/com/codecrate/app/BackgroundImage.gif');
}
-
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.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: Rating component added to wicket 1.2 branch

2006-05-26 Thread Ryan Sonnek
This is too cool!the extensions is such a great playground to showcase what wicket can do. sure, it's easy enough with wicket to roll your own components, but the more suff that's available out of the box, the more likely users are to pick up and play with wicket.
on that note, i'm still waiting for an ajax enabled tree component =)On 5/26/06, Jonathan Locke 
[EMAIL PROTECTED] wrote:awesome! thanks!
On 5/26/06, Martijn Dashorst 
[EMAIL PROTECTED] wrote:

All,I just wanted to let you know that I implemented a rating component in wicket-extensions, and it is in the wicket 1.2 branch, as such it will be part of the next Wicket 1.2 maintenance release. It will also be added to the trunk in the near future. If you want to check it out, and see its usage, you'll have to check out the code from SVN, located under 
branches/WICKET_1_2/wicket-extensions and branches/WICKET_1_2/wicket-examplesYou can find the example in src/wicket/examples/ajax/builtin/RatingsPage.javaFeatures of the component:

- use your own icons for the images- allow a user to vote only once (the implementation is up to you)- customize the styling- customizable rating system (it's all in the model, so ratings from 1-10, 1-5, F-A, are all possible)
- label showing the absolute value of the rating (3.7 from 5 votes) can be turned off, or replaced with your own implementationExample code:  add(new RatingPanel(rating, new PropertyModel(rating, rating), 5, new PropertyModel(
rating1, nrOfVotes), true)  {   protected boolean onIsStarActive(int star)   {return RatingsPage.rating1.isActive(star);   }
   protected void onRated(int rating, AjaxRequestTarget target)   {RatingsPage.rating1.addRating(rating);   }  });I know that Jonathan Locke was anxious to get this component, so Jonathan, this one is for you!
Martijn-- Download Wicket 1.2 now! Write Ajax applications without touching _javascript_!-- 


http://wicketframework.org







Re: [Wicket-user] Any Free RSS Panel from Wicket Users

2006-05-23 Thread Ryan Sonnek
I'm also interested in a wicket RSS panel, but i'm finding it hard to understand the dojo example.

personally, i think it would be easier to use a library like rome
(https://rome.dev.java.net/) and just add each rss element to a wicket
list view. it's really not that difficult to parse an existing
rss feed.

Anyone else have some ideas? On 5/23/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
Check out the wicket-contrib-dojo-examplesThe students have built a dojo auto update RSS reader.
MartijnOn 5/23/06, Ayodeji Aladejebi
 [EMAIL PROTECTED] wrote:
Okay I am lazy again parsing RSSPlease does anyone have a free RSS panel to share :)
Something i can simply input an RSS Link and then it will render out the Links?Thanks :)

-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- 
http://wicketframework.org




Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Ryan Sonnek
didn't this end up getting created in the dojo components?

I thought one of the interns started work on this...

On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 yep, we dont have one built yet. its a shame, but we are all very busy right
 now as you can see :)

 if you want something quick you can do this:
 take the existing tree component and replace the links it generates with
 ajaxlink and redraw that whole node.

 i believe matej did something very similar if not the exact thing and said
 it worked very well.

 -Igor


 On 4/21/06, Johan Compagner  [EMAIL PROTECTED] wrote:
 
  there is as far as i know not a prebuild component for this
  But you could build it.
 
 
  johan
 
 
 
 
 
  On 4/21/06, David Griffiths  [EMAIL PROTECTED] wrote:
 
   Hi, how far away is Wicket from being able to do this:
  
   - create a tree object initially displaying only the root node
   - when you click to expand a node do it via a xmlhttprequest to the
 server
   - the server responds with just the children which are inserted into the
   DOM rather than the entire page or entire tree object being redrawn
  
   and as an optional nice-to-have:
  
   - preload the children as hidden elements and have an expand operation
   use javascript to make the children visible locally (no roundtrip delay)
   whilst meanwhile calling the server to add new hidden grandchildren in
   the background.
  
   Thanks,
  
   Dave
  
  
  
   ---
   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=lnkkid=120709bid=263057dat=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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:preview feature

2006-03-19 Thread Ryan Sonnek
does wicket-bench only work with JDK 1.5?  I tried it with my work
installation (eclipse 3.2 and java 1.4) and got the following
exception:
Incompatible major/minor class version

It'd be great to support jdk 1.4 as long as wicket is 1.4 compatible.

On 3/19/06, Joni Suominen [EMAIL PROTECTED] wrote:
 There's now a new version (0.2.7) of eclipse plugin in the update site.
 This version adds a html preview as a tab in the tabbed editor. I tried
 Ryan's javascript files and they worked well with swt browser.

 Joni

 On Tue, 2006-03-14 at 08:26 -0800, Eelco Hillenius wrote:
  Furthermore, this is something that the people that are working on IDE
  support might want to support out of the box. Laughing Panda dudes,
  Geert, you reading with us?
 
  Eelco
 
 
  On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
   On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
I think that's a good question.  What would be the best way to
distribute this feature to users?  I've commented on my blog the steps
I believe are necessary for this to be integrated into wicket, but I'd
appreciate any feedback on it
(http://jroller.com/page/wireframe?entry=wicket_preview_with_one_javascript).
   
  
   I'll check it tonight (hopefully)
  
There are a couple changes to wicket to support this:
1.  update the DTD to support the wicket:preview attribute
2.  make sure that wicket can strip the wicket:preview attribute at
runtime (just like wicket:id)
   
  
   both should be easy to accomplish
  
   Juergen
  
Then it's just a question of how to package this for users?  I think
it would make sense to distribute the javascript files for this
feature in a seperate folder so that users could upgrade the whole
suite of javascript when updates are released...
   
On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 I am interested to do it, but got only very little time currently.
 What do you want me to do?

 Juergen

 On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
  I've updated the wicket:preview feature with new functionality.  I
  think it pretty much covers the use cases people have provided, and 
  I
  would like to work with the wicket developers to integrate this (if
  it's still wanted).
 
  main selling points
  * uses html and ajax to dynamically include components into page for
  offline preview (outside of wicket)
  * only need to include one javascript file (all others are 
  dynamically
  included at runtime)
  * previewing of nested components is now supported!  that means you
  can preview a page that imports a component which imports another
  componetetc
 
  http://jroller.com/page/wireframe?entry=preview_multiple_levels_of_components
 
 
  ---
  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?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---
 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?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   
   
---
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?cmdlnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
   ---
   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?cmdlnkkid0944bid$1720dat1642

Re: [Wicket-user] wicket:preview feature

2006-03-15 Thread Ryan Sonnek
Juergen, are you using the javascript from my blog or the one I
attached to the last email?  If you copied the javascript from the
blog, I'm guessing there's some issue with html escaping.  Try the
files I included in my email.

This info could go up on the wiki, but it will really mirror what's
already at my blog.  I don't object to someone putting it up on the
wiki for consistent documentation though...

On 3/15/06, Gili [EMAIL PROTECTED] wrote:

 Any chance you cam write up a short Wiki entry on how to use it?

 Gili

 Ryan Sonnek wrote:
  Do you need anything else from my side?  I'll go ahead and just attach
  the javascript files to this email.  I'd create a patch, but i have
  *no* idea where these files should be put in the codebase.
  just for reference:
  * wicket-preview.js is the bootstrapping javascript that dynamically
  includes the other files
  * wicket-preview-behaviour.js does the actual work of parsing
  wicet:preview attributes
  * dojo.js is the lightweight dojo.io.* javascript.  It's not the
  complete dojo toolkit
 
  On 3/15/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
  now implemented:
 
  1.  update the DTD to support the wicket:preview attribute
  2.  make sure that wicket can strip the wicket:preview attribute at
  runtime (just like wicket:id)
 
  Juergen
 
  On 3/14/06, Joni Suominen [EMAIL PROTECTED] wrote:
  It uses the native browser of the os by default. I've tested some AJAX
  enabled wicket components with eclipse's browser, so your implementation
  should work just fine. Just now i'm busy but i'll take a deeper look at
  it later this week. This feature is scheduled for 0.4.0 version but if
  its easy to drop in, it may get to the 0.3.0.
 
  https://www.laughingpanda.org/jira/browse/WB-24
 
  Joni
 
  On Tue, 2006-03-14 at 10:30 -0600, Ryan Sonnek wrote:
  I haven't used wicket-bench yet, but if they're using an internal
  browser, it should work as long as it supports javascript.  i'm not
  sure what eclipse uses internally to view html files.
 
  On 3/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Furthermore, this is something that the people that are working on IDE
  support might want to support out of the box. Laughing Panda dudes,
  Geert, you reading with us?
 
  Eelco
 
 
  On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
  On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
  I think that's a good question.  What would be the best way to
  distribute this feature to users?  I've commented on my blog the steps
  I believe are necessary for this to be integrated into wicket, but I'd
  appreciate any feedback on it
  (http://jroller.com/page/wireframe?entry=wicket_preview_with_one_javascript).
 
  I'll check it tonight (hopefully)
 
  There are a couple changes to wicket to support this:
  1.  update the DTD to support the wicket:preview attribute
  2.  make sure that wicket can strip the wicket:preview attribute at
  runtime (just like wicket:id)
 
  both should be easy to accomplish
 
  Juergen
 
  Then it's just a question of how to package this for users?  I think
  it would make sense to distribute the javascript files for this
  feature in a seperate folder so that users could upgrade the whole
  suite of javascript when updates are released...
 
  On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
  I am interested to do it, but got only very little time currently.
  What do you want me to do?
 
  Juergen
 
  On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
  I've updated the wicket:preview feature with new functionality.  I
  think it pretty much covers the use cases people have provided, and 
  I
  would like to work with the wicket developers to integrate this (if
  it's still wanted).
 
  main selling points
  * uses html and ajax to dynamically include components into page for
  offline preview (outside of wicket)
  * only need to include one javascript file (all others are 
  dynamically
  included at runtime)
  * previewing of nested components is now supported!  that means you
  can preview a page that imports a component which imports another
  componetetc
 
  http://jroller.com/page/wireframe?entry=preview_multiple_levels_of_components
 
 
  ---
  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?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  ---
  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

Re: [Wicket-user] wicket:preview feature

2006-03-15 Thread Ryan Sonnek
Woo Hoo!  Thanks Juergen!

On 3/15/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 I just committed your example to wicket-example

 Juergen


 ---
 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?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:preview feature

2006-03-14 Thread Ryan Sonnek
I've updated the wicket:preview feature with new functionality.  I
think it pretty much covers the use cases people have provided, and I
would like to work with the wicket developers to integrate this (if
it's still wanted).

main selling points
* uses html and ajax to dynamically include components into page for
offline preview (outside of wicket)
* only need to include one javascript file (all others are dynamically
included at runtime)
* previewing of nested components is now supported!  that means you
can preview a page that imports a component which imports another
componetetc

http://jroller.com/page/wireframe?entry=preview_multiple_levels_of_components


---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:preview feature

2006-03-14 Thread Ryan Sonnek
I think that's a good question.  What would be the best way to
distribute this feature to users?  I've commented on my blog the steps
I believe are necessary for this to be integrated into wicket, but I'd
appreciate any feedback on it
(http://jroller.com/page/wireframe?entry=wicket_preview_with_one_javascript).

There are a couple changes to wicket to support this:
1.  update the DTD to support the wicket:preview attribute
2.  make sure that wicket can strip the wicket:preview attribute at
runtime (just like wicket:id)

Then it's just a question of how to package this for users?  I think
it would make sense to distribute the javascript files for this
feature in a seperate folder so that users could upgrade the whole
suite of javascript when updates are released...

On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 I am interested to do it, but got only very little time currently.
 What do you want me to do?

 Juergen

 On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
  I've updated the wicket:preview feature with new functionality.  I
  think it pretty much covers the use cases people have provided, and I
  would like to work with the wicket developers to integrate this (if
  it's still wanted).
 
  main selling points
  * uses html and ajax to dynamically include components into page for
  offline preview (outside of wicket)
  * only need to include one javascript file (all others are dynamically
  included at runtime)
  * previewing of nested components is now supported!  that means you
  can preview a page that imports a component which imports another
  componetetc
 
  http://jroller.com/page/wireframe?entry=preview_multiple_levels_of_components
 
 
  ---
  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?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---
 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?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:preview feature

2006-03-14 Thread Ryan Sonnek
I haven't used wicket-bench yet, but if they're using an internal
browser, it should work as long as it supports javascript.  i'm not
sure what eclipse uses internally to view html files.

On 3/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Furthermore, this is something that the people that are working on IDE
 support might want to support out of the box. Laughing Panda dudes,
 Geert, you reading with us?

 Eelco


 On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
  On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
   I think that's a good question.  What would be the best way to
   distribute this feature to users?  I've commented on my blog the steps
   I believe are necessary for this to be integrated into wicket, but I'd
   appreciate any feedback on it
   (http://jroller.com/page/wireframe?entry=wicket_preview_with_one_javascript).
  
 
  I'll check it tonight (hopefully)
 
   There are a couple changes to wicket to support this:
   1.  update the DTD to support the wicket:preview attribute
   2.  make sure that wicket can strip the wicket:preview attribute at
   runtime (just like wicket:id)
  
 
  both should be easy to accomplish
 
  Juergen
 
   Then it's just a question of how to package this for users?  I think
   it would make sense to distribute the javascript files for this
   feature in a seperate folder so that users could upgrade the whole
   suite of javascript when updates are released...
  
   On 3/14/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
I am interested to do it, but got only very little time currently.
What do you want me to do?
   
Juergen
   
On 3/14/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
 I've updated the wicket:preview feature with new functionality.  I
 think it pretty much covers the use cases people have provided, and I
 would like to work with the wicket developers to integrate this (if
 it's still wanted).

 main selling points
 * uses html and ajax to dynamically include components into page for
 offline preview (outside of wicket)
 * only need to include one javascript file (all others are dynamically
 included at runtime)
 * previewing of nested components is now supported!  that means you
 can preview a page that imports a component which imports another
 componetetc

 http://jroller.com/page/wireframe?entry=preview_multiple_levels_of_components


 ---
 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?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   
   
---
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?cmdlnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
   ---
   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?cmdlnkkid0944bid$1720dat1642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  ---
  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?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

Re: [Wicket-user] TextField and trimming blanks at end (and maybe at beginning)

2006-03-07 Thread Ryan Sonnek
+1 for this solution.  this seems to be the cleanest implementation to
me and puts the responsibility on the developer to *use* the correct
component.

On 3/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i guess thats true. you can create a subclass TrimmingTextField that
 overrides getInput() and trims it.


 -Igor


 On 3/7/06, Johan Compagner  [EMAIL PROTECTED] wrote:
 
  So before the input goes into the required/type conversion and validators
 we first trim it
  when that flag is set?.
 
  he also could just overwrite getInput() and trim the text when called.
 
 
  johan
 
 
 
 
 
 
 
  On 3/7/06, Igor Vaynberg [EMAIL PROTECTED]  wrote:
  
   i was also thinking a trim flag on the textfield and textarea only. are
 you opposed to that also Johan?
  
  
   -Igor
  
  
  
  
   On 3/7/06, Johan Compagner  [EMAIL PROTECTED] wrote:
   
You also could use a Converter for this i guess.
   
   
johan
   
   
   
On 3/7/06, Ari Suutari [EMAIL PROTECTED]  wrote:
 Hi,

 But simple validation is already on wicket level. Of course we could
 argue on this, but I really think that right place for simple
 input cleanup is the user interface layer:

 - Let's say I have a model, which has field called code.
 - If user types new value for this in a field, I (and even user, I
 think)
   excepts that invisible blanks at end of code are removed. It is
   very easy to accidentally put them there with copy  paste, for
 example.
 - However, if I code something like this: m.setCode(ZAP   ); I
 sure
   except that it is stored excactly as I wrote.

 Besides, who it would harm if TextField  TextArea had a flag
 like this ? Nobody forces one to use it.

 Ari S.

 - Original Message -
 From: Johan Compagner [EMAIL PROTECTED]
 To:  wicket-user@lists.sourceforge.net
 Sent: Tuesday, March 07, 2006 11:35 AM
 Subject: Re: [Wicket-user] TextField and trimming blanks at end (and
 maybe at beginning)


 a trim flag on what?
 Form component?
 I don't like that what does it do for non text fields?

 trimming should belong in a model. For example a ModelWrapper where
 you put
 youre real models in.

 johan


 On 3/7/06, Ari Suutari [EMAIL PROTECTED]  wrote:
 
  Hi,
 
  setTrimValue flag would be great (maybe there should be settings
  for left/right trim ?).
 
  Model might be also a working solution, but somehow I feel that
  this kind of task belongs to upper layer.
 
  Ari S.
 
  - Original Message -
  From: Igor Vaynberg [EMAIL PROTECTED]
  To:  wicket-user@lists.sourceforge.net 
  Sent: Monday, March 06, 2006 7:11 PM
  Subject: Re: [Wicket-user] TextField and trimming blanks at end
 (and maybe
  at beginning)
 
 
  this should be a flag on the textfield so you can call
  setTrimValue(boolean)
  what do others think?
 
  if not you can write a model that trims for you on setObject()
 
  -Igor
 
 
  On 3/6/06, Ari Suutari  [EMAIL PROTECTED] wrote:
  
   Hi,
  
   What might be the simplest way to change behaviour of whole
 wicket
   application
   so that TextField have their input trimmed of blanks at end ?
  
   I tried to do this via converters (I have my own converter
 factory),
   but it didn't work because Converter.convert doesn't do anything
   if String is being assigned to String field in model (it uses
   isAssignableFrom
   for this check).
  
   Ari S.
  
  
  
  
  
 ---
   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=lnkkid=110944bid=241720dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 
 ---
  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=lnkkid=110944bid=241720dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 




 ---
 This 

Re: [Wicket-user] previewable pages

2006-03-05 Thread Ryan Sonnek
I have yet to see a real life example where multiple levels of
inheritence is *critical* for an offline preview.  With a little more
CSS work, the preview could use a special background image or color to
emphasize that it's simply a preview.

In order for this to truly be a wicket feature, i think there are a
few things that can be done.  The first would be to add
wicket:preview to the wicket namespace so that the preview will
produce valid XHTML.  If this attribute is promoted to the core wicket
DTD, i think it makes sense for this javascript to be distributed
directly with wicket as well.  Of course some documentation would be
needed too.

If previewable web pages is considered a core feature of wicket, i
think a feature like this would be really important to users out of
the box.

On 3/4/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 That's a very smart idea! I do think multiple levels are a big deal
 though, otherwise you'll end up with just a half baked thing.

 What kind of support within Wicket itself were you thinking off? And
 could it be useful for the WicketBench Eclipse plugin?

 Eelco


 On 3/3/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
  One of my favorite features in wicket is that the pages are completely
  previewable in a normal web browser even outside of wicket.  JSP is
  simply a mess of nested scriptlets and xml and other junk.
 
  That being said, I was getting frustrated that I would lose
  previewable pages when I start extracting components.  Of course
  extracting components is a good thing for reusability, but it has a
  pretty big drawback when trying to design pages without seeing the
  component in preview mode.
 
  Well, I'd like to startup a discussion on a wicket feature I wrote up
  and see if there's any interest for other people.  Basically, I use
  some AJAX magic to load the component so that you can preview your
  pages with your components.
 
  http://jroller.com/page/wireframe/?anchor=auto_previewable_wicket_pages
 
  Please let me know if there's any interest in this.  It definately has
  reinforced how cool Wicket is!
 
  Ryan
 
 
  ---
  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?cmdlnkkid0944bid$1720dat1642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---
 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?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] previewable pages

2006-03-04 Thread Ryan Sonnek
adding some css to identify the div as an include isn't a bad idea!

On 3/4/06, Mark Derricutt [EMAIL PROTECTED] wrote:
 On 3/4/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
 
  Well, I'd like to startup a discussion on a wicket feature I wrote up
  and see if there's any interest for other people.  Basically, I use
  some AJAX magic to load the component so that you can preview your
  pages with your components.
 

 Hey there - I saw this (and the subsequent followup post) earlier in my
 javablogs feed - tres cool!  I really need to look into using dojo/behaviour
 and all those funky things more.  My first thought when reading this earlier
 was whoah cool! rock :)  I'll have to play with it myself.

 Hmmm - I just had a novel idea, how about applying some CSS hackery to the
 div/ to give it a border and maybe a background/border which identifies it
 as being included or something...

 Mark

 --
 i like my video games - mamma said they are gonna melt my brains
 i like my video games - i don't care what daddy said; they're my reality
   - henning pauly


---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] CustomLayoutAjaxAutocompleteTextField

2006-03-03 Thread Ryan Sonnek
I wrote that autocomplete compoinent, and it's not too fancy.  if you
have a different usecase, i suggest writing your own component for
what you need it to do.  scriptaculous makes the ajax stuff pretty
easy, and wicket makes the rest a snap.

On 3/3/06, Mats Norén [EMAIL PROTECTED] wrote:
 Hi,
 I've been trying to use the CustomLayoutAjaxAutocompleteTextField from
 wicket-contrib-scriptaculous. Everything works as expected but for my
 usecase it doesn't quite fit. I was wondering how I could achieve the
 following:

 What I want to do is to let the user search for a Party by full name
 so when the user
 writes mats the textfield displays a list with Party-objects with
 the full name mats. When I select one in a list the textfield is
 populated with the name of the Party. So far so good. But apart from
 that I would like to set a hidden field with the *id* of the party.
 This hidden field is what I want to save in the database on form
 submit.

 Has anyone else tried something similar?

 /Mats


 ---
 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?cmdlnkkid0944bid$1720dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] previewable pages

2006-03-03 Thread Ryan Sonnek
One of my favorite features in wicket is that the pages are completely
previewable in a normal web browser even outside of wicket.  JSP is
simply a mess of nested scriptlets and xml and other junk.

That being said, I was getting frustrated that I would lose
previewable pages when I start extracting components.  Of course
extracting components is a good thing for reusability, but it has a
pretty big drawback when trying to design pages without seeing the
component in preview mode.

Well, I'd like to startup a discussion on a wicket feature I wrote up
and see if there's any interest for other people.  Basically, I use
some AJAX magic to load the component so that you can preview your
pages with your components.

http://jroller.com/page/wireframe/?anchor=auto_previewable_wicket_pages

Please let me know if there's any interest in this.  It definately has
reinforced how cool Wicket is!

Ryan


---
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=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to cover Select Box with the autocomplete DIV layer

2005-11-22 Thread Ryan Sonnek
I updated to rc4 a while back, and now that rc5 is out, we should do
another update.  can you file an issue to get some visibility on this?
 I'll probably tackle the upgrade, unless someone else wants to hop in
and get it done.  It might take me a couple days before I can get this
in.

On 11/22/05, Dipu [EMAIL PROTECTED] wrote:


 scriptaculous provides the inner-frame support for autocomplete out of the
 box, we don't have to do it ourselves.
 I just replaced the control.js file in the wicket-contrib-scriptaculous
 project with the latest version and the problem vanished.
 Can anyone with commit rights to the CVS replace all the scriptaculous js
 files with the most recent version available.

 Cheers
 Dipu

 - Original Message -
 From: Martijn Dashorst
 To: wicket-user@lists.sourceforge.net
 Sent: Tuesday, November 22, 2005 12:50 PM
 Subject: Re: [Wicket-user] How to cover Select Box with the autocomplete DIV
 layer

 Try using an inner-frame. I don't have the code available, but googling
 should provide enough info. The two wicket-contrib-dojo guys (Ruud and
 Marko) also had some problems regarding this, and have posted a similar
 question two weeks ago.

 Martijn



 On 11/22/05, Dipu [EMAIL PROTECTED] wrote:
 
  Hi Ryan,
 
  I am using the ajax autocomplete text box you have developed for wicket.
 But in my case the div layer spans over a select box,
  so on IE it goes behind the select box. I tried nesting it in another div
 with postion:relative as in scriptaculous autocomplete example,
  but it didn't work for me. Is there any way to get around this problem.
 
  Thanks
  Dipu



 --
 Living a wicket life...

 Martijn Dashorst - http://www.jroller.com/page/dashorst

 Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28alloc_id845op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: Re: [Wicket-user] My take on Spring integration

2005-11-11 Thread Ryan Sonnek
I would be very interested in a 1.4 port of this.  Do you think it
could use the same annotation based approach, but using Qdox to
process instead of the built in 1.5 annotation functionality?

On 11/11/05, Christian Essl [EMAIL PROTECTED] wrote:
 The code realy looks good.

 Concerning the Proxy. For the cglib proxy you should definately not
 forward the call to finalize(), because when the proxy gets GC it will
 call finalize() on the target and that is not what you want. I think same
 reasons apply for the other Object methods except equals, hasCode and
 toStrign. JDK proxies do not forward them as well.

 Serializing: CGLIB proxies. I think the problem if you just plainly
 serialize them withotu writeReplace/readResolve is that if the proxy gets
 desiarialized in another VM than the dynamically create class of CGLIB
 could not be yet there. So this could make problems in clusters etc.

 Christian

 On Fri, 11 Nov 2005 00:50:13 -0800, Igor Vaynberg
 [EMAIL PROTECTED] wrote:

  more refactoring/tests and some new things:
 
  SpringWebApplicationFactory - which will pull the webapplication subclass
  out of spring application context
 
  SpringInjector/SpringWebApplica tion - make it very simple to inject
  objects
  using @SpringBean annotation with lazy-init proxies
 
  SpringWebPage - autoinitailizes its subclasses using the SpringInjector
 
  I also deprecated all the old stuff and moved it into
  wicket.contrib.spring.old package. The new stuff is the
  official/supported/standard/whateveryouwanttocallit way to do spring
  integration.
 
  currently we only provide an easy way to inject objects using jdk5
  annotations. it is possible to create a jdk1.4 object locator factories,
  but
  there are many options as to how to store metadata/do the lookup. if
  someone
  is interested in this please let me know and we can discuss some ways of
  doing this.
 
  As always, any feedback is greatly appreciated.
 
  -Igor
 
 
 
  On 11/9/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
 
  heh, looks like we pretty much did the same thing. my proxies arent as
  advanced as yours, dont know if that a plus or a minus at this point. I
  liked the lazyinitproxy interface so i just added that to my code.
 
  im attaching the code to make it easier to find.
 
  -Igor
 
  On 11/9/05, Christian Essl [EMAIL PROTECTED] wrote:
  
   Unfortunately the public cvs is late so I can't see your changes yet.
   Anyway before I've read this mail I started on reworking the proxing
   code
   (attached). SerializableLazyProxyCreator is the only thing with
  content
   the others are interfaces and one (basic) test.
  
   There are quite some changes:
   - uses as now as said yesterday an ObjectResolver (I've to check with
   your
   refactoring)
   - fixed differend bugs in my original writeReplace/resolve code of the
   CGLIB proxy
   - JDK and CGLIB proxies implement LazyInitProxy. This can be useful to
   see
   if an object is already a lazy init proxy and to get the
  ObjectResolver
   from it (the cglib intercepors don't have to be serialziable anymore).
   - JDK and CLGIB: added handling of equals/hashCode methods (compares
  the
   proxy for identity - instead of forwarind to the target)
   - CGLIB: truned of the forward of the other Object methods to the
  target
   (especially finalize()) - exactly like for JDK proxies (toString() is
   forwarded)
   - JDK proxies: better method invocation exception handling
   - JDK and CGLIB: when the result of a method call is the target itself
   it
   returns the proxy (at least one point of leaking of the target can be
   excluded)
   - I don't serialize the class but the class name and get it from the
   context ClassLoader - is this ok?
   - and finally all is now in one class which automatically makes
  either a
   cglib or class proxy (don't know wheter this is good)
  
   There is also a rudimentary test case, which however only tests the
   CGLIB
   thing. There are also some println statements still in the code (it is
   hard to properly unit test the writeReplace/readResolve methods).
  
   Christian
  
   On Wed, 9 Nov 2005 00:20:32 -0800, Igor Vaynberg 
   [EMAIL PROTECTED]
   wrote:
  
round 1 of refactoring is in. its much more elegant now. feedback
   please.
   
-Igor
   
   
  
  
 
 



 --
 Christian Essl





 ___
 Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
 http://mail.yahoo.de



 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




  1   2   >