[Wicket-user] Source of application using Wicket

2006-02-26 Thread jan_bar
Hi,

the Wicket samples is basic source of how to start with Wicket. But I miss
some real world (more complex) applications. I like to learn from code
written by Wicket gurus. For instance Pet Store with Wicket. Can you help
me?

Thank you, Jan





---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] New snapshots available

2006-02-26 Thread Martijn Dashorst
All,

I have uploaded a new snapshot release for a lot of Wicket projects:
 o wicket
 o wicket-extensions
 o wicket-examples
 o wicket-spring
 o wicket-spring-annot
 o wicket-spring-examples
 o wicket-spring-annot-examples
 o wicket-auth-roles
 o wicket-auth-roles-examples

They have all been created using maven 2. It is our intention to move
our build system to maven 2, at least for the core projects.

Most notable changes to wicket:
 o ajax paging navigator
 o new date picker (Yahoo), old datepicker has been deprecated
 o maven 2 build system: much faster build times!
 o markup fragments (inline panels)
 o and of course the first downloadable releases of the spring and
authorization projects

Please help test our new build system, and try these packages. I have
done the most I can to make sure everything is in there, but things
may be missing.

If anyone has time and interest in a maven 2 build, please take a look
at the yet unreleased wicket-spring-cattr and
wicket-spring-cattr-examples project. They have a specific dependency
on commons-attributes-plugin to modify source code. I have tried to
get this one to build, but didn't manage to make it work. If anyone
can add this feature to the examples project, then we'd be very
thankful.

Have fun!

Martijn

--
Living a wicket life...

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

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


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


Re: [Wicket-user] Basic - JavaScriptReference and IInitializer question.

