Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Dorel Vaida
I wanted to ask, just for curiosity, in case that somebody wants to 
develop components/pages in wicket, BUT place the HTMLs outside the 
package where their corresponding java classes are (avoid the folder 
hierarchy due to java packages, e.g. have the HTML pages in a web/pages 
folder and have wicket know where to get those pages from) ?

Thanks,
Dorel

Igor Vaynberg wrote:
 you can encapsulate a great deal of markup and css into the 
 components, however unless you go to extremes some basic knowledge of 
 html is still needed. wicket doesnt use layout managers so you have to 
 provide some basic html - at least span tags to position the 
 components.

 in some cases if the components being added are just stacked you can 
 use a repeater like RepeatingView to take care of that so end users can go

 MyPage() {
getNavContainer().add(new MyNewComponnet1());
getNavContainer().add(new MyNewComponent2());
getBodyContainer().add(new MyNewCompoenent3());
 }

 etc

 -Igor


 On 10/18/06, *Jonathan Sharp * [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 I'm a UI developer on a team of about 10 and are in the evaulation
 process of wicket. Pardon my ignorance if this is obvious or
 misses the boat...

 How complex would it be to provide a jar of components to our
 developers that they can use to build their interfaces without
 having to touch HTML? The goal would be that they would build the
 application without having to write any HTML but simply append
 components to each other similar to how you can with the DOM
 browser side. Our AppBasePage would then have a wicket:child/
 tag which is where it would render these components. Does this
 make sense?

 Example Components:
 - Form
 - FieldSet
 - FieldPair
 - SaveButton


 Developers would then:

 class MyPage extends AppBaseBase {
 public MyPage() {
 Form f = new Form(myForm);
 f.add(new SaveButton(id, Label));
 add(f);
 }
 }


 Cheers,
 -js

 -
 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
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 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



 

 -
 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

 __ NOD32 1.1758 (20060915) Information __

 This message was checked by NOD32 Antivirus System.
 http://www.nod32.com

   
 

 ___
 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] Components Entirely In Java?

2006-10-19 Thread Gwyn Evans
On 19/10/06, Dorel Vaida [EMAIL PROTECTED] wrote:
 I wanted to ask, just for curiosity, in case that somebody wants to
 develop components/pages in wicket, BUT place the HTMLs outside the
 package where their corresponding java classes are (avoid the folder
 hierarchy due to java packages, e.g. have the HTML pages in a web/pages
 folder and have wicket know where to get those pages from) ?

There's  
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
and http://cwiki.apache.org/WICKET/custom-resource-paths.html but I
don't know  how much things have moved on since they were written, so
also follow Igor's suggestion  check the archives (e.g.
http://www.nabble.com/Wicket-f13974.html)

/Gwyn
-- 
Download Wicket 1.2.2 now! - 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 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] Components Entirely In Java?

2006-10-19 Thread Jonathan Sharp
That's what I'm after, the majority of our interface is form driven and laid out using basic block elements with CSS handling all of the positioning. Even then, laying it out with span tags would be better than what we have currently (developers have too much freedom with presentation... font tags are S-O-O '90s) hehe
Thanks,-jsOn 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can encapsulate a great deal of markup and css into the components, however unless you go to extremes some basic knowledge of html is still needed. wicket doesnt use layout managers so you have to provide some basic html - at least span tags to position the components.
in some cases if the components being added are just stacked you can use a repeater like RepeatingView to take care of that so end users can goMyPage() { getNavContainer().add(new MyNewComponnet1());
 getNavContainer().add(new MyNewComponent2()); getBodyContainer().add(new MyNewCompoenent3());}etc-IgorOn 10/18/06, 
Jonathan Sharp
 [EMAIL PROTECTED] wrote:
I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...
How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The goal would be that they would build the application without having to write any HTML but simply append components to each other similar to how you can with the DOM browser side. Our AppBasePage would then have a wicket:child/ tag which is where it would render these components. Does this make sense?
Example Components:- Form- FieldSet- FieldPair- SaveButtonDevelopers would then:class MyPage extends AppBaseBase { public MyPage() { Form f = new Form(myForm);
 f.add(new SaveButton(id, Label)); add(f); }}Cheers,-js

-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.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.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] Components Entirely In Java?

