your implementation needs to return an instance of SecurePageSession
On Mon, Oct 5, 2009 at 8:43 AM, Peter Arnulf Lustig u...@yahoo.dewrote:
I have overwritten the newSession Method:
public class Application extends WebApplication {
@Override
protected void init() {
vineetsemwal1...@gmail.comwrote:
Pedro,
eagerly waiting for next version ;)
thank you ,
--
regards,
Vineet Semwal
On Mon, Oct 5, 2009 at 4:25 AM, Pedro Santos pedros...@gmail.com wrote:
Hi Semwal,
it has capability to update some columns. I update HomePage on
table-example
to show
;)
thank you !
--
regards,
Vineet Semwal
On Sun, Oct 4, 2009 at 3:57 AM, Pedro Santos pedros...@gmail.com wrote:
Hi Semwal, I'm currently working on Table class design to turn simple
this
kind of extension.
On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal
vineetsemwal1
Hi Semwal, I'm currently working on Table class design to turn simple this
kind of extension.
On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal
vineetsemwal1...@gmail.comwrote:
can i update some columns in wicket-stuff table with ajax timer ?
i have seen wicket-stuff table example but can't
use *OpenSessionInViewFilter* to avoid lazy initialization exceptions
On Fri, Oct 2, 2009 at 8:42 AM, Albert Romanius a.roman...@gmail.comwrote:
The line that throws the exception is below:
CheckBoxMultipleChoice subMessagesCB = new CheckBoxMultipleChoice(
subMessages, new
, at 2:07 PM, Pedro Santos wrote:
Ok, it is a bug. Could you send us some code? I'm curios to see the
html
code generated to link on your page.
On Wed, Sep 30, 2009 at 3:59 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
That's my point.
If your url is getting replaced
I have a page that's refreshing its components every n seconds using
AbstractAjaxTimerBehavior.
Among these components there's a list of links.
Would be nice if you apply AbstractAjaxTimerBehavior only to components that
need to be updated. Than you don't get in trouble with your links...
On
1) Is there a component (the someMadeUpAjaxComponent) that I can get a URL
for which will trigger the onClick method
http://wicket.apache.org/docs/1.4/org/apache/wicket/IRequestTarget.html
http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/AbstractAjaxBehavior.html#getCallbackUrl%28%29
could show a dynamic tooltip with data retrieved using ajax? Thank
you very much.
Joe
-Original Message-
From: Pedro Santos [mailto:pedros...@gmail.com]
Sent: Thursday, October 01, 2009 8:19 AM
To: users@wicket.apache.org
Subject: Re: is it possible to somehow create a url to return
that need to be refreshed, and
adding to each of them the behavior don't seem trivial.
I'll give it a try anyway.
Thank you
Ale
On Thu, Oct 1, 2009 at 1:17 PM, Pedro Santos pedros...@gmail.com wrote:
I have a page that's refreshing its components every n seconds using
I have bookmarkable pages for the login and the form page.
Now I go to the form page
If you using a link to go to form page, for some reason you don't get an
cookie on your browser holding your session information. If you just writing
the url to form page on browser, you are not passing session
...@eccostudio.comwrote:
On 1 Oct 2009, at 15:11, Pedro Santos wrote:
I have bookmarkable pages for the login and the form page.
Now I go to the form page
If you using a link to go to form page, for some reason you don't get an
cookie on your browser holding your session information. If you just
Refresh the page is default link behavior, you may want to use AjaxLink to
avoid it
On Thu, Oct 1, 2009 at 5:44 PM, Pedro Sena sena.pe...@gmail.com wrote:
Hi Guys,
First of all, sorry for a so newbie question, but I'm really a newbie in
Wicket.
I'm trying to add a Behaviou to my link, it
no clean solution seems to be possible.
Inheritance seems to be clean
On Wed, Sep 30, 2009 at 4:03 AM, Antoine van Wel
antoine.van@gmail.comwrote:
Craig: didn't consider that. So, no clean solution seems to be possible.
Pedro: yes I was talking about having the wicket-tags turned on for
maybe you want have an custom WicketNamespaceHandler
On Wed, Sep 30, 2009 at 8:01 AM, Alex Objelean alex_objel...@yahoo.comwrote:
In your Application class add the following line:
getMarkupSettings().setStripWicketTags(true);
Martin Letendre wrote:
Don't display the wicket:panel tag
take a look at how GMap2 component resolve that problem:
/**
* @see
org.apache.wicket.MarkupContainer#onRender(org.apache.wicket.markup.MarkupStream)
*/
@Override
protected void onRender(MarkupStream markupStream)
{
super.onRender(markupStream);
if
I think ajax fallback strategy is a good idea:
class AjaxFallbackEvent{
void handleSomething( target){
// user implementations test for target == null
}
}
On Wed, Sep 30, 2009 at 4:38 AM, Per Newgro per.new...@gmx.ch wrote:
Hi *,
i would like to know if there hidden consequences if i
The child model's initModel() gets called first
There are no especial ordering programing to initModels calls. Basically
they are called by
public final IModel? getDefaultModel()
{
IModel? model = getModelImpl();
// If model is null
if (model == null)
{
I don't know if you need wicket api to reach your objective:
public enum MapType {
UNDEFINED, ROADMAP, MOBILE, SATELITE, TERRAIN, HYBRID;
public String toKeyword()
{
return toString().toLowerCase();
}
public String verbose()
{
the page.
D/
On Sep 29, 2009, at 3:56 PM, Pedro Santos wrote:
I'm using the AjaxPagingNavigation component and it works well, but
when I
click on one of the links, my url is replaced with
/?wicket:interface=:3:4:::
You refers to html A tag generated by navigations links. What you
May help:
http://javathoughts.capesugarbird.com/2007/08/branding-wicket-application-take-2.html
On Tue, Sep 29, 2009 at 2:03 AM, pete swulius pswul...@gmail.com wrote:
All,
I am trying to use an AttributeModifier to change the stylesheet used on a
Page of mine.
WebComponent styleComponent
You need to find if the component who throw the exception is the same agent
constructed with lines you report and on what moment the component lost his
model.
On Mon, Sep 28, 2009 at 11:28 PM, Sam Barrow s...@sambarrow.com wrote:
I'm getting this exception:
java.lang.IllegalStateException:
So sometimes validators will process formcomponents whose input has not been
converted??
Sometimes the form component validation method will test himself and
children for validations errors reported, before and after the user input
get converted.
On Tue, Sep 29, 2009 at 2:04 AM, Martin Makundi
) {
return (T)
formComponent.getConverter(formComponent.getType()).convertToObject(formComponent.getValue(),
Session.get().getLocale());
}
BUT, is this necessary? Is there a framework method to do this for me?
**
Martin
2009/9/29 Pedro Santos pedros...@gmail.com:
So sometimes
on the wiki[1] it is described how to get rid of wicket markup such as
wicket:id attributes on a page basis
page basis is an specific page on your project, or you want to strip wicket
tags to all pages?
you can override application init method and put your configuration lines:
We have this requirement in which we cannot allow the customer to copy
paste the url that's appearing in the address bar into the same
browser.
Crazy thing. How about to include an request counter to your url
encode/decode strategy?
On Tue, Sep 29, 2009 at 1:41 PM, Carlo Camerino
I'm using the AjaxPagingNavigation component and it works well, but when I
click on one of the links, my url is replaced with
/?wicket:interface=:3:4:::
You refers to html A tag generated by navigations links. What you got on
onclick tag attribute on your rendered page?
On Mon, Sep 28, 2009 at
Hi Haulyn, if you call
currentPanel.replaceWith(targetPanel);
an got
java.lang.IllegalStateException: This method can only be called on a
component that has already been added to its parent.
the only thing that can cause that exception is: currentPanel hasn't an
parent.
Work direct with the
about question 1, yes:
http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/util/convert/ConversionException.html#setResourceKey%28java.lang.String%29
On Mon, Sep 28, 2009 at 10:57 AM, Charles Moulliard cmoulli...@gmail.comwrote:
I use a DateTextField to check if a user encode
Flavius, I took the liberty:
https://issues.apache.org/jira/browse/WICKET-2494
On Sat, Sep 26, 2009 at 12:24 AM, Flavius flav...@silverlion.com wrote:
When I first posted this, I posted it multiple times thinking
that it wasn't going through. Sorry about that. Pedro S had
posted a reply
I would like to know How I can validate the string date inputted by a user
in a textfield of my form ?
you can use:
org.apache.wicket.datetime.markup.html.form.DateTextField
ex:
DateTextField date = DateTextField.forDatePattern(date, dd/MM/);
This component will validate the inputs against
You can avoid this exception making sure to remove the tab from your panel
before the request cycle enter in RESPOND step.
On Fri, Sep 25, 2009 at 9:05 AM, Jens Zastrow m...@jens-zastrow.de wrote:
Hi,
The TabbedPanel internaly uses a Loop to render the tab-components. During
a normla GET
I am just having trouble with the move from Step 1 to Step 2. I assume
the success logic would be implemented in the onFinish() method of my
ForgotPasswordWizard
You can use an listener to implement success logic, onFinish will to be
called when Finish button get pressed
example.
Using a normal Link the TabbedPanel doesnt throw the exception.
Try your example with the AjaxTabbedPane and a AjaxFallbackLink.
Then in onClick() you have to add the tp the the AjaxRequestTarget, which
later leads to the ArrayIndexOutOfBoundsException.
Pedro Santos schrieb:
--
dipl
ajax wicket debug making the request but, I realized that It didn't call
the constructor again
the components add to ajax request target already are instantiated. You need
to resolve the complexity of new data refresh on your component model. See
if at some point you are updating players
of a model.
There is a mail talking about this issue.
http://osdir.com/ml/users-wicket.apache.org/2009-03/msg01175.html
On Fri, Sep 25, 2009 at 1:42 PM, Pedro Santos pedros...@gmail.com wrote:
ajax wicket debug making the request but, I realized that It didn't call
the constructor again
Wicket is using html scape character to output your string on model, so it
will to be presented as '' and ''.
u can set FLAG_ESCAPE_MODEL_STRINGS to the componet
http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/Component.html#getDefaultModelObjectAsString()
On Fri, Sep 25, 2009
1) Where exactly is the code which doing this?
http://wicket.apache.org/docs/1.4/org/apache/wicket/request/IRequestCodingStrategy.html
2) How can I obtain this changed url for static resources?
You can create an resource reference to your image resource.
ComponentModel is an public class:
public class ComponentModelT implements IModelT,
IComponentAssignedModelT
why not just have an attribute on the outer class and assign the component
to it in wrapOnAssignment(Component component)?
could you draw?
On Thu, Sep 24, 2009 at 8:49 AM, g...@gmx.net
It looks like you are looking for cohesion.
In the class menupanel.java I must reference Page
In the class Page.java I must reference MenuPanel
menupanel can to be an parameter to PageXXX; PageXXX can to be abstract and
have an abstract method :
abstract protected Page
They probably are at user home. You can know more about maven settings at:
http://maven.apache.org/settings.html
*
localRepository*: This value is the path of this build system's local
repository. The default value is ${user.home}/.m2/repository. This element
is especially useful for a main build
The internalUpdateFormComponentModels method in 1.3.6 didn't look for the
border and visit it's components. It's not obvious to me why this needs to
be done now in 1.4.
The objective is to notify form's event to generic containers...
When the form is submitted, the DropDownChoice's value is
I mean override the updateModel :P
On Tue, Sep 22, 2009 at 11:03 AM, Pedro Santos pedros...@gmail.com wrote:
The internalUpdateFormComponentModels method in 1.3.6 didn't look for the
border and visit it's components. It's not obvious to me why this needs to
be done now in 1.4
If you set the borders as transparent resolvers, implement they isVisible
method, and add the components direct to the border parent component?
On Sun, Sep 20, 2009 at 6:53 AM, Vladimir Kovalyuk koval...@gmail.comwrote:
I would like to control programmatically the visibility of the border
Good question, pretty much javascript work. I'm curios know your final
solution.
One fine solution is to create an subclass of
AjaxFormComponentUpdatingBehavior to onchange event. On this behavior you
can put your javascript rules. Take a look at OnChangeAjaxBehavior to see
how it could be done.
Hi Tim, I think what happens is that the playerModel is an instance of
AbstractReadOnlyModel. So DDC can not set the choice on it. As you need to
avoid the player serialization on playerModel, I suggest you create an
custom model ( and forgot any AbstractReadOnlyModel class or subclass usage
for
Hi Ryan, I just update
http://wicketstuff.org/confluence/display/STUFFWIKI/Table
If you not mind to work with TableModel from swing api, than you can use the
table component from wicket stuff.
On Mon, Sep 21, 2009 at 1:15 PM, Ryan Burns captainbirds...@gmail.comwrote:
Is there a way of having a
i'm using the Wicket Wizard and the list is generated out of previous
input, so i have to use the AjaxLazyLoadPanel
you can use dynamic models
http://cwiki.apache.org/WICKET/working-with-wicket-models.html#WorkingwithWicketmodels-DynamicModels
is it in principle possible to load this dynamic
The DDC uses the model choises internaly, if you want manage this model, use
it on other places, why don't you keep an refecence to by yourself?
setResponsePage(new ViewPicksPage(playersModel));
on DDC default model will have only the selected item, provided by choices
options you passed
On
ideally that I can expose web services through some Wicket page like class
I remember this post with question: How to easily provide simple RESTful Web
Services with Wicket?
http://blog.brunoborges.com.br/2008/11/restful-web-services-with-wicket.html
On Fri, Sep 18, 2009 at 11:20 AM, Petr
The problem is that jQuery does not sense the new dom elements while
I'm retrieving them with Wicket Ajax
I had an similar problem with javascript that was not executed when
component was rendered with ajax in my case, the javascript was
programed on onRender override method. In the occasion,
See if it work, I don't think you are needing an asynchronous behavior to
your link...
setResponsePage(getPage());
On Wed, Sep 16, 2009 at 4:30 PM, Ryan O'Hara rjoh...@gmail.com wrote:
I'm trying to update a parent's, parent's, parent component using AJAX. I
tried combing the archives and
: pedros...@gmail.com
To: users@wicket.apache.org
by close(target) or ModalWindow.close(target)
-- use close(target), to maintain ModalWindow internal states
updated.
On Tue, Sep 15, 2009 at 5:56 PM, Pedro Santos pedros...@gmail.com
wrote:
On this ajax
The device on wizard model need to be the same instance that was passed to
the DropDownChoice?
See if at some point you are working with 2 intances of Device.
new PropertyModelDistributor(devicesCreation, distributor),
private Device deviceCreation;
devicesCreation != deviceCreation
On Wed,
With Select you have more control over the markup between the select tag
and its children option tags
From Select javadoc: Component that represents a select box. Elements are
provided by one or more SelectChoice or SelectOptions components in the
hierarchy below the Select component. Advantages
Maybe you should turn your enforcements to the framework hot spots.
(+) search by X
a: [_]
b: [_]
() search by Y
...
() search by Z
Each group of options is its own panel
You can create an validation with those conditions, and add only on
necessary fiels.
Ex:
private class
On the other hand, maybe that whole criteria panel is deselected, in
which case I want to be able to stop the whole thing from doing any
validation at all, so it won't even look at whether the check box is
checked.
disable panel don't work on that case?
On Tue, Sep 15, 2009 at 11:10 AM, Phil
On this ajax response, we can see that the close script was appended 2
times. Make sure that it appended only once, by close(target) or
ModalWindow.close(target).
Before click the close link, in a moment that was causing trouble, see if
these variables are not null:
Wicket.Window.current
by close(target) or ModalWindow.close(target)
-- use close(target), to maintain ModalWindow internal states updated.
On Tue, Sep 15, 2009 at 5:56 PM, Pedro Santos pedros...@gmail.com wrote:
On this ajax response, we can see that the close script was appended 2
times. Make sure
ModalWindow internal states updated.
On Tue, Sep 15, 2009 at 5:56 PM, Pedro Santos pedros...@gmail.com
wrote:
On this ajax response, we can see that the close script was appended 2
times. Make sure that it appended only once, by close(target) or
ModalWindow.close(target).
Before
Hi,
the best approach depends on your project. If the your collections of
strings is an bean property, you can use PropertyModel,
CompoundPropertyModel
ex: new PropertyModelCollection(beanDayNews, sportNews);
Depending on your model data heavy, you can use LoadableDetachableModel or
Model...
db?
Thanks in advance
On Mon, Sep 14, 2009 at 8:46 AM, Pedro Santos pedros...@gmail.com wrote:
Hi,
the best approach depends on your project. If the your collections of
strings is an bean property, you can use PropertyModel,
CompoundPropertyModel
ex: new PropertyModelCollection
I think you are looking for:
http://wicket.sourceforge.net/apidocs/wicket/RequestCycle.html#urlFor(wicket.ResourceReference
)
Ex:
RequestCycle.get().getUrlFor(new
ResourceReference(SomeClass.class,path-to-resource))
On Sat, Sep 12, 2009 at 7:34 AM, Petr Kobalíček kobalicek.p...@gmail.comwrote:
();
}
Pedro Santos-6 wrote:
The value on model are on ProcessingStatusType instance. Use
((ProcessingStatusType)model.getObject()).getValue() to access the value
REJEC
On Thu, Sep 10, 2009 at 12:39 PM, cmoulliard cmoulli...@gmail.com
wrote:
Thks for all.
With the following
should remember its selected values throwout requests. This is the job of
a model
This is the job of a static model, maybe you are using a dynamic one.
On Fri, Sep 11, 2009 at 6:27 AM, Tomek Sniadach
tomek.sniad...@googlemail.com wrote:
Hi,
i have probably a simple question: I have a
With OO you can teach you objects to behave, rater the set then every time:
String property;
add(new Button(red){
@Override
public boolean isVisible() {
return property == red condition
}
});
add(new Button(green){
: ...it will update the pageable and itself or the
navigator component which it is part of.
But it cannot be used without that component. I have understood the text
that the navigator should be optional and is not a must have.
Best regards,
Andrej
- Original Message -
From: Pedro
@Override
public String getDisplayValue(Object status) {
return ((ProcessingStatusType) status).getDescription();
}
On Thu, Sep 10, 2009 at 9:46 AM, cmoulliard cmoulli...@gmail.com wrote:
You mean create something like this :
add(new DropDownChoice(requestStatus,
The value on model are on ProcessingStatusType instance. Use
((ProcessingStatusType)model.getObject()).getValue() to access the value
REJEC
On Thu, Sep 10, 2009 at 12:39 PM, cmoulliard cmoulli...@gmail.com wrote:
Thks for all.
With the following syntax :
add(new
The component let all options enabled or disabled. I wondering 3 options:
1- you can implement an AbstractReadOnlyModel that returns only the
avaliable options to your CheckboxMultipleChoice
2 - open an JIRA asking to CheckboxMultipleChoice use an isEnabled(choice,
index, selected) method to
Please, what is user id that you refers?
On Wed, Sep 9, 2009 at 5:31 AM, Anders innocentl...@gmail.com wrote:
Hi,
I can get the user id attribute from my authenticatedWebSession in a
role-needed page.
But I can't get user id when I go to no-role-needed page.
Do I need to override
attribute.
After I call WebSession.bind(), now the problem is solved.
But why MyauthenticatedWebSession is temporary in default? (no session id)
Pedro Santos-6 wrote:
Please, what is user id that you refers?
On Wed, Sep 9, 2009 at 5:31 AM, Anders innocentl...@gmail.com wrote:
Hi,
I
The ResourceModel just call:
Application.get().getResourceSettings().getLocalizer().getString(resourceKey,
(Component)null, defaultValue)
using the resourceKey you parse. You can call getString of your localizer by
your own, using your assembled resourceKey
On Wed, Sep 9, 2009 at 12:47 PM,
ok: non-Wicket-JavaScript-Function is bingJavaScriptFunctionCalledOnYourApp
so:
function bingJavaScriptFunctionCalledOnYourApp(){
/* callback script */
}
How can I get the callback script?
I'm wondering something like:
class BingTask extends AbstractDefaultAjaxBehavior {
Hi,
for curios, I take a look at wicket-gmap.js on
http://fisheye3.atlassian.com/browse/wicket-stuff/trunk/wicket-contrib-gmap2/src/main/java/wicket/contrib/gmap/wicket-gmap.js?r1=4174r2=
that has an similar situation... you can see on line 49 the parameter
passage.
I don't know other way to
See if it occurs on http://maps.google.com/ too. You can put markers on this
map too. If the problem remains, you can disable the zoom out.
On Wed, Sep 9, 2009 at 11:35 AM, shiraz memon
shiraz.li...@googlemail.comwrote:
Hi,
I am trying to put multiple markers at the same position. It looks
I want an added third component (a WebPage class) to be displayed
setResponsePage(third component) are not enough because you adding the third
component inside an iframe? can you send significant code of parent page?
On Fri, Sep 4, 2009 at 8:08 PM, da...@davidwbrown.name wrote:
Hello all, I
I think the wizard is the correct approach... You can try use
DynamicWizardModel on your wizard.
javadoc:
* Wizard model that is specialized on dynamic wizards. Unlike the default,
static
* {...@link WizardModel wizard model}, this model isn't very intelligent, but
rather delegates much
* of
try this js:
var mask = new Wicket.Window.Mask(false); mask.show();
the Mask is the use by ModalWindow:
http://www.wicket-library.com/wicket-examples/ajax/modal-window.2
On Tue, Sep 8, 2009 at 1:26 PM, fachhoch fachh...@gmail.com wrote:
I also want to mask page along with loading
T is the type parameter for the model object (
http://static.ddpoker.com/javadoc/wicket/1.4-m1/org/apache/wicket/model/IModel.html),
if you are creating an PropertyModel to retrieve and access an String
property, so String is the correct type parameter for the PropertyModel...
On Tue, Sep 8, 2009
sorry, I realize now: just set the artifactIdgmap2/artifactId line
On Tue, Sep 8, 2009 at 5:53 PM, Pedro Santos pedros...@gmail.com wrote:
Hi, I'm trying to add dependency to my project from wicket stuff like:
dependency
groupIdorg.wicketstuff/groupId
Hi Johannes,
recently I develop an jmx panel, to view and operate the applications
mbeans. And latter I discover that the wicket stuff already has one!
I rememer that, because in the ocasion I was afraid to start use the jmx
wicket stuff panel, due it has the wicket 1.3.1 on classpath, and the
Great Igor! I'm feeling like Homer Simpson
On Fri, Sep 4, 2009 at 3:04 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
or you can request commit access and eat your own donuts :)
-igor
On Fri, Sep 4, 2009 at 10:43 AM, Johannes
Schneidermaili...@cedarsoft.com wrote:
Hi,
I really love
Done, I commit now the mbeanview to wicket stuff.
Johannes, what about the donuts?!
On Fri, Sep 4, 2009 at 3:34 PM, Johannes Schneider
maili...@cedarsoft.comwrote:
Well, who is the One?
Igor Vaynberg wrote:
or you can request commit access and eat your own donuts :)
-igor
On Fri,
Take a look at:
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/form/Button.html#setDefaultFormProcessing(boolean)
On Fri, Sep 4, 2009 at 7:01 PM, Neil Curzon neil.cur...@gmail.com wrote:
Hi all,
I'm having a weird problem that causes an input to refuse
I thought to create a RuntimeException that will be thrown instead of the
AbortWithWebErrorCodeException(...) and to analyze it in the
onRuntimeException.
don't you gona fall in to the same problem this way?
Set error page in web.xml
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE web-app
To one of the decorations script must to be appended the script responsible
to call the behavior. You can get it invoking the
AbstractDefaultAjaxBehavior.getCallbackScript() protected method.
On Thu, Sep 3, 2009 at 7:59 AM, Arie Fishler arie@gmail.com wrote:
Hi,
We have been implementing
Hi Daniele, just an idea:
@Override
protected byte[] getImageData() {
String basePath = upload/images/;
Object name = logoModel.getObject();
File file = new File(., basePath + name);
LoggerFactory.getLogger(getClass()).info(serving file: + file);
and I want
this function call to resume the wicket action (ajax click on a link or
submit of a button) right after the function of the behavior is executed
On Thu, Sep 3, 2009 at 2:09 PM, Pedro Santos pedros...@gmail.com wrote:
To one of the decorations script must to be appended the script
, Pedro Santos pedros...@gmail.com wrote:
value that is placed in the onClick event (which has the action for the
link or button that has the behavior placed on)
You has an parameter determining the action to be take, why don't you use
polimorfism?
My behavior just adds a function call
Jason, the method getHomePage#MyWicketApplication only return the Class of
your application home page, an call from Wicket to it's method, doesn't
means that an instance of HomePage will to be generated.
This is a code from WebRequestCodingStrategy for example:
if
correction:
In your application u CAN populate your list of options, and pass it to an
similar component.
On Tue, Sep 1, 2009 at 9:07 AM, Pedro Santos pedros...@gmail.com wrote:
Gary,
Take a look at
wicket.markup.html.form.DropDownChoicehttp://wicketstuff.org/wicket13/compref/;jsessionid
Joe, an diferent option is create a custom WebPage with all needed resources
to serve as super class for all web pages class of your application.
Html for super class:
html
head
wicket:link
script type=text/javascript src=scripts/example.js/script
/wicket:link
/head
body
wicket:child /
/body
- area where the user sends multiple requests in very rapid succession
- model on client side
- alot of javascript
Do you consider to choice an diferent framework for thi especific project?
Take a look at:
http://ptrthomas.wordpress.com/2008/09/04/wicket-and-gwt-compared-with-code/
On Mon, Aug
Hi, I have an wicket application mantaing objects for the session, link
consumer threads to background work. I want to make sure that these objects
will to be garbage colected, finalized, etc. How can I listen the session
timeout notice? I don't want to implements these rules on finally method of
You can use wicket:link tag to convert the static reference
see: http://cwiki.apache.org/WICKET/autolink.html
On Fri, Aug 28, 2009 at 12:10 PM, Altuğ B. Altıntaş alt...@gmail.comwrote:
Hi;
Because your css file location and html file location are different.
try to reach images via url way
This remember me an idea. Will to be very helpful if wicket worked with
syles hierarchy. For example, I worked on a application that have 3 styles:
style1_grayscale, style1_colored, style2.
In some css files for example, would be useful to write just the
somePanelCssFile_style1.css, that can to
To force re-instantiate of an unknow subclass you can use reflection like:
setResponsePage(getPage().getClass().getConstructors()[0].newInstance());
but a simple setResponsePage(getPage()) should work to update resources used
by wicket:message for example
On Thu, Aug 27, 2009 at 6:47 AM,
401 - 498 of 498 matches
Mail list logo