2006-02-26 Thread Igor Vaynberg
1) is just a reference, you need to bind the object first like you do in 2)the initializer is also needed for clustering, it is a better place to do the binding then static blocks somewhere.javadoc from IInitializer
/** * Initializes something when application loads *  * Initializer is there for clustering. Lets say you access a page that has a * link to a packaged resource on node A now the url for the resource gets
 * forwarded to node B, but node B doesnt have the resource registered yet * because maybe the page class hasn't been loaded and so its static block * hasn't run yet. So the initializer is a place for you to register all those
 * resources and do all the stuff you used to do in the static blocks. * -IgorOn 2/26/06, karthik Guru <
[EMAIL PROTECTED]> wrote:I have done this -1)

[Wicket-user] Basic - JavaScriptReference and IInitializer question.

2006-02-26 Thread karthik Guru
I have done this -

1)





add(new JavaScriptReference("myscript", MyPanel.class, "myscript.js"));


But I have seem something like this as well that goes with the above.

2)

public void init(Application application){
PackageResource.bind(application, MyPanel.class, "myscript.js");
}

What does 2) do that 1) does'nt. and when w'd i use either/or or need both?


thanks,
 -- karthik --


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


Re: [Wicket-user] Bookmarkable links

2006-02-26 Thread David Leangen

Sorry, I deleted the last post to this thread by Johan, so the order is
messed up a bit...

Johan wrote something like:

> If you use the latest snapshot, Wicket takes care of
> resources...


I tried this, but unfortunately it does not work. My css and image files
are not prepended by the context path.

I looked at the API, but (unless I misunderstood again) there does not
seem to be a method of mounting resource files. Or should I mount the
directory that contains the resource files? For instance:

  App.mount( "images/*", "images" );


I'm not able to use CVS head to try stuff because there are build
errors...






---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: [ wicket-Feature Requests-1438745 ] New auth-roles-class library with Class-based roles

2006-02-26 Thread Gili


	Shit... I'm sorry. My address book had your name aliased to the mailing 
list. This was meant as a private post. Sorry :(


Gili

Gili wrote:


At the very least, I should be able to commit this to wicket-stuff, 
right?


Thanks,
Gili

SourceForge.net wrote:

Feature Requests item #1438745, was opened at 2006-02-25 21:16
Message generated for change (Comment added) made by eelco12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1438745&group_id=119783 



Please note that this message will contain a full copy of the comment 
thread,

including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2
Status: Closed
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: New auth-roles-class library with Class-based roles

Initial Comment:
Since Wicket plans to migrate to Java5 (and in fact
most of the roles package uses Java5 code, doesn't it?)
I suggest dumping
wicket.authorization.strategies.role.Roles in favor of:

1) enum Roles (defined by the user)

For example:

enum Roles
{
  USER,
  ADMIN
}

2) Set to replace Wicket's Roles class

Set already defines contains() and containsAll() which
fully cover all the functionality provided by the
Wicket Roles class -- but in a type-safe manner.

I would recommend simply showing an example of this in
the wicket-auth-roles-examples but not having any
formal code in wicket-auth-roles. I think that Wicket
should not predefine roles such as USER, ADMIN as this
is very subjective and belongs completely in the user
code. For example, I have:

enum Roles
{
  GUEST,
  BASIC_USER,
  PREMIUM_USER,
  ADMINISTRATOR
}

--


Comment By: Eelco Hillenius (eelco12)

Date: 2006-02-27 01:18

Message:
Logged In: YES user_id=820266

Just a plain 'NO'. You are welcome to start your own project
- in which case you don't have to open a feature request.

--

Comment By: Gili Tzabari (cowwoc)
Date: 2006-02-27 01:15

Message:
Logged In: YES user_id=80628

What about my last post? What about CGLIB and/or a new
library side-by-side the existing one?

If you're using Spring, you have CGLIB. And anyway I don't
see anyone using property files to store
username/password/role in the long run. I would expect this
sort of stuff to be stored in the database.

--

Comment By: Jonathan Locke (jonathanlocke)
Date: 2006-02-27 01:10

Message:
Logged In: YES user_id=486414

Ah, so it was just me who missed that...  Your decision
makes sense.  I have no interest in taking this on.  It just
doesn't matter that much...


--

Comment By: Gili Tzabari (cowwoc)
Date: 2006-02-27 01:09

Message:
Logged In: YES user_id=80628

Jon,

You are right. I have talked with Igor and I already have
some changes planned. My previous implementation mistakely
had User implementing Role. My next update will use
User.getRole() instead -- so EverybodyWithId would go away
altogether. If you want, we could rename EVERYONE to
something else. It is simply a name I borrowed from Windows'
security model. It represents the role a user gets if he has
not yet logged in.

I need Role to be an interface in order to allow multiple
inheritance of interfaces. So you could have interface
AdminRole extends User1Role, User2Role. AbstractRole is just
the abstract class a concrete Role implementation would extend.

Eelco,

I believe we can make it work for Strings using CBLIB. Would
that solve your objection? Otherwise, we can redefine this
RFE against a new wicket auth-roles package (side-by-side to
your own) so we don't have to keep on closing it. I think
there is interest in this kind of library (Igor for one).

--

Comment By: Eelco Hillenius (eelco12)
Date: 2006-02-27 01:00

Message:
Logged In: YES user_id=820266

I didn't miss that classes can be used in annotations. I
just think it is a bad idea. Classes are inflexible and a
bad match for getting these things from configuration/ database.

I am again closing this request. People are welcome to start
their own projects to implement this idea. Or if Jonathan/
Igor want to take this project on you that's fine too. I'm
not going to spend one more minute on it.

--

Comment By: Jonathan Locke (jonathanlocke)
Date: 2006-02-27 00:54

Message:
Logged In: YES user_id=486414

I missed that classes could be used in annotations somehow
and so did Eelco.  That does seem a lot better.  However,
you're going to need to make multiple classes possible since
you can authorize more than one role to instantiate a class.
 The interface sounds like a mistake to me and I'm unsure
w

[Wicket-user] Re: [ wicket-Feature Requests-1438745 ] New auth-roles-class library with Class-based roles

2006-02-26 Thread Gili


At the very least, I should be able to commit this to wicket-stuff, 
right?

Thanks,
Gili

SourceForge.net wrote:

Feature Requests item #1438745, was opened at 2006-02-25 21:16
Message generated for change (Comment added) made by eelco12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1438745&group_id=119783


Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2
Status: Closed
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: New auth-roles-class library with Class-based roles

Initial Comment:
Since Wicket plans to migrate to Java5 (and in fact
most of the roles package uses Java5 code, doesn't it?)
I suggest dumping
wicket.authorization.strategies.role.Roles in favor of:

1) enum Roles (defined by the user)

For example:

enum Roles
{
  USER,
  ADMIN
}

2) Set to replace Wicket's Roles class

Set already defines contains() and containsAll() which
fully cover all the functionality provided by the
Wicket Roles class -- but in a type-safe manner.

I would recommend simply showing an example of this in
the wicket-auth-roles-examples but not having any
formal code in wicket-auth-roles. I think that Wicket
should not predefine roles such as USER, ADMIN as this
is very subjective and belongs completely in the user
code. For example, I have:

enum Roles
{
  GUEST,
  BASIC_USER,
  PREMIUM_USER,
  ADMINISTRATOR
}

--


Comment By: Eelco Hillenius (eelco12)

Date: 2006-02-27 01:18

Message:
Logged In: YES 
user_id=820266


Just a plain 'NO'. You are welcome to start your own project
- in which case you don't have to open a feature request.

--

Comment By: Gili Tzabari (cowwoc)
Date: 2006-02-27 01:15

Message:
Logged In: YES 
user_id=80628


What about my last post? What about CGLIB and/or a new
library side-by-side the existing one?

If you're using Spring, you have CGLIB. And anyway I don't
see anyone using property files to store
username/password/role in the long run. I would expect this
sort of stuff to be stored in the database.

--

Comment By: Jonathan Locke (jonathanlocke)
Date: 2006-02-27 01:10

Message:
Logged In: YES 
user_id=486414


Ah, so it was just me who missed that...  Your decision
makes sense.  I have no interest in taking this on.  It just
doesn't matter that much...


--

Comment By: Gili Tzabari (cowwoc)
Date: 2006-02-27 01:09

Message:
Logged In: YES 
user_id=80628


Jon,

You are right. I have talked with Igor and I already have
some changes planned. My previous implementation mistakely
had User implementing Role. My next update will use
User.getRole() instead -- so EverybodyWithId would go away
altogether. If you want, we could rename EVERYONE to
something else. It is simply a name I borrowed from Windows'
security model. It represents the role a user gets if he has
not yet logged in.

I need Role to be an interface in order to allow multiple
inheritance of interfaces. So you could have interface
AdminRole extends User1Role, User2Role. AbstractRole is just
the abstract class a concrete Role implementation would extend.

Eelco,

I believe we can make it work for Strings using CBLIB. Would
that solve your objection? Otherwise, we can redefine this
RFE against a new wicket auth-roles package (side-by-side to
your own) so we don't have to keep on closing it. I think
there is interest in this kind of library (Igor for one).

--

Comment By: Eelco Hillenius (eelco12)
Date: 2006-02-27 01:00

Message:
Logged In: YES 
user_id=820266


I didn't miss that classes can be used in annotations. I
just think it is a bad idea. Classes are inflexible and a
bad match for getting these things from configuration/ database.

I am again closing this request. People are welcome to start
their own projects to implement this idea. Or if Jonathan/
Igor want to take this project on you that's fine too. I'm
not going to spend one more minute on it.

--

Comment By: Jonathan Locke (jonathanlocke)
Date: 2006-02-27 00:54

Message:
Logged In: YES 
user_id=486414


I missed that classes could be used in annotations somehow
and so did Eelco.  That does seem a lot better.  However,
you're going to need to make multiple classes possible since
you can authorize more than one role to instantiate a class.
 The interface sounds like a mistake to me and I'm unsure
why you have AbstractRole AND Role.  Also EVERYONE is not a
role.  It is a set of users.  ADMIN is a role.  USER is a
role.  I haven't 

RE: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread David Leangen

Most of your questions were already answered by Johan (who can answer better
than I, anyway). For the others, see inline.

> > In any case, something like this is surely possible with
> mountable links.
>
> I have read a lot about different links in wicket, but nothing yet about
> *mountable* links. Also, the wiki does not show anything.

Indeed. These are available from Wicket 1.2. I'm in the process of writing a
wiki page, but haven't had time to finish it yet. These mountable links are
really nice, BTW...


> >> (3) Even at design-time, relative paths to images or the
> >> style-sheet should
> >> be valid, so IDEA can verify their existence and image size. This
> >> requires
> >> the page templates to be in the same directory structure as the
> >> images and
> >> style-sheet.
> >
> > Wicket does this if you want it to.
>
> See above example, I do not get it to work as expected. Please
> note, that I
> need the application to work at http://:/foo/ and not at
> http://:/foo (the trailing slash problem).

Again, works with mountable links. You need to set up 1.2 and mount your
links.


> >> (5) It should be very easy to turn links, e.g. used in the menu
> >> bar snippet,
> >> into "smart links". If pointing to the current page, they must not be
> >> rendered as a link, but the look should be customizable (wicket
> >> seems to use
> >> italics in this situation).
> >
> > All out of the box.
>
> How to customize the look of the not rendered link?

CSS works just fine. Wicket allows you to customise the "not-rendered-link",
just like any other component. Or, if it's not customizable enough for you,
you can create your own component.


If you're playing around with 1.2, I suggest you also download the latest
snapshot of the examples and look directly into the code there.


HTH



---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DataTable

2006-02-26 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

You could always add subclasses of AbstractColumn to provide whatever
data you wanted.  That combined with Fragments gives you loads of
flexibility.

Frank Silbermann wrote:
> In Wicket-Examples, Repeaters, there's an example of a DataTable from
> Wicket-Extensions.  The data provider supplies lists of javabeans, each
> bean representing a row in the table.  The PropertyColumn object for
> each column of the table gives information about the column title, its
> sortability, and the non-OGNL string used for pulling a cell's data out
> of the bean.
> 
> In this example, the column names are hardcoded as bean properties, but
> what I want is to display any arbitrary JDBC ResultSet in a DataTable.
> Has anyone written code to do that?  (And if so, could I see it?
> ASP.NET has this feature, and I'm rewriting code that uses it.)
> 
> If not, I was thinking that I could implement IDataProvider to contain
> information about the number and names of the columns taken from the
> ResultSetMetaData.  
> 
> The data provider would hold a list of row objects, each of which would
> be (or contain) an indexed sequence (an Array or ArrayList) of atomic
> data objects, obtained by calling "resultSet.getObject(index)" varying
> "index" within the column count.
> 
> My subclass of DataTable would be constructed with this data provider as
> an argument.  A loop (indexed within the column count) would create a
> list of PropertyColumn objects -- each with the display model based on
> the column name recorded from the ResultSetMetaData, and a non-OGNL
> property expression that makes use of List/Array indexing to access the
> specific field in the row.
> 
> Does this sound like a good approach, or am I re-inventing the wheel
> here?
> 
> 
> ---
> 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___
> 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
720.299.0101
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFEAiRwJnQfEGuJ90MRAzGxAJ91Zad4B32tAanSJVWzXTsPoVLlAACeIh0h
rllYzFJZHttgUUd2MwDDwn4=
=JJWl
-END PGP SIGNATURE-


---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] light tree

2006-02-26 Thread Eelco Hillenius
There is one contribution here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1416392&group_id=119783&atid=684977

I don't think it works right away, but you might want to check it out.

Furthermore, if more people would pick up the idea of integerating
those Yahoo components; they've got a very neat tree component in
there that could be used for it. If I had more time, I'd love to make
a bunch of these components, but for now I'm afraid you have to do it
with either that patch or make one yourselve.

Eelco


On 2/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> don't think there is but you could search for it on the internet if you see
> a nice dynamic client side tree.
> And the fill that one with link that points to bookmarkable pages.
>
> Currently we need that because we need to sync up the links on the server
> and client side.
>
> johan
>
>
>
> On 2/26/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
> > Hi All,
> > Is there an extension of the Tree component that avoids round trip to
> > server whenever a node is expanded/collapsed?
> >
> > 10x
> > Nili
> >
> >
> >
> > ---
> > 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=lnk&kid=110944&bid=241720&dat=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=lnk&kid0944&bid$1720&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Eelco Hillenius
Wrong version of cglib?

On 2/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> so that error says that something Enhancer needs is not found? so a
> dependency of cglib is missing from the classpath?
>
> -Igor
>
>
>
> On 2/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > eh it is not a class not found exception, those are easy fix.
> > No it is the most annoying error you can get in a java environment:
> >
> > java.lang.NoClassDefFoundError: Could not initialize class
> net.sf.cglib.proxy.Enhancer
> >
> >
> > the NoClassDefFoundError
> >
> >
> > So cglib is found. But what that one wants is not found.
> > Why ohh why it doesn't report what it really misses for that class is
> beyond me. At some place they have to know it..
> >
> >
> > johan
> >
> >
> >
> >
> > On 2/22/06, Mark Derricutt < [EMAIL PROTECTED]> wrote:
> >
> > > On 2/23/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> > >
> > > > So how about just including cglib as a dependency this time?
> > > >
> > >
> > > I already HAVE cglib 2.1.3 on the classpath as I'm using Hibernate - and
> thats what is confusing me about the class not found exception.
> > >
> >
> >
>
>


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


Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Igor Vaynberg
so that error says that something Enhancer needs is not found? so a dependency of cglib is missing from the classpath?-IgorOn 2/26/06, Johan Compagner
 <[EMAIL PROTECTED]> wrote:eh it is not a class not found exception, those are easy fix. 
No it is the most annoying error you can get in a java environment:java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancerthe NoClassDefFoundError
So cglib is found. But what that one wants is not found.Why ohh why it doesn't report what it really misses for that class is beyond me. At some place they have to know it..
johanOn 2/22/06, Mark Derricutt <
[EMAIL PROTECTED]> wrote:
On 2/23/06, Eelco Hillenius <[EMAIL PROTECTED]
> wrote:
So how about just including cglib as a dependency this time?I already HAVE cglib 2.1.3 on the classpath as I'm using Hibernate - and thats what is confusing me about the class not found exception.







Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Thomas Singer

I can;t download the zip file resource not found.


OK, works now.


also you say:

See above example, I do not get it to work as expected. Please note, that I
need the application to work at http://:/foo/ and not at
http://:/foo (the trailing slash problem).

is foo the context or the servlet?
Wicket needs the servlet to be /xxx
so you will have /context/wicketserlvet


To be honest, I don't know exactly, but my coworker said, we one have one 
tomcat application and need to map different URLs to it. I've tried both 
variants (web.xml: /foo/*, context: / and 
web.xml: /*, context: /foo) with the same result.


--
Best regards,
Thomas Singer
_
smartcvs.com
smartsvn.com


Johan Compagner schrieb:

I can;t download the zip file resource not found.

But remember if you make it relative with things like ..\..\..
then you have to ofcourse make it a wicket component and change the 
url/src attribute yourself to point to the right file.


also you say:

See above example, I do not get it to work as expected. Please note, that I
need the application to work at http://:/foo/ and not at
http://:/foo (the trailing slash problem).

is foo the context or the servlet?
Wicket needs the servlet to be /xxx
so you will have /context/wicketserlvet

johan


On 2/26/06, *Thomas Singer * <[EMAIL PROTECTED] 
> wrote:


First, thank you for your answers.

 >> (1) I want to use plain HTML files at design-time, so I can use
a WYSIWYG
 >> editor like DreamWeaver to edit. IMHO, this only is possible
with either
 >> special comments or using id-attributes like wicket does.
 >
 > Wicket mostly does this. The only problem is if you use panels.

Is it possible for wicket to change also the relative paths for
images (or
other stuff) referenced in panels or super-page-layouts?

 >> (2) I want to be able to use a directory structure for the
templates, e.g.
 >>www.company.com/index.page 
 >> www.company.com/product1/features.page

 >>www.company.com/product2/features.page

 >
 > Not sure what you mean by this.

OK, I've uploaded a very small example
(http://www.regnis.de/_wicket/first-steps.zip). The html templates are
located in the resources/ directory and accessible from there. An
image is
accessed with a relative path and displays fine at design-time, but
not at
run-time. Also the page link to the about-page does not work at
run-time.

 > In any case, something like this is surely possible with
mountable links.

I have read a lot about different links in wicket, but nothing yet
about
*mountable* links. Also, the wiki does not show anything.

 >> (3) Even at design-time, relative paths to images or the
 >> style-sheet should
 >> be valid, so IDEA can verify their existence and image size. This
 >> requires
 >> the page templates to be in the same directory structure as the
 >> images and
 >> style-sheet.
 >
 > Wicket does this if you want it to.

See above example, I do not get it to work as expected. Please note,
that I
need the application to work at http://:/foo/ and not at
http://:/foo (the trailing slash problem).

 >> (4) Easy embedding of commonly used components like page headers,
 >> navigation
 >> bars or footers. The best would be to place these "snippets" into
 >> a separate
 >> directory structure, but if they are using graphics, they should
also be
 >> able to use correct design-time relative paths.
 >
 > Yes, Wicket does this if you set your project up correctly.

Does it change the relative paths correctly?

 >> (5) It should be very easy to turn links, e.g. used in the menu
 >> bar snippet,
 >> into "smart links". If pointing to the current page, they must
not be
 >> rendered as a link, but the look should be customizable (wicket
 >> seems to use
 >> italics in this situation).
 >
 > All out of the box.

How to customize the look of the not rendered link?

 >> (6) Detection of errors (e.g. wrong links) should be as early as
possible.

Well, IDEA at least can verify the static paths, e.g. to images like
in the
above example. I would not want to miss that feature, only because
images
are located at different locations than the pages at design-time.

--
Best regards,
Thomas Singer
_
smartcvs.com 
smartsvn.com 


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

RE: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread David Leangen

> > > Page(_xx).html:
> > > Take a look at this page!

> > Unfortunately, this is not acceptable. The author should
> > have no idea of context. The link must be relative to the
> > application "top" page.

> just make links like:
>
> 
>
> wicket will make those links absolute.


You're right! I was that simple...


> > Also, my css and image links break when I use mountable pages.
> > Again, it is not acceptable to have to write
> > href="/contextRoot/styles/style.css".


However, this does not fix the problem for resource files. I am assuming
that resource files must also be mountable, but I haven't yet looked into
this.


Thanks for the tip!



---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Johan Compagner
I can;t download the zip file resource not found.But remember if you make it relative with things like ..\..\.. then you have to ofcourse make it a wicket component and change the url/src attribute yourself to point to the right file.
also you say:See above example, I do not get it to work as expected. Please note, that Ineed the application to work at http://:/foo/ and not athttp://:/foo (the trailing slash problem).
is foo the context or the servlet?Wicket needs the servlet to be /xxxso you will have /context/wicketserlvetjohanOn 2/26/06, Thomas Singer
 <[EMAIL PROTECTED]> wrote:First, thank you for your answers.
>> (1) I want to use plain HTML files at design-time, so I can use a WYSIWYG>> editor like DreamWeaver to edit. IMHO, this only is possible with either>> special comments or using id-attributes like wicket does.
>> Wicket mostly does this. The only problem is if you use panels.Is it possible for wicket to change also the relative paths for images (orother stuff) referenced in panels or super-page-layouts?
>> (2) I want to be able to use a directory structure for the templates, e.g.>>www.company.com/index.page>>
www.company.com/product1/features.page>>www.company.com/product2/features.page>> Not sure what you mean by this.OK, I've uploaded a very small example
(http://www.regnis.de/_wicket/first-steps.zip). The html templates arelocated in the resources/ directory and accessible from there. An image isaccessed with a relative path and displays fine at design-time, but not at
run-time. Also the page link to the about-page does not work at run-time.> In any case, something like this is surely possible with mountable links.I have read a lot about different links in wicket, but nothing yet about
*mountable* links. Also, the wiki does not show anything.>> (3) Even at design-time, relative paths to images or the>> style-sheet should>> be valid, so IDEA can verify their existence and image size. This
>> requires>> the page templates to be in the same directory structure as the>> images and>> style-sheet.>> Wicket does this if you want it to.See above example, I do not get it to work as expected. Please note, that I
need the application to work at http://:/foo/ and not athttp://:/foo (the trailing slash problem).>> (4) Easy embedding of commonly used components like page headers,
>> navigation>> bars or footers. The best would be to place these "snippets" into>> a separate>> directory structure, but if they are using graphics, they should also be
>> able to use correct design-time relative paths.>> Yes, Wicket does this if you set your project up correctly.Does it change the relative paths correctly?>> (5) It should be very easy to turn links, 
e.g. used in the menu>> bar snippet,>> into "smart links". If pointing to the current page, they must not be>> rendered as a link, but the look should be customizable (wicket>> seems to use
>> italics in this situation).>> All out of the box.How to customize the look of the not rendered link?>> (6) Detection of errors (e.g. wrong links) should be as early as possible.
Well, IDEA at least can verify the static paths, e.g. to images like in theabove example. I would not want to miss that feature, only because imagesare located at different locations than the pages at design-time.
--Best regards,Thomas Singer_smartcvs.comsmartsvn.com---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Thomas Singer

First, thank you for your answers.


(1) I want to use plain HTML files at design-time, so I can use a WYSIWYG
editor like DreamWeaver to edit. IMHO, this only is possible with either
special comments or using id-attributes like wicket does.


Wicket mostly does this. The only problem is if you use panels.


Is it possible for wicket to change also the relative paths for images (or 
other stuff) referenced in panels or super-page-layouts?



(2) I want to be able to use a directory structure for the templates, e.g.
   www.company.com/index.page
   www.company.com/product1/features.page
   www.company.com/product2/features.page


Not sure what you mean by this.


OK, I've uploaded a very small example 
(http://www.regnis.de/_wicket/first-steps.zip). The html templates are 
located in the resources/ directory and accessible from there. An image is 
accessed with a relative path and displays fine at design-time, but not at 
run-time. Also the page link to the about-page does not work at run-time.



In any case, something like this is surely possible with mountable links.


I have read a lot about different links in wicket, but nothing yet about 
*mountable* links. Also, the wiki does not show anything.



(3) Even at design-time, relative paths to images or the
style-sheet should
be valid, so IDEA can verify their existence and image size. This
requires
the page templates to be in the same directory structure as the
images and
style-sheet.


Wicket does this if you want it to.


See above example, I do not get it to work as expected. Please note, that I 
need the application to work at http://:/foo/ and not at 
http://:/foo (the trailing slash problem).



(4) Easy embedding of commonly used components like page headers,
navigation
bars or footers. The best would be to place these "snippets" into
a separate
directory structure, but if they are using graphics, they should also be
able to use correct design-time relative paths.


Yes, Wicket does this if you set your project up correctly.


Does it change the relative paths correctly?


(5) It should be very easy to turn links, e.g. used in the menu
bar snippet,
into "smart links". If pointing to the current page, they must not be
rendered as a link, but the look should be customizable (wicket
seems to use
italics in this situation).


All out of the box.


How to customize the look of the not rendered link?


(6) Detection of errors (e.g. wrong links) should be as early as possible.


Well, IDEA at least can verify the static paths, e.g. to images like in the 
above example. I would not want to miss that feature, only because images 
are located at different locations than the pages at design-time.


--
Best regards,
Thomas Singer
_
smartcvs.com
smartsvn.com


---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread Johan Compagner
with the latest snapshots all urls that you define will be made absolute by wicketWe have to do this because of our mounting of pages.johanOn 2/26/06, 
David Leangen <[EMAIL PROTECTED]> wrote:
> > > Page(_xx).html:> > > Take a look at !> > Unfortunately, this is not acceptable. The author should> > have no idea of context. The link must be relative to the
> > application "top" page.> just make links like:>> >> wicket will make those links absolute.You're right! I was that simple...
> > Also, my css and image links break when I use mountable pages.> > Again, it is not acceptable to have to write> > href="">However, this does not fix the problem for resource files. I am assuming
that resource files must also be mountable, but I haven't yet looked intothis.Thanks for the tip!---This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


RE: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread David Leangen

> (1) I want to use plain HTML files at design-time, so I can use a WYSIWYG
> editor like DreamWeaver to edit. IMHO, this only is possible with either
> special comments or using id-attributes like wicket does.

Wicket mostly does this. The only problem is if you use panels.


> (2) I want to be able to use a directory structure for the templates, e.g.
>www.company.com/index.page
>www.company.com/product1/features.page
>www.company.com/product2/features.page

Not sure what you mean by this.

In any case, something like this is surely possible with mountable links.


> (3) Even at design-time, relative paths to images or the
> style-sheet should
> be valid, so IDEA can verify their existence and image size. This
> requires
> the page templates to be in the same directory structure as the
> images and
> style-sheet.

Wicket does this if you want it to.


> (4) Easy embedding of commonly used components like page headers,
> navigation
> bars or footers. The best would be to place these "snippets" into
> a separate
> directory structure, but if they are using graphics, they should also be
> able to use correct design-time relative paths.

Yes, Wicket does this if you set your project up correctly.


> (5) It should be very easy to turn links, e.g. used in the menu
> bar snippet,
> into "smart links". If pointing to the current page, they must not be
> rendered as a link, but the look should be customizable (wicket
> seems to use
> italics in this situation).

All out of the box.

> (6) Detection of errors (e.g. wrong links) should be as early as possible.
>
> Please give your comments whether wicket does fulfill all the above
> requirements or how to accomplish them. Maybe there is room to improve
> wicket, that it could fulfill the requirements in a future
> release. Thanks
> in advance.

I'm working on something like this myself. There is support for links, but
mostly on a basic level. As with everything, if Wicket doesn't do what you
want it to "out of the box", you can create your own components or customise
the framework.


I suggest you actually try it out or check out the examples. Perhaps others
have better answers than the above.





---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] enable/disable form controls

2006-02-26 Thread Johan Compagner
If you really want to do it client side. Why don't you it completely at the client side?If the rendered state always have to be calculated then you have to use attributemodifiers.Because if you do comp.setEnabled
(false) and on the client side you just make it true in a scriptthen you still can't push data to the server side because disabled components can't recieve data if i am not mistaken (but maybe this is just for non visible components) because this could be a bit 
of a security risk.What you could also do is using ajax for this. So that you call youre code that you same code through ajax and update youre state.johan
On 2/26/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi All,Suppose I have two check boxes , A and B, in a single page form.When the page is first rendered, A and B should be enabled/disabledaccording to some logic.When the user selects A I want B to be enabled as well, without round
trip to the server, which means _javascript_ code, of course.This will result in duplicate code both in Java and _javascript_.How can I avoid this overhead and maintain view logic at a single point?10xNili
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat 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=lnk&kid=110944&bid=241720&dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Johan Compagner
eh it is not a class not found exception, those are easy fix. No it is the most annoying error you can get in a java environment:java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
the NoClassDefFoundErrorSo cglib is found. But what that one wants is not found.Why ohh why it doesn't report what it really misses for that class is beyond me. At some place they have to know it..
johanOn 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:
On 2/23/06, Eelco Hillenius <[EMAIL PROTECTED]
> wrote:
So how about just including cglib as a dependency this time?I already HAVE cglib 2.1.3 on the classpath as I'm using Hibernate - and thats what is confusing me about the class not found exception.





Re: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread Johan Compagner
just make links like:wicket will make those links absolute.johanOn 2/26/06, David Leangen
 <[EMAIL PROTECTED]> wrote:I finally have some time to start looking into this some more...
> Why don't you just provide some bookmarkable links to your> template designer?>> MyApplication.java:> mountBookmarkablePage("/links/coolPage", CoolPage.class);>
> Then its up to the web designer if he wants to include a link or not:>> Page(_xx).html:> Take a look at !I tried this, and it seems promising, BUT, there is a major problem to this
approach:This assumes that the root context is "/", which is not always true. Forthis to work like you suggest, the author would have to write:  Take a look at !
Unfortunately, this is not acceptable. The author should have no idea ofcontext. The link must be relative to the application "top" page.Also, my css and image links break when I use mountable pages. Again, it is
not acceptable to have to write href="">Otherwise, I very much like the idea of mountable links.WDYT?---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Johan Compagner
our existing static website, which was "pre-rendered" locally using fmpp,
if you come from fmp pro then maybe www.servoy.com is something then? Servoy 3 uses wicket under de hood for its webpart. 
I've spend a couple of time to take a look at different web-applicationframeworks (incl. wicket) and, to be honest, all seem to lack in one oranother area.that is i think that you can't have it all, especially when compared to rich gui development.
(1) I want to use plain HTML files at design-time, so I can use a WYSIWYG
editor like DreamWeaver to edit. IMHO, this only is possible with eitherspecial comments or using id-attributes like wicket does.wicket shines in this ofcourse.
(2) I want to be able to use a directory structure for the templates, e.g.   www.company.com/index.page   www.company.com/product1/features.page
   www.company.com/product2/features.pageWhat do you mean? What you see in the url should also map exactly to that path on disc on the server?
Why would you have that? You should think in development how you orginize everything. Urls shouldn't push that, that is just the outside world.But in wicket you have multiply options where youre resources can be. They can sit in the classes dir or in the webroot dir
preferred is  that the package structure of the  java files are mapped into the resources dir. classes dir is preferred by wicket anywayAnd i like that also because you have then 2 or more files (i18n property files)  that belong to each other right besides each other.
(3) Even at design-time, relative paths to images or the style-sheet should
be valid, so IDEA can verify their existence and image size. This requiresthe page templates to be in the same directory structure as the images andstyle-sheet.it doesn't require that, you can use relative paths:  "../../../../style.css" for this and then have wicket convert that to the right
css url at runtime.(4) Easy embedding of commonly used components like page headers, navigation
bars or footers. The best would be to place these "snippets" into a separatedirectory structure, but if they are using graphics, they should also beable to use correct design-time relative paths.
These can be stand alone components that you add to youre pages or with headers and footers that are on all pagesyou could use page inheritance.
(5) It should be very easy to turn links, e.g. used in the menu bar snippet,into "smart links". If pointing to the current page, they must not berendered as a link, but the look should be customizable (wicket seems to use
italics in this situation).yes if a link sees that it  points to him self it can disable itself. 
(6) Detection of errors (e.g. wrong links) should be as early as possible.there aren't much deadlinks in wicket where wicket generates the url for. Because that generation mostlymaps to him self or to a bookmarkable page which should be there.
johan


Re: [Wicket-user] light tree

2006-02-26 Thread Johan Compagner
don't think there is but you could search for it on the internet if you see a nice dynamic client side tree.And the fill that one with link that points to bookmarkable pages.Currently we need that because we need to sync up the links on the server and client side.
johanOn 2/26/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi All,Is there an extension of the Tree component that avoids round trip toserver whenever a node is expanded/collapsed?10xNili---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



[Wicket-user] light tree

2006-02-26 Thread Nili Adoram

Hi All,
Is there an extension of the Tree component that avoids round trip to 
server whenever a node is expanded/collapsed?


10x
Nili



---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] enable/disable form controls

2006-02-26 Thread Nili Adoram

Hi All,
Suppose I have two check boxes , A and B, in a single page form.
When the page is first rendered, A and B should be enabled/disabled 
according to some logic.
When the user selects A I want B to be enabled as well, without round 
trip to the server, which means JavaScript code, of course.

This will result in duplicate code both in Java and JavaScript.
How can I avoid this overhead and maintain view logic at a single point?
10x
Nili


---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Thomas Singer

Hi all,

For a couple of years I'm developing desktop software and absolutely like 
the compile-time-safety and refactoring support in modern IDEs (we do not 
use reflection anywhere). OK, so much to my background. Now we want to turn 
our existing static website, which was "pre-rendered" locally using fmpp, 
into a dynamically created one living in a tomcat. There should be only few 
"actions" like generating (demo) license files and send them to the customer 
by e-mail.


I've spend a couple of time to take a look at different web-application 
frameworks (incl. wicket) and, to be honest, all seem to lack in one or 
another area.


Here you find my (maybe incomplete) list of requirements and you are welcome 
to comment on these issues:


(1) I want to use plain HTML files at design-time, so I can use a WYSIWYG 
editor like DreamWeaver to edit. IMHO, this only is possible with either 
special comments or using id-attributes like wicket does.


(2) I want to be able to use a directory structure for the templates, e.g.
  www.company.com/index.page
  www.company.com/product1/features.page
  www.company.com/product2/features.page

(3) Even at design-time, relative paths to images or the style-sheet should 
be valid, so IDEA can verify their existence and image size. This requires 
the page templates to be in the same directory structure as the images and 
style-sheet.


(4) Easy embedding of commonly used components like page headers, navigation 
bars or footers. The best would be to place these "snippets" into a separate 
directory structure, but if they are using graphics, they should also be 
able to use correct design-time relative paths.


(5) It should be very easy to turn links, e.g. used in the menu bar snippet, 
into "smart links". If pointing to the current page, they must not be 
rendered as a link, but the look should be customizable (wicket seems to use 
italics in this situation).


(6) Detection of errors (e.g. wrong links) should be as early as possible.

Please give your comments whether wicket does fulfill all the above 
requirements or how to accomplish them. Maybe there is room to improve 
wicket, that it could fulfill the requirements in a future release. Thanks 
in advance.


--
Best regards,
Thomas Singer
_
smartcvs.com
smartsvn.com


---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread David Leangen

I finally have some time to start looking into this some more...

> Why don't you just provide some bookmarkable links to your
> template designer?
>
> MyApplication.java:
> mountBookmarkablePage("/links/coolPage", CoolPage.class);
>
> Then its up to the web designer if he wants to include a link or not:
>
> Page(_xx).html:
> Take a look at this page!


I tried this, and it seems promising, BUT, there is a major problem to this
approach:

This assumes that the root context is "/", which is not always true. For
this to work like you suggest, the author would have to write:

  Take a look at this page!


Unfortunately, this is not acceptable. The author should have no idea of
context. The link must be relative to the application "top" page.

Also, my css and image links break when I use mountable pages. Again, it is
not acceptable to have to write href="/contextRoot/styles/style.css".


Otherwise, I very much like the idea of mountable links.

WDYT?





---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: DatePicker problems

2006-02-26 Thread Eelco Hillenius
I looked at the Yahoo components and I like them a lot. I started
working on a yui (Yahoo UI library) package in extensions, an example
in wicket-examples, and picked Calendar as the first component. It's
very crude still, but it looks like that yahoo stuff is going to save
our day :)

The only thing I am lacking is time. I am enclosing what I worked on
(it's in CVS too, but it'll  take a few hours to show up) and I am
hoping on some participation. First step is to look at what I did, and
think what way you'd like it to evolve. Of course just a patch to make
it work in a form, have CSS styles work properly and an extension,
DatePicker that let's you select a date and put it in some other field
is more than welcome too! ;) Or the tree. Or...

Eelco

On 2/24/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> There's a bunch of problems with DatePicker poppin up. In fact, there
> have been problems with it's localization support from the start, but
> I hoped they would be fixed with a new version of jscalendar for which
> the datepicker component is just a wrapper. However, the last release
> of that thing was almost a year ago, and I don't feel confident there
> will be any release soon.
>
> I'd like to propose an alternative to jscalendar. One that has
> robusteness over number of features, though I have no problem with
> that thing looking nice.
>
> One of the candidates that looks good to me is the yahoo calendar,
> http://developer.yahoo.net/yui/calendar/index.html Anyone played
> around with that? If that's good, and some other yahoo components are
> too (they sure look good to me), we could create a couple of
> Yahoo/Wicket components. My plan would be to deprecate the current
> date picker - fix bugs if anyone can submit patches, but I'm too short
> of time to go after that myself - and create a
> wicket.extensions.markup.html.yahoo package for all yahoo components
> (e.g. we would have wicket.extensions.markup.html.yahoo.calendar).
> Also, my plan would be to make using these components super easy to
> use. If I look at the current DatePicker implementation, I believe I
> took it too far in trying to support a large part of the jscalendar
> API. New implementations should be far simpler and more limited to
> what it can do by default. If people want more fancy stuff, they could
> extend such a component and learn from the implementation how to take
> their component further.
>
> Thoughts, suggestions?
>
> Eelco
>


calendar.renametozip
Description: Binary data


[Wicket-user] Template page

2006-02-26 Thread Nili Adoram

Hi All,
What is the best practice to create a template page containing header, 
footer, menu etc. using Wicket?

Thanks
Nili


---
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=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Template page

2006-02-26 Thread Juergen Donnerstag
You may either used Border (border page; see library example) or
markup inheritance (see template example), which seems to be a bit
easier for most users.

Juergen

On 2/26/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
> Hi All,
> What is the best practice to create a template page containing header,
> footer, menu etc. using Wicket?
> Thanks
> Nili
>
>
> ---
> 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=lnk&kid=110944&bid=241720&dat=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=lnk&kid0944&bid$1720&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user