Very strange exception

2010-02-02 Thread Martin Asenov
Hello guys, I get this exception, when loading a page:

WicketMessage: The component(s) below failed to render. A common problem is 
that you have added a component in code but forgot to reference it in the 
markup (thus the component will never be rendered).

1. [Component id = label]

Root cause:

org.apache.wicket.WicketRuntimeException: The component(s) below failed to 
render. A common problem is that you have added a component in code but forgot 
to reference it in the markup (thus the component will never be rendered).

1. [Component id = label]

 at org.apache.wicket.Page.checkRendering(Page.java:1162)
 at org.apache.wicket.Page.renderPage(Page.java:922)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
 at 
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
This looks some kind of fake, as long as I don't have any components with 
id=label. Also I examined the catalina.log and found nothing relative to this.
Can someone shed more light on this?

Thanks in regards,
Martin



Re: Error with Wicket 1.4.6

2010-02-02 Thread Giovanni
OK. Thanks for the explanation.

Best regards,
giovanni






From: Pierre Goupil 
To: users@wicket.apache.org
Sent: Tue, February 2, 2010 9:33:16 PM
Subject: Re: Error with Wicket 1.4.6

Hello,

He means that you should open a bug ticket and provide a (Maven) quickstart
project demonstrating the issue, so that Wicket devs can then include it
into their non-regression test framework.

Regards,

Pierre


On Tue, Feb 2, 2010 at 9:14 PM, Giovanni  wrote:

> Hello Igor,
>
> excuse me, I don't understand your reply.
>
> Can you please explain a little bit more?
>
> best regards
> giovanni
>
>
>
>
> 
> From: Igor Vaynberg 
> To: users@wicket.apache.org
> Cc: r.bartolo...@reply.it; d.cappad...@reply.it
> Sent: Tue, February 2, 2010 4:55:07 PM
> Subject: Re: Error with Wicket 1.4.6
>
> quickstart...
>
> -igor
>
> On Tue, Feb 2, 2010 at 3:22 AM, Giovanni  wrote:
> > I upgraded my project from Wicket 1.4.5 to 1.4.6.
> >
> > After the upgrade, I get the following error on IE6:
> >
> > 
> > The XML page cannot be displayed.
> >
> > Cannot view XML input using style sheet. Please correct the error and
> > then click the Refresh button, or try again later.
> > 
> >
> > On Firefox it is working well.
> >
> > The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.
> >
> > What can be the problem? What can I do to fix it?
> >
> > Please, don't tell me not to use IE6, because I am forced to use it by my
> company. :(
> >
> > Best regards,
> > giovanni
> >
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>



-- 
Ad augusta per angusta

Des résultats grandioses par des voies étroites



  

Using a DataTable inside a Modal window

2010-02-02 Thread Dennis Buttery
Hi all, 

   I'm trying to get a DataTable to work inside of a Modal window ... 

   I have a DefaultDataTable and is added to a panel which is used as the
content of a modal window.  Everything renders properly when the modal is
opened.  The problem starts when the user tries to navigate to another page
of the table.  At that point they get the "Do you want to navigate away..."
dialog and if they select 'ok' then the modal closes ...   Reopening the
modal does put them on the correct page but it is not usable to have the
modal close each time navigation to another page is requested. 

   So...   What is the trick to getting the modal to stay open and allow the
user to navigate through the pages of the DataTable? 


Thanks!



Re: [announce] better look & modern css for wicket examples contest

2010-02-02 Thread nino martinez wael
Would be nice, but is certainly not for this contest. It's only a design
contest.

Main problem are that the Wicket examples live in Apache context and you
have to be a Apache comitter to add to them. Where as many of the components
are on sourceforge ( wicketstuff ). What could be done on wicketstuff core
was to have a common example like wicket examples.

regards Nino

2010/2/2 Ernesto Reinaldo Barreiro 

> I do not know if this fit into the contest but I think it would be nice if
> "someone" could come-up with an extensible architecture for  the "examples"
> where components from third party projects could be included... and some
> "guidelines" for building these extensions... So that we could transform
> the
> examples into "Wicket component repository"??
>
> Best,
>
> Ernesto
>
> On Tue, Feb 2, 2010 at 7:26 PM, nino martinez wael <
> nino.martinez.w...@gmail.com> wrote:
>
> > Hi
> >
> > Someone mentioned that we could have a better look & feel for wicket,
> since
> > there are no designers in the core team. I proposed a contest, to make
> the
> > coolest slickest css for wicket. So please feel free to apply.
> >
> >
> > Requirements:
> >
> > your css should be compatible with the basic browsers, Firefox , IE ,
> > Safari
> > etc. And retain heavy use of embedded js. And it should be a drop on,
> using
> > existing id's & hierachy for design.
> >
> > Practical info:
> >
> > The contest ends in 2 months April 2nd.
> >
> > Get the wicket examples here:
> > http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
> >
> > If you need it you can put your css in svn at wicketstuff, write to this
> > list for details on howto get commit rights, you should add your css to
> > sandbox and sf user name (
> > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/).
> >
> > Yes as with all contest there is a prize, you can win the wicket t-shir
> > along with the honor if your css are the winner. This
> > http://www.cafepress.com/apachewicket.317298148 or this
> > http://www.cafepress.com/apachewicket.317298083 depending on your age :)
> >
> > Just reply to this thread to enter the contest.
> >
> > Regards Nino on behalf of the Wicket People
> >
>


Re: Strange classloader issues

2010-02-02 Thread Rob Sonke
Thanks, might something caused by a headercontributor, it often involves 
something with ajax or javascript. I'll look into it today


On 2/2/10 10:46 AM, Johan Compagner wrote:

look at your html code
because somehow you get those kind of urls
org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
back to wicket and that seems very weird.
it seems that that is a piece of html with those div and class stuff.

It could also be that this is done by some header contribution ?


On Tue, Feb 2, 2010 at 08:49, Rob Sonke  wrote:

   

Hi,

We're having strange errors on several of our online wicket apps which we
can't reproduce but popping up in the logs everyday. It seems that Wicket in
some way is messing up it's full class names with other stuff like html.
I'll add some examples below.

Is this is an issue, if yes, how can we prevent these errors. And if not,
what causes this?

TP-Processor29 ERROR
org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
unable to lazily register shared resource
org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
java.lang.ClassNotFoundException: org.apache.wicket.ajax.WicketAjax%3C
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at
org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
at
org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:149)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

Or:

TP-Processor110 ERROR
org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
unable to lazily register shared resource
maxxton.newyse.web.component.date.picker.UIDa%3C/ul%3E%20%20%3C/div%3E%3C/div%3E%3Cdiv%20class=
java.lang.ClassNotFoundException:
maxxton.newyse.web.component.date.picker.UIDa%3C
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at
org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
etc..

Regards,
Rob


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


 
   


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: SwfObject integration with wicket

2010-02-02 Thread Andrew Lombardi
Check the wiki, I've seen some code for supporting that, I might have written 
it come to think of it.

On Feb 2, 2010, at 6:17 PM, Mathias Nilsson wrote:

> Hi,
> 
> I was wondering if anyone has  built swfobject ( javascript ) integration to
> wicket? What I want to do is to be able to add a flash swf file and if the
> flash isn't detected by the browser have an ajax callback and be able to
> hide the component, other resources or add other data to the output.


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




AbstractAjaxTimerBehaviour sets Transient object to null when same page in opened in new tab

2010-02-02 Thread Lina Thomas
Hi

I have a Page on which I am have to execute a long running task when
a form is submitted.  This is what I do


   1. I have a transient FutureTask member variable in the page
   2. On submit of the form i create a callable and instantiate
   the FutureTask
   3. I start the AbstractAjaxTimerBehaviour which keeps checking if
   the FutureTask is done before it can update a panel in the page with the
   result of the execution.
  - This works fine when I'm on the same page
  - Now if I submit the form and while the AbstractAjaxTimerBehaviour is
  still polling I open the same page *in a new tab* *within the same
  session* then the reference to the FutureTask in the first page
  (previous tab) becomes null.

I couldn't find any solution to this problem. Any help would be greatly
appreciated.

Thanks
-Lina


SwfObject integration with wicket

2010-02-02 Thread Mathias Nilsson
Hi,

I was wondering if anyone has  built swfobject ( javascript ) integration to
wicket? What I want to do is to be able to add a flash swf file and if the
flash isn't detected by the browser have an ajax callback and be able to
hide the component, other resources or add other data to the output.


Re: component .... not found on page

2010-02-02 Thread Igor Vaynberg
create a quickstart that reproduces your issue and attach it to a jira
ticket. see wicket.apache.org/quickstart.html

-igor

On Tue, Feb 2, 2010 at 5:45 PM, cresc  wrote:
>
> I am sorry, I did not understand the solution. I searched for quickstart in
> jira issue but found one link which says to use patch
> https://issues.apache.org/jira/secure/attachment/12417508/WICKET-2404-1.4.patch
>
> So I modified my html tag in homepage to
>  xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>
> But still not resovled..
>
> Can you give me more details...
>
> - cresc
> --
> View this message in context: 
> http://old.nabble.com/component--not-found-on-page-tp27421536p27430297.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: component .... not found on page

2010-02-02 Thread cresc

I am sorry, I did not understand the solution. I searched for quickstart in
jira issue but found one link which says to use patch
https://issues.apache.org/jira/secure/attachment/12417508/WICKET-2404-1.4.patch

So I modified my html tag in homepage to 
http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>
But still not resovled..

Can you give me more details...

- cresc
-- 
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27430297.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Save a form's markup

2010-02-02 Thread Steve Swinsburg
Why don't you just have two pages, one that is the HTML form and submits the 
data, one that gets the data and displays it back again depending on that data. 

Saving the markup is a bad IMO, if the original form needs to change, even 
slightly, you are still using the old markup on the other side. Best to just 
use the data from that form.


cheers,
Steve



On 03/02/2010, at 11:51 AM, Branden Tanga wrote:

> Hello,
> 
> This particular form is dynamic, in that it may be different for each user.
> As a business rule, I have to be able to build back this exact form as read
> only in another part of the application.
> 
> What I was doing originally, was parsing all of the wicket components on the
> java side, extracting their objectModelAsString and id, and putting those
> into an xml. Then when I needed to build the form back as read only, I would
> parse the xml and build back the markup. The other day I had an epiphany and
> realized, why don't I just store the markup from the original form, it would
> be much simpler and less prone to errors.
> 
> The only catch is that I have to get the markup with the user input
> (checkboxes checked, textboxes with text, etc.). So I need to capture the
> state of the markup at the moment that the user hits the submit button on
> the form.
> 
> 
> To All: As soon as I'm back to my regular desktop I'll work on your
> suggestions. Thanks!
> 
> Thanks,
> Branden Tanga
> Programmer / EHR Systems Engineer
> 
> 
> On Tue, Feb 2, 2010 at 5:57 AM, Igor Vaynberg wrote:
> 
>> why?
>> 
>> -igor
>> 
>> On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga 
>> wrote:
>>> Hello,
>>> 
>>> I would like to save a form's markup as a string when the form's submit
>>> button is pressed. The part that I am having difficulty with is
>>> understanding how to use wicket to grab a form's rendered markup. I have
>> a
>>> feeling it must be pretty simple, but I'm getting lost in the wicket
>>> documentation. Any tips?
>>> 
>>> 
>>> 
>>> Thanks,
>>> Branden Tanga
>>> Programmer / EHR Systems Engineer
>>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Save a form's markup

2010-02-02 Thread Branden Tanga
Hello,

This particular form is dynamic, in that it may be different for each user.
As a business rule, I have to be able to build back this exact form as read
only in another part of the application.

What I was doing originally, was parsing all of the wicket components on the
java side, extracting their objectModelAsString and id, and putting those
into an xml. Then when I needed to build the form back as read only, I would
parse the xml and build back the markup. The other day I had an epiphany and
realized, why don't I just store the markup from the original form, it would
be much simpler and less prone to errors.

The only catch is that I have to get the markup with the user input
(checkboxes checked, textboxes with text, etc.). So I need to capture the
state of the markup at the moment that the user hits the submit button on
the form.


To All: As soon as I'm back to my regular desktop I'll work on your
suggestions. Thanks!

Thanks,
Branden Tanga
Programmer / EHR Systems Engineer


On Tue, Feb 2, 2010 at 5:57 AM, Igor Vaynberg wrote:

> why?
>
> -igor
>
> On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga 
> wrote:
> > Hello,
> >
> > I would like to save a form's markup as a string when the form's submit
> > button is pressed. The part that I am having difficulty with is
> > understanding how to use wicket to grab a form's rendered markup. I have
> a
> > feeling it must be pretty simple, but I'm getting lost in the wicket
> > documentation. Any tips?
> >
> >
> >
> > Thanks,
> > Branden Tanga
> > Programmer / EHR Systems Engineer
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


on the fly variable BookmarkablePageLink generation

2010-02-02 Thread Timothy Ham
Hi,

Is there a clever way to generate page links on the fly?

I'm trying to allow users to enter wiki like text that automatically
get converted to links to other pages on the site, for example:

User enters:

Look at [[mysite:ThisPage]], [[mysite:ThatPage]]!


Which when saved gets rendered with the proper BookmarkablePageLink to
the appropriately named sites.
I'm having trouble because there are variable number of links, and
it's not clear to me how to add that to Label. I can generate 
tags and use setEscapeModelStrings(false) on label, but that doesn't
seem very elegant.

