[Wicket-user] Wicket-portlet inside LifeRay + Tomcat?

2006-09-12 Thread Manuel Barzi
Has anyone successfully runned a simple Wicket-portlet inside LifeRay + Tomcat? I have downloaded the Wicket-portlet-samples from the repository, and when I try to load the portlet.war with LifeRay + Tomcat I get the following error: --- 14:59:36,520 ERROR [HotDeployUtil:52]

[Wicket-user] PortletPage vs. WebPage

2006-09-13 Thread Manuel Barzi
Dear Janne, Currently, while starting up with wicket-portlets-exapmles (successfully running now on LifeRay + Tomcat), the initial webapp we are developing was started using WebPage, following the reference of wicket-examples. But, what about that webapp - based on WebPage - to be integrated in

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Manuel Barzi
Agree with Gustavo, Thunderbird is without question a great thread-oriented mail client, and it's for free. Moreover, you can carry it all in your memory stick, as achieved with this version: http://portableapps.com/portablethunderbird ;)

Re: [Wicket-user] what mail client to you use?

2006-09-14 Thread Manuel Barzi
With gmail I can read all responses in one thread by just scrolling my mousewheel. That's a good proposal to forward to Mozilla Thunderbird ORG - Using Tomcat but need to do more? Need to support web services,

[Wicket-user] WebPage 2 PortletPage, but error...

2006-09-19 Thread Manuel Barzi
Hi, Janne, After satisfactory testing the wicket-portlet-examples (1.x), I decided to test a part of my webapp, just a few linked pages to test navigation. So, what I did is just extending from PortletPage, instead of WebPage. No compilation errors, and also no errors when deploying the WAR in

Re: [Wicket-user] WebPage 2 PortletPage, but error...

2006-09-19 Thread Manuel Barzi
/19/06, Manuel Barzi [EMAIL PROTECTED] wrote: Hi, Janne, After satisfactory testing the wicket-portlet-examples (1.x), I decided to test a part of my webapp, just a few linked pages to test navigation. So, what I did is just extending from PortletPage, instead of WebPage. No compilation errors

Re: [Wicket-user] WebPage 2 PortletPage, but error...

2006-09-19 Thread Manuel Barzi
:? it already works, since this morning! the issue was auto-solved... Thank you. On 9/19/06, Janne Hietamäki [EMAIL PROTECTED] wrote: What version of Wicket are you using? There should work with the current version from svn? Janne On 19.9.2006, at 13.08, Manuel Barzi wrote: Ok

Re: [Wicket-user] WebPage 2 PortletPage, but error...

2006-09-19 Thread Manuel Barzi
Forgot to answer this... here it is: What version of Wicket are you using? There should work with the current version from svn? wicket-1.2-SNAPSHOT.jar - Take Surveys. Earn Cash. Influence the Future of IT Join

[Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-20 Thread Manuel Barzi
Hi, there, I am working with I18N and I have an HTML INPUT that has its value property to be updated to the current locale, but also has to react as a link when clicking, by means of onClick property. I do this in wicket-java-side: -- labelModel = new StringResourceModel(CaocAdminPage-lit-8,

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Hi, Igor what do you mean act as a link when clicked? a button submits the form - that is its purpose. if you dont want it to submit the form then instead of using type=submit use type=button and dont use Button but a webmarkupcontainer that sets the onclick attr to whatever you want. Yes,

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Note that I am using the INPUT(type=button) / BUTTON html element as a standalone component, not inside a form... Wait for your answer... hope to come soon. Thanks. On 9/21/06, Manuel Barzi [EMAIL PROTECTED] wrote: Hi, Igor what do you mean act as a link when clicked? a button submits

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Ok, Igor, I already solved this issue by re-implementing Link class in my custom LinkButton class, just adding the following snippet extracted from Button class, and added to the original onComponentTag Link in this new LinkButton class: --- // Default handling for tag

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Hi, Erik, If this gets accepted, may I humbly suggest to replace value != null !.equals(value) with value != null value.length() != 0 The latter performs considerably faster (though it is of course still a micro optimization). You're right... already updated! Thanks.

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Hi, Frank, You are welcome to submit a patch :) Yeah, why not... should I enroll wicket-devel to submit this patch, you tell me... Thanks. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
really say if what your doing is something that can be used :) Frank On 9/21/06, Manuel Barzi [EMAIL PROTECTED] wrote: Hi, Frank, You are welcome to submit a patch :) Yeah, why not... should I enroll wicket-devel to submit this patch, you tell me... Thanks

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
(Btw, SRY is the s---e---x determining Y chromosome... meaning that :?) - 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

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
:) so trivial? then, let it be... I guess with a global search replace tool, you may micro-optimize likely a lot of portions of code containing that non-optimized comparison... (will try, nevertheless, to submit that patch...)

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Submitted and CLOSED. https://sourceforge.net/tracker/index.php?func=detailaid=1562907group_id=119783atid=684975 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
If you could do the actual change and then submit a patch for that change it will be even faster for us to handle it. Done... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
And submit a patch just means attaching the patch to that bug report you have opened. Sí, chabón, ya te había entendido... ;) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Manuel Barzi
and where we just do this .equals(value) without testing for null i will not rewrite those by first testing null to be able to call for length. This is wrong, we never said so. Just meant switching from [nullability-check] !.equals(value) to [nullability-check] value.length() != 0... ONLY

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Manuel Barzi
He is just saying he doesn't want to rewrite the cases that do not have a null check. Very weill, but the question is: whoever promoted that idea? Seems to be auto-promoted and auto-rejected... ;) Anyway, have a nice day!

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Manuel Barzi
There's also wicket.util.string.Strings#isEmpty (http://wicket.sourceforge.net/apidocs/wicket/util/string/Strings.html#isEmpty(java.lang.CharSequence) to consider... Just FYI, what people from Apache does (matching Erik's optimization proposal ;)... I guess wicket does the same.

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Manuel Barzi
Sirs... WicketUsersMailingListStackOverflowException: discussion has branched interesting, but to the infinite ;) i just checked an 1.3 String implementation and there the same thing was ... ... - Take Surveys. Earn

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Manuel Barzi
what can i say :) i like performance discussions.. :) :) That's fine, at the end it's very nutritive... Yourkit is running constantly on all my java programs that i run/debug on my laptop.. Good! should try it... - Take

