Hi Ulf,
You use non iso8859-1 characters in the Java file. That is fine as long
as you are sure you safe the file in UTF-8.
Nowadays you should be allowed to use UTF-8 in URLs. But don't count on
it too much yet. Edvin's solution looks safer.
However, since you said that the problem only
If it is just css then what you could do is an overridable method
getCSS that returns a ResourceReference that you add to your
component.
On 1/23/08, Martijn Lindhout [EMAIL PROTECTED] wrote:
Hi,
I just build a simple reusable shoppingcart component with a reasonable
default CSS style. The
If you use tomcat then you must set the encoding of the url as a
special property before tomcat uses urf8 for the url part.
On 1/22/08, palun [EMAIL PROTECTED] wrote:
(I´m sorry if this is the wrong forum for this kind of question. If so,
please direct me.)
Here´s my problem:
I set a page
On Wednesday 23 January 2008 11:47:26 Martijn Lindhout wrote:
users need to open the jar, pick the right markup file, copy it, changes
css attributes, etc. That's not what I expect from component reuse, right?
Or do I miss something?
The other option is to create overridable methods which
It works !
Thanks a lot Vincent :)
jb
Vincent Demay wrote:
Hi Jean-Baptiste
Jean-Baptiste Bellet a écrit :
Hello all,
This is my first wicket message, so first of all, I would like to
gongrats the whole team for the great job !
Now, my problem :
I have created a NewFeedbackPanel which
I looked on the code in the FileUploadField class. This lines seems
interesting:
// Get request
final Request request = getRequest();
// If we successfully installed a multipart request
if (request instanceof IMultipartWebRequest)
{
// Get the item for the path
final FileItem item =
Hi
We are gonna reschedule the meeting, Flemmings getting one up to hold a
course for their firm internally, but it's our hope that instructor will
participate in our meeting.
Information will follow asap. This makes it an even greater reason to
come and check out wicket if youre a
You can call:
getSession().setLocale(new Locale(en, US))
In the Java javadocs
(http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html) you find
references to language and country codes. Language code ta means Tamil
so that is probably not what you want. Country Taiwan is represented by
I like that one with the ResourceReference. What about providing a setter on
the component, so that no subclassing is needed?
2008/1/23, Dmitry Kandalov [EMAIL PROTECTED]:
On Wednesday 23 January 2008 11:47:26 Martijn Lindhout wrote:
users need to open the jar, pick the right markup file,
On Jan 23, 2008 1:12 AM, Dmitry Kandalov [EMAIL PROTECTED] wrote:
On Wednesday 23 January 2008 12:55:17 Martijn Lindhout wrote:
I like that one with the ResourceReference. What about providing a setter
on the component, so that no subclassing is needed?
IMO setter or constructor parameter
Hi,
I like to have my css file('style.css') in a seperate folder instead of
having it in the same folder as HomePage.java because multiple web pages are
using the same classes in the css file. Is it possible to have both css
files(style.css and style_tw.css) in a seperate folder. This applies
On Wednesday 23 January 2008 12:55:17 Martijn Lindhout wrote:
I like that one with the ResourceReference. What about providing a setter
on the component, so that no subclassing is needed?
IMO setter or constructor parameter should be ok, though Wicket classes use
getters (probably to reduce
I think I got it ;)
Here is what I wrote. It works fine until now. It still has some weak
points (no error on client side if server can not process the file) but
I paste it here:
if (request instanceof ServletWebRequest) {
try {
ServletWebRequest swr =
On 21/01/2008, Eelco Hillenius [EMAIL PROTECTED] wrote:
Fine, this can be a good compromise: documentation written by the
skilled community and reviewed by the developers themselves. I'm not
that hardcore now, but the more I get into Wicket, the more I'll try
to help out as much as I can.
that makes sense.
2008/1/23, Eelco Hillenius [EMAIL PROTECTED]:
On Jan 23, 2008 1:12 AM, Dmitry Kandalov [EMAIL PROTECTED] wrote:
On Wednesday 23 January 2008 12:55:17 Martijn Lindhout wrote:
I like that one with the ResourceReference. What about providing a
setter
on the component, so
No bamboo id:
http://www.wicketstuff.org/bamboo
On Jan 23, 2008 8:30 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Here are a few im involved in.
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap
nino
Frank Bille wrote:
No bamboo id:
http://www.wicketstuff.org/bamboo
On Jan 23, 2008 8:30 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Here are a few im involved in.
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap
Hi.
I want to select all Checkboxes in a CheckGroup with a Button.
Therefore I looked at CheckGroupSelector and came up with this:
public class CheckGroupButtonSelectAll extends Button
{
public CheckGroupButtonSelectAll(String id)
{
super(id);
setDefaultFormProcessing(false);
On Jan 18, 2008 12:33 AM, Eelco Hillenius [EMAIL PROTECTED] wrote:
You should give us your sourceforge id (the name, not the number), and
if the original developers of wicketstuff-jquery (David Bernard and
Xavier Hanin) agree, you can commit (probably a good idea to chat with
with them first
Hello everybody!
There is a page PagingPage in Wicket Examples(repeater folder)
And this page contain next code:
DataView dataView = new DataView(pageable, new ContactDataProvider())
ContactDataProvider implements method iterator:
public Iterator iterator(int first, int count)
{
ok, i'll look into it when I get time..
Frank Bille wrote:
You should have rights to create a new plan now.
Frank
On Jan 23, 2008 11:19 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
nino
Frank Bille wrote:
No bamboo id:
http://www.wicketstuff.org/bamboo
On
Yes, this is possible.
But actually the previous solution is usally sufficient. You can easily
define a page that is extended by all other pages. In the base page you
can include the stylesheet as before and all other pages will get it
too. (See the wiki for component inheritance.)
But
Cancel previous message. Meeting will be held at same time next week.
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
We are gonna reschedule the meeting, Flemmings getting one up to hold
a course for their firm internally, but it's our hope that instructor
will participate in our meeting.
What version of Tomcat are you running?
On 1/23/08, gbak1 [EMAIL PROTECTED] wrote:
Im a newbie and am having problems with the helloworld example.
I have created an ant script to create an application WAR and I can deploy
this WAR to tomcat (running on fedora7).
After deploy, Tomcat fails
I think if you add 'return false;' to your javascript, the button's
default click action (submitting
a form) isn't executed, so your DataTable doesn't get refreshed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Jonas-21 wrote:
I think if you add 'return false;' to your javascript, the button's
default click action (submitting
a form) isn't executed, so your DataTable doesn't get refreshed.
That's brilliant and works perfect.
Thank you very much.
Here the working code:
public class
Hi,
I have seen that nested forms should be possible in Wicket 1.3, so i have
tried to use it in one of my projects, but for some reason when submitting
the inner form, only the outer form submit method is run. The code looks
something like this:
In a WebPage class
MandatoryProductsForm
Could you file a bug in JIRA https://issues.apache.org/jira/browse/WICKET
Thanks,
Janne
On Jan 22, 2008, at 9:30 PM, ckuehne wrote:
If I put the autocomplete field on a panel that is added and replaced
dynamically via ajax it does not work in
Internet Explorer (tested with ver. 7) anymore.
I saw this in the the WicketBench eclipse plugin FAQ a while back:
Q: Debugging doesn't work right any more if the default editor is Wicket
Editor. While debugging the line of code that is executed by a thread is not
shown in the editor window anymore.
A: Yes, this is a known bug. It is not
http://www.thescripts.com/forum/thread95602.html
On 1/23/08, Steen Larsen [EMAIL PROTECTED] wrote:
Hi,
I have seen that nested forms should be possible in Wicket 1.3, so i have
tried to use it in one of my projects, but for some reason when submitting
the inner form, only the outer form
According to the javadoc for Form it is possible because the inner form gets
substituted with span tags. It says:
quote
Forms can be nested. You can put a form in another form. Since HTML doesn't
allow nested form tags, the inner forms will be rendered using the div
tag. You have to submit the
Where is the typical place to put the transaction boundry in a wicket app?
If I put it right at the front (servlet filter) then my pure UI components
might get bad state as they won't get rolled back with the database state.
If I put it between my UI components and facade to middle tier then my
You seem to have a button in your search phone.input
type=submit wicket:id=searchPhone/
The button's onSubmit method should be called.
-Matej
On Jan 23, 2008 3:38 PM, Steen Larsen [EMAIL PROTECTED] wrote:
According to the javadoc for Form it is possible because the inner form gets
Thanks. I found out the hard way - basically built my .metatdata from
scratch and did a diff. Anyway, I removed it as my editor and all is good.
For me though, it makes the WicketBench plugin useless.
OliZilla [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I saw this in the the
The button's onSubmit gets called, but not the form's onSubmit that the
button is a part of. That's what i can't figure out as the javadoc says it
should only submit the inner form.
/Steen
2008/1/23, Matej Knopp [EMAIL PROTECTED]:
You seem to have a button in your search phone.input
Hello guys,
I would like to prevent a page to be stored on the client side. How can
I set the Cache-Control headers?
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
First of all, congrats for such a nice tool, WWB has saved me lots of time in
one of my projects!
I know it would be more appropriate to post this at WWB's mailing list, but
I've sent an email 2 days ago but it seems it hasn't arrived there, so I'll
try here: I've upgraded to the latest releases
I guess I need to read more docs and codes to understand so never mind.
On Jan 22, 2008 7:09 PM, [EMAIL PROTECTED] wrote:
The point is the model should be first absorbed/consumed by listview,
and later provided to listitem.
according to whom is this the point?
-igor
Override the setHeaders method of your page.
Martijn
On 1/23/08, Sébastien Piller [EMAIL PROTECTED] wrote:
Hello guys,
I would like to prevent a page to be stored on the client side. How can
I set the Cache-Control headers?
Thanks!
heh, if its just a css reference then why have your component include
a default one at all? let the user style it however they like by
including their own css files.
-igor
On Jan 23, 2008 1:33 AM, Martijn Lindhout [EMAIL PROTECTED] wrote:
that makes sense.
2008/1/23, Eelco Hillenius [EMAIL
Okay, I stand corrected. We had this question come up on the Tapestry
users group and I don't believe Tapestry supports it (at least it
didn't). I guess I just assumed Wicket didn't either. There's
another reason for me to make the switch! :) I'm going to have to go
look into this. Sounds
you could also use a filter to wrap it. But id go with martijn's solution.
Hope youre not fidling with oracle webservr...
Martijn Dashorst wrote:
Override the setHeaders method of your page.
Martijn
On 1/23/08, Sébastien Piller [EMAIL PROTECTED] wrote:
Hello guys,
I would like to prevent
Igor,
We see the same problem for the URL below on IE 6 and 7. It works fine in
FF.
Thanks,
Julian
igor.vaynberg wrote:
seems to be working fine at http://wicketstuff.org/wicket13/upload/single
-igor
--
View this message in context:
Yes, the ordering changed a while back on the trunk (the change appeared in
1.0-rc2). It occurred due to a change in how actions are handled (hopefully
for the better). Anyway, you need to explicitly call out the actions and
properties in the beanprops props parameter (or @PropertyNames for
looks like IE doesnt let you submit the form if a bogus file location
is entered. not sure this is wicket specific...
-igor
On Jan 23, 2008 9:51 AM, JulianS [EMAIL PROTECTED] wrote:
Igor,
We see the same problem for the URL below on IE 6 and 7. It works fine in
FF.
Thanks,
Julian
1) when the page is opened the second time there will not be N
selects, next time please confirm that it is indeed the case before
posting to this list. it is not the case because when the page is
opened the second time the items in dataview are discarded and
recreated in the exact same manner as
and where is the error stack trace that tells you why it has failed?
-igor
On Jan 23, 2008 3:59 AM, James Carman [EMAIL PROTECTED] wrote:
What version of Tomcat are you running?
On 1/23/08, gbak1 [EMAIL PROTECTED] wrote:
Im a newbie and am having problems with the helloworld example.
On Jan 23, 2008 6:38 AM, Sam Hough [EMAIL PROTECTED] wrote:
Where is the typical place to put the transaction boundry in a wicket app?
wherever youd like, wicket apps are no different then other webapps in
this regard
If I put it right at the front (servlet filter) then my pure UI components
how do I reference such a CSS?
2008/1/23, Igor Vaynberg [EMAIL PROTECTED]:
heh, if its just a css reference then why have your component include
a default one at all? let the user style it however they like by
including their own css files.
-igor
On Jan 23, 2008 1:33 AM, Martijn Lindhout
is scripts/jQuery-1.2.2.min.js under context root?
what url do you hit to get ..? homepage?
-igor
On Jan 23, 2008 11:05 AM, Damian Penney [EMAIL PROTECTED] wrote:
In my html I have
link rel=javascript type=text/javascript
ref=scripts/jquery-1.2.2.min.js/
but Wicket is changing it
It is yes, I initially had it directly under the wicket(root) dir but
same thing.
wicket
scripts
jquery-1.2.2.min.js
WEB-INF
classes
Damian
Igor Vaynberg wrote:
is scripts/jQuery-1.2.2.min.js under context root?
what url do you hit to get ..? homepage?
-igor
On Jan 23, 2008
And yes, this is on the homepage http://localhost:8080/wicket/
Igor Vaynberg wrote:
is scripts/jQuery-1.2.2.min.js under context root?
what url do you hit to get ..? homepage?
-igor
On Jan 23, 2008 11:05 AM, Damian Penney [EMAIL PROTECTED] wrote:
In my html I have
link rel=javascript
In my html I have
link rel=javascript type=text/javascript
ref=scripts/jquery-1.2.2.min.js/
but Wicket is changing it to
link rel=javascript type=text/javascript
href=../scripts/jquery-1.2.2.min.js/
Any idea why this is happening?
sounds like a bug, please add a jira report with a quickstart
-igor
On Jan 23, 2008 11:16 AM, Damian Penney [EMAIL PROTECTED] wrote:
And yes, this is on the homepage http://localhost:8080/wicket/
Igor Vaynberg wrote:
is scripts/jQuery-1.2.2.min.js under context root?
what url do you
You should give us your sourceforge id (the name, not the number), and
if the original developers of wicketstuff-jquery (David Bernard and
Xavier Hanin) agree, you can commit (probably a good idea to chat with
with them first if they don't react on this thread).
Catching up a bit late on this
Hi all, I am having some problems dealing with PDFs.
1) I have DynamicWebResource (MyPdfDynamicWebResource) that overrides the
getResourceState() method as follows.
protected ResourceState getResourceState() {
return new ResourceState() {
protected byte[] myPDF;
James, I am using Tomcat 5.5.25
James Carman wrote:
What version of Tomcat are you running?
On 1/23/08, gbak1 [EMAIL PROTECTED] wrote:
Im a newbie and am having problems with the helloworld example.
I have created an ant script to create an application WAR and I can
deploy
this WAR
First of all dont do directly onresourcerequest in the on submit but
use the resourestreamrequesttarget or something like that.
If you want tro keep the current html you could submit to a new target window?
I guess you could also play with http headers so that the browser
knows what it get and
Hi all,
From my analysis it seems that the items which are visible in the current
page are the only ones in session.
If i have a pagesize of 10 objects and i have 1 users searching, it
would mean lot of data in session.
Thus I think I should use detachable models in pageable views.
I just
Hi Johan, thanks.
We are actually doing the target _blank.
I'm gonna check resourestreamrequesttarget out to see.
I have a small work arround for Firefox only (remember it works fine on IE,
and does not on Safari Firefox)
which is setting the header Content-Disposition with the
Hi it does the same behavior.
Opens the new Tab and displays an emtpy broken content with the title in the
tab being (application/pdf Object). This is unless I put the file name. So I
have the following code now (Testing it):
public void onSubmit() {
Resource cResource = new
Do not call respond() your self, set the requesttarget as the response
rt in the request cycle.
Dont know if that works but most of the time you need a name to
download it correctly. Are alle the content headers set ok?
On 1/23/08, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
Hi it
Hi All,
I was wondering if there's a better way to sort a list view. The use case is
that, I have a page that renders a listview, and I need to add a link that
sorts the list when clicked. My listView uses LoadableDetachableModel that
retrieves data using hibernate backend.
Any help will be
there are sortable grids examples in wicket-examples under repeaters.
wicketstuff.org/wicket13/repeater
-igor
On Jan 23, 2008 1:35 PM, Beyonder Unknown [EMAIL PROTECTED] wrote:
Hi All,
I was wondering if there's a better way to sort a list view. The use case is
that, I have a page that
Thanks Igor! I appreciate it.
Regards,
Wen Tong
--
The only constant in life is change.
- Original Message
From: Igor Vaynberg [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Wednesday, January 23, 2008 1:43:06 PM
Subject: Re: listView sorting question
there are sortable grids
Hey Dan, thanks for the help. I found out what's going on, I was
declaring all the actions in the actions bean property, and that somehow
affected the ordering. After I removed all but the actions which should
not appear (those with a minus before the action name), it worked fine!
Thanks again!
Thanks Igor,
Where is the typical place to put the transaction boundry in a wicket
app?
wherever youd like, wicket apps are no different then other webapps in
this regard
Isn't Wicket a bit different in that it has more server state? So I need to
take more care at least in comparison to struts
gbak1 wrote:
Im a newbie and am having problems with the helloworld example.
I have created an ant script to create an application WAR and I can deploy
this WAR to tomcat (running on fedora7).
After deploy, Tomcat fails to start the application and displays the
following message: FAIL -
Wouldn't the former approach have more overahead since it would first load
the Contact (when the getmodelobject() is called) and than the deletion
operation..
The later one atleast just does the deletion in one call though based on its
primary key..
igor.vaynberg wrote:
1) when the page is
On Jan 23, 2008 6:32 PM, mfs [EMAIL PROTECTED] wrote:
Wouldn't the former approach have more overahead since it would first load
the Contact (when the getmodelobject() is called) and than the deletion
operation..
The later one atleast just does the deletion in one call though based on its
On Jan 23, 2008 5:03 PM, Sam Hough [EMAIL PROTECTED] wrote:
Thanks Igor,
Where is the typical place to put the transaction boundry in a wicket
app?
wherever youd like, wicket apps are no different then other webapps in
this regard
Isn't Wicket a bit different in that it has more server
At our company we've been using wicket and ExtJS (1.1) quite successfully for
a while now. Here are the components we have working:
- Accordion - Using a RefreshingView to populate the accordion, rendered by
Ext in the browser
- BorderLayout (really doesn't tie to Wicket, we just made a page
Hi All,
I was wondering if there's a way to implement a progress component in wicket?
The scenario is when I click a button it takes a while to process everything
and reload some panels in the page. I'm thinking of displaying progress dots
or something similar to tell the user that its
Hi
Could you explain a little more about how you do?
Do you just use the look and feel when using form compoents, or have are
you also using the FormPanel?
I have tried to convert FormPanel but with very little success :-(
/Flemming
On Jan 24, 2008 6:24 AM, MattClark [EMAIL PROTECTED] wrote:
I think you are looking for IndicatingAjax** components from the Wicket
Extensions package.
Martijn
On 1/24/08, Beyonder Unknown [EMAIL PROTECTED] wrote:
Hi All,
I was wondering if there's a way to implement a progress component in
wicket? The scenario is when I click a button it takes a
You could'nt provide the base structure, just so I have a starting point
on this..? Havent build a archetype before..
regards..
Gerolf Seitz wrote:
you're right.
maybe extend the default wicket-quickstart archetype with a java5 version.
let's create some kind of archetype vault :)
it might
Something like this may work for your DynamicWebResource:
@Override
protected void setHeaders(WebResponse response) {
super.setHeaders(response);
String name = getFileName();
if (name != null) {
response.setHeader(Content-Disposition,
Great idea...
Igor Vaynberg wrote:
see source to our quickstart archetype, its in our svn under
wicket-archetypes/quickstart
-igor
On Jan 23, 2008 11:34 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
You could'nt provide the base structure, just so I have a starting
78 matches
Mail list logo