Thanks!

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Adding AjaxLink to a DataTable cell

2010-02-02 Thread Igor Vaynberg
s/search this link/search this list/

-igor

On Tue, Feb 2, 2010 at 3:06 PM, Igor Vaynberg  wrote:
> search this link for TextLink, or create a panel/fragment that contain
> a link and a label
>
> -igor
>
> On Tue, Feb 2, 2010 at 3:04 PM, zkn  wrote:
>> Hi,
>>
>> I'm have a problem adding an AjaxLink to a DataTable cell. Everything works 
>> fine except that I don't know how to set the text for the link.
>> The result is that I see only  "[cell]" as a text in the cell but onClick() 
>> works fine.
>>
>> Here is my code:
>>
>> columns.add(new AbstractColumn(new Model("Title")) {
>>
>>                        public void populateItem(Item> 
>> cellItem,   String componentId, IModel model) {
>>
>>                                final Book book = model.getObject();
>>
>>                                if (book.getAuthor() == null) {
>>
>>                                    book.setAuthor( new Author());
>>
>>                                    AjaxLink link = new 
>> AjaxLink(componentId, new Model("change author")) {
>>                                       �...@override
>>                                        public void onClick(AjaxRequestTarget 
>> target) {
>>
>>                                                modalWindow.setContent(new 
>> AuthorSwitchPanel(modalWindow
>>                                                        .getContentId(), new 
>> Model(book.getAuthor(;
>>                                                modalWindow.show(target);
>>                                        }
>>                                    };
>>
>>                                    cellItem.add(link);
>>                                }
>>                                else
>>                                        cellItem.add(new Label(componentId,
>>                                                        new 
>> PropertyModel(book.getAuthor(), "name")));
>>                        }
>> });
>>
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Adding AjaxLink to a DataTable cell

2010-02-02 Thread Igor Vaynberg
search this link for TextLink, or create a panel/fragment that contain
a link and a label

-igor

On Tue, Feb 2, 2010 at 3:04 PM, zkn  wrote:
> Hi,
>
> I'm have a problem adding an AjaxLink to a DataTable cell. Everything works 
> fine except that I don't know how to set the text for the link.
> The result is that I see only  "[cell]" as a text in the cell but onClick() 
> works fine.
>
> Here is my code:
>
> columns.add(new AbstractColumn(new Model("Title")) {
>
>                        public void populateItem(Item> 
> cellItem,   String componentId, IModel model) {
>
>                                final Book book = model.getObject();
>
>                                if (book.getAuthor() == null) {
>
>                                    book.setAuthor( new Author());
>
>                                    AjaxLink link = new 
> AjaxLink(componentId, new Model("change author")) {
>                                       �...@override
>                                        public void onClick(AjaxRequestTarget 
> target) {
>
>                                                modalWindow.setContent(new 
> AuthorSwitchPanel(modalWindow
>                                                        .getContentId(), new 
> Model(book.getAuthor(;
>                                                modalWindow.show(target);
>                                        }
>                                    };
>
>                                    cellItem.add(link);
>                                }
>                                else
>                                        cellItem.add(new Label(componentId,
>                                                        new 
> PropertyModel(book.getAuthor(), "name")));
>                        }
> });
>
>
>


Adding AjaxLink to a DataTable cell

2010-02-02 Thread zkn
Hi,

I'm have a problem adding an AjaxLink to a DataTable cell. Everything works 
fine except that I don't know how to set the text for the link.
The result is that I see only  "[cell]" as a text in the cell but onClick() 
works fine.

Here is my code:

columns.add(new AbstractColumn(new Model("Title")) {

public void populateItem(Item> 
cellItem,   String componentId, IModel model) {

final Book book = model.getObject();

if (book.getAuthor() == null) {

book.setAuthor( new Author());

AjaxLink link = new 
AjaxLink(componentId, new Model("change author")) {
@Override
public void onClick(AjaxRequestTarget 
target) {


modalWindow.setContent(new 
AuthorSwitchPanel(modalWindow
.getContentId(), new 
Model(book.getAuthor(;
modalWindow.show(target);
}
};

cellItem.add(link);
}
else
cellItem.add(new Label(componentId,
new 
PropertyModel(book.getAuthor(), "name")));
}
});




Re: component .... not found on page

2010-02-02 Thread Igor Vaynberg
right, thus the reason for the quickstart :)

-igor

ps you are welcome

On Tue, Feb 2, 2010 at 2:35 PM, Eugene Malan  wrote:
> Of course the quickstart worked just fine, so I had to add the layers of
> junk back on to find out where it was going wrong.
>
> Eventually the last thing I added back on was the cause   a broken link
> in the head section.
> 
>
> Lesson : Make sure you have valid html.  It can manifest itself in
> non-obvious ways...
>
> --
> Eugene
>
> PS To the Core Wicket devs --->  Thanks for your hard-work, you make people
> like me look good as we churn out features quickly.
>
>
> On 02 Feb 2010, at 1:02 PM, Igor Vaynberg wrote:
>
>> jira issue, quickstart...
>>
>> -igor
>>
>> On Tue, Feb 2, 2010 at 9:31 AM, Eugene Malan  wrote:
>>>
>>> I get the same behavior in  1.4.4  1.4.5  1.4.6
>>>
>>> On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:
>>>
 What version of Wicket?

 On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan  wrote:

> I am wrestling with the same Exception. I think I am doing something
> similar, in that I have a DataView with a link to a detail Page and
> then
> I
> return to the list page using    setResponsePage(returnPage);
>
> Different browsers react differently. On my Mac...
> Chrome:  gives the Exception on first load of the page.
> Safari: gives Exception after a few renderings of the Page.
> Firefox: Cannot re-create the Exception.
>
> What browser are you using?
>
> In my instance it is a Link that "cannot be found"
>
> item.add(new Link("entryName", new Model(entry)){
>
>     @Override
>     public void onClick() {
>             setResponsePage(new OBOEntryViewPage(entry, getPage()));
>     }
>
>     @Override
>     protected void onComponentTagBody(MarkupStream markupStream,
> ComponentTag openTag) {
>             replaceComponentTagBody(markupStream, openTag,
> getModelObject().getName());
>     }
>
> });
>
>
>
> On 02 Feb 2010, at 9:57 AM, cresc wrote:
>
>
>> Forgot to copy the error message.
>>
>> Root cause:
>>
>> org.apache.wicket.WicketRuntimeException: component
>>
>> content-panel:table-container:table-content:tcontainer:list:1:viewDetail
>> not
>> found on page com.mypackage.ordertracking.client.TrackingHomePage[id =
>> 3],
>> listener interface = [RequestListenerInterface name=IBehaviorListener,
>> method=public abstract void
>> org.apache.wicket.behavior.IBehaviorListener.onRequest()]
>> at
>>
>>
>>
>> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
>> at
>>
>>
>>
>> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
>> at
>>
>>
>>
>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>
>> So
>> --
>> View this message in context:
>>
>>
>> http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
>
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: component .... not found on page

2010-02-02 Thread Eugene Malan
Of course the quickstart worked just fine, so I had to add the layers  
of junk back on to find out where it was going wrong.


Eventually the last thing I added back on was the cause   a broken  
link in the head section.



Lesson : Make sure you have valid html.  It can manifest itself in non- 
obvious ways...


--
Eugene

PS To the Core Wicket devs --->  Thanks for your hard-work, you make  
people like me look good as we churn out features quickly.



On 02 Feb 2010, at 1:02 PM, Igor Vaynberg wrote:


jira issue, quickstart...

-igor

On Tue, Feb 2, 2010 at 9:31 AM, Eugene Malan   
wrote:

I get the same behavior in  1.4.4  1.4.5  1.4.6

On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:


What version of Wicket?

On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan   
wrote:


I am wrestling with the same Exception. I think I am doing  
something
similar, in that I have a DataView with a link to a detail Page  
and then

I
return to the list page usingsetResponsePage(returnPage);

Different browsers react differently. On my Mac...
Chrome:  gives the Exception on first load of the page.
Safari: gives Exception after a few renderings of the Page.
Firefox: Cannot re-create the Exception.

What browser are you using?

In my instance it is a Link that "cannot be found"

item.add(new Link("entryName", new Model(entry)){

 @Override
 public void onClick() {
 setResponsePage(new OBOEntryViewPage(entry,  
getPage()));

 }

 @Override
 protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag) {
 replaceComponentTagBody(markupStream, openTag,
getModelObject().getName());
 }

});



On 02 Feb 2010, at 9:57 AM, cresc wrote:



Forgot to copy the error message.

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list: 
1:viewDetail

not
found on page  
com.mypackage.ordertracking.client.TrackingHomePage[id =

3],
listener interface = [RequestListenerInterface  
name=IBehaviorListener,

method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at


org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveListenerInterfaceTarget 
(AbstractRequestCycleProcessor.java:426)

at


org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)

at


org 
.apache 
.wicket 
.protocol 
.http 
.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java: 
144)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
--
View this message in context:

http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Re: Feedback panel in Modal window

2010-02-02 Thread vermas

Try to add feedbackpanel inside the panel and inside the form.




rest of your html code



Thanks


Anna Simbirtsev wrote:
> 
> Hi,
> 
> I have a feedback panel in Modal window, but for some reason it does not
> work.
> 
> 
> 
> contact_form.add(new FeedbackPanel("feedback"));
> 
> I get the following messages:
> 
> WARN  - WebSession - Component-targetted feedback message
> was left unrendered. This could be because you are missing a FeedbackPanel
> on the page.  Message: [FeedbackMessage message = "Field
> 'contact_postalcode' is required.", reporter = contact_postalcode, level =
> ERROR]
> 
> In the page source it shows:
> 
> 
>  
> 
> 
> Thanks,
> 
> Anna
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Feedback-panel-in-Modal-window-tp27408273p27427705.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Apache Click

2010-02-02 Thread Adrian Wiesmann

An advantage could be that cayenne is supported as a default persistent
solution.


There is not much magic in using Cayenne with Wicket. It depends on your 
needs, but basically this is all you need:


public class DataObjectModel implements IModel

Cheers,
Adrian



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



dropdown doesnot set selected value after setVisible()

2010-02-02 Thread Jeroen Dijkmeijer

Hi,

I'm struggling my way into wicket, I've a sort of wizard like page,  
after the user submits the form, new input fields become visible. I  
also want a textinput field to become visible together with a  
dropdownbox.
In the constructor I fill the choices and set the initial (selected)  
value. After the user submits, I set the textinputfield to be visible,  
which will cause all the components in the surrounded enclosure to  
become visible.
So far so good however the selected value is not recognised and the  
"choose one" thing is shown. Code snippets are below

Any help is appreciated.
Jeroen
constructor:
..
String pollType = "Wanneer";
lijst = new ArrayList();
lijst.add("Wanneer");
lijst.add("Wie");
lijst.add("Waar");
lijst.add("Wat");
lijst.add("Welk bedrag");
lijst.add("Weet nog niet");
form.add(new ListChoice("poll_type", new  
Model(pollType), lijst));

add(form);


inner class:
class SaveButton extends Button {
/**
 *
 */
private static final long serialVersionUID =  
109611211318049267L;


private SaveButton() {
super("save", new ResourceModel("save"));
}

@Override
public void onSubmit() {
try {
 
getParent().get("poll_part_header").setVisible(true);


My html code:

key="lbl.poll.part.header">[header]


size="50"/>


 

Re: DatePicker css

2010-02-02 Thread Martin Makundi
Lol.. let me know if you find a good trick for that. We worked around
it by changing the surroundings' relative properties.

**
Martin

2010/2/2 wic...@geofflancaster.com :
> Is it possible to edit the datepicker css? the datepicker is displaying
> behind some other components on my page and i'd like to set the z-index so
> it display on top of everything.
>
> 
> mail2web - Check your email from the web at
> http://link.mail2web.com/mail2web
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with Wicket 1.4.6

2010-02-02 Thread Pierre Goupil
Hello,

He means that you should open a bug ticket and provide a (Maven) quickstart
project demonstrating the issue, so that Wicket devs can then include it
into their non-regression test framework.

Regards,

Pierre


On Tue, Feb 2, 2010 at 9:14 PM, Giovanni  wrote:

> Hello Igor,
>
> excuse me, I don't understand your reply.
>
> Can you please explain a little bit more?
>
> best regards
> giovanni
>
>
>
>
> 
> From: Igor Vaynberg 
> To: users@wicket.apache.org
> Cc: r.bartolo...@reply.it; d.cappad...@reply.it
> Sent: Tue, February 2, 2010 4:55:07 PM
> Subject: Re: Error with Wicket 1.4.6
>
> quickstart...
>
> -igor
>
> On Tue, Feb 2, 2010 at 3:22 AM, Giovanni  wrote:
> > I upgraded my project from Wicket 1.4.5 to 1.4.6.
> >
> > After the upgrade, I get the following error on IE6:
> >
> > 
> > The XML page cannot be displayed.
> >
> > Cannot view XML input using style sheet. Please correct the error and
> > then click the Refresh button, or try again later.
> > 
> >
> > On Firefox it is working well.
> >
> > The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.
> >
> > What can be the problem? What can I do to fix it?
> >
> > Please, don't tell me not to use IE6, because I am forced to use it by my
> company. :(
> >
> > Best regards,
> > giovanni
> >
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>



-- 
Ad augusta per angusta

Des résultats grandioses par des voies étroites


Re: [announce] better look & modern css for wicket examples contest

2010-02-02 Thread Ernesto Reinaldo Barreiro
I do not know if this fit into the contest but I think it would be nice if
"someone" could come-up with an extensible architecture for  the "examples"
where components from third party projects could be included... and some
"guidelines" for building these extensions... So that we could transform the
examples into "Wicket component repository"??

Best,

Ernesto

On Tue, Feb 2, 2010 at 7:26 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Hi
>
> Someone mentioned that we could have a better look & feel for wicket, since
> there are no designers in the core team. I proposed a contest, to make the
> coolest slickest css for wicket. So please feel free to apply.
>
>
> Requirements:
>
> your css should be compatible with the basic browsers, Firefox , IE ,
> Safari
> etc. And retain heavy use of embedded js. And it should be a drop on, using
> existing id's & hierachy for design.
>
> Practical info:
>
> The contest ends in 2 months April 2nd.
>
> Get the wicket examples here:
> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
>
> If you need it you can put your css in svn at wicketstuff, write to this
> list for details on howto get commit rights, you should add your css to
> sandbox and sf user name (
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).
>
> Yes as with all contest there is a prize, you can win the wicket t-shir
> along with the honor if your css are the winner. This
> http://www.cafepress.com/apachewicket.317298148 or this
> http://www.cafepress.com/apachewicket.317298083 depending on your age :)
>
> Just reply to this thread to enter the contest.
>
> Regards Nino on behalf of the Wicket People
>


Re: Error with Wicket 1.4.6

2010-02-02 Thread Giovanni
Hello Igor,

excuse me, I don't understand your reply.

Can you please explain a little bit more?

best regards
giovanni





From: Igor Vaynberg 
To: users@wicket.apache.org
Cc: r.bartolo...@reply.it; d.cappad...@reply.it
Sent: Tue, February 2, 2010 4:55:07 PM
Subject: Re: Error with Wicket 1.4.6

quickstart...

-igor

On Tue, Feb 2, 2010 at 3:22 AM, Giovanni  wrote:
> I upgraded my project from Wicket 1.4.5 to 1.4.6.
>
> After the upgrade, I get the following error on IE6:
>
> 
> The XML page cannot be displayed.
>
> Cannot view XML input using style sheet. Please correct the error and
> then click the Refresh button, or try again later.
> 
>
> On Firefox it is working well.
>
> The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.
>
> What can be the problem? What can I do to fix it?
>
> Please, don't tell me not to use IE6, because I am forced to use it by my 
> company. :(
>
> Best regards,
> giovanni
>
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


  

DatePicker css

2010-02-02 Thread wic...@geofflancaster.com
Is it possible to edit the datepicker css? the datepicker is displaying
behind some other components on my page and i'd like to set the z-index so
it display on top of everything.


mail2web - Check your email from the web at
http://link.mail2web.com/mail2web



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



CheckGroup and AjaxPagination

2010-02-02 Thread Verma Shalini (HCTM/ETA)
Hi,

I'm trying to implement checkgroup with pagination and the I need to
know when the user clicks on the submit button as what checkboxes he
selected on various pages.
But it doesn't remember it. Only the current page.
Does anybody has faced this problem and the solution for this.

Thanks
Shalini


Re: [announce] better look & modern css for wicket examples contest

2010-02-02 Thread mbrictson

In addition to the examples, I think it would be nice to apply a pleasant CSS
skin to the Wicket quickstart archetype. Instead of an un-styled
"QuickStart" message, how about a nicely formatted short intro with links to
tutorials, reference documentation, etc.?

As an example, I like the "it worked!" welcome page that Django provides:

http://i46.tinypic.com/2q025g9.jpg


nino martinez wael wrote:
> 
> Hi
> 
> Someone mentioned that we could have a better look & feel for wicket,
> since
> there are no designers in the core team. I proposed a contest, to make the
> coolest slickest css for wicket. So please feel free to apply.
> 
> 
> Requirements:
> 
> your css should be compatible with the basic browsers, Firefox , IE ,
> Safari
> etc. And retain heavy use of embedded js. And it should be a drop on,
> using
> existing id's & hierachy for design.
> 
> Practical info:
> 
> The contest ends in 2 months April 2nd.
> 
> Get the wicket examples here:
> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
> 
> If you need it you can put your css in svn at wicketstuff, write to this
> list for details on howto get commit rights, you should add your css to
> sandbox and sf user name (
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).
> 
> Yes as with all contest there is a prize, you can win the wicket t-shir
> along with the honor if your css are the winner. This
> http://www.cafepress.com/apachewicket.317298148 or this
> http://www.cafepress.com/apachewicket.317298083 depending on your age :)
> 
> Just reply to this thread to enter the contest.
> 
> Regards Nino on behalf of the Wicket People
> 
> 

-- 
View this message in context: 
http://old.nabble.com/-announce--better-look---modern-css-for-wicket-examples-contest-tp27425107p27426016.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [announce] better look & modern css for wicket examples contest

2010-02-02 Thread nino martinez wael
ok no problemo :)

2010/2/2 Igor Vaynberg 

> i dont think we would be opposed to changing html around in
> wicket-examples, so i dont think the drop-in clause is a necessity.
>
> -igor
>
> On Tue, Feb 2, 2010 at 10:26 AM, nino martinez wael
>  wrote:
> > Hi
> >
> > Someone mentioned that we could have a better look & feel for wicket,
> since
> > there are no designers in the core team. I proposed a contest, to make
> the
> > coolest slickest css for wicket. So please feel free to apply.
> >
> >
> > Requirements:
> >
> > your css should be compatible with the basic browsers, Firefox , IE ,
> Safari
> > etc. And retain heavy use of embedded js. And it should be a drop on,
> using
> > existing id's & hierachy for design.
> >
> > Practical info:
> >
> > The contest ends in 2 months April 2nd.
> >
> > Get the wicket examples here:
> > http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
> >
> > If you need it you can put your css in svn at wicketstuff, write to this
> > list for details on howto get commit rights, you should add your css to
> > sandbox and sf user name (
> > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/).
> >
> > Yes as with all contest there is a prize, you can win the wicket t-shir
> > along with the honor if your css are the winner. This
> > http://www.cafepress.com/apachewicket.317298148 or this
> > http://www.cafepress.com/apachewicket.317298083 depending on your age :)
> >
> > Just reply to this thread to enter the contest.
> >
> > Regards Nino on behalf of the Wicket People
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: [announce] better look & modern css for wicket examples contest

2010-02-02 Thread Igor Vaynberg
i dont think we would be opposed to changing html around in
wicket-examples, so i dont think the drop-in clause is a necessity.

-igor

On Tue, Feb 2, 2010 at 10:26 AM, nino martinez wael
 wrote:
> Hi
>
> Someone mentioned that we could have a better look & feel for wicket, since
> there are no designers in the core team. I proposed a contest, to make the
> coolest slickest css for wicket. So please feel free to apply.
>
>
> Requirements:
>
> your css should be compatible with the basic browsers, Firefox , IE , Safari
> etc. And retain heavy use of embedded js. And it should be a drop on, using
> existing id's & hierachy for design.
>
> Practical info:
>
> The contest ends in 2 months April 2nd.
>
> Get the wicket examples here:
> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
>
> If you need it you can put your css in svn at wicketstuff, write to this
> list for details on howto get commit rights, you should add your css to
> sandbox and sf user name (
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).
>
> Yes as with all contest there is a prize, you can win the wicket t-shir
> along with the honor if your css are the winner. This
> http://www.cafepress.com/apachewicket.317298148 or this
> http://www.cafepress.com/apachewicket.317298083 depending on your age :)
>
> Just reply to this thread to enter the contest.
>
> Regards Nino on behalf of the Wicket People
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



[announce] better look & modern css for wicket examples contest

2010-02-02 Thread nino martinez wael
Hi

Someone mentioned that we could have a better look & feel for wicket, since
there are no designers in the core team. I proposed a contest, to make the
coolest slickest css for wicket. So please feel free to apply.


Requirements:

your css should be compatible with the basic browsers, Firefox , IE , Safari
etc. And retain heavy use of embedded js. And it should be a drop on, using
existing id's & hierachy for design.

Practical info:

The contest ends in 2 months April 2nd.

Get the wicket examples here:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/

If you need it you can put your css in svn at wicketstuff, write to this
list for details on howto get commit rights, you should add your css to
sandbox and sf user name (
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).

Yes as with all contest there is a prize, you can win the wicket t-shir
along with the honor if your css are the winner. This
http://www.cafepress.com/apachewicket.317298148 or this
http://www.cafepress.com/apachewicket.317298083 depending on your age :)

Just reply to this thread to enter the contest.

Regards Nino on behalf of the Wicket People


Re: (my code palette) how to set default options in object palette

2010-02-02 Thread victorTrapiello

Thank you very much for your help but still I have some problems, it does not
show the default choices... my code is now like this, I have changed the
list for listModel but still empty when I execute... 


   IChoiceRenderer renderer = new ChoiceRenderer("", "");

List lExcogido = new ArrayList();
lExcogido.add("predefined");

ListModel lm = new ListModel();
lm.setObject(lExcogido);


final Palette palette = new Palette("palette", lm, new Model(
(Serializable) asignString), renderer, 10, true);

Any more thought¿? than you very much guys, this simple thing is frustrating
I have the release on friday.


wic...@geofflancaster.com wrote:
> 
> to predefine the selected users you have to insert them into the model.
> 
> define your palette as:
> final Palette palette = new Palette("palette", new
> ListModel(lSelected), new CollectionModel(persons),
> renderer, 10, true);
> 
> to filter using that javascript you will need to edit the js a bit to make
> it work. instead of having it use document.getElementById('paletteName')
> you will need to use document.getElementsByName('(containerName if you
> have
> one):paletteName:choices')[0]
> 
> the correct string to use can be found by looking at your html source that
> wicket renders. the line will start  name="THIS IS THE STRING YOU WANT" ...
> 
> Good luck.
> 
> 
> Original Message:
> -
> From: victorTrapiello vic...@trapiello.net
> Date: Sun, 31 Jan 2010 12:19:14 -0800 (PST)
> To: users@wicket.apache.org
> Subject: Re: (my code palette) how to set default options in object
> palette
> 
> 
> 
> Thank you very much I will try to do it
> 
> victorTrapiello wrote:
>> 
>> Thank you very mucv Nino, but what do you mena by a quick start¿? I´m
> new
>> in this comunity.
>> 
>> nino martinez wael wrote:
>>> 
>>> Ok Victor next step for you would be to create a quickstart.. So we can
>>> play
>>> with it.. I've sure had this working with wicket 1.2 / 1.3 soo should
>>> still
>>> be the case.
>>> 
>>> 2010/1/29 victorTrapiello 
>>> 

 I does not work, I think the key point is my

 IChoiceRenderer renderer = new ChoiceRenderer("fullName", "fullName");

 i leave it empty and it works for the available subject but not for the
 predefined!

 any more thoughts¿?

 Thank you very much guys



 nino martinez wael wrote:
 >
 > Form f=new Form("form");
 > add(f);
 > List persons = ComponentReferenceApplication.getPersons();;
 > IChoiceRenderer renderer = new ChoiceRenderer("fullName",
 "fullName");
 > final Palette palette = new Palette("palette", new
 > ListModel(new
 > ArrayList()), new CollectionModel(
 >   persons), renderer, 10, true);
 > palette.setmodelObject or something like that.
 >
 > 2010/1/29 victorTrapiello 
 >
 >>
 >> well I have defined my palette component like this:
 >>
 >> asignString is an string linst with the available subjects (It works
 >> fine,
 >> the palette shows the proper subjects, but it doesn´t show the
 default
 >> selected one which I save them in the list "lSelected"
 >>
 >>  IChoiceRenderer renderer = new ChoiceRenderer("", "");
 >>  List lSelected=new ArrayList();
 >>lSelected.add("predefined");
 >>Model aux=new Model();
 >>aux.setObject((Serializable) lSelected);
 >>
 >>final Palette palette = new Palette("palette", aux, new
 Model(
 >>(Serializable) asignString), renderer, 10, true);
 >>
 >> Any thought¿?
 >>
 >> thankyou in advance
 >>
 >>
 >> James Carman-3 wrote:
 >> >
 >> > Make sure your model reflects the selected state.  Palette will
 pick
 >> > that up automatically
 >> >
 >> > On Sat, Jan 23, 2010 at 12:50 PM, victorTrapiello
 >> 
 >> > wrote:
 >> >>
 >> >>
 >> >> I use the palette component, to assigne option to a User. but I
 don't
 >> >> find a functionnality, how to set already selected option ?.
 >> >>
 >> >> Exemple : a user selected option, I store it into a database:
 >> >> In the future, the user want to update his option, at the moment
 he
 >> >> doesn't see his previous selected option.
 >> >>
 >> >>  Do you have a solution.¿?, doe sir make sense¿?
 >> >>
 >> >> cheers!!
 >> >>
 >> >> quote author="MartinM">
 >> >> Well.. you can override newChoicesComponent
 >> >>
 >> >> **
 >> >> Martin
 >> >>
 >> >> 2009/4/28 新希望软件 -- 俞宏伟 :
 >> >>> yes, i can setMarkupId for Palette. but now i want to filter for
 >> >>> palette's
 >> >>> choicesComponent.
 >> >>>
 >> >>> there is no public getChoicesComponent() method for
 choicesComponent.
 >> >>>
 >> >>>
 >> >>>
 >> >>> 2009/4/28 Martin Makundi 
>>>

Re: component .... not found on page

2010-02-02 Thread Igor Vaynberg
jira issue, quickstart...

-igor

On Tue, Feb 2, 2010 at 9:31 AM, Eugene Malan  wrote:
> I get the same behavior in  1.4.4  1.4.5  1.4.6
>
> On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:
>
>> What version of Wicket?
>>
>> On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan  wrote:
>>
>>> I am wrestling with the same Exception. I think I am doing something
>>> similar, in that I have a DataView with a link to a detail Page and then
>>> I
>>> return to the list page using    setResponsePage(returnPage);
>>>
>>> Different browsers react differently. On my Mac...
>>> Chrome:  gives the Exception on first load of the page.
>>> Safari: gives Exception after a few renderings of the Page.
>>> Firefox: Cannot re-create the Exception.
>>>
>>> What browser are you using?
>>>
>>> In my instance it is a Link that "cannot be found"
>>>
>>> item.add(new Link("entryName", new Model(entry)){
>>>
>>>     �...@override
>>>      public void onClick() {
>>>              setResponsePage(new OBOEntryViewPage(entry, getPage()));
>>>      }
>>>
>>>     �...@override
>>>      protected void onComponentTagBody(MarkupStream markupStream,
>>> ComponentTag openTag) {
>>>              replaceComponentTagBody(markupStream, openTag,
>>> getModelObject().getName());
>>>      }
>>>
>>> });
>>>
>>>
>>>
>>> On 02 Feb 2010, at 9:57 AM, cresc wrote:
>>>
>>>
 Forgot to copy the error message.

 Root cause:

 org.apache.wicket.WicketRuntimeException: component
 content-panel:table-container:table-content:tcontainer:list:1:viewDetail
 not
 found on page com.mypackage.ordertracking.client.TrackingHomePage[id =
 3],
 listener interface = [RequestListenerInterface name=IBehaviorListener,
 method=public abstract void
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at


 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
 at


 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
 at


 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

 So
 --
 View this message in context:

 http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

>>>
>>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: component .... not found on page

2010-02-02 Thread Eugene Malan

I get the same behavior in  1.4.4  1.4.5  1.4.6

On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:


What version of Wicket?

On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan   
wrote:



I am wrestling with the same Exception. I think I am doing something
similar, in that I have a DataView with a link to a detail Page and  
then I

return to the list page usingsetResponsePage(returnPage);

Different browsers react differently. On my Mac...
Chrome:  gives the Exception on first load of the page.
Safari: gives Exception after a few renderings of the Page.
Firefox: Cannot re-create the Exception.

What browser are you using?

In my instance it is a Link that "cannot be found"

item.add(new Link("entryName", new Model(entry)){

  @Override
  public void onClick() {
  setResponsePage(new OBOEntryViewPage(entry,  
getPage()));

  }

  @Override
  protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag) {
  replaceComponentTagBody(markupStream, openTag,
getModelObject().getName());
  }

});



On 02 Feb 2010, at 9:57 AM, cresc wrote:



Forgot to copy the error message.

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list: 
1:viewDetail

not
found on page  
com.mypackage.ordertracking.client.TrackingHomePage[id = 3],
listener interface = [RequestListenerInterface  
name=IBehaviorListener,

method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at

org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java: 
426)

at

org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)

at

org 
.apache 
.wicket 
.protocol 
.http 
.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
--
View this message in context:
http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: component .... not found on page

2010-02-02 Thread cresc

I am using wicket 1.4.5. 

I am getting this error always in firefox on the first attempt. After I
reload the page by reverting the URL it works fine for the rest of the
session. Just the first click is causing this problem. But if replace it
with empty panel this error does nt appear. So if the error is in the page
im replacing with it should throw me appropriate msg. Not sure why it again
looks for the component in the current page..

- cresc
-- 
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27424196.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: better look & modern css for wicket

2010-02-02 Thread Igor Vaynberg
go for it. anyone can organize it. we would be happy to accept a patch
against wicket-examples.

-igor

On Tue, Feb 2, 2010 at 8:19 AM, nino martinez wael
 wrote:
> So why not have a competition? We could host it with the wicketstuff svn and
> take the best one and accept it as default?
>
> 2010/2/2 Igor Vaynberg 
>
>> because none of the core committers are designers...
>>
>> -igor
>>
>> On Tue, Feb 2, 2010 at 4:00 AM, Jing Ge (Besitec IT DEHAM)
>>  wrote:
>> > Hi,
>> >
>> > Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really
>> appreciated.
>> >
>> > I mean the design, which is used by the wicket demo page, could be
>> considered as the default design of the wicket, right? So, why not provide a
>> better one here.
>> >
>> > Regards!
>> > Jing
>> >
>> > -Original Message-
>> > From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
>> > Sent: Montag, 1. Februar 2010 19:15
>> > To: users@wicket.apache.org
>> > Subject: Re: better look & modern css for wicket
>> >
>> > frameworks like Click and Vaadin have to provide default L&F because
>> > it is harder to customize that since they do not offer as much control
>> > over the markup as Wicket. in Wicket the designer has almost complete
>> > control, even including the tags themselves. we can provide a fancy
>> > L&F but then it will only work with the specific tag hierarchies that
>> > we create it for which will limit the power of Wicket if you wanted to
>> > use the L&F in your app.
>> >
>> > -igor
>> >
>> > On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
>> >  wrote:
>> >> Hi guys,
>> >>
>> >> I just ask myself, why the wicket team does not provide a better look,
>> >> more modern css? A css which will let people say "WOW!" when they open
>> >> the wicket demo page, like Vaadin does.
>> >>
>> >> Such a css can let more people pay attention to wicket. Why don't do it?
>> >>
>> >>
>> >> BTW, The wicket is really cool! I like it!
>> >>
>> >> Regards
>> >> Jing
>> >>
>> >> -Original Message-
>> >> From: Peter Karich [mailto:peat...@yahoo.de]
>> >> Sent: Freitag, 29. Januar 2010 17:42
>> >> To: users@wicket.apache.org
>> >> Subject: Re: Apache Click
>> >>
>> >> Hi,
>> >>
>> >> for me the main disadvantage of click is that it uses velocity instead
>> >> pure html.
>> >> Then click has probably less publicity/mailing support and less
>> >> components.
>> >> An advantage could be that cayenne is supported as a default persistent
>> >> solution.
>> >>
>> >> Search for wicket vs click or sth. like (was useful for me).
>> >>
>> >>  > I think wicket with a good look css can beat them.
>> >>
>> >> This is the great thing about wicket: just let the designer do the
>> >> design their html ;-) and I will code (fast!).
>> >> No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
>> >>
>> >> Regards,
>> >> Peter.
>> >>
>> >>> Wow!
>> >>>
>> >>> Vaadin looks really cool!
>> >>> Could anyone here provide a good look css for the wicket? I think
>> >> wicket
>> >>> with a good look css can beat them.
>> >>>
>> >>> Regards!
>> >>> Jing
>> >>>
>> >>> -Original Message-
>> >>> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
>> >>> Sent: Freitag, 29. Januar 2010 17:14
>> >>> To: users@wicket.apache.org
>> >>> Subject: Re: Apache Click
>> >>>
>> >>> Hi!
>> >>>
>> >>> I guess click comes with its own layout.. like Vaadin
>> >>> http://demo.vaadin.com/sampler/
>> >>>
>> >>> **
>> >>> Martin
>> >>>
>> >>> 2010/1/29 Giovanni:
>> >>>
>>  Apache Click is very similar to Wicket:
>> 
>>  http://incubator.apache.org/click/
>> 
>>  What are the main differences and advantages?
>> 
>>  regards
>>  giovanni
>> 
>> 
>> 
>> 
>> 
>> >>> -
>> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >>> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> -
>> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >>> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> Free your timetabling!
>> >> http://timefinder.sourceforge.net/
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>
>> >>
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>
>> >>
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>> >
>> >
>> >
>> > --

Re: component .... not found on page

2010-02-02 Thread Riyad Kalla
What version of Wicket?

On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan  wrote:

> I am wrestling with the same Exception. I think I am doing something
> similar, in that I have a DataView with a link to a detail Page and then I
> return to the list page usingsetResponsePage(returnPage);
>
> Different browsers react differently. On my Mac...
> Chrome:  gives the Exception on first load of the page.
> Safari: gives Exception after a few renderings of the Page.
> Firefox: Cannot re-create the Exception.
>
> What browser are you using?
>
> In my instance it is a Link that "cannot be found"
>
> item.add(new Link("entryName", new Model(entry)){
>
>@Override
>public void onClick() {
>setResponsePage(new OBOEntryViewPage(entry, getPage()));
>}
>
>@Override
>protected void onComponentTagBody(MarkupStream markupStream,
> ComponentTag openTag) {
>replaceComponentTagBody(markupStream, openTag,
> getModelObject().getName());
>}
>
> });
>
>
>
> On 02 Feb 2010, at 9:57 AM, cresc wrote:
>
>
>> Forgot to copy the error message.
>>
>> Root cause:
>>
>> org.apache.wicket.WicketRuntimeException: component
>> content-panel:table-container:table-content:tcontainer:list:1:viewDetail
>> not
>> found on page com.mypackage.ordertracking.client.TrackingHomePage[id = 3],
>> listener interface = [RequestListenerInterface name=IBehaviorListener,
>> method=public abstract void
>> org.apache.wicket.behavior.IBehaviorListener.onRequest()]
>> at
>>
>> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
>> at
>>
>> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
>> at
>>
>> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>>
>> So
>> --
>> View this message in context:
>> http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
>


Re: component .... not found on page

2010-02-02 Thread Eugene Malan
I am wrestling with the same Exception. I think I am doing something  
similar, in that I have a DataView with a link to a detail Page and  
then I return to the list page usingsetResponsePage(returnPage);


Different browsers react differently. On my Mac...
Chrome:  gives the Exception on first load of the page.
Safari: gives Exception after a few renderings of the Page.
Firefox: Cannot re-create the Exception.

What browser are you using?

In my instance it is a Link that "cannot be found"

item.add(new Link("entryName", new Model(entry)){

@Override
public void onClick() {
setResponsePage(new OBOEntryViewPage(entry, getPage()));
}

@Override
	protected void onComponentTagBody(MarkupStream markupStream,  
ComponentTag openTag) {
		replaceComponentTagBody(markupStream, openTag,  
getModelObject().getName());	

}

});


On 02 Feb 2010, at 9:57 AM, cresc wrote:



Forgot to copy the error message.

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list: 
1:viewDetail not
found on page com.mypackage.ordertracking.client.TrackingHomePage[id  
= 3],

listener interface = [RequestListenerInterface name=IBehaviorListener,
method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java: 
426)

at
org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)

at
org 
.apache 
.wicket 
.protocol 
.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java: 
144)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
--
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Re: (my code palette) how to set default options in object palette

2010-02-02 Thread wic...@geofflancaster.com
to predefine the selected users you have to insert them into the model.

define your palette as:
final Palette palette = new Palette("palette", new
ListModel(lSelected), new CollectionModel(persons),
renderer, 10, true);

to filter using that javascript you will need to edit the js a bit to make
it work. instead of having it use document.getElementById('paletteName')
you will need to use document.getElementsByName('(containerName if you have
one):paletteName:choices')[0]

the correct string to use can be found by looking at your html source that
wicket renders. the line will start  
> Thank you very mucv Nino, but what do you mena by a quick start¿? I´m
new
> in this comunity.
> 
> nino martinez wael wrote:
>> 
>> Ok Victor next step for you would be to create a quickstart.. So we can
>> play
>> with it.. I've sure had this working with wicket 1.2 / 1.3 soo should
>> still
>> be the case.
>> 
>> 2010/1/29 victorTrapiello 
>> 
>>>
>>> I does not work, I think the key point is my
>>>
>>> IChoiceRenderer renderer = new ChoiceRenderer("fullName", "fullName");
>>>
>>> i leave it empty and it works for the available subject but not for the
>>> predefined!
>>>
>>> any more thoughts¿?
>>>
>>> Thank you very much guys
>>>
>>>
>>>
>>> nino martinez wael wrote:
>>> >
>>> > Form f=new Form("form");
>>> > add(f);
>>> > List persons = ComponentReferenceApplication.getPersons();;
>>> > IChoiceRenderer renderer = new ChoiceRenderer("fullName",
>>> "fullName");
>>> > final Palette palette = new Palette("palette", new
>>> > ListModel(new
>>> > ArrayList()), new CollectionModel(
>>> >   persons), renderer, 10, true);
>>> > palette.setmodelObject or something like that.
>>> >
>>> > 2010/1/29 victorTrapiello 
>>> >
>>> >>
>>> >> well I have defined my palette component like this:
>>> >>
>>> >> asignString is an string linst with the available subjects (It works
>>> >> fine,
>>> >> the palette shows the proper subjects, but it doesn´t show the
>>> default
>>> >> selected one which I save them in the list "lSelected"
>>> >>
>>> >>  IChoiceRenderer renderer = new ChoiceRenderer("", "");
>>> >>  List lSelected=new ArrayList();
>>> >>lSelected.add("predefined");
>>> >>Model aux=new Model();
>>> >>aux.setObject((Serializable) lSelected);
>>> >>
>>> >>final Palette palette = new Palette("palette", aux, new Model(
>>> >>(Serializable) asignString), renderer, 10, true);
>>> >>
>>> >> Any thought¿?
>>> >>
>>> >> thankyou in advance
>>> >>
>>> >>
>>> >> James Carman-3 wrote:
>>> >> >
>>> >> > Make sure your model reflects the selected state.  Palette will
>>> pick
>>> >> > that up automatically
>>> >> >
>>> >> > On Sat, Jan 23, 2010 at 12:50 PM, victorTrapiello
>>> >> 
>>> >> > wrote:
>>> >> >>
>>> >> >>
>>> >> >> I use the palette component, to assigne option to a User. but I
>>> don't
>>> >> >> find a functionnality, how to set already selected option ?.
>>> >> >>
>>> >> >> Exemple : a user selected option, I store it into a database:
>>> >> >> In the future, the user want to update his option, at the moment
>>> he
>>> >> >> doesn't see his previous selected option.
>>> >> >>
>>> >> >>  Do you have a solution.¿?, doe sir make sense¿?
>>> >> >>
>>> >> >> cheers!!
>>> >> >>
>>> >> >> quote author="MartinM">
>>> >> >> Well.. you can override newChoicesComponent
>>> >> >>
>>> >> >> **
>>> >> >> Martin
>>> >> >>
>>> >> >> 2009/4/28 新希望软件 -- 俞宏伟 :
>>> >> >>> yes, i can setMarkupId for Palette. but now i want to filter for
>>> >> >>> palette's
>>> >> >>> choicesComponent.
>>> >> >>>
>>> >> >>> there is no public getChoicesComponent() method for
>>> choicesComponent.
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> 2009/4/28 Martin Makundi 
>>> >> >>>
>>> >>  Why cannot get markupid? You can determine it yourself
>>> (setMarkupId)
>>> >> 
>>> >>  You could also update via ajax using a textfield which sends the
>>> >>  filtered text to server and server updates the select via
>>> ajax...
>>> >> 
>>> >>  I wonder if someone has made a select in which the filter is
>>> >> visually
>>> >>  built into the select component?
>>> >> 
>>> >>  **
>>> >>  Martin
>>> >> 
>>> >>  2009/4/28 新希望软件 -- 俞宏伟 :
>>> >>  > I want to add a filter for palette choice list, because 
>>> choice
>>> >> list
>>> >>   have a
>>> >>  > very large HTML SELECT list.
>>> >>  >
>>> >>  > I found that there is a select filter implement(
>>> >>  > http://www.barelyfitz.com/projects/filterlist/index.php/1),
>>> but
>>> i
>>> >> can
>>> >>  not
>>> >>  > get select component markupid, so filter can not init.
>>> >>  >
>>> >>  > --
>>> >>  >
>>> >>  > H. L. Mencken <
>>> >>  http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html>
>>> >>  > - "It is even harder for the average ape to believe that he
>>> has
>>> >>  > descended
>>> >>  > from man."
>>> >>  >
>>> >>

Wicket and Server Side Include

2010-02-02 Thread VGoel
We are using Wicket 1.4.5, Websphere 6.1

We are re-doing  current coldfusion application in Java/Wicket. Currently 
the home page (which contains database search) is static HTML page, which 
submits to Coldfusion application.

Because of current production environment, we have two options in 
consideration
1. We have static HTML with HTML form for searching (non- https) page 
submit to Wicket Application (https). And user can go back forth between 
http and https.
2. We build the static home page(with search form) as Wicket page with 
search and have server side includes pointing to static files on Web 
Server. This gives static team some flexibility to change contents, 
without redeploying the app.

Second approach gives Static Content team some flexibility to change 
content, images and flash files. Is there any drawback of using SSI using 
org.apache.wicket.markup.html.include. 

Is there any other solution, which we missed?

Thanks and Regards,
Vandana Goel



Notice: This communication, including any attachments, is intended solely 
for the use of the individual or entity to which it is addressed. This 
communication may contain information that is protected from disclosure 
under State and/or Federal law. Please notify the sender immediately if 
you have received this communication in error and delete this email from 
your system. If you are not the intended recipient, you are requested not 
to disclose, copy, distribute or take any action in reliance on the 
contents of this information.

Re: better look & modern css for wicket

2010-02-02 Thread nino martinez wael
So why not have a competition? We could host it with the wicketstuff svn and
take the best one and accept it as default?

2010/2/2 Igor Vaynberg 

> because none of the core committers are designers...
>
> -igor
>
> On Tue, Feb 2, 2010 at 4:00 AM, Jing Ge (Besitec IT DEHAM)
>  wrote:
> > Hi,
> >
> > Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really
> appreciated.
> >
> > I mean the design, which is used by the wicket demo page, could be
> considered as the default design of the wicket, right? So, why not provide a
> better one here.
> >
> > Regards!
> > Jing
> >
> > -Original Message-
> > From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
> > Sent: Montag, 1. Februar 2010 19:15
> > To: users@wicket.apache.org
> > Subject: Re: better look & modern css for wicket
> >
> > frameworks like Click and Vaadin have to provide default L&F because
> > it is harder to customize that since they do not offer as much control
> > over the markup as Wicket. in Wicket the designer has almost complete
> > control, even including the tags themselves. we can provide a fancy
> > L&F but then it will only work with the specific tag hierarchies that
> > we create it for which will limit the power of Wicket if you wanted to
> > use the L&F in your app.
> >
> > -igor
> >
> > On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
> >  wrote:
> >> Hi guys,
> >>
> >> I just ask myself, why the wicket team does not provide a better look,
> >> more modern css? A css which will let people say "WOW!" when they open
> >> the wicket demo page, like Vaadin does.
> >>
> >> Such a css can let more people pay attention to wicket. Why don't do it?
> >>
> >>
> >> BTW, The wicket is really cool! I like it!
> >>
> >> Regards
> >> Jing
> >>
> >> -Original Message-
> >> From: Peter Karich [mailto:peat...@yahoo.de]
> >> Sent: Freitag, 29. Januar 2010 17:42
> >> To: users@wicket.apache.org
> >> Subject: Re: Apache Click
> >>
> >> Hi,
> >>
> >> for me the main disadvantage of click is that it uses velocity instead
> >> pure html.
> >> Then click has probably less publicity/mailing support and less
> >> components.
> >> An advantage could be that cayenne is supported as a default persistent
> >> solution.
> >>
> >> Search for wicket vs click or sth. like (was useful for me).
> >>
> >>  > I think wicket with a good look css can beat them.
> >>
> >> This is the great thing about wicket: just let the designer do the
> >> design their html ;-) and I will code (fast!).
> >> No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
> >>
> >> Regards,
> >> Peter.
> >>
> >>> Wow!
> >>>
> >>> Vaadin looks really cool!
> >>> Could anyone here provide a good look css for the wicket? I think
> >> wicket
> >>> with a good look css can beat them.
> >>>
> >>> Regards!
> >>> Jing
> >>>
> >>> -Original Message-
> >>> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
> >>> Sent: Freitag, 29. Januar 2010 17:14
> >>> To: users@wicket.apache.org
> >>> Subject: Re: Apache Click
> >>>
> >>> Hi!
> >>>
> >>> I guess click comes with its own layout.. like Vaadin
> >>> http://demo.vaadin.com/sampler/
> >>>
> >>> **
> >>> Martin
> >>>
> >>> 2010/1/29 Giovanni:
> >>>
>  Apache Click is very similar to Wicket:
> 
>  http://incubator.apache.org/click/
> 
>  What are the main differences and advantages?
> 
>  regards
>  giovanni
> 
> 
> 
> 
> 
> >>> -
> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>
> >>>
> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Free your timetabling!
> >> http://timefinder.sourceforge.net/
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apac

Re: Save a form's markup

2010-02-02 Thread Martin Makundi
Hi!

These might be of interest:
* http://www.mail-archive.com/users@wicket.apache.org/msg45354.html
* http://www.jroller.com/karthikg/entry/modelling_client_side_form_modifications

2010/2/2 Igor Vaynberg :
> why?
>
> -igor
>
> On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga  wrote:
>> Hello,
>>
>> I would like to save a form's markup as a string when the form's submit
>> button is pressed. The part that I am having difficulty with is
>> understanding how to use wicket to grab a form's rendered markup. I have a
>> feeling it must be pretty simple, but I'm getting lost in the wicket
>> documentation. Any tips?
>>
>>
>>
>> Thanks,
>> Branden Tanga
>> Programmer / EHR Systems Engineer
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Save a form's markup

2010-02-02 Thread Igor Vaynberg
why?

-igor

On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga  wrote:
> Hello,
>
> I would like to save a form's markup as a string when the form's submit
> button is pressed. The part that I am having difficulty with is
> understanding how to use wicket to grab a form's rendered markup. I have a
> feeling it must be pretty simple, but I'm getting lost in the wicket
> documentation. Any tips?
>
>
>
> Thanks,
> Branden Tanga
> Programmer / EHR Systems Engineer
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: better look & modern css for wicket

2010-02-02 Thread Igor Vaynberg
because none of the core committers are designers...

-igor

On Tue, Feb 2, 2010 at 4:00 AM, Jing Ge (Besitec IT DEHAM)
 wrote:
> Hi,
>
> Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really appreciated.
>
> I mean the design, which is used by the wicket demo page, could be considered 
> as the default design of the wicket, right? So, why not provide a better one 
> here.
>
> Regards!
> Jing
>
> -Original Message-
> From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
> Sent: Montag, 1. Februar 2010 19:15
> To: users@wicket.apache.org
> Subject: Re: better look & modern css for wicket
>
> frameworks like Click and Vaadin have to provide default L&F because
> it is harder to customize that since they do not offer as much control
> over the markup as Wicket. in Wicket the designer has almost complete
> control, even including the tags themselves. we can provide a fancy
> L&F but then it will only work with the specific tag hierarchies that
> we create it for which will limit the power of Wicket if you wanted to
> use the L&F in your app.
>
> -igor
>
> On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
>  wrote:
>> Hi guys,
>>
>> I just ask myself, why the wicket team does not provide a better look,
>> more modern css? A css which will let people say "WOW!" when they open
>> the wicket demo page, like Vaadin does.
>>
>> Such a css can let more people pay attention to wicket. Why don't do it?
>>
>>
>> BTW, The wicket is really cool! I like it!
>>
>> Regards
>> Jing
>>
>> -Original Message-
>> From: Peter Karich [mailto:peat...@yahoo.de]
>> Sent: Freitag, 29. Januar 2010 17:42
>> To: users@wicket.apache.org
>> Subject: Re: Apache Click
>>
>> Hi,
>>
>> for me the main disadvantage of click is that it uses velocity instead
>> pure html.
>> Then click has probably less publicity/mailing support and less
>> components.
>> An advantage could be that cayenne is supported as a default persistent
>> solution.
>>
>> Search for wicket vs click or sth. like (was useful for me).
>>
>>  > I think wicket with a good look css can beat them.
>>
>> This is the great thing about wicket: just let the designer do the
>> design their html ;-) and I will code (fast!).
>> No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
>>
>> Regards,
>> Peter.
>>
>>> Wow!
>>>
>>> Vaadin looks really cool!
>>> Could anyone here provide a good look css for the wicket? I think
>> wicket
>>> with a good look css can beat them.
>>>
>>> Regards!
>>> Jing
>>>
>>> -Original Message-
>>> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
>>> Sent: Freitag, 29. Januar 2010 17:14
>>> To: users@wicket.apache.org
>>> Subject: Re: Apache Click
>>>
>>> Hi!
>>>
>>> I guess click comes with its own layout.. like Vaadin
>>> http://demo.vaadin.com/sampler/
>>>
>>> **
>>> Martin
>>>
>>> 2010/1/29 Giovanni:
>>>
 Apache Click is very similar to Wicket:

 http://incubator.apache.org/click/

 What are the main differences and advantages?

 regards
 giovanni





>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>>
>> --
>> Free your timetabling!
>> http://timefinder.sourceforge.net/
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with Wicket 1.4.6

2010-02-02 Thread Igor Vaynberg
quickstart...

-igor

On Tue, Feb 2, 2010 at 3:22 AM, Giovanni  wrote:
> I upgraded my project from Wicket 1.4.5 to 1.4.6.
>
> After the upgrade, I get the following error on IE6:
>
> 
> The XML page cannot be displayed.
>
> Cannot view XML input using style sheet. Please correct the error and
> then click the Refresh button, or try again later.
> 
>
> On Firefox it is working well.
>
> The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.
>
> What can be the problem? What can I do to fix it?
>
> Please, don't tell me not to use IE6, because I am forced to use it by my 
> company. :(
>
> Best regards,
> giovanni
>
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to simulate browser back button?

2010-02-02 Thread Erik van Oosten
Indeed, except that I saw that there were some extraneous slashes there. 
It should have been:


back

Any IE that still has JS switched off is useless on about any modern 
internet site. Just turn it on and accept the security risk or (better) 
use another browser.


Regards,
   Erik.


Riyad Kalla wrote:

JavaScript is your only option -- that should work in IE, that's some pretty
classic JavaScript right there.

If your IE install has JS turned off, I'm not aware of any other way to
programatically issue a 'back' to the browser.

On Tue, Feb 2, 2010 at 1:09 AM, PDiefent  wrote:

  

It's not that simple! My IE doesn't accept the onclick in the   tag.
Is it poosible to run the code in the onSubmit method of a Wicket button?


Erik van Oosten wrote:


No problem:

 # back


Peter Diefenthaeler wrote:
  

Hallo Wicket users.
is there an easy way to simulate the browsers back button with an own
button in a form?

Thank in advance
Peter



--
Send from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxFallbackDefaultDataTable and delete via ModalWindow

2010-02-02 Thread Riyad Kalla
Andreas,

Sorry I think my reply came across confusing -- I'm very green with Wicket,
so I can't help with more complex use-case using
the AjaxFallbackDefaultDataTable -- which is probably the right component to
use.

On Tue, Feb 2, 2010 at 1:20 AM, Andreas Lüdtke wrote:

> Riyad,
>
> I saw the stop() method and that would help if I only delete one row. But
> what should I do when the second row on that page is deleted? There is no
> restart() or start() method in the timer. Maybe I'm not aware of a method
> to
> re-enable/re-start the timer.
>
> Ok Riyad, what is smarter than the AjaxFallbackDefaultDataTable in your
> opinion ;-)
>
> Andreas
>
> > -Original Message-
> > From: Riyad Kalla [mailto:rka...@gmail.com]
> > Sent: Monday, February 01, 2010 4:40 PM
> > To: users@wicket.apache.org; sam.lued...@t-online.de
> > Subject: Re: AjaxFallbackDefaultDataTable and delete via ModalWindow
> >
> > Andreas,
> >
> > I'm glad you nailed down what was going on -- that being
> > said, can you just issue a .stop() on the timer on the first
> > callback? So you get your 1 update, then the timer gets
> > killed off and you are good to go?
> >
> > Don't know that much about the Ajax Data Table, otherwise I
> > would recommend something way smarter :)
> >
> > -R
> >
> >
> > On Sat, Jan 30, 2010 at 2:11 AM, Andreas Lüdtke
> >  wrote:
> >
> >
> >   Riyad,
> >
> >   it's not a dumb question. I asked that already myself
> > and checked via the
> >   debugger that the object is really deleted. But you've
> > put me on the right
> >   track: I placed a link where I do a
> >   AjaxFallbackDefaultDataTable.modelChanged(); and that
> > did the job. Now I've
> >   added an AbstractAjaxTimerBehavior with a duration of 1
> > second and that is
> >   updating the table after one second.
> >
> >   Now I'm curious: do I generate too much Ajax traffic if
> > that timer is running
> >   every second? I only need it to run once after I
> > changed the model...
> >
> >   Thanks
> >
> >   Andreas
> >
> >
> >   > -Original Message-
> >   > From: Riyad Kalla [mailto:rka...@gmail.com]
> >   > Sent: Friday, January 29, 2010 8:35 PM
> >   > To: users@wicket.apache.org; sam.lued...@t-online.de
> >   > Subject: Re: AjaxFallbackDefaultDataTable and delete
> > via ModalWindow
> >   >
> >   > Andreas,
> >   >
> >   > This might be a dumb question, but are you sure at the point
> >   > that the page
> >   > reloads and re-renders, the object *has* been erased from the
> >   > database or
> >   > cache you are utilizing? For example, right after you delete,
> >   > if you put in
> >   > some silly/junk code to immediately re-query for that object,
> >   > it comes back
> >   > null right?
> >   >
> >   > I'm sure this is an Ajax/model issue, but 1 time it took me 2
> >   > days trying to
> >   > figure out why something "Wasn't deleting" just to find out
> >   > it was, but my
> >   > cache was deferring the operation to a few seconds later. So
> >   > I figured I'd
> >   > throw that out there just incase.
> >   >
> >   > -R
> >   >
> >   > On Fri, Jan 29, 2010 at 10:23 AM, Andreas Lüdtke
> >   > wrote:
> >   >
> >   > > Hi,
> >   > >
> >   > > I have an AjaxFallbackDefaultDataTable on a page and when I
> >   > delete a row of
> >   > > the displayed data, I can't get the DataTable to
> > reload and show the
> >   > > reduced
> >   > > list. I tried already the following:
> >   > >
> >   > > - delete the object (row) in the database
> >   > > - reload the ISortableDataProvider class I'm using <-- this
> >   > is actually not
> >   > > needed, because the object is removed
> >   > > - AjaxFallbackDefaultDataTable.modelChanged()
> >   > >
> >   > > If I refresh the browser window I see that one object is
> >   > missing in the
> >   > > list,
> >   > > but this way I lose the sorting the user has done.
> >   > >
> >   > > Am I missing something? How do I bring the
> >   > AjaxFallbackDefaultDataTable to
> >   > > reflect the changes?
> >   > >
> >   > > Andreas
> >   > >
> >   > >
> >   > >
> >   >
> > -
> >   > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >   > > For additional commands, e-mail:
> > users-h...@wicket.apache.org
> >   > >
> >   > >
> >   >
> >
> >
> >
> > -
> >   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >   For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional comman

Re: component .... not found on page

2010-02-02 Thread cresc

Forgot to copy the error message. 

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list:1:viewDetail not
found on page com.mypackage.ordertracking.client.TrackingHomePage[id = 3],
listener interface = [RequestListenerInterface name=IBehaviorListener,
method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
-- 
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to simulate browser back button?

2010-02-02 Thread Riyad Kalla
JavaScript is your only option -- that should work in IE, that's some pretty
classic JavaScript right there.

If your IE install has JS turned off, I'm not aware of any other way to
programatically issue a 'back' to the browser.

On Tue, Feb 2, 2010 at 1:09 AM, PDiefent  wrote:

>
> It's not that simple! My IE doesn't accept the onclick in the   tag.
> Is it poosible to run the code in the onSubmit method of a Wicket button?
>
>
> Erik van Oosten wrote:
> >
> > No problem:
> >
> >  # back
> >
> >
> > Peter Diefenthaeler wrote:
> >> Hallo Wicket users.
> >> is there an easy way to simulate the browsers back button with an own
> >> button in a form?
> >>
> >> Thank in advance
> >> Peter
> >>
> >
> > --
> > Send from my SMTP compliant software
> > Erik van Oosten
> > http://day-to-day-stuff.blogspot.com/
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/How-to-simulate-browser-back-button--tp27404303p27416704.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


component .... not found on page

2010-02-02 Thread Nazeem
I get the following error on first time i visit the page or panel. But on
reload, i.e, reverting back to original url localhost:8080/app everything
works normal.

SortableDataProvider sdp = new
SortableDataProvider(filter.getQuery(), Order.class);
sdp.setInitSortBy("ordr.orderId desc");
currentPage = 0;

final WebMarkupContainer tcontainer = new
WebMarkupContainer("tcontainer");
tcontainer.setOutputMarkupId(true);
final DataView dView = new DataView("list", sdp,
rowsPerPage) {

private static final long serialVersionUID = 0L;

@Override
protected void populateItem(Item item) {
final Order order = item.getModelObject();
item.setModel(new CompoundPropertyModel(order));

int num = currentPage == 0 ? sNo++ : (currentPage *
rowsPerPage) + sNo++;
item.add(new Label("sNo", new Model(num)));
AjaxLink viewDetLnk = new AjaxLink("viewDetail") {
private static final long serialVersionUID =
-100047462061223L;

@Override
public void onClick(AjaxRequestTarget target) {
try {
log.info(">>> ");
OrderDetailPanel odp = new
OrderDetailPanel(BasePage.CONTENTPANELID, order, OrderListPanel.this);
//replacePanel(new
EmptyPanel(BasePage.CONTENTPANELID), target);
replacePanel(odp, target);
}
catch(Exception e) {
e.printStackTrace();
errorAlert("Error occured : " + e.getMessage() +
",\n please try again ", target);
}
}

/*...@override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return getIndicator();
}*/
};
viewDetLnk.add(new Label("invoiceNo"));
item.add(viewDetLnk);
...

html..




  S.No:
  Invoice No
...
   Actions
  
  
  




 ..


Any clue ?  But if I replace the onclick action to just to replace with
empty panel everything seems to be normal..

Thanks
Cresc..


Re: Wicketstuff Teamcity: Wrong Maven home path configured for Wicketstuff Merge Resources 1.3 branch

2010-02-02 Thread Martijn Dashorst
changed it to 2.2.1

On Tue, Feb 2, 2010 at 1:43 PM, Stefan Fussenegger  wrote:
> "Wicketstuff Merge Resources 1.3 branch" points to non-existing maven
> directory:
>
> [12:36:26]: /home/wicket/apache-maven-2.0.9/bin/mvn: Can't open
> /home/wicket/apache-maven-2.0.9/bin/mvn: No such file or directory
> [12:36:26]: Build finished
> (from
> http://wicketstuff.org/teamcity/viewLog.html?buildId=5619&buildTypeId=bt38&tab=buildLog)
>
> Could somebody with admin rights please fix this? Using TeamCity's default
> Maven runner (as used by "Wicket 1.4.x") should be perfectly fine:
>
> M2_HOME = /data/home/wicket/teamcity-5.0/buildAgent/plugins/maven
> (from
> http://wicketstuff.org/teamcity/viewLog.html?buildId=5614&tab=buildLog&buildTypeId=bt39&all=true)
>
> Thanks, Stefan
>
> --
>
> Stefan Fußenegger
> Molindo GmbH
> http://www.molindo.at/
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicketstuff Teamcity: Wrong Maven home path configured for Wicketstuff Merge Resources 1.3 branch

2010-02-02 Thread Stefan Fussenegger
"Wicketstuff Merge Resources 1.3 branch" points to non-existing maven 
directory:


[12:36:26]: /home/wicket/apache-maven-2.0.9/bin/mvn: Can't open 
/home/wicket/apache-maven-2.0.9/bin/mvn: No such file or directory

[12:36:26]: Build finished
(from 
http://wicketstuff.org/teamcity/viewLog.html?buildId=5619&buildTypeId=bt38&tab=buildLog)


Could somebody with admin rights please fix this? Using TeamCity's 
default Maven runner (as used by "Wicket 1.4.x") should be perfectly fine:


M2_HOME = /data/home/wicket/teamcity-5.0/buildAgent/plugins/maven
(from 
http://wicketstuff.org/teamcity/viewLog.html?buildId=5614&tab=buildLog&buildTypeId=bt39&all=true)


Thanks, Stefan

--

Stefan Fußenegger
Molindo GmbH
http://www.molindo.at/

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Save a form's markup

2010-02-02 Thread Wilhelmsen Tor Iver
> I would like to save a form's markup as a string when the form's submit
> button is pressed. The part that I am having difficulty with is
> understanding how to use wicket to grab a form's rendered markup. I
> have a
> feeling it must be pretty simple, but I'm getting lost in the wicket
> documentation. Any tips?

Look at org.apache.wicket.response.StringResponse and examples using that.

- Tor Iver

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: better look & modern css for wicket

2010-02-02 Thread Jing Ge (Besitec IT DEHAM)
Hi,

Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really appreciated.

I mean the design, which is used by the wicket demo page, could be considered 
as the default design of the wicket, right? So, why not provide a better one 
here.

Regards!
Jing

-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] 
Sent: Montag, 1. Februar 2010 19:15
To: users@wicket.apache.org
Subject: Re: better look & modern css for wicket

frameworks like Click and Vaadin have to provide default L&F because
it is harder to customize that since they do not offer as much control
over the markup as Wicket. in Wicket the designer has almost complete
control, even including the tags themselves. we can provide a fancy
L&F but then it will only work with the specific tag hierarchies that
we create it for which will limit the power of Wicket if you wanted to
use the L&F in your app.

-igor

On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
 wrote:
> Hi guys,
>
> I just ask myself, why the wicket team does not provide a better look,
> more modern css? A css which will let people say "WOW!" when they open
> the wicket demo page, like Vaadin does.
>
> Such a css can let more people pay attention to wicket. Why don't do it?
>
>
> BTW, The wicket is really cool! I like it!
>
> Regards
> Jing
>
> -Original Message-
> From: Peter Karich [mailto:peat...@yahoo.de]
> Sent: Freitag, 29. Januar 2010 17:42
> To: users@wicket.apache.org
> Subject: Re: Apache Click
>
> Hi,
>
> for me the main disadvantage of click is that it uses velocity instead
> pure html.
> Then click has probably less publicity/mailing support and less
> components.
> An advantage could be that cayenne is supported as a default persistent
> solution.
>
> Search for wicket vs click or sth. like (was useful for me).
>
>  > I think wicket with a good look css can beat them.
>
> This is the great thing about wicket: just let the designer do the
> design their html ;-) and I will code (fast!).
> No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
>
> Regards,
> Peter.
>
>> Wow!
>>
>> Vaadin looks really cool!
>> Could anyone here provide a good look css for the wicket? I think
> wicket
>> with a good look css can beat them.
>>
>> Regards!
>> Jing
>>
>> -Original Message-
>> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
>> Sent: Freitag, 29. Januar 2010 17:14
>> To: users@wicket.apache.org
>> Subject: Re: Apache Click
>>
>> Hi!
>>
>> I guess click comes with its own layout.. like Vaadin
>> http://demo.vaadin.com/sampler/
>>
>> **
>> Martin
>>
>> 2010/1/29 Giovanni:
>>
>>> Apache Click is very similar to Wicket:
>>>
>>> http://incubator.apache.org/click/
>>>
>>> What are the main differences and advantages?
>>>
>>> regards
>>> giovanni
>>>
>>>
>>>
>>>
>>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
>
> --
> Free your timetabling!
> http://timefinder.sourceforge.net/
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Save a form's markup

2010-02-02 Thread Pedro Santos
If I understand, you can override getOnClickScript from Button to return an
javascript that set the innerHTML property of your form component as an
parameter. Maybe providing an hiding field, and setting it value with:
"value = document.getElementById("+myForm.getMarkupId()+").innerHTML"

On Tue, Feb 2, 2010 at 9:44 AM, Branden Tanga wrote:

> Hello,
>
> Thanks for the links. Correct me if I'm wrong, but the technique shown to
> render a panel to a string is about asking the wicket component to render
> itself, then capturing that output as a string.
>
> What I need to be able to do is grab a form's markup after it has been
> interacted with by the user.
>
>
> Thanks,
> Branden Tanga
> Programmer / EHR Systems Engineer
>
>
> On Mon, Feb 1, 2010 at 5:55 AM, Riyad Kalla  wrote:
>
> > At first I thought you would override the Component.onRender method to
> see
> > what is going back to the client and save that, but iterating through the
> > MarkupElements looks expensive (to rebuild the page) and might leave the
> > response in an unexpected state. Also though you could possibly override
> > WicketFilter.doFilter call to try and snag the response on render, but
> then
> > realized searching for  HTML specifically is going to suck.
> >
> > I then found this example on getting Wicket components to cough up their
> > HTML into a dummy output stream that you can do what you want with:
> >
> >
> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
> >
> > <
> >
> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
> > >THEN
> > I was reading on the Wicket Wiki (the WiWi if you will) about rendering
> > Panels to Strings, which is essentially what I think you want to do, and
> > found this:
> >
> >
> http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
> >
> > <
> >
> http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
> > >--
> > I just included all the other resources incase they help with what you
> are
> > trying to do, wasn't clear on the use-case.
> >
> > Have fun
> >
> > On Mon, Feb 1, 2010 at 4:41 AM, Branden Tanga  > >wrote:
> >
> > > Hello,
> > >
> > > I would like to save a form's markup as a string when the form's submit
> > > button is pressed. The part that I am having difficulty with is
> > > understanding how to use wicket to grab a form's rendered markup. I
> have
> > a
> > > feeling it must be pretty simple, but I'm getting lost in the wicket
> > > documentation. Any tips?
> > >
> > >
> > >
> > > Thanks,
> > > Branden Tanga
> > > Programmer / EHR Systems Engineer
> > >
> >
>



-- 
Pedro Henrique Oliveira dos Santos


Re: Save a form's markup

2010-02-02 Thread Branden Tanga
Hello,

Thanks for the links. Correct me if I'm wrong, but the technique shown to
render a panel to a string is about asking the wicket component to render
itself, then capturing that output as a string.

What I need to be able to do is grab a form's markup after it has been
interacted with by the user.


Thanks,
Branden Tanga
Programmer / EHR Systems Engineer


On Mon, Feb 1, 2010 at 5:55 AM, Riyad Kalla  wrote:

> At first I thought you would override the Component.onRender method to see
> what is going back to the client and save that, but iterating through the
> MarkupElements looks expensive (to rebuild the page) and might leave the
> response in an unexpected state. Also though you could possibly override
> WicketFilter.doFilter call to try and snag the response on render, but then
> realized searching for  HTML specifically is going to suck.
>
> I then found this example on getting Wicket components to cough up their
> HTML into a dummy output stream that you can do what you want with:
>
> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
>
> <
> http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
> >THEN
> I was reading on the Wicket Wiki (the WiWi if you will) about rendering
> Panels to Strings, which is essentially what I think you want to do, and
> found this:
>
> http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
>
> <
> http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
> >--
> I just included all the other resources incase they help with what you are
> trying to do, wasn't clear on the use-case.
>
> Have fun
>
> On Mon, Feb 1, 2010 at 4:41 AM, Branden Tanga  >wrote:
>
> > Hello,
> >
> > I would like to save a form's markup as a string when the form's submit
> > button is pressed. The part that I am having difficulty with is
> > understanding how to use wicket to grab a form's rendered markup. I have
> a
> > feeling it must be pretty simple, but I'm getting lost in the wicket
> > documentation. Any tips?
> >
> >
> >
> > Thanks,
> > Branden Tanga
> > Programmer / EHR Systems Engineer
> >
>


Re: RIA solution based on wicket

2010-02-02 Thread nino martinez wael
Sure.. This was just a heads up...

2010/2/2 Cemal Bayramoglu 

> Ninio,
>
> At a quick glance, these also work fine for me, but you're probably
> safest to use the links I gave in my post above (the project is hosted
> at Google Code, use the SVN there). You may need to change any WiQuery
> dependencies to refer version 1.0 in your POMs as they wrote the
> original sample for 1.0-m2.
> Of course, if you do find issues, please go ahead and raise them on
> the correct issues page [1] so someone can take a look, but give a bit
> of detail to help the developer replicate your issue.
>
> Regards - Cemal
> jWeekend
> OO & Java Technologies, Wicket
> Consulting, Development, Training
> http://jWeekend.com
>
> [1] http://code.google.com/p/wiquery/issues/list
>
>
> On 2 February 2010 10:54, nino martinez wael
>  wrote:
> > Cemal I expirience alot of bugs running the examples, from here
> > http://www.wiquery.org/wiquery-examples-1.0/  permgen error :/
> >
> > 2010/2/1 Cemal Bayramoglu 
> >>
> >> Josh,
> >>
> >> Did you run the demos available at the WiQuery site [1]?
> >> odlabs' "Agile Task Lists" demo [2] uses some layout mechanism if I
> >> remember correctly.
> >> If you have concrete ideas on how to extend the way WiQuery (and
> >> jQuery) supports this, we are very open to suggestions. We are also
> >> discussing setting up a WiQuery plugins project where ideas like this
> >> can evolve/incubate and be considered for inclusion in the core once
> >> they are evaluated.
> >> Interestingly, some people complain that UI presentation should be
> >> done in a declarative way (eg in XUL like languages) and not in a
> >> procedural way, so they may consider specifying layout in Java code
> >> (rather than in Wicket's native XHTML & CSS way) a step in a strange
> >> direction.
> >>
> >> Regards - Cemal
> >> jWeekend
> >> OO & Java Technologies, Wicket
> >> Consulting, Development, Training
> >> http://jWeekend.com
> >>
> >> [1] http://wiquery.googlecode.com
> >> [2]
> >>
> http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples/
> >>
> >> On 1 February 2010 05:28, Josh Kamau  wrote:
> >> > Hi guys;
> >> >
> >> > I would like to get your opinions and also share some of my views. I
> >> > have
> >> > been test-driving wicket for a couple of weeks now and i found it
> quite
> >> > impressive. However , i would like to say that IMHO wicket is more
> >> > suitable
> >> > for creating websites as opposed to RIA applications. I would like to
> >> > make
> >> > applications that look and feel like desktop applications but running
> on
> >> > a
> >> > browser, i have a solid GWT background and i used to make this kind of
> >> > applications but alot of work is involved. Should we not have a ria
> >> > framework based on wicket? It could just be some nice CSS based theme
> or
> >> > an
> >> > intergration with something like extJs or something like this. WiQuery
> >> > is a
> >> > great step in this direction but it lacks components for making the
> main
> >> > application layout.
> >> >
> >> > In the meantime, i will be trying out Vaadin.
> >> >
> >> > Regards.
> >> >
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: RIA solution based on wicket

2010-02-02 Thread Cemal Bayramoglu
Ninio,

At a quick glance, these also work fine for me, but you're probably
safest to use the links I gave in my post above (the project is hosted
at Google Code, use the SVN there). You may need to change any WiQuery
dependencies to refer version 1.0 in your POMs as they wrote the
original sample for 1.0-m2.
Of course, if you do find issues, please go ahead and raise them on
the correct issues page [1] so someone can take a look, but give a bit
of detail to help the developer replicate your issue.

Regards - Cemal
jWeekend
OO & Java Technologies, Wicket
Consulting, Development, Training
http://jWeekend.com

[1] http://code.google.com/p/wiquery/issues/list


On 2 February 2010 10:54, nino martinez wael
 wrote:
> Cemal I expirience alot of bugs running the examples, from here
> http://www.wiquery.org/wiquery-examples-1.0/  permgen error :/
>
> 2010/2/1 Cemal Bayramoglu 
>>
>> Josh,
>>
>> Did you run the demos available at the WiQuery site [1]?
>> odlabs' "Agile Task Lists" demo [2] uses some layout mechanism if I
>> remember correctly.
>> If you have concrete ideas on how to extend the way WiQuery (and
>> jQuery) supports this, we are very open to suggestions. We are also
>> discussing setting up a WiQuery plugins project where ideas like this
>> can evolve/incubate and be considered for inclusion in the core once
>> they are evaluated.
>> Interestingly, some people complain that UI presentation should be
>> done in a declarative way (eg in XUL like languages) and not in a
>> procedural way, so they may consider specifying layout in Java code
>> (rather than in Wicket's native XHTML & CSS way) a step in a strange
>> direction.
>>
>> Regards - Cemal
>> jWeekend
>> OO & Java Technologies, Wicket
>> Consulting, Development, Training
>> http://jWeekend.com
>>
>> [1] http://wiquery.googlecode.com
>> [2]
>> http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples/
>>
>> On 1 February 2010 05:28, Josh Kamau  wrote:
>> > Hi guys;
>> >
>> > I would like to get your opinions and also share some of my views. I
>> > have
>> > been test-driving wicket for a couple of weeks now and i found it quite
>> > impressive. However , i would like to say that IMHO wicket is more
>> > suitable
>> > for creating websites as opposed to RIA applications. I would like to
>> > make
>> > applications that look and feel like desktop applications but running on
>> > a
>> > browser, i have a solid GWT background and i used to make this kind of
>> > applications but alot of work is involved. Should we not have a ria
>> > framework based on wicket? It could just be some nice CSS based theme or
>> > an
>> > intergration with something like extJs or something like this. WiQuery
>> > is a
>> > great step in this direction but it lacks components for making the main
>> > application layout.
>> >
>> > In the meantime, i will be trying out Vaadin.
>> >
>> > Regards.
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Error with Wicket 1.4.6

2010-02-02 Thread Giovanni
I upgraded my project from Wicket 1.4.5 to 1.4.6.

After the upgrade, I get the following error on IE6:


The XML page cannot be displayed.

Cannot view XML input using style sheet. Please correct the error and 
then click the Refresh button, or try again later.


On Firefox it is working well.

The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.

What can be the problem? What can I do to fix it?

Please, don't tell me not to use IE6, because I am forced to use it by my 
company. :(

Best regards,
giovanni


  

Re: wicket-stuff wiki access

2010-02-02 Thread nino martinez wael
Martijn theres over 500 users in there, and it does take a while to remove
just one. What about removing the complete userbase? And let people register
again, I know its annoying but easier..

2010/2/2 Martijn Dashorst 

> you can reset your password again. We need some help in cleaning the
> users though...
>
> Confluence is a pain in user management.
>
> Martijn
>
> On Tue, Feb 2, 2010 at 9:26 AM, nino martinez wael
>  wrote:
> > FYI I activated CAPTCHA to create users etc, some time ago.. But that
> must
> > not have worked..
> >
> > regards Nino
> >
> > 2010/2/2 Martijn Dashorst 
> >
> >> On Mon, Feb 1, 2010 at 11:45 PM, Igor Vaynberg  >
> >> wrote:
> >> > this isnt a mac...
> >>
> >> But close.. unfortunately I'm not the sysadmin for this server, so
> >> we'll have to wait until he's available.
> >>
> >> I've looked at atlassian, but they don't seem to provide hosted
> >> confluence installations. They do host jira for os projects, which
> >> might be a good idea to remove some admin burden from us.
> >>
> >> Martijn
> >> --
> >> Become a Wicket expert, learn from the best: http://wicketinaction.com
> >> Apache Wicket 1.4 increases type safety for web applications
> >> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.4 increases type safety for web applications
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: RIA solution based on wicket

2010-02-02 Thread nino martinez wael
Cemal I expirience alot of bugs running the examples, from here
http://www.wiquery.org/wiquery-examples-1.0/  permgen error :/

2010/2/1 Cemal Bayramoglu 

> Josh,
>
> Did you run the demos available at the WiQuery site [1]?
> odlabs' "Agile Task Lists" demo [2] uses some layout mechanism if I
> remember correctly.
> If you have concrete ideas on how to extend the way WiQuery (and
> jQuery) supports this, we are very open to suggestions. We are also
> discussing setting up a WiQuery plugins project where ideas like this
> can evolve/incubate and be considered for inclusion in the core once
> they are evaluated.
> Interestingly, some people complain that UI presentation should be
> done in a declarative way (eg in XUL like languages) and not in a
> procedural way, so they may consider specifying layout in Java code
> (rather than in Wicket's native XHTML & CSS way) a step in a strange
> direction.
>
> Regards - Cemal
> jWeekend
> OO & Java Technologies, Wicket
> Consulting, Development, Training
> http://jWeekend.com
>
> [1] http://wiquery.googlecode.com
> [2]
> http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples/
>
> On 1 February 2010 05:28, Josh Kamau  wrote:
> > Hi guys;
> >
> > I would like to get your opinions and also share some of my views. I have
> > been test-driving wicket for a couple of weeks now and i found it quite
> > impressive. However , i would like to say that IMHO wicket is more
> suitable
> > for creating websites as opposed to RIA applications. I would like to
> make
> > applications that look and feel like desktop applications but running on
> a
> > browser, i have a solid GWT background and i used to make this kind of
> > applications but alot of work is involved. Should we not have a ria
> > framework based on wicket? It could just be some nice CSS based theme or
> an
> > intergration with something like extJs or something like this. WiQuery is
> a
> > great step in this direction but it lacks components for making the main
> > application layout.
> >
> > In the meantime, i will be trying out Vaadin.
> >
> > Regards.
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Layout manager

2010-02-02 Thread Martin Makundi
Yeah, swit. Service Temporarily Unavailable.

**
Martin

2010/2/2 Ernesto Reinaldo Barreiro :
> Do you mean this one?
>
> http://code.google.com/p/swit/
>
> Ernesto
>
> On Tue, Feb 2, 2010 at 11:07 AM, Martin Makundi <
> martin.maku...@koodaripalvelut.com> wrote:
>
>> Hi!
>>
>> There was one wicket project which created panels and stylish buttons,
>> but I can't recall where it is.
>>
>> **
>> Martin
>>
>> 2010/2/2 Eyal Golan :
>> > Hello,
>> > Is there any Wicket project for making a layout manager similar to
>> iGoogle
>> > or http://www.netvibes.com/#General
>> > We found a project with ExtJS that is not supported anymore . Is there a
>> > Wicket project for that? or for any other similar?
>> > Can Wiquery help with this?
>> >
>> > Thanks for helping out,
>> >
>> >
>> > Eyal Golan
>> > egola...@gmail.com
>> >
>> > Visit: http://jvdrums.sourceforge.net/
>> > LinkedIn: http://www.linkedin.com/in/egolan74
>> >
>> > P  Save a tree. Please don't print this e-mail unless it's really
>> necessary
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Layout manager

2010-02-02 Thread Ernesto Reinaldo Barreiro
Do you mean this one?

http://code.google.com/p/swit/

Ernesto

On Tue, Feb 2, 2010 at 11:07 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:

> Hi!
>
> There was one wicket project which created panels and stylish buttons,
> but I can't recall where it is.
>
> **
> Martin
>
> 2010/2/2 Eyal Golan :
> > Hello,
> > Is there any Wicket project for making a layout manager similar to
> iGoogle
> > or http://www.netvibes.com/#General
> > We found a project with ExtJS that is not supported anymore . Is there a
> > Wicket project for that? or for any other similar?
> > Can Wiquery help with this?
> >
> > Thanks for helping out,
> >
> >
> > Eyal Golan
> > egola...@gmail.com
> >
> > Visit: http://jvdrums.sourceforge.net/
> > LinkedIn: http://www.linkedin.com/in/egolan74
> >
> > P  Save a tree. Please don't print this e-mail unless it's really
> necessary
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Layout manager

2010-02-02 Thread Martin Makundi
Hi!

There was one wicket project which created panels and stylish buttons,
but I can't recall where it is.

**
Martin

2010/2/2 Eyal Golan :
> Hello,
> Is there any Wicket project for making a layout manager similar to iGoogle
> or http://www.netvibes.com/#General
> We found a project with ExtJS that is not supported anymore . Is there a
> Wicket project for that? or for any other similar?
> Can Wiquery help with this?
>
> Thanks for helping out,
>
>
> Eyal Golan
> egola...@gmail.com
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P  Save a tree. Please don't print this e-mail unless it's really necessary
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Layout manager

2010-02-02 Thread Eyal Golan
Hello,
Is there any Wicket project for making a layout manager similar to iGoogle
or http://www.netvibes.com/#General
We found a project with ExtJS that is not supported anymore . Is there a
Wicket project for that? or for any other similar?
Can Wiquery help with this?

Thanks for helping out,


Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


Re: Strange classloader issues

2010-02-02 Thread Johan Compagner
look at your html code
because somehow you get those kind of urls
org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
back to wicket and that seems very weird.
it seems that that is a piece of html with those div and class stuff.

It could also be that this is done by some header contribution ?


On Tue, Feb 2, 2010 at 08:49, Rob Sonke  wrote:

> Hi,
>
> We're having strange errors on several of our online wicket apps which we
> can't reproduce but popping up in the logs everyday. It seems that Wicket in
> some way is messing up it's full class names with other stuff like html.
> I'll add some examples below.
>
> Is this is an issue, if yes, how can we prevent these errors. And if not,
> what causes this?
>
> TP-Processor29 ERROR
> org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
> unable to lazily register shared resource
> org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
> java.lang.ClassNotFoundException: org.apache.wicket.ajax.WicketAjax%3C
>at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>at
> org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
>at
> org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:149)
>at
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
>at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
>at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
>at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
>at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
>at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
>at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> Or:
>
> TP-Processor110 ERROR
> org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
> unable to lazily register shared resource
> maxxton.newyse.web.component.date.picker.UIDa%3C/ul%3E%20%20%3C/div%3E%3C/div%3E%3Cdiv%20class=
> java.lang.ClassNotFoundException:
> maxxton.newyse.web.component.date.picker.UIDa%3C
>at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
>at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
>at
> org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
> etc..
>
> Regards,
> Rob
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Problem using EnhancedWicketTester form submit

2010-02-02 Thread Paul Szulc
Hi Roger,

Enhanced Wickt tester is not official part of Wicket. If you send me piece
of the code, I can have a look at it and see what's wrong. From test point
of view everything looks fine. Catch me here or on my private mail.

-- 
Best regards,
Paul Szulc

http://paulszulc.wordpress.com


On Mon, Feb 1, 2010 at 10:51 PM, roger.b...@creoss.com <
roger.b...@creoss.com> wrote:

>
> The following code for testing login will fail at the last assert statement
> ( tester.assertRenderedPage(Dashboard.class);). The action works fine on the
> actual web pages but not using this test. What is missing or mis configured
>
> protected void loginPageEnhanced ()
>{
>System.out.println("Login Page Test");
>EnhancedWicketTester enhanced = new EnhancedWicketTester(tester);
>tester.startPage(SignInPage.class);
>tester.assertNoErrorMessage();
>tester.assertNoInfoMessage();
>
>enhanced.assertEnabled("content:content:signInForm");
>enhanced.form("content:content:signInForm")
>.setTextFieldValue("username", "erm")
>.setPasswordTextFieldValue("password", "erm")
>.submitWithButton("submit");
>
>
>tester.assertNoErrorMessage();
>tester.assertNoInfoMessage();
>System.out.println("Last Rendered Page AFTER LOGIN SUBMIT
> \n\n"+tester.getLastRenderedPage().getAssociatedMarkupStream(false).toString());
>tester.assertRenderedPage(Dashboard.class);
>}
>
> Roger Ball
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: wicket-stuff wiki access

2010-02-02 Thread Martijn Dashorst
you can reset your password again. We need some help in cleaning the
users though...

Confluence is a pain in user management.

Martijn

On Tue, Feb 2, 2010 at 9:26 AM, nino martinez wael
 wrote:
> FYI I activated CAPTCHA to create users etc, some time ago.. But that must
> not have worked..
>
> regards Nino
>
> 2010/2/2 Martijn Dashorst 
>
>> On Mon, Feb 1, 2010 at 11:45 PM, Igor Vaynberg 
>> wrote:
>> > this isnt a mac...
>>
>> But close.. unfortunately I'm not the sysadmin for this server, so
>> we'll have to wait until he's available.
>>
>> I've looked at atlassian, but they don't seem to provide hosted
>> confluence installations. They do host jira for os projects, which
>> might be a good idea to remove some admin burden from us.
>>
>> Martijn
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> Apache Wicket 1.4 increases type safety for web applications
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket 1.4.6 released

2010-02-02 Thread Paul Szulc
so fast! :)

On Mon, Feb 1, 2010 at 7:44 PM, Igor Vaynberg wrote:

> Wicket 1.4.6 is released!
>
> This is the sixths maintenance release of 1.4.x series and brings over
> 40 bug fixes and improvements.
>
> tag: https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.6/
>
> maven:
>
> 
>  org.apache.wicket
>  wicket
>  1.4.6
> 
>
> download: http://www.apache.org/dyn/closer.cgi/wicket/1.4.6
>
> changelog:
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&pid=12310561&fixfor=12314470
>
> cheers,
>
> -igor
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Best regards,
Paul Szulc

http://paulszulc.wordpress.com


Re: wicket-stuff wiki access

2010-02-02 Thread nino martinez wael
FYI I activated CAPTCHA to create users etc, some time ago.. But that must
not have worked..

regards Nino

2010/2/2 Martijn Dashorst 

> On Mon, Feb 1, 2010 at 11:45 PM, Igor Vaynberg 
> wrote:
> > this isnt a mac...
>
> But close.. unfortunately I'm not the sysadmin for this server, so
> we'll have to wait until he's available.
>
> I've looked at atlassian, but they don't seem to provide hosted
> confluence installations. They do host jira for os projects, which
> might be a good idea to remove some admin burden from us.
>
> Martijn
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.4 increases type safety for web applications
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


RE: AjaxFallbackDefaultDataTable and delete via ModalWindow

2010-02-02 Thread Andreas Lüdtke
Riyad,

I saw the stop() method and that would help if I only delete one row. But
what should I do when the second row on that page is deleted? There is no
restart() or start() method in the timer. Maybe I'm not aware of a method to
re-enable/re-start the timer.

Ok Riyad, what is smarter than the AjaxFallbackDefaultDataTable in your
opinion ;-)

Andreas

> -Original Message-
> From: Riyad Kalla [mailto:rka...@gmail.com] 
> Sent: Monday, February 01, 2010 4:40 PM
> To: users@wicket.apache.org; sam.lued...@t-online.de
> Subject: Re: AjaxFallbackDefaultDataTable and delete via ModalWindow
> 
> Andreas,
> 
> I'm glad you nailed down what was going on -- that being 
> said, can you just issue a .stop() on the timer on the first 
> callback? So you get your 1 update, then the timer gets 
> killed off and you are good to go?
> 
> Don't know that much about the Ajax Data Table, otherwise I 
> would recommend something way smarter :)
> 
> -R
> 
> 
> On Sat, Jan 30, 2010 at 2:11 AM, Andreas Lüdtke 
>  wrote:
> 
> 
>   Riyad,
>   
>   it's not a dumb question. I asked that already myself 
> and checked via the
>   debugger that the object is really deleted. But you've 
> put me on the right
>   track: I placed a link where I do a
>   AjaxFallbackDefaultDataTable.modelChanged(); and that 
> did the job. Now I've
>   added an AbstractAjaxTimerBehavior with a duration of 1 
> second and that is
>   updating the table after one second.
>   
>   Now I'm curious: do I generate too much Ajax traffic if 
> that timer is running
>   every second? I only need it to run once after I 
> changed the model...
>   
>   Thanks
>   
>   Andreas
>   
> 
>   > -Original Message-
>   > From: Riyad Kalla [mailto:rka...@gmail.com]
>   > Sent: Friday, January 29, 2010 8:35 PM
>   > To: users@wicket.apache.org; sam.lued...@t-online.de
>   > Subject: Re: AjaxFallbackDefaultDataTable and delete 
> via ModalWindow
>   >
>   > Andreas,
>   >
>   > This might be a dumb question, but are you sure at the point
>   > that the page
>   > reloads and re-renders, the object *has* been erased from the
>   > database or
>   > cache you are utilizing? For example, right after you delete,
>   > if you put in
>   > some silly/junk code to immediately re-query for that object,
>   > it comes back
>   > null right?
>   >
>   > I'm sure this is an Ajax/model issue, but 1 time it took me 2
>   > days trying to
>   > figure out why something "Wasn't deleting" just to find out
>   > it was, but my
>   > cache was deferring the operation to a few seconds later. So
>   > I figured I'd
>   > throw that out there just incase.
>   >
>   > -R
>   >
>   > On Fri, Jan 29, 2010 at 10:23 AM, Andreas Lüdtke
>   > wrote:
>   >
>   > > Hi,
>   > >
>   > > I have an AjaxFallbackDefaultDataTable on a page and when I
>   > delete a row of
>   > > the displayed data, I can't get the DataTable to 
> reload and show the
>   > > reduced
>   > > list. I tried already the following:
>   > >
>   > > - delete the object (row) in the database
>   > > - reload the ISortableDataProvider class I'm using <-- this
>   > is actually not
>   > > needed, because the object is removed
>   > > - AjaxFallbackDefaultDataTable.modelChanged()
>   > >
>   > > If I refresh the browser window I see that one object is
>   > missing in the
>   > > list,
>   > > but this way I lose the sorting the user has done.
>   > >
>   > > Am I missing something? How do I bring the
>   > AjaxFallbackDefaultDataTable to
>   > > reflect the changes?
>   > >
>   > > Andreas
>   > >
>   > >
>   > >
>   > 
> -
>   > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>   > > For additional commands, e-mail: 
> users-h...@wicket.apache.org
>   > >
>   > >
>   >
>   
>   
>   
> -
>   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>   For additional commands, e-mail: users-h...@wicket.apache.org
>   
>   
> 
> 
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to simulate browser back button?

2010-02-02 Thread PDiefent

It's not that simple! My IE doesn't accept the onclick in the   tag.
Is it poosible to run the code in the onSubmit method of a Wicket button?


Erik van Oosten wrote:
> 
> No problem:
> 
>  # back 
> 
> 
> Peter Diefenthaeler wrote:
>> Hallo Wicket users.
>> is there an easy way to simulate the browsers back button with an own
>> button in a form?
>>
>> Thank in advance
>> Peter
>>   
> 
> -- 
> Send from my SMTP compliant software
> Erik van Oosten
> http://day-to-day-stuff.blogspot.com/
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-simulate-browser-back-button--tp27404303p27416704.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org