I understand, but what most developers do instead of searching for the
component, actually because it makes refactoring easier, is to keep a
reference of that child-component. Eg. instead of
formBorder = new FormBorder(parent, formBorder)
formBorder.setBorderBodyContainer(formBorder)
new
wow! so fast! Thanks a lotCurrently my workaround is disable exception_page completely: getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_NO_EXCEPTION_PAGE);
and wait 1.2.3 to release :-)On 10/10/06, Johan Compagner [EMAIL PROTECTED] wrote:
fixed.On 10/10/06, Ingram
It's on the Wiki: http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle
You can find it by following 'Reference library' from the main page.
Regards,
Erik.
craigdd schreef:
Does anyone have any good documentation of the life cyle for wicket?
--
Erik van Oosten
Unless I'm missing something, not without some major cut pasting (or
a custom version or Wicket). The actual onSubmit() is down in
SignInForm, which is in SignInPanel, which is in SignInPage. Even if
it wasn't final, (which it is,) then there doesn't seem to be a way of
getting to it to
I am testing this on a stripped down version of my app. The java code is:
class SelectExpiriesForm extends Form {
public SelectExpiriesForm(String id, IModel model) {
super(id, model);
add(new Button(submit-button, new Model(Submit)));
}
public void onSubmit() {
Here's some code I've been using, which I'd have got from somewhere
such as the phonebook or similar...
String msg = MapVariableInterpolator.interpolate(getLocalizer().
getString((count == 1) ? status.topup : status.topups, this),
new MicroMap(count, count));
/Gwyn
On 10/10/06, Igor
I havent used buttons with models could you try to strip that and also override
your buttons onsubmit also just to see what happens there?
which version of wicket are we talking about?
regards Nino
-Original Message-
From: [EMAIL PROTECTED] on behalf of Pierre-Yves Saumont
Sent:
Ah. I'm not sure how many people actually use SignInPanel. Indeed,
that component doesn't look particularly flexible. I guess what you're
looking for is something like:
Index:
/Users/eelcohillenius/Documents/workspace/wicket-auth-roles/src/main/java/wicket/authentication/panel/SignInPanel.java
Without a model, the result is the same except that the button text is
taken from the html template.
If I add an onSubmit handler to the button, the result again is the
same. No one of the handlers get called, and the home page is displayed.
(No error message on the console, nothing in the
That's pretty weird yes. Can you confirm the action attribute of the
form element is generated correctly? Do you have any validation
errors? You could set a break point in Form#onFormSubmitted and see
whether the request arrives there at all. If it doesn't, somehow the
call back doesn't work (the
Hi,
i have a page, call
it products, and i implement a Paging Navigator there, as its not good to have
mor than e.g. 10 products on page at same time.
I then mount the
products via mountBookmarkablePage("/products",
Product.class);
by executing it all
works at first, but when using a
I put breakpoints on Form#onFormSubmitted and
AbstractCompoundRequestCycleProcessor#resolve. Those breakpoint are
reached for other forms that I navigate through to reach the page that
is causing trouble. In the form that has the problem,
AbstractCompoundRequestCycleProcessor#resolve is
So, where does it resolve to then (what is the request target it
thinks it has to execute)?
Eelco
On 10/10/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
I put breakpoints on Form#onFormSubmitted and
AbstractCompoundRequestCycleProcessor#resolve. Those breakpoint are
reached for other
I extend the question further: How can i have a nice URL
and use a TabbedPanel component???
Regards
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Korbinian BachlGesendet: Dienstag, 10. Oktober 2006
12:01An: wicket-user@lists.sourceforge.netBetreff:
There is a simple answer for your question: You can't.
It's due to how wicket works. Since Wicket manages your application
state and takes care of the urls for you, you can't alter them
significantly.
If you need tabbed panel like functionality while having nice urls, you
have to have
I'll have to make some test but it seem's a good path to follow, I'll check for that...thanks.MarcOn 10/6/06, Johan Compagner
[EMAIL PROTECTED] wrote:that click on an item is an ajax request?That shouldnt make a page version as far as i know
If you have a simple example please make a bug report
Well, for browsing products i wouldn't use PagingNavigator in a first place.
Of course it is prossible to have such product browser in wicket, even
with nice urls.
class ProductsPage extends WebPage
{
public ProductsPage(PageParameters parameters)
{
// this is
Paging navigator is useful in situations, when you don't care that much
about url (e.g. intranet applications with complex user interface).
For internet applications, where you do care (at least for certain
parts) about URLs, you have to make an effort to achieve the urls you need.
The problem
Hi Matej,
this is a big problem. I can live with not beeing able to have Tabbed Panels
but imagine a onlinestore where you can browse the products but the url is
not bookmarkable. That just wouldnt work for the users as well as all search
engines !
Ajax is also not a solution as google co dont
Hi Matej,
Well, for browsing products i wouldn't use PagingNavigator in
a first place.
ok, what else would you use? - i mean a PagingNavigator and a DataView seems
to me as its made for beeing a product-category browser (as you have e.g. 30
toycars and want only 16 max items per page)
Korbinian Bachl wrote:
Hi Matej,
this is a big problem. I can live with not beeing able to have Tabbed Panels
but imagine a onlinestore where you can browse the products but the url is
not bookmarkable. That just wouldnt work for the users as well as all search
engines !
Ajax is also not
Thanks
Some how I missed that on the wiki.
Erik van Oosten wrote:
It's on the Wiki: http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle
You can find it by following 'Reference library' from the main page.
Regards,
Erik.
craigdd schreef:
Does anyone have any good
I am not sure I understand what you mean. (To be honest, I am sure I
don't). From the debugger, how can I find the answer to this question?
Pierre-Yves
Eelco Hillenius a écrit :
So, where does it resolve to then (what is the request target it
thinks it has to execute)?
Eelco
On
Hi AllOur company develope web application using wicket framework.This application display unicode values using Strings class provided bywicket.It is working fine with AIX Unix + Oracle Database +
Tomcat5.x.But same application deployed on AIX Unix + Oracle Databse + OracleApplication ServerIt
You can set a break point at the beginning of
DefaultRequestTargetResolverStrategy#resolve and see where it returns.
In your debugger, you can also look at the RequestParameters object to
find out how Wicket interprets the request.
Eelco
On 10/10/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
But If I'm not wrong PanelCachingTab stores the first panel displayed and this is not what I need since if the user navigates, say, to third panel in the navigation flow and selects another tab and then returns to the first tab the first panel would be displayed right?. In the specific case I'm
hello all,Some of you may know that we're working on a Wicket-CMS as our grad project. We've been thinking about the use of templates. About how we are going to let people create their own templates. As we saw in Drupal and Joomla, there templates are full of PHP-code. If we're going to do the
Here is the request parameter object:
[RequestParameters
parameters={rightColumn_pagePanel_dialogBoxExpiries_tabs_panel_dialogBoxContent_selectExpiriesForm:hf:0=,
submit-button=[[ button text ]]} onlyProcessIfPathActive=false]
Inside it, all values are null, false or 0, except the parameters
Hi all, Has anyone already written a component for selecting a person's nationality or country? Cheers Erik
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
The click is made on an object of the ajax tree and it is an ajax call.Setting versionning to false work, only if it is set to the page.I'll try to make a reproductible page containing the problem. Another question I may ask about refresh is : What is happening during a refresh. Somthing I want to
Anyway, there were couple of fixes concerning partial refresh of tree,
you might consider trying a current snapshot of 1.2.
-Matej
Marc-Andre Houle wrote:
The click is made on an object of the ajax tree and it is an ajax call.
Setting versionning to false work, only if it is set to the
My inclination would be to do as much as you can via CSS, but if you
need to add scripting, I'd (a) go with Jython (b) make a major
effort on examples documentation!
/Gwyn
On 10/10/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
hello all,
Some of you may know that we're working on a Wicket-CMS
What about using Velocity templates for markup?On 10/10/06, Gwyn Evans [EMAIL PROTECTED] wrote:
My inclination would be to do as much as you can via CSS, but if youneed to add scripting, I'd (a) go with Jython (b) make a major
effort on examples documentation!/GwynOn 10/10/06, Ted Roeloffzen
We've never used that. Are there any examples available when using it with Wicket?
On 10/10/06, Nick Heudecker [EMAIL PROTECTED] wrote:
What about using Velocity templates for markup?
On 10/10/06, Gwyn Evans [EMAIL PROTECTED]
wrote:
My inclination would be to do as much as you can via CSS, but
When I remove the .xml extension from the files:
project\src\main\resources\wicket-quickstart.ipr
project\src\main\resources\wicket-quickstart.iws
I open the wicket-quickstart.ipr in IntelliJ 6.0 and I have a blank
Project structure.
Would anyone be able to help me correct this?
Thanks,
i dont really know what those files are or if they are maintainedcan you try mvn idea:idea == shouldnt that create the idea project based on maven pom?-Igor
On 10/10/06, Todd Patrick [EMAIL PROTECTED] wrote:
When I remove the .xml extension from the
Igor:
Thank you, that did work.
So... what's the point of having a quickstart project
specific for an IDE when really all is needed is ant or
maven?
Just a thought.
--Todd
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor
VaynbergSent: Tuesday, October 10, 2006 12:23
i dont know why those files are there...i didnt check them in :)-IgorOn 10/10/06, Todd Patrick [EMAIL PROTECTED]
wrote:
Igor:
Thank you, that did work.
So... what's the point of having a quickstart project
specific for an IDE when really all is needed is ant or
maven?
Just a thought.
At a guess, when they were first added, the Maven IDEA plugin wasn't
as good as it now is.
/Gwyn
On 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
i dont know why those files are there...i didnt check them in :)
-Igor
On 10/10/06, Todd Patrick [EMAIL PROTECTED] wrote:
Igor:
mind yanking them out gwyn?-igorOn 10/10/06, Gwyn Evans [EMAIL PROTECTED] wrote:
At a guess, when they were first added, the Maven IDEA plugin wasn'tas good as it now is.
/GwynOn 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont know why those files are there...i didnt check them in :)
It is a matter of interogation I have and not directly related to a problem.While trying to find a good solution about the problem described
there , I begin to try to figure what is happening when the user press refresh. I have checked the page about the wicket life-cycle in the wiki, but it does
What does it mean just refresh and completely update the page?
Your problem can that you do the loading of items in constructor. The
constructor is called only once in the page lifecycle. However, the page
life spans over multiple request. So even if you reload the page, you
can still be
Marc-Andre Houle wrote:
It is a matter of interogation I have and not directly related to a problem.
While trying to find a good solution about the problem described there
http://www.nabble.com/Refreshing-problem-with-ajax-component-tf2388856.html
, I begin to try to figure what is happening
Hi,
short question: does
the BreadCrumb (extension) work with pages or only with panels? I ask because
the exampe http://www.wicket-library.com/wicket-examples/breadcrumbonly
shows panels, similar to the tabbed Panel.
I it works with
Pages, can it use mounted links/ bookmarkable links,
Thinking about it, Martijn's aim is for these to be useable without
needing Maven, so the correct thing is probably to regenerate them
during the packaging process, when the pom has the correct
dependancies set...
/Gwyn
On 10/10/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
mind yanking them out
Furthermore, any page you want to have indexable and bookmarkable
should be bookmarkable pages anyway.
Using bookmarkable pages like that makes that you have a much less
nice programming paradigm. It's almost like model 2 then. But without
the XML files :)
Eelco
On 10/10/06, Matej Knopp
That implementation only works with panels. I setup the model so that
it could theoretically work with pages as well, but didn't try to
actually implement it. So it might be easier to roll this yourself. Or
if you plan to implement on top of the model for extensions, I'd be
happy to consider
Yep. Look at the wicket-velocity-contrib and wicket-contrib-examples
in wicket-stuff.
Eelco
On 10/10/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
We've never used that. Are there any examples available when using it with
Wicket?
On 10/10/06, Nick Heudecker [EMAIL PROTECTED] wrote:
What
Hello,
I like the functionality provided by the WICKET AJAX DEBUG link that
appears when I'm in development mode, but the link is in an
unfortunate position in my UI (it obscures some important elements).
I'd like to reposition the debug link, but I can't find an easy way
to do this.
The
In the wiki's documentation;
http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle
I found the following description of Servicing a Request;
1. Wicket asks the Application class to create a Session for the servlet
request. If no session exists for the incoming request, a Session object is
Does this mean that a HTTPSession is created upon a page request? Basically
I'm a little worried that if I have an application that has a security in
front of it (a login page) that a HTTPSession doesn't get created when the
user hits the login page but rather only when they are sucessfully
I noticed that this component uses current date as default value. Is it possible to modify it so if one of the fields is not selected the component fails validation?Thank you,Alex
On 9/8/06, Andrew Lombardi [EMAIL PROTECTED] wrote:
On Sep 7, 2006, at 3:09 PM, Erik Brakkee wrote: Andrew Lombardi
Where can you down wicket 2.0? I'm assuming this is a pre production release
/ build?
I agree that this is not a security issue, however a person just has to
right a simple script, say with wget to create many many session within your
application possibly causing performance and memory issues.
in 1.2 yes the session is createdBut how does your login page look like? A form with a Form component in wicket?That would mean in 1.2 a statefull page anyway.in 2.0 we have a stateless form that you can use.
johanOn 10/11/06, craigdd [EMAIL PROTECTED] wrote:
Where can you down wicket 2.0?I'm
54 matches
Mail list logo