I've noticed that some components in wicket-extensions are not internationalized properly (DataTable, Palette) in 1.2. Is somebody working on this or shall I go ahead and do it myself? Janos
-
Take Surveys. Earn Cash.
you can use an attribute modifier to do this though.
I usually put a StringResourceModel on the button like this:new Button(buttonid, new StringResourceModel(key_in_properties_file, this, null)) {public void onSubmit() {...}
}
Oleg,You can use the wicket:message tag which works just like your tapestry template...
span key=welcome/j
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated
Very short, very quick DynamicWebResource tutorial:)
1. Subclass DynamicWebResource
public class MyResource extends DynamicWebResource {
@Override
protected DynamicWebResource.ResourceState getResourceState() {
return new ResourceState() {
public byte[] getData() {
return
Is anyone using PortletApplicaton with 1.2.4? I'm getting the following
exception:
java.lang.UnsupportedOperationException
at java.util.Collections$1.remove(Collections.java:1012)
at wicket.protocol.http.portlet.PortletRequestCodingStrategy.decode(
I'm still not giving up on using wicket for portlet development :)
I get the following exception after each request and any action on the
portlet page results in a Portlet expired page to appear:
I've checked svn.apache.org and as far as I can tell wicket.Request has a
new toString() method
2007/2/20, Eelco Hillenius [EMAIL PROTECTED]:
could you please open a JIRA issue for that?
Done, actually I opened two as the page expiration on each request was not
solved by adding a toString method to PortletRequest. I've checked both in
Pluto and in Netbeans 5.5's portlet container...
FYI, I've created a JIRA issue:
https://issues.apache.org/jira/browse/WICKET-311
I'm seeing this when the web service I'm calling as backend is taking longer
to respond... (I'm back on 1.2.3 with a patched
WicketPortletRequest.classright now, the bug may affect other versions
as well).
Same here, 1.2.3 and 1.2.5 based projects in production, quite large
codebase, no intention to go to 2.0 until it finalizes.
--
János Cserép - [EMAIL PROTECTED]
Web: http://www.szeretgom.hu
Skype: cserepj
-
Take Surveys.
2007/3/30, Toscano [EMAIL PROTECTED]:
countries = new DropDownChoice (country,
new Model() {
public List getObject() {
return getCountries();
}
}, getCountries(),
new
mounting hundreds of paths within a dynamically generated site. having just a
default path-attribute added and evaluated would be nicer.
you don't need that - only mount your pages once. I would subclass the
application pages from a common page that looks like this:
public abstract class
You might consider referencing the image from a Panel, then just using
the panel everywhere. In that case the image only needs to be kept in
the package that defines the Panel.
I find it more lightweight to use a WebComponent with a
replaceComponentTagBody method that just spits out a img
I've run into a problem with how wicket handles requests in
PageParameters. I'm seeing this particular behaviour with BookmarkablePage
urls that contain a string with non ascii, utf-8 characters, like this:
pages/J%C3%A1nos
This doesn't work. The following does:
pages/J%E1nos
First I
Is it this one?
Parameters of nice URL's pages with 'sensitive' characters
https://issues.apache.org/jira/browse/WICKET-40
Probably, yes. Thanks for the url and the patch...
Janos
-
This SF.net email is sponsored by
the parameters passed in via the URL.
Created an issue in JIRA:
https://issues.apache.org/jira/browse/WICKET-631
Regards,
--
Janos Cserep - [EMAIL PROTECTED]
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C
I've started writing a unit test for the getParameters() bug (WICKET-631),
but can't find a way to directly call a shared resource using
WicketTester. It's not on a page, or on a panel... Any pointers? Eelco
suggested to ask on this list.
--
Janos Cserep - [EMAIL PROTECTED]
Mobile: + 36 20
Could some core developer familiar with Resource.java take a look at
WICKET-631. I've commented on the issue yesterday with a possible solution
to the problem (the parameter threadlocal in Resource.java gets nullified
too soon).
Thanks,
--
Janos Cserep - [EMAIL PROTECTED]
Mobile: + 36 20
That takes care of just about everything. However, right about that point,
you'll likely run into the following bug:
https://issues.apache.org/jira/browse/WICKET-631.
I hope someone will take a look at that bug sooner or later. The fix is
quite straightforward - moving the finally block
Now I need a reference to the EditForm in the deeply nested links. As there
are a lot of seperate classes involved (no nested classes), I can't do
something like this:
MyPage.this.editPanel.setModelOject(...);
findParent(EditPanel.class)
or
getPage().get(editPanel)
j
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy
tree to look for the markup file? If ExpiredPage.html doesn't exist, will it
use LoginPage.html?
Yes
janos
-
This SF.net email is sponsored
That's true, but still there may be some use cases where the component
tree is not changed but the application wide state of some domain
object is changing that triggers the ajax update of a component.
Second thought: maybe wicket is just not the right fit for such use cases
(fixed component
21 matches
Mail list logo