I found that all my ModalWindow cannot compile because ModalWindow is
removed.
Is there any reason for this?
And it seems there is a modelDialog ( to replace ModalWindow ?) ,
but it doesn't accept model object.
Any migration guide ? thanks.
[image: 截圖 2023-05-28 17.22.43.png]
Hi
Where can I get wicket-10 snapshot ?
I cannot find it in mvnrepository.com ...
I've upgrade all subsystems from javax to jakarta , and spring 5 to spring 6
But a lot of incompatibility issues are in wicket 9
Since it has no major issues , how about releasing it ASAP ?
Thanks.
János Cserép 於 2
>
> onConfigure() {
>setVisible(/*... lazy evaluated ...*/)
> }
>
> Regards
> Sven
>
>
> On 10.03.22 00:31, smallufo wrote:
> > Currently , component visible is defined by a eager evaluated boolean
> value
> >
> > public final Component setVisible(final bool
Currently , component visible is defined by a eager evaluated boolean value
public final Component setVisible(final boolean visible)
Is it able to make it accept IModel ?
(so that we can lazy evaluated the value)
Thanks.
found this information with 10
> minutes of Googling)
>
> Met vriendelijke groet,
> Kind regards,
>
> Bas Gooren
>
> Op 30 april 2021 bij 07:06:45, smallufo (small...@gmail.com) schreef:
>
> more detail log :
>
> 2021-04-30 12:43:44.076 [http-nio-8080-exec
(DefaultPageStore.java:61)
at
org.apache.wicket.page.PageStoreManager$PersistentRequestAdapter.storeTouchedPages(PageStoreManager.java:482)
at
org.apache.wicket.page.RequestAdapter.commitRequest(RequestAdapter.java:214)
smallufo 於 2021年4月30日 週五 下午12:52寫道:
> I was using Kotlin 1.4.32 with wicket 8.11
&g
I was using Kotlin 1.4.32 with wicket 8.11
but after upgrading to Kotlin 1.5.0 , it throws :
Caused by: java.io.NotSerializableException: Non-serializable lambda
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessor
gt; https://docs.oracle.com/javase/specs/jls/se11/html/jls-11.html>
>
>
> François
>
>
>
> > Le 30 mai 2020 à 16:52, smallufo a écrit :
> >
> > Francois Meillet 於 2020年5月30日 週六 下午10:48寫道:
> >
> >> sompage?67-1.-border-content-border_body-form is the path
Francois Meillet 於 2020年5月30日 週六 下午10:48寫道:
> sompage?67-1.-border-content-border_body-form is the path to your model
>
Yes , but it may contains deep-nested model
The form contains FormComponentPanel and contains another
FormComponentPanels and widgets , very deep ...
The error may lay under v
> Override this method to support setObject(Object)
> at org.apache.wicket.model.IModel.setObject(IModel.java:84)
> at
> xxx..zzz.YourClassUsingThisModel.theMethod(YourClassUsingThisModel.java:12)
>
> François
>
>
>
> > Le 30 mai 2020 à 16:13, sma
- unless overridden
>
>
>
> https://ci.apache.org/projects/wicket/apidocs/9.x/org/apache/wicket/model/IModel.html#setObject(T)
> <
> https://ci.apache.org/projects/wicket/apidocs/9.x/org/apache/wicket/model/IModel.html#setObject(T)
> >
>
>
> François
>
>
>
>
Hi
I am building an app with complicated forms , nested models ...
Some times it obsesses me is the UnsupportedOperationException :
java.lang.UnsupportedOperationException: Override this method to support
setObject(Object)
at org.apache.wicket.model.IModel.setObject(IModel.java:84)
It doesn't pin
My server is apache frontend , redirecting all port 80 to 443
and with '/app' prefix , proxyPass to internal tomcat , listening to port
8080
I use the following line to get full url
val absUrl =
requestCycle.urlRenderer.renderFullUrl(Url.parse(urlFor(MyPage::class.java,
pps).toString()))
The br
ml#TextField-java.lang.String-org.apache.wicket.model.IModel-java.lang.Class-
>
> It should be:
>
> add(new TextField<>("year", LambdaModel.of(obj::getYear, obj::setYear),
> Integer.class));
>
> That one always gets me too...
>
> Thanks
> Andrew
>
&
After upgrading to 8.0 , I tried the exciting LambdaModel , try to replace
the non-TypeSafety PropertyModel
But I found it cannot handle type intelligently.
For a TextField , for example :
form.add(new TextField("year", LambdaModel.of(obj::getYear,
obj::setYear )));
At runtime , it reports Cannot
If a kotlin's model has a field :
class MyModel {
private val theValue: Double
get() { return 1.0 }
}
and in the wicket page :
new PropertyModel(model , "theValue")
It will fail :
*WicketRuntimeException: Property could not be resolved for class: class
MyModel expression: theValue*
The
rence()));
return dependencies;
}
}
It seems this file is safe to delete too.
2016-09-02 1:52 GMT+08:00 Martin Grigorov :
> Please create a demo app and attach it to a ticket at JIRA.
> Thanks!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigoro
no.
*/*** 6.19 ok* 6.21 ok* 6.22 failed* 6.23 failed* 6.24 failed*/*
2016-09-01 22:06 GMT+08:00 Martin Grigorov :
> Hi,
>
> Does it work in 6.24.0 ?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Sep 1, 2016
Hi
This border code works in 6.21 but failed in 6.22
It is a traditional 'portlet-like' border , with a 'title' and an ajax link
( which will collapse/expand when clicked )
I lookup up the change log
http://archive.apache.org/dist/wicket/6.24.0/CHANGELOG-6.x
but didn't find anything related to Bo
calDate ld2 = LocalDate.of(ld.getYear() , ld.getMonthValue() ,
value);
DatePanel.this.setModelObject(ld2);
}
},
IntStream.range(1, 32).boxed().collect(Collectors.toList()))
);
2015-06-08 15:38 GMT+08:00 smallufo :
>
> 2015-06-08
2015-06-08 14:36 GMT+08:00 Martin Grigorov :
>
> MyFormComponentPanel.this.setModelObject(getModelObject().withDayOfMonth(DayOfMonth));
>
Excuse me
Where should I put this code to ?
DatePanel's constructor ?
or override DropDownChoice's some method ?
or DatePanel's convertInput() ?
or somewhere
Hi :
I have a question about immutable object in FormComponentPanel .
If the object doesn't have setters , how to correctly handle it ?
for example : Java8's LocalDate , it only has getYear() , getMonthValue() ,
getDayOfMonth()
no setters.
And in my code :
public class DatePanel extends FormComp
2015-05-20 23:27 GMT+08:00 Martin Grigorov :
> You can use AjaxBrowserInfoBehavior.
>
I think you mean AjaxClientInfoBehavior
http://www.wicket-library.com/wicket-examples-6.0.x/ajaxhellobrowser/?0
Thanks . it's working well !
But I have another question.
Is there any way to get the containin
owserInfo
> On Apr 17, 2015 10:56 PM, "smallufo" wrote:
>
> > 2015-04-18 9:53 GMT+08:00 smallufo :
> >
> > > getApplicationSettings().setUploadProgressUpdatesEnabled(true);
> > >
> >
> > typo
> > It is
> > *getRequestCycleSettings().setGatherExtendedBrowserInfo(true);*
> >
> > width is still -1
> >
>
2015-04-18 9:53 GMT+08:00 smallufo :
> getApplicationSettings().setUploadProgressUpdatesEnabled(true);
>
typo
It is
*getRequestCycleSettings().setGatherExtendedBrowserInfo(true);*
width is still -1
I want to get width of the browser.
in Application.init() , I add :
getApplicationSettings().setUploadProgressUpdatesEnabled(true);
And in a WebPage , I add :
logger.info("init . width = {}", new
WebClientInfo(getRequestCycle()).getProperties().getBrowserWidth());
but it always return -1
I fou
>
> On Tue, Jul 8, 2014 at 1:28 PM, smallufo wrote:
>
> > Yes , I am using 6.16.0
> >
> >
> > 6.16.0
> > 0.9.4
> > 2.4.7
> >
> >
> >
> > 2014-07-08 14:56 GMT+08:00 Martin Grigorov :
> >
> > > I
ter.com/mtgrigorov
>
>
> On Tue, Jul 8, 2014 at 4:00 AM, smallufo wrote:
>
> > sorry , There is no stack trace.
> > Because it triggers nothing , the server doesn't receive anything.
> >
> >
> >
> > 2014-07-07 14:21 GMT+08:00 Michael H
sorry , There is no stack trace.
Because it triggers nothing , the server doesn't receive anything.
2014-07-07 14:21 GMT+08:00 Michael Haitz :
> please provide the full stacktrace.
>
> cheers,
> Michael
>
> Am 06.07.2014 um 05:44 schrieb smallufo :
>
> > It
now.
2014-07-06 11:30 GMT+08:00 smallufo :
> I found where goes wrong ,
> it's RenderJavaScriptToFooterHeaderResponseDecorator that causes the
> problem.
>
> I am not familiar with wicket-bootstrap , so I mimicked wicket-bootstrap
> sample's architecture :
>
&g
ation Wicket - Développement Wicket
>
>
>
>
>
> Le 5 juil. 2014 à 14:56, smallufo a écrit :
>
> > 2014-07-05 20:55 GMT+08:00 smallufo :
> >
> >>
> >> But i still find another "id6c" or "id6d" in the source code.
> >>
> >
> > sorry typo :
> >
> > But i still *cannot* find another "id6c" or "id6d" in the source code.
>
>
2014-07-05 20:55 GMT+08:00 smallufo :
>
> But i still find another "id6c" or "id6d" in the source code.
>
sorry typo :
But i still *cannot* find another "id6c" or "id6d" in the source code.
2014-07-05 20:43 GMT+08:00 Martin Grigorov :
>
> The code above is again Wicket 6.x/7.x but in DEVELOPMENT mode.
> It should generate also the Wicket.Ajax.*** stuff. I cannot say why it is
> missing for you.
Oops
I must got it wrong.
The two servers are wicket 6.
One is without wicket-bootstrap
2014-07-05 18:53 GMT+08:00 Francois Meillet :
>
> Have you set a breakpoint in the onSubmit method of your ajax submit
> button ?
>
> François
>
No , I didn't set any breakpoints (in fact , I don't know such feature).
The code is just like that.
The two onSubmit()s are not hooked / triggered.
I have a LoginModal which pops up a modal with username / password for user
to login.
It works before wicket 6.
After upgrading to wicket 6 , it's not working anymore.
Can someone check where goes wrong ?
Here is the LoginModal code :
http://pastebin.com/hNTMs3A7
And here is the LoginPage code :
is necessary to recreate
> the image?
> Or, you could store the BufferedImage's content to an actual image file
> (using ImageIO)?
>
>
> On Wed, May 22, 2013 at 5:39 AM, smallufo wrote:
>
> > Thanks.
> > But in my example , I cannot modify BufferedImage (to a
st non-serializable class in the hierarchy that needs to
> have it,
> not the first serializable one, like in your example.
> Besides, you would still lose all data stored in the BufferedImage's fields
> (i.e.
> the image stored in it).
>
>
> On Mon, May 13, 2013 at 7:15
Today I encountered one famous deserialization problem :
InvalidClassException : no valid constructor
I googled and found some solution , but all are in-vain.
The solution says the first non-serializable super class should define a
no-arg constructor.
But I try to define a no-arg constructor to E
I solve this problem by introducing another spring's xml inside wicket's
repository, which I didn't want to do this at first.
(I was looking for a programmatic way , but it seems not so easy... )
2013/5/11 smallufo
>
>
>
> 2013/5/11 Marco Springer
>
>> May
2013/5/11 Marco Springer
> Maybe this is too simple but:
>
> Did you define this bean in the applicationContext.xml?:
> {possible properties}
>
>
No this is not what I want.
The whole story is ...
I have two maven repositories :
One is *business-layer* , which defines whole business objects
j,
"myobj");
But in a WebPage with a @SpringBean(name="myobj") private IMyObj myobj;
I still get NoSuchBeanDefinitionException error ...
2013/5/11 smallufo
> Hi
> Is there any code example to create beans and register t
FactoryBean , got the idea behind it . But I still don't know
how to do it in wicket ?
Thanks.
2013/5/11 Igor Vaynberg
> see spring's FactoryBean, its an indirect way to create beans.
>
> -igor
>
> On Fri, May 10, 2013 at 12:33 PM, smallufo wrote:
> > Hi , I wonder if
Hi , I wonder if it possible to programmatically create / register a spring
bean in wicket?
maybe in Application.init() ...
Most documents about spring are "making use of existent beans" , and inject
to WebPage or Panel via @SpringBean , and it indeed works well.
But my interface implementations
I want to add a warning dialog when user clicks an ajax "deleteLink"
I saw the following solution:
Link deleteLink = new AjaxFallbackLink("deleteLink")
{
@Override
public void onClick(AjaxRequestTarget target)
{
commentService.deleteComment(user, comment, ip);
ag. Then redirect to LoginPage
> and in its constructor check whether there is a session, and whether the
> flag is set and redirect to the post-login page.
>
>
>
> On Tue, May 7, 2013 at 4:03 AM, smallufo wrote:
>
> > I have a LoginModal which binds a Logi
I have a LoginModal which binds a LoginPage .
In LoginModal.setWindowClosedCallback() method , I use
LoginPage.isSuccessful() to judge if the user login successful.
If login successful , I refresh the page , or do nothing.
LoginModal code : http://pastebin.com/nLU2akzV
LoginPage code : http://pas
2013/5/2 Martin Grigorov
> PackageResourceStream
Wow , thanks for your rapid response !
In wicket 1.4
I can get InputStream from a ResourceReference :
ResourceReference resRef = new ResourceReference(Page.class , "xxx.png");
InputStream is = resRef.getResource().getResourceStream().getInputStream();
But it seems invalid in wicket 6
I need to build a DynamicImageResource , which ret
-15.html
>
>
> On Wed, May 1, 2013 at 6:36 PM, smallufo wrote:
>
> > I am upgrading from 1.4 to 6.7
> > Is the random string appended used for anti-caching or object versioning
> ?
> > I try to redeploy and the appended string is identical !?
> >
> &g
I am upgrading from 1.4 to 6.7
Is the random string appended used for anti-caching or object versioning ?
I try to redeploy and the appended string is identical !?
Now I am stuck by how to get rid of image/resource versioning , and enable
caching ...
I use general Image ,
or override shouldAddAnti
Hi
I just take "Cache-Control":"no-cache" for example.
What if I want to add additional header information, which is correct ?
data.getHeaders().addHeader("key", "value"); ?
or
((WebResponse) attributes.getResponse()).addHeader("key" , "value"); ?
Thanks.
Hi :
I wonder how to set header of DynamicImageResource ?
In 1.4 , it just override setHeaders(WebResponse response)
{
response.setHeader("Cache-Control" , "no-cache");
}
But , how to do this in 6.7 ?
If I override setResponseHeaders(ResourceResponse data , Attributes
attributes) ,
It seems the
sorry for disturbance
after adding the 2 lines in Application , it's solved.
getResourceSettings().setParentFolderPlaceholder("$up$");
getResourceSettings().addResourceFolder(getServletContext().getContextPath
());
2012/2/12 smallufo
>
>
>
> This code works
This code works fine in wicket 1.4.15 , and will generate a url like this :
http://foobar.com/app/resources/foobar.login.LoginPanel/null/icons/facebookLogin_300_35.png
The "null" in URL seems represents ".." in the resource path.
But when I upgrade to 1.4.19 , the URL becomes :
http://foobar
I want to build a DynamicImageResource which can scale internal (packaged)
images (with name : {index}.gif ) .
In getImageData() , I try to load a truly existing image , but cannot
getResource() , it returns null !
Here is my code :
public class ScaledImageResource extends DynamicImageResource
{
Thanks.
but declarative txManagement add a lot of complexity to XMLs
Is there any other option ?
2010/12/19 James Carman
> declarative transaction management
I am developing a generic CRUD app , that can edit any Spring/JPA entities
with a AbstractDao pattern's implementation , such as UserDaoImpl ,
ForumDaoImpl ...etc
In my wicket page : I have to use @SpringBean to identify which
PlatformTransactionManager to use , such as :
@SpringBean(name="transa
Hi ,
I tried :
dao.getClass() = class org.apache.wicket.proxy.$Proxy101
dao.getClass().getGenericSuperclass() = class java.lang.reflect.Proxy
dao.getClass().getSuperclass() = class java.lang.reflect.Proxy
But still unable to get the dao class
2010/12/14 Pedro Santos
> proxyClass.getSuperclass()
I have a page with such definition :
public class CrudPage extends WebPage
{
public CrudPage(PageParameters pps , AbstractDao dao)
{...}
}
and here is how I initialize the page :
CrudPage page = new CrudPage(pps , userDao);
the userDao is a Spring injected DAO :
@SpringBean private UserDao u
Hi
I found the solution , it is MixedParamUrlCodingStrategy
Thanks.
2010/12/1 smallufo
> Hi , thanks .
> But it seems that IndexedParamUrlCodingStrategy only accepts integer
> parameters.
> I need String value ...
>
>
> 2010/12/1 Martin Grigorov
>
> See Indexed** U
Hi , thanks .
But it seems that IndexedParamUrlCodingStrategy only accepts integer
parameters.
I need String value ...
2010/12/1 Martin Grigorov
> See Indexed** UrlCodingStrategies
>
> On Wed, Dec 1, 2010 at 11:52 AM, smallufo wrote:
>
> > Hi , I wonder how to build an i
Hi , I wonder how to build an implicit key when a Page is
mountBookmarkablePage() ?
Suppose I have a TagPage , that accepts a parameter : "name" , and if the
TagPage is mounted to "/tag" prefix
The url will look like :
http://foobar.com/app/tag/name/abc
I feel the "name" is redundant
I hope I c
If I want to add a simple 'onclick warning' to an AjaxLink , the ajax's
behavior will be overridden by :
ajaxLink.add( new SimpleAttributeModifier("onclick", "return confirm('sure
?');"));
How to avoid this ?
Hi , thanks.
Ajax Link works , but I want it to be displayed as a button.
2010/11/21 Ernesto Reinaldo Barreiro
> Why not simply use an AJAX link?
>
> Ernesto
>
> On Sun, Nov 21, 2010 at 7:43 AM, smallufo wrote:
> > Hi , I wonder if it possible to use AjaxButton without
Hi , I wonder if it possible to use AjaxButton without attaching to a form ?
Sometimes , I just want a simple show/hide ajax effect in onSubmit() , and
there is no need to build another form and add the ajaxButton into it.
Most resource files don't need cookies .
I wonder if it possible to disable feeding cookies when serving resources ?
It will make request size smaller.
Hi Igor :
Please re-verify WICKET-3162
(and run the quickstart)
It's not solved.
2010/11/12 Igor Vaynberg
> jira+quickstart
>
> -igor
>
> On Thu, Nov 11, 2010 at 5:48 PM, smallufo wrote:
> > Hi , thanks
> > I tried , but NPE is still thrown , with the
target)
{
expanded=!expanded;
content.setVisible(expanded);
target.addComponent(content);
}
};
add(collapseExpandLink);
2010/11/12 Igor Vaynberg
> s/border.add(commentsView);/border.getbodycontainer().add(commentsView);/
>
> On Thu, Nov 11, 2010 at 1:42 PM, smallufo wrote:
&g
Hi , I have a simple panel , with a border and a listView :
//comment layout
And the code :
add(border);
ListView commentsView = new ListView("commentsView" , new
LoadableDetachableModel>()
{
@Override
protected List load() {
return commentDao.getComments(0 , 10);
If I have two WebPages :
Page1.java
Page1.properties , which stores default value
Page1_zh.properties , which stores Chinese translations
And Page2.java
How do I get Page1's specific localized message in Page2 ?
I noticed the StringResourceModel , but it seems not what I want.
StringResourceMode
I am using a profiler to analyze an OOM heap-dump file , and find tons of
duplicated Strings .
These strings are mostly IDs of wicket components or PropertyModel's
expression ...
I wonder if it a good practice to "intern()" all these Strings ?
such as :
private final static String TIME_STR = "tim
I have created a JIRA issue with quickstart file here :
https://issues.apache.org/jira/browse/WICKET-2965
<https://issues.apache.org/jira/browse/WICKET-2965>
2010/7/26 smallufo
> HTML
>
>
>
>
>
> Java Code :
> public class MainPage extends WebPag
If a label is default invisible and is setVisible(true) in an
AjaxButton.onSubmit() , and if that label containing xxx string,
it will fail to render in IE 6/8 .
IE6/8 report wicket-ajax.js has something wrong ...
I don't have IE7 , but I think the result is the same :
HTML
Java Cod
Hi , I am trying Wicketstuff-push with a small chat program , but encounter
this problem :
org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of
interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at
component [MarkupContainer [Component id = sayForm]] threw an
2010/3/24 smallufo
> Thank you , I tried it , and it can successfully
> inject EntityManagerFactory into a WebPage ,
> But it seems unable to inject EntityManager , is it because of some
> thread-safe limitation here ?
>
>
Sorry , I meant wicket-contrib-javaee here.
>
Thank you , I tried it , and it can successfully inject EntityManagerFactory
into a WebPage ,
But it seems unable to inject EntityManager , is it because of some
thread-safe limitation here ?
2010/3/23 Major Péter
> I think yes, Wicket is already depending on cglib, so you could create
> somethi
ring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java?r=HEAD
> or for non-spring code check out the wicketstuff javaee-inject project.
>
> Best Regards,
> Peter
>
> 2010-03-23 16:52 keltezéssel, smallufo írta:
> > Is it possible to 'not' introduce
j, etc
>
> -igor
>
> On Tue, Mar 23, 2010 at 8:20 AM, smallufo wrote:
> > Hi
> > Is there any way to inject a DAO into Wicket without Spring ?
> > ex :
> >
> > public interface PersonDao { some methods... }
> >
> > public class PersonDaoImpl i
Hi
Is there any way to inject a DAO into Wicket without Spring ?
ex :
public interface PersonDao { some methods... }
public class PersonDaoImpl implements PersonDao , Serializable {
@PersistenceContext(unitName = "data", type =
PersistenceContextType.TRANSACTION)
EntityManager entityManager;
Hi
I found a lot of NotSerializableException: java.nio.HeapCharBuffer when I
try Wicket 1.4.6 + Resin 4.0.3
I've never seen this exception , is it the problem from Wicket ?
Stacktrace :
java.io.NotSerializableException: java.nio.HeapCharBuffer
at
java.io.ObjectOutputStream.writeObject0(Ob
I've submitted it to JIRA
https://issues.apache.org/jira/browse/WICKET-2735
<https://issues.apache.org/jira/browse/WICKET-2735>
2010/2/10 smallufo
> Suppose inside a BookmarkablePage which is mounted to "CurrentPage" ,
> there is an AjaxButton , when clicked
Suppose inside a BookmarkablePage which is mounted to "CurrentPage" ,
there is an AjaxButton , when clicked , it will
setResponsePage(CurrentPage.class , pps)
If a user is browsing http://foo.bar/app/CurrentPage/key/value , and submit
the AjaxButton ,
In 1.4.5 , he will be redirect to http://foo.b
2010/2/5 Igor Vaynberg
> disable it in your logging configuration
>
> -igor
>
>
I tried a lot of configurations , but http.WicketURLDecoder's warning still
pops up...
log4j.rootLogger=INFO, console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.
After upgrading to 1.4.6 , it always pops up this warning :
WARN http.WicketURLDecoder - No current Application found - defaulting
encoding to UTF-8
It is ok in 1.4.5 , but I don't know why it has such warning in 1.4.6 .
How to get rid of it ?
Thanks ...
more:moreForm:submit. And it finds the TextField.
>
> The version that fails is looking for TextField named "more:textfield".
> The
> RequestFacade object has: wicket:interface, wicket:ignoreIfNotActive,
> random, forma_hf_0, radioGroup and more:submit. Is there a problem with
+ radioGroup.getModelObject()
>+ " , textfield.getModelObject() = "
> + textfield.getModelObject());
>}
>};
> *moreForm*.add(button);
>
>
> On We
This is a full functional Page :
I found this problem only occurs when the form is in the listView :
If I move the form out of the listView , it works like a charm.
Bug ? I am not sure...
The link is the screen capture :
http://xs.to/image-B859_4B57CDD0.gif
MyPage.html
name
more ?
ms for half day , searching but found no anwser
...
I need help
Wicket 1.4.5
2010/1/21 smallufo
> I have a form , which contains a radio button.
> When user clicks the radio button , a default-invisible textfield is set
> visible.
> But I cannot get the textfield&
I have a form , which contains a radio button.
When user clicks the radio button , a default-invisible textfield is set
visible.
But I cannot get the textfield's Model Object , it is null
What's the problem ? Did I miss anything ?
Wow , thanks replying so soon.
I am just trying :
public RequestCycle newRequestCycle(Request request, Response response)
{
ServletWebRequest servletWebRequest = (ServletWebRequest) request;
HttpServletRequest hreq = servletWebRequest.getHttpServletRequest();
ServletContext context = h
class.
2010/1/12 Igor Vaynberg
> requestcycle.onbeginrequest
>
> -igor
>
> On Mon, Jan 11, 2010 at 2:40 AM, smallufo wrote:
> > For example :
> > A Wicket application may have many WebPages or Wizards which are
> > inter-connected ...
> > The interceptor(o
irect back to the original target
page or wizard step...
Is it possible in wicket ?
2010/1/11 smallufo
> Hi :
>
> I wonder if wicket has any servletFilter-like WebRequest interceptor or
> filter ?
> That the interceptor can intercept WebRequest or HttpSession and
> pre-processing
Hi :
I wonder if wicket has any servletFilter-like WebRequest interceptor or
filter ?
That the interceptor can intercept WebRequest or HttpSession and
pre-processing , and maybe redirect to some specified WebPage ...
Thanks a lot.
Thank you , I've found the answer :
httpSession =
((ServletWebRequest)request).getHttpServletRequest().getSession();
This is a better way ...
thanks a lot.
2010/1/10 smallufo
>
>
> 2010/1/10 Igor Vaynberg
>
> why not simply put whatever it is into the httpsession, and th
2010/1/10 Igor Vaynberg
> why not simply put whatever it is into the httpsession, and then write
> a getter in wicket's session that retrieves it from there? seems
> simpler.
>
> -igor
Thank you .
But how to get HttpSession inside Wicket's Session ?
thanks ...
2010/1/9 smallufo
> Hi all :
>
> I'm trying to inject something to the Wicket Session by a Generic Servlet
> Filter :
>
> public class UserFilter implements Filter
> {
> private UserDao UserDao;
>
> @Override
> public void init(Filter
Hi all :
I'm trying to inject something to the Wicket Session by a Generic Servlet
Filter :
public class UserFilter implements Filter
{
private UserDao UserDao;
@Override
public void init(FilterConfig config) throws ServletException
{
WebApplicationContext wac =
WebApplicationContext
Hi ,
Thanks
But where is class TextTemplateContributor ? I cannot grep that class ...
I could only find wicket/util/template/TextTemplate ...
2009/12/17 Igor Vaynberg
> you can use something like TextTemplateContibutor
>
> -igor
>
> On Wed, Dec 16, 2009 at 11:21 AM, smallufo w
Hello , I am using wicket 1.4.3
I wonder how to replace Strings in JavaScript ?
such as :
http://www.facebook.com/login.php?
api_key=278f76da30a86d0b5a2526a25c310166&display=popup&extern=1&fbconnect=1&req_perms=publish_stream&return_session=1&v=1.0&
next=http%3A%2F%2Fwww.example.com
Wow , thanks for this great tip ...
But I have problem applying to Gmap2 :
I hope when user clicks the map , the map won't be able to receive any
requests until the onClick() finishes...
But it seems this doesn't work...
Is there anything I missed ?
gmap2.add(new ClickListener()
{
@Override
p
1 - 100 of 195 matches
Mail list logo