[Wicket-user] long-named wicket:ids vs performance

2006-09-22 Thread Manuel Barzi
Sirs, Trying to get all WebPages and inner components correctly and univocally identified (wicket:id), I am using landing in a domain of long-named wicket:ids as, for instance, CaocAdminPage-checkg-1, to identify a CheckGroup... My question is: does long-named wicket:ids affect performance, or

Re: [Wicket-user] long-named wicket:ids vs performance

2006-09-22 Thread Manuel Barzi
Glad to learn it ;! Thanks, Johan. I will try to answer it then ;) i don't think it will affect performance that much but it will increase memory consumption a bit and then on both sides with that i mean the static heap (because your html size is bigger in the markup cache) and the garbage

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-22 Thread Manuel Barzi
;) ha! never give up... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash

Re: [Wicket-user] long-named wicket:ids vs performance

2006-09-22 Thread Manuel Barzi
you do know that the ids have to be unique only within the same parent right? this is perfectly legal MyPage() { add(new CheckGroup(group); WebMarkupContainer c=new WebMarkupContainer(container); container.add(new CheckGroup(group); -Igor Already learnt-by-example, yes. Thank you.

[Wicket-user] Big-Before Now-Fast Wicketed-Companies Samples? (follows: Wicket arguments for big slow companies)

2006-09-26 Thread Manuel Barzi
Sirs, Just for curiosity, wouldn't it be nice to see Work in Progress samples at Wicket's site, where some of those big slow companies are brain-gaining to Wicket's productivity? Haven't seen much information... maybe there's some hidden link there at wicket's :? For the moment, if it's of your

[Wicket-user] Fwd: Can we totally separate styles?

2006-10-02 Thread Manuel Barzi
Dear Sirs, Have data list with navigation sortable columns radio buttons to select - exclusively - rows... as follows: RadioSel SortRow1 SortRow2 === (o) data... data... (o) data... data the original html has its

[Wicket-user] Portlet Problem? Page Panel Form DataPicker

2006-10-05 Thread Manuel Barzi
Dear Sirs, Janne, I have a PortletPage with the following composition: PortletPage Panel Form DataPicker When testing this View in standalone mode (Wicket WebApp - WebPage), it works. But when testing it as a portlet in LifeRay Portal, I get the following error:

Re: [Wicket-user] Portlet Problem? Page Panel Form DataPicker

2006-10-05 Thread Manuel Barzi
Watching the markup generated by the WebPage version, I find that Wicket does automatically inserts the following scripts to the Page, in order to provide html-side support for the DatePicker: head ... blah ... link href=/nt/caoc.css type=text/css

[Wicket-user] Portlet Problem? Page TabbedPanel Panel[4]

2006-10-05 Thread Manuel Barzi
Dear Janne, I have detected another issue, and I am not quite sure if it has to be with Wicket or LifeRay, as I see no exceptions, but I can see a little detail. I tell you: I have the following View composition: Page TabbedPanel Panel[4] When testing this View in standalone WebPage impl it

Re: [Wicket-user] Confirming Gmail Issues

2006-10-06 Thread Manuel Barzi
... - 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

[Wicket-user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Manuel Barzi
:? On 10/17/06, 陈小姐 [EMAIL PROTECTED] wrote: 您好! 因我司进项较多及受多家企业与公司的委托:将每个月余额的些票据向外提供; 互惠互益以解贵司业务运作`补帐`作帐的燃眉之急;提供如下票据服务:★普通商品/运输/广 告/建筑安装/服务业等各种发票可以向外提供,税率为1-2%;并可上网查询或税务验证后付 款的方式与贵司合作! 联系人:陈小姐 电话 :13510678960 -

[Wicket-user] Re: [Wicket-user] Re: [Wicket -user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Manuel Barzi
hon! da isu zu mit su bi shi kawa zaki dae wo! ya ta... ;) On 10/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That's our localization test of the email list ;) Eelco On 10/17/06, Manuel Barzi [EMAIL PROTECTED] wrote: :? On 10/17/06, 陈小姐 [EMAIL PROTECTED] wrote: 您好! 因我司进项较多及受多家企业与公司

[Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-11-23 Thread Manuel Barzi
Hi, there, I have the following composition: WebPage ... ... DataView CustomProvider extends SortableDataProvider ... PagingNavigator DataView The ERROR? I found is this: When clicking on any of the navigation buttons (PagingNavigator), my CustomProvider implementation is managed by Wicket

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-12-05 Thread Manuel Barzi
My question is, nevertheless, would it be a significant implementation change to swap calls order from to current to iterator(...) first and size() later? then adding support for both cases in a SortableDataProvider (Case 1: Big databases - 2 Calls, Case 2: Small databases - 1 Call)... From my

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-12-05 Thread Manuel Barzi
subclass that i have shown you, i dont think its a big deal. -igor On 12/5/06, Manuel Barzi [EMAIL PROTECTED] wrote: My question is, nevertheless, would it be a significant implementation change to swap calls order from to current to iterator(...) first and size() later? then adding

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-12-07 Thread Manuel Barzi
there should only be one query to the database -igor On 12/5/06, Manuel Barzi [EMAIL PROTECTED] wrote: Yes, I have already followed your sample, doing two queries to database... ;) On 12/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no its not possible there is logic that ties

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-13 Thread manuel barzi
Hi, Eelco, I did a short example, a simple (without much complexity, as the original page has) page2page flow by bookmarkable link, passing 2 parameters, but it's working the right way!? it's not converting String to String[] parameters. Strange behaviour... because the phenomenon is actually

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-14 Thread manuel barzi
Hi, Al, Construct your page with: public MyPage(PageParams params) { Yes, I already do this in all my pages... You can then go: String[] colors = params.getStringArray(color); (Which obviously returns the whole array.) Or: String color = params.getString(color); (Which just returns the

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-14 Thread manuel barzi
Hi, Jean-Baptiste, See: ClassCastException in WebRequestCodingStrategy https://issues.apache.org/jira/browse/WICKET-524 This link is about Apache Wicket Project, but not the Wicket Standalone Project, which is the currently I am using in my development. Or is that link valid for both cases?

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-14 Thread manuel barzi
You may want to try the patch attached to the Jira issue. But note that this is a workaround, not really a solution to the problem as I don't know where those String arrays come from. So, should I better switch back to wicket-1.2.5??? Please, confirm to me what's the best decision

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread manuel barzi
Hi, Johan, Switching all ... = (String)pageParam.get(...); to ... = pageParam.getString(...); made it work. Why didnt you mention switching to getString before? Nevertheless, should we understand that get does not behaves as 1.2.5, where String was returned, and not String[1] as 1.2.6.

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread manuel barzi
for example if you did it through: request.getRequestParameters().getParameters() then we just return a map which i think we should fix.. (we should return a ValueMap there) so that you also can do getString() Yes, that's the point. Sometimes I was doing this in 1.2.5: public class the-page

Re: [Wicket-user] FileUploadField clear after failed validation. Still a bug?

2007-05-24 Thread manuel barzi
Nothing to say about this, right? the bug still there :( On 5/23/07, manuel barzi [EMAIL PROTECTED] wrote: Dear Sirs, I am registering exactly the bug registered here: http://www.nabble.com/--wicket-Bugs-1484321---FileUploadField-clear-after-failed-validation-tf1581602.html#a4292585

Re: [Wicket-user] FileUploadField clear after failed validation. Still a bug?

2007-05-25 Thread manuel barzi
that asap. johan On 5/24/07, manuel barzi [EMAIL PROTECTED] wrote: Nothing to say about this, right? the bug still there :( On 5/23/07, manuel barzi [EMAIL PROTECTED] wrote: Dear Sirs, I am registering exactly the bug registered here: http://www.nabble.com/--wicket-Bugs

Re: [Wicket-user] FileUploadField clear after failed validation. Still a bug?

2007-05-28 Thread manuel barzi
make a jira issue for this (if not already there) on the apache side (wicket sourceforge bug list got a bit lost) http://issues.apache.org/jira/browse/WICKET Ok, here it is ;) https://issues.apache.org/jira/browse/WICKET-596 If you supply patches it'll be fixed more quickly in

[Wicket-user] Wicket Portlet Support? Examples and Documentation?

2007-06-20 Thread manuel barzi
Dear Sirs, When we started using Wicket in our project one of the major motivation was its support for Portlet implementation. This week, we have migrated our wicket-implemented WebApp to PortletApp, asuring there are no compilations errors, and everything seems to go right. Now we need to pack

Re: [Wicket-user] Wicket Portlet Support? Examples and Documentation?

2007-06-20 Thread manuel barzi
://www.nabble.com/forum/Search.jtp?forum=13974local=yquery=portlet+support On 6/20/07, manuel barzi [EMAIL PROTECTED] wrote: Dear Sirs, When we started using Wicket in our project one of the major motivation was its support for Portlet implementation. This week, we have migrated our wicket