Re: [Wicket-user] initial Seam support in SVN

2007-07-16 Thread Remco Bos

Nice! I will play with it and let you know
-- 
View this message in context: 
http://www.nabble.com/initial-Seam-support-in-SVN-tf4084752.html#a11610234
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


Re: [Wicket-user] Seam2 and Wicket

2007-07-09 Thread Remco Bos

I thought about it some more, and now I think hibernate conversations are not
the same as SEAM conversations... 

But I should try it out someday before posting more blurred thoughts.


n8han wrote:
> 
> Remco Bos wrote:
>> I first thought the conversations / workspace concepts could be usefull,
>> and
>> that SEAM could offer a better (or different) solution to the
>> OpenSessionInView pattern to manage Hibernate sessions over requests.
> 
> The Wicket community is (for now) oriented around IDetachable so it's 
> easier going that way. And I don't think detaching is a bad way to 
> work--I use it for everything.
> 
> Unfortunately, there are situations it doesn't handle well with 
> Hibernate. If you make changes to an entity that you can't commit until 
> several (ajax or traditional) requests later, Hibernate wants them to be 
> in the same Hibernate session. The workaround, of merging the object 
> into a new hb session, is rickety. Yet no web framework wanted to do 
> long sessions. So it was a stalemate until Hibernate people decided to 
> just make their own web framework.
> 
> But you don't have to bring in Seam to get conversational sessions in 
> Wicket. You can implement them under RequestCycle, as I've already taken 
> a stab at:
> http://databinder.net/wsvn/Databinder/databinder/trunk/databinder/src/main/java/net/databinder/conv/DataConversationRequestCycle.java?op=file
> 
> I'm not even sure what Seam would have to add; since Hibernate naturally 
> does conversational sessions, integrating them with a web framework like 
> Wicket is just writing a little code specific to that framework's 
> request cycle and page architecture.
> 
> This will be labeled "experimental" in Databinder 1.1 probably, but it 
> worked very smoothly in the example I cooked up some time ago and have 
> let fall off the web (it will be back though; it's replacing the regular 
> phone directory app). It's interesting stuff, anyway.
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Seam2-and-Wicket-tf4005340.html#a11498138
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


Re: [Wicket-user] Seam2 and Wicket

2007-07-06 Thread Remco Bos

I have never used SEAM myself and haven't looked into it in detail. 

I first thought the conversations / workspace concepts could be usefull, and
that SEAM could offer a better (or different) solution to the
OpenSessionInView pattern to manage Hibernate sessions over requests.

But maybe seam and wicket are just not made for each other..

-- 
View this message in context: 
http://www.nabble.com/Seam2-and-Wicket-tf4005340.html#a11460443
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


[Wicket-user] Seam2 and Wicket

2007-06-30 Thread Remco Bos

On tss there is a discussion about Seam2 integration with Wicket, I mean
Apache Wicket!

I'm quoting Gavin King: 
`By the way, it's now possible (easy, in fact) to build Wicket integration
for Seam (...) I imagine it would be interesting to the Wicket community to
have Seam's contextual component model, conversations, BPM integration,
persistence context management, EJB3 integration, asynchronicity, rule-based
security model, Drools integration, etc, in the context of a Wicket
application.´

What is your opinion?
-- 
View this message in context: 
http://www.nabble.com/Seam2-and-Wicket-tf4005340.html#a11375030
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


Re: [Wicket-user] where can i get the wicket1.3 documentation

2007-06-26 Thread Remco Bos

And the wiki:
http://cwiki.apache.org/WICKET/index.html


Lec wrote:
> 
> Im just wondering where can i get the wicket1.3 documentation. Been
> searching around but to no avail
> Would be appreciated if somebody point me to the site. 
> 

-- 
View this message in context: 
http://www.nabble.com/where-can-i-get-the-wicket1.3-documentation-tf3980393.html#a11302225
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


Re: [Wicket-user] Creating Panels inside of Loop (Wicket 2)

2007-05-23 Thread Remco Bos

I tried to make the Menubar (from extensions 2.0) work for wicket 1.3. 

I ran into trouble... 

When searching for LoopItem and Loop I ran into this post, I thought may be
related to the same problem I have now..


The java component markup hierarchy doesn't match the template hierarchy:

It should be:
[Component id = menuTitle, page = view.menubar.MenuBarPage, path =
1:menuBar:menubar:menus:0:menuTitle.Label, isVisible = true, isVersioned =
false]

But it says:
[Component id = -relative_path_prefix4, page = view.menubar.MenuBarPage,
path = 1:menuBar:menubar:menus:0:-relative_path_prefix4.WebMarkupContainer,
isVisible = true, isVersioned = true]
 
Code for the menubar panel:




[[Menu title]]
Place menus here




Java code (only the relevant part, I think):
public MenuBarPanel(final String id, final List menus, final String
name) {
super(id);
this.menus = menus;
this.name = name;
init();
WebMarkupContainer menuBar = new WebMarkupContainer("menubar");
menuBar.add(new AttributeModifier("id", true, new Model(name)));

// add the loop used to generate each single menu
menuBar.add(new Loop("menus", menus.size()) {
private static final long serialVersionUID = 1L;
@Override
protected void populateItem(LoopItem item) {
final int index = item.getIteration();
final Menu menu = MenuBarPanel.this.menus.get(index);
if (menu.isVisible()) {
item.add(new Label("menuTitle",
menu.getModel()).setRenderBodyOnly(true));
MenuPanel mp = new MenuPanel("menu", menu.getMenuItems());
item.add(mp);
mp.setRenderBodyOnly(true);
}
});
add(menuBar);
}
}

I looked for "relative_path_prefix", and it's for components with no id ??? 
I'm a bit lost... 



Johan Compagner wrote:
> 
> the LoopItem is the parent of the panel
> 
> new MenuPanel(item, "menu", menu.getModel(), menu.getMenuItems());
> 
> On 9/29/06, Stefan Lindner <[EMAIL PROTECTED]> wrote:
>>
>> I have a Panel that looks like this (html)
>>
>> 
>> 
>>  
>>  Place menus here
>>
>> 
>> 
>>
>> Now I want to generate Panels for wicket id "menu" like this
>>
>>   new Loop(this, "menus", menus.size()) {
>>private static final long serialVersionUID = 1L;
>>@Override
>>protected void populateItem(LoopItem item) {
>> final int index = item.getIteration();
>> final Menu menu = MenuBarPanel.this.menus.get(index);
>>
>> new MenuPanel(?, "menu", menu.getModel(), menu.getMenuItems());
>>
>> I can't use the item for ? because it's not a markupContainer. So,
>> what is the correct MarkupContainer for the panels?
>>
>> Stefan Lindner
>>
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>>
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Creating-Panels-inside-of-Loop-%28Wicket-2%29-tf2355282.html#a10772100
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


[Wicket-user] StackOverflowError when using FeedBack messages

2007-05-15 Thread remco bos
I hope someone can help me, I just don't know if I'm doing something really 
stupid, or if this is a bug.. A big stacktrace appears after the following 
actions: add / submit / add / submit.

I'm using the latest 1.3.0 incubating snapshot.

info("product added");  <-- causing the stacktrace (I think...)

Code:

ProductListPage.java
public class ProductListPage extends WebPage {
public ProductListPage() {
add(new FeedbackPanel("status"));
add(new Link("add"){
@Override
public void onClick() {
setResponsePage(new ProductDetailPage(getPage(), new Model(new 
Product(;
}
});
}
}


ProductListPage.html
Add New Product



ProductDetailPage.java
public class ProductDetailPage extends WebPage {

private Page backPage;

public ProductDetailPage(Page backPage, IModel model) {
this.backPage = backPage;
add(new FeedbackPanel("status"));
add(new ProductForm("productForm", new CompoundPropertyModel(model)));
}
public final class ProductForm extends Form {
public ProductForm(String id, IModel model) {
super(id, model);
add(new Button("submitQuery") {
public void onSubmit() {
info("product added"); // causing StackOverflowError
setResponsePage(backPage);
}
});
}
}
}


   
-
You snooze, you lose. Get messages ASAP with AutoCheck
 in the all-new Yahoo! Mail Beta. -
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] IBM to adopt Wicket as standard web framework

2007-03-26 Thread remco bos
I saw it coming.. http://wicket.sourceforge.net/ExampleStockQuote.html



Igor Vaynberg <[EMAIL PROTECTED]> wrote: were you gonna get paid one 
miio dollars?

-igor


On 3/26/07, Eelco Hillenius <[EMAIL PROTECTED] > wrote:They spoiled my 
negotiation position! ;)

Eelco

On 3/26/07, Korbinian Bachl < [EMAIL PROTECTED]> wrote:
> seems as they (the jokers) have no longer the patience to wait for april 1st
> :P
>
> > -Ursprüngliche Nachricht- 
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] ] Im Auftrag
> > von Matej Knopp
> > Gesendet: Montag, 26. März 2007 17:03
> > An: wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] IBM to adopt Wicket as standard 
> > web framework
> >
> > http://mail-archives.apache.org/mod_mbox/tapestry-users/200504
> .mbox/%3cPine.LNX.4.60.0504011327210.18753@ localhost.localdomain%> 3e
> >
> > On 3/26/07, Alexandre Bairos <[EMAIL PROTECTED]> wrote:
> > > It´d be fantastic. But it's a bit suspicious, considering the magic 
> > > date. :)
> > >
> > >
> > >
> > > On 3/26/07, Francis Amanfo <[EMAIL PROTECTED] > wrote:
> > > > I'm only a messenger. Don't persecute the messenger! 
> > > >
> > > >
> > > >
> > > > On 3/26/07, Korbinian Bachl < [EMAIL PROTECTED] > wrote:
> > > > > 
> > > > >
> > > > >
> > > > > "The official announcement of this was planned for
> > April 1, 2007,
> > > > > but
> > > because this falls on Sunday, the 
> > > > > announcement is scheduled for April, 2 2007."
> > > > >
> > > > > is this some kind of april the 1st joke or are you
> > serious about it???
 > > > > >
> > > > >
> > > > >
> > > > > 
> > >  Von:  [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Im Auftrag von
> > > Francis Amanfo 
> > > > > Gesendet: Montag, 26. März 2007 16:21
> > > > > An: wicket-user@lists.sourceforge.net
> > > > > Betreff: [Wicket-user] IBM to adopt Wicket as standard web 
> > > > > framework
> > > > >
> > > > >
> > > > >
> > > > > Hi guys,
> > > > >
> > > > > An IBM internal memo, written and signed by product manager, Tim 
> > > O'Malley, has been leaked.
> > > > > Well, to be more direct, a friend of my working with IBM leaked
> > > > > this to
> > > me.
> > > > > In it, IBM praised Wicket as an innovative and state of the art 
> > > > > web
> > > framework that stands up tall against all its
> > > > > competitors including JSF, Struts 2 and Tapestry. In
> > the memo, IBM
> > > mentions some of it's frustrations with JSF and 
> > > > > about Sun not listening to them during the creation of the JSF
> > > specification. In the memo, IBM also praises the Wicket team
> > > > > as very hardworking and dedicated guys and is in 
> > negotiations to
> > > > > employ
> > > them into IBM and make them work on Wicket
> > > > > and sell support under the umbrella of IBM.
> > > > > The memo also goes further to announce IBM's plans to integrate 
> > > > > Wicket
> > > into it's JEE offerings. To be more specific,
> > > > > Wicket would be Integrated into RAD 8 as the default Web
> > > > > framework, 
> > > which it plans to release in the fourth quater of this year.
> > > > > The memo also states IBM's plans to create widgets,
> > which it plans
> > > > > to 
> > > market under the label WICKED Widgets, of all
> > > > > the standard Wicket components and enable drag and drop
> > > > > development in
> > > RAD 8. It would also make WICKED(c) widgets standalone for 
> > separate downloads.
> > > > > The official announcement of this was planned for April
> > 1, 2007,
> > > > > but
> > > because this falls on Sunday, the 
> > > > > announcement is scheduled for April, 2 2007.
> > > > >
> > > > > There is a link to this memo but is currently available only on
> > > > > IBM's 
> > > internal network, which of course is closed
> > > > > to the public.
> > > > >
> > > > > I personally think this is a great news. It will grow Wicket's 
> > > > > adoption
> > > exponentially, which is of course a good
> > > > > thing for the community and give Wicket a high status in the web
> > > framework community. In addition, our diligent, humble 
> > > > > and hardworking Wicket core developers would be rewarded.
> > > > >
> > > > > So join me rejoice about the greatest news so far for the Wicket
> > > community. 
> > > > >
> > > > > Regards,
> > > > > Francis
> > > > > --
> > > > > Beware of bugs in the above code;
> > > > > I have only proved it correct, not tried it. 
> > > > > -Donald Knuth
> > > > >
> > >
> > --
> > > --- 
> > > > > Take Surveys. Earn Cash. Influence the Future of IT Join
> > > > > SourceForge.net's Techsay panel and you'll get the
> > chance to share
> > > your 
> > > > > opinions on IT & business topics through brief surveys-and earn
> > > > > cash
> > > > >
> > >
> >  http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
> > > DEV
> > > > > ___

Re: [Wicket-user] Wicket homepage Lucida Sans font

2007-03-08 Thread remco bos
Yes, that's the problem! But it looks even worse on my computer... I think I 
have installed a bad font or something..

On my laptop it looks fine (yesterday I told it didn't but after I checked 
again it really did!) so I will compare the font list tonight and let you know.

The problem was solved when I changed the font 'Lucida Sans' in the css to 
'Lucida Sans Unicode' 


Remco Bos

- Original Message 
From: Jean-Baptiste Quenot <[EMAIL PROTECTED]>
To: wicket-user@lists.sourceforge.net
Sent: Thursday, March 8, 2007 11:40:56 AM
Subject: Re: [Wicket-user] Wicket homepage Lucida Sans font


FWIW there is a JIRA issue for this already:
http://issues.apache.org/jira/browse/WICKET-346

Nathan Hamblen's suggestion to have a fallback font is good:

font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 'sans';

Where shall we change that?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

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


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket homepage Lucida Sans font

2007-03-07 Thread remco bos
I just upgraded firefox (from 1.5.0.10 to 2.0.0.2). I still have the same 
problem... And it's not only my home pc, but also my pc at work and on my 
laptop...

Does any one else has this problem??


- Original Message 
From: Xavier Hanin <[EMAIL PROTECTED]>
To: wicket-user@lists.sourceforge.net
Sent: Wednesday, March 7, 2007 10:21:41 PM
Subject: Re: [Wicket-user] Wicket homepage Lucida Sans font

On 3/7/07, remco bos <[EMAIL PROTECTED]> wrote:
Just a few notes on the font used by the wicket homepage...

The wicket homepage uses a font "Lucida Sans" which looks very very ugly in 
Windows / Firefox. Firefox can't handle Lucida Sans correctly (neither does IE 
on my computer)...The "Lucida Sans Unicode" font looks similar but doesn't have 
those problems.



FYI, I don't have the same problem on my windows XP box under firefox 2.0, IE 7 
or Opera 9.

- Xavier
 



Never miss an email again!

Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

-
Take Surveys. Earn Cash. Influence the Future of IT

Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash

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

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





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







 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket homepage Lucida Sans font

2007-03-07 Thread remco bos
Just a few notes on the font used by the wicket homepage...

The wicket homepage uses a font "Lucida Sans" which looks very very ugly in 
Windows / Firefox. Firefox can’t handle Lucida Sans correctly (neither does IE 
on my computer)...The "Lucida Sans Unicode" font looks similar but doesn't have 
those problems.








 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user