2006-10-19 Thread Frank Silbermann



To get a set of components that the page developer 
could use without having to write any HTML, the 
application architect could decide on a set of building blocks needed by page 
developers, and implement them with the associated HTML files. 
These could include basic form components, 
and components for arranging subpanels -- e.g. vertical stacking, horizontal 
placement, whatever. Then the user could build pages by instantiating and 
subclassing these pre-build components without adding any new 
HTML. 


  (To insert a subpanel in specified locations 
  of the panel-arranger, the user would create an anonymous subclass of the 
  panel-arranger which overrode the methods for creating the individual panels 
  that get arranged. This is so that the panel-arranger can pass the 
  needed wicket-id to the over-ridden method that creates that panel, without 
  the user having to know the specific wicket-ids coded in the panel-arranger's 
  HTML page.)

The difficulty is in deciding on the set of building blocks 
needed. It's sort of like designing an application-oriented programming 
language. I built my application this way, but I was the sole developer -- 
so I was continually refining and adding to my set of general-pupose and 
application-oriented building blocks as I went along. To build truly 
flexible with general-purpose building blocks that do not limit the developer's 
styling of the application would be a huge project. It would be something 
like implementing the Echo (http://www.nextapp.com/platform/echo1/echo/) 
or Echo2 (http://www.nextapp.com/platform/echo2/echo/) 
framework in Wicket.

In fact, if you really don't want the page-developers to be 
coding any HTML, the Echo or Echo 2 framework may be what you're looking 
for. But then you'll be limited to building upon whatever functionality 
their components provide.


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Igor 
VaynbergSent: Wednesday, October 18, 2006 11:27 PMTo: 
wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] 
Components Entirely In Java?
you can encapsulate a great deal of markup and css into the 
components, however unless you go to extremes some basic knowledge of html is 
still needed. wicket doesnt use layout managers so you have to provide some 
basic html - at least span tags to position the components. in 
some cases if the components being added are just stacked you can use a repeater 
like RepeatingView to take care of that so end users can goMyPage() 
{ getNavContainer().add(new MyNewComponnet1());  
getNavContainer().add(new MyNewComponent2()); 
getBodyContainer().add(new 
MyNewCompoenent3());}etc-Igor
On 10/18/06, Jonathan 
Sharp [EMAIL PROTECTED] 
wrote:
I'm 
  a UI developer on a team of about 10 and are in the evaulation process of 
  wicket. Pardon my ignorance if this is obvious or misses the boat... 
  How complex would it be to provide a jar of components to our 
  developers that they can use to build their interfaces without having to touch 
  HTML? The goal would be that they would build the application without having 
  to write any HTML but simply "append" components to each other similar to how 
  you can with the DOM browser side. Our AppBasePage would then have a 
  wicket:child/ tag which is where it would render these components. 
  Does this make sense? Example Components:- Form- FieldSet- 
  FieldPair- SaveButtonDevelopers would then:class 
  MyPage extends AppBaseBase { public MyPage() 
  { Form f = new Form("myForm"); 
   f.add(new SaveButton("id", 
  "Label")); 
  add(f); }}Cheers,-js-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 
  Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user 
  mailing listWicket-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] Components Entirely In Java?

2006-10-19 Thread Eelco Hillenius
 In fact, if you really don't want the page-developers to be coding any HTML,
 the Echo or Echo 2 framework may be what you're looking for.  But then
 you'll be limited to building upon whatever functionality their components
 provide.

Yep, that could be a good alternative if you want to do all in Java
and don't want to touch any HTML, but use layout managers for HTML.

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Components Entirely In Java?

2006-10-19 Thread Erik van Oosten
Jonathan,

In my current application I have about 10 similar looking search forms 
that are all generated with a list that specifies the layout to be used, 
and the property to be set in a model object. There is only 1 html file 
containing only 3 fragments to drive all the search forms. For each 
fragment there is a corresponding form specification item. To be more 
specific, these are three form specification item types:1: simple form 
item: label and text input,  2: checkbox input and label, 3: label and 2 
text input for from-untill values. In the actual form the fragments are 
added with a repeater element. With the use of a CompoundPropertyModel 
on the form and PropertyModels on the input elements there is no 
dependency to specific form model object types.

The setup also allows for additional validators and behaviors like 
autocompletion. The trick here is to let the form specification item 
contain (or create for Wicket 2) the FormComponent. That form component 
is later added to the right fragment. The labels and access keys are 
retrieved from a resource file.

Have fun,
 Erik.


Jonathan Sharp schreef:
 That's what I'm after, the majority of our interface is form driven 
 and laid out using basic block elements with CSS handling all of the 
 positioning. Even then, laying it out with span tags would be better 
 than what we have currently (developers have too much freedom with 
 presentation... font tags are S-O-O '90s) hehe

 Thanks,
 -js

-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.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


[Wicket-user] Components Entirely In Java?

2006-10-18 Thread Jonathan Sharp
I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The goal would be that they would build the application without having to write any HTML but simply append components to each other similar to how you can with the DOM browser side. Our AppBasePage would then have a wicket:child/ tag which is where it would render these components. Does this make sense?
Example Components:- Form- FieldSet- FieldPair- SaveButtonDevelopers would then:class MyPage extends AppBaseBase { public MyPage() { Form f = new Form(myForm);
 f.add(new SaveButton(id, Label)); add(f); }}Cheers,-js
-
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] Components Entirely In Java?

2006-10-18 Thread Jonathan Sharp
I think this is similar to what I'm trying to do. Are there any details of this implementation?http://www.wicket-wiki.org.uk/wiki/index.php/Forms_with_dynamic_elements
Cheers,-jsOn 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote:
I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The goal would be that they would build the application without having to write any HTML but simply append components to each other similar to how you can with the DOM browser side. Our AppBasePage would then have a wicket:child/ tag which is where it would render these components. Does this make sense?
Example Components:- Form- FieldSet- FieldPair- SaveButtonDevelopers would then:class MyPage extends AppBaseBase { public MyPage() { Form f = new Form(myForm);
 f.add(new SaveButton(id, Label)); add(f); }}Cheers,-js


-
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] Components Entirely In Java?

2006-10-18 Thread Nick Heudecker
I wrote that page. What do you want to know about the implementation? I can sell you my survey code. :)On 10/18/06, Jonathan Sharp 
[EMAIL PROTECTED] wrote:I think this is similar to what I'm trying to do. Are there any details of this implementation?
http://www.wicket-wiki.org.uk/wiki/index.php/Forms_with_dynamic_elements
Cheers,-jsOn 10/18/06, Jonathan Sharp 
[EMAIL PROTECTED] wrote:
I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The goal would be that they would build the application without having to write any HTML but simply append components to each other similar to how you can with the DOM browser side. Our AppBasePage would then have a wicket:child/ tag which is where it would render these components. Does this make sense?
Example Components:- Form- FieldSet- FieldPair- SaveButtonDevelopers would then:class MyPage extends AppBaseBase { public MyPage() { Form f = new Form(myForm);
 f.add(new SaveButton(id, Label)); add(f); }}Cheers,-js



-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.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] Components Entirely In Java?

2006-10-18 Thread Igor Vaynberg
you can encapsulate a great deal of markup and css into the components, however unless you go to extremes some basic knowledge of html is still needed. wicket doesnt use layout managers so you have to provide some basic html - at least span tags to position the components.
in some cases if the components being added are just stacked you can use a repeater like RepeatingView to take care of that so end users can goMyPage() { getNavContainer().add(new MyNewComponnet1());
 getNavContainer().add(new MyNewComponent2()); getBodyContainer().add(new MyNewCompoenent3());}etc-IgorOn 10/18/06, Jonathan Sharp
 [EMAIL PROTECTED] wrote:I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...
How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The goal would be that they would build the application without having to write any HTML but simply append components to each other similar to how you can with the DOM browser side. Our AppBasePage would then have a wicket:child/ tag which is where it would render these components. Does this make sense?
Example Components:- Form- FieldSet- FieldPair- SaveButtonDevelopers would then:class MyPage extends AppBaseBase { public MyPage() { Form f = new Form(myForm);
 f.add(new SaveButton(id, Label)); add(f); }}Cheers,-js

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