On 9/6/06, Imran M Yousuf [EMAIL PROTECTED] wrote:
Hi dear Users,
I have a requirement that I need to cofigure the language encoding based on
the Request Header accept-charset. If this is not available than we have
our default charset.
It is already implemented The default is UTF-8 and can
Thanks Jurgern.Dear Users I am confirming my experience on this issue:When I load a Link, i.e. request header referrer is null I get the configure response without the Output stream being opened. So even if I set the output stream encoding from the filter it gets overriden and it writes in the
Wauw, that's really nice of you. I don't think it would require an entire dedicated machine, and the setup now is that nothing is run as root. It's entirely run as non root (except apache for proxying stuff :) So a normal user login an a existing server would be enough.
You can see stats for it
Checked the stats.
I don't think we need a big machine for this, and I don't think we need
a dedicated machine, as you say. This will make it easier for me to free
up resources. If the number of hits grows, we can upgrade as we go
along.
I'll see what I can dig up and get back to you asap.
Offering a server is really nice, but as mentioned before we (wicket)
have our own dedicated server, and I would like to see all this
wicket stuff collected to there, opposed to the current situation
where everything is distributed into half dozen different servers..
Janne
On 6.9.2006, at
+1 for wicket server. We should have a discussion on what we are going
to do with our current site.
Martijn
On 9/6/06, Janne Hietamäki [EMAIL PROTECTED] wrote:
Offering a server is really nice, but as mentioned before we (wicket)
have our own dedicated server, and I would like to see all this
Hi all,
wicket-ajax.js generates the following error on firefox 1.06:
Error: [Exception... Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getResponseHeader]
nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame ::
Hey DaveAs some of the other wicket devs has mentioned, Wicket has a dedicated machine and I also think it's best to keep it there. Also for future maintainance. But I would like to stress that I really appreciate your offer. And perhaps in near future it's not enough for Wicket with one dedicated
Really 1.0.6? Current version is 1.5.0.6, isn't it?
/Gwyn
On 06/09/06, Tomer Mevorach [EMAIL PROTECTED] wrote:
Hi all,
wicket-ajax.js generates the following error on firefox 1.06:
Error: [Exception... Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE)
Thanks all,
tha tworks great!
/peter
On 9/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
i would use different fragments
one fragment containing the dataview for the master list
and another for the detail
then when a link is clicked on the master list it replaces its fragment with
the
No prob.
Good luck!!
On Wed, 2006-09-06 at 09:57 +0200, Frank Bille wrote:
Hey Dave
As some of the other wicket devs has mentioned, Wicket has a dedicated
machine and I also think it's best to keep it there. Also for future
maintainance. But I would like to stress that I really
Hi,Iusing wicket to build a web-appln. I am using WSAD5.2 as the IDE. I have added wicket1.2.2.jar in the lib directory of my workspace.Whenever I try creating my own POJOForm by extending the class Form, I get a error as follows:"This Compilation Unit indirectly refers the missing type
No 1.4 is enough for wicket 1.x
When wicket 2.0 is released you'll need JDK 1.5
Dipu wrote:
HI Ananth,
I am not sure , but can you check the JDK version you are using. I think you
will need the JDK 1.5
Cheers
Dipu
- Original Message -
From: Ananth Prakash
To:
Wicket 2.0 will be JDK 1.5 and newer though.
Wicket 1.x (1.0, 1.1, 1.2, 1.3 etc) will remain 1.4 compatible.
Martijn
On 9/6/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
Wicket requires JDK 1.4 at the minimum, java.lang.CharSequence is part of 1.4.
Martijn
On 9/6/06, Dipu [EMAIL PROTECTED]
Wicket requires JDK 1.4 at the minimum, java.lang.CharSequence is part of 1.4.
Martijn
On 9/6/06, Dipu [EMAIL PROTECTED] wrote:
HI Ananth,
I am not sure , but can you check the JDK version you are using. I think you
will need the JDK 1.5
Cheers
Dipu
- Original Message -
From:
Igor Vaynberg wrote:
you are not doing anything wrong, its the gridview. we are still working
out how to make it work within 2.0. the problem is that gridview needs
to be able to switch parents of its items - something that we are still
unsure how to best implement in 2.0
OK that's cool.
Maybe this line: // Determine encoding final String encoding = application.getRequestCycleSettings().getResponseRequestEncoding();in configureResponseshould be transfered into its own protected overridable method:
protected String getEncoding(){ return
I just wonder about the place where in the DataTableExample (in wicket
examples) the alternating style for the table rows (tr class=even... and
tr class=odd.. has to be set? Or does this the DefaultDataTable class for
me. Or does it the SortableDataProvider? Or do I have to it on my own (as in
Well, with the DefaultDataTable, it overrides DataTable's newRowItem()
method in order to return an new OddEvenItem rather than a new Item.
The OddEvenItem overrides on ComponentTag in order to add the odd or
even class. Could you, however, have overridden one of these
yourself?
/Gwyn
On
thanks Igor!
without a form, how can I get the filter input?
have some sample codes?
can I move the filterform out of the table?
igor.vaynberg wrote:
filter toolbar was not meant to be embedded in another form because it
uses
a form of its own, so for right now i would say that
Dear all,
I have implemented a Page where I use the DefaultDataTable to display a
list of data. It is inspired by the Phonebook example and works perfect.
Now I have seen the cdapp example from wicket-contrib and I like the
mouse-over effect when I move the mouse over the table. How can I
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I wouldn't mind hosting qwicket on such a server either.
Martijn Dashorst wrote:
+1 for wicket server. We should have a discussion on what we are going
to do with our current site.
Martijn
On 9/6/06, Janne Hietamäki [EMAIL PROTECTED]
Title: Wicket-user Digest, Vol 4, Issue 34
In the Wicket 1.2 Examples I noticed
thatDefaultDataTablesets the odd/even attribute, and an
external.CSS file interpreted the attribute to color the rows. I
don't believe DataTable comes with any such row-coloring rules built in.
So if you're
It looks to be a combination of adding the CSS classes to your .css file
.litupRow {
}
.litupRowOver {
background-color: #66;
cursor: pointer;
}
and the JavaScript to set the class in the markup.
e.g. in SearchPage.html
tr wicket:id=results class=litupRow
you may remember that we lots of issues before we did that because
browsers behave differently. If someone would search the mail archive
for wicket, there were some links to articles which nicely described
the issues associated.
It is already implemented The default is UTF-8 and can be
i think that is a global default..He does want to set the encoding based on the current request.See my previous reply.johanOn 9/6/06,
Juergen Donnerstag [EMAIL PROTECTED] wrote:
you may remember that we lots of issues before we did that becausebrowsers behave differently. If someone would search
The combination won't work.
Try this for the even rows:
tr wicket:id=results class=even
onmouseover=this.className='litupRowOver';
onmouseout=this.className='even';
and for the odd rows:
tr wicket:id=results class=odd
The problem you've not addressed is how you set the different
'onmouseout' functions in the repeater... I expect it can be done by
extending the way that the OddEvenItem itself extends things, though.
What I was thinking about was if there'd be a way of putting in a
span or similar, such that the
but this is exactly what caused the problems as far as I remember. I'm
not a encodings expert, but does UTF-8 not support JIS characters?
Juergen
On 9/6/06, Johan Compagner [EMAIL PROTECTED] wrote:
i think that is a global default..
He does want to set the encoding based on the current
Thank you for your help!!
I did it that way now:
public class MyDataTable extends DefaultDataTable
{
public MyDataTable(String id, List columns, SortableDataProvider
dataProvider, int rowsPerPage)
{
super(id, columns, dataProvider, rowsPerPage);
}
that row has become needless, of course
//tag.put(class, (getIndex() % 2 == 0) ? CLASS_EVEN : CLASS_ODD);
/thomas
Thomas Küchenthal wrote:
Thank you for your help!!
I did it that way now:
public class MyDataTable extends DefaultDataTable
{
public MyDataTable(String id,
I don't know about this particular class, but in general, an
alternative is to use attribute modifiers:
protected Item newRowItem(String id, int index, IModel model) {
Item item = super.newRowItem(id, index, model);
item.add(new SimpleAttributeModifier(class, (index % 2 == 0) ?
even :
I was actually wondering if packaging the markup and the Page classes
in different jars would work. Something like:
myapp-wicket.jar:
com/myapp/MyApplication.class
com/myapp/MySession.class
com/myapp/page/Index.class
com/myapp/page/Login.class
myapp-store1-html.jar:
i looked into it yesterday, and it seems like quete a bit of reshuffling in the entire hierearchy will be needed to make this work unfortunately. some concepts like itemreusestrategies no longer map as elegantly as they used to due to the constructor refactor so i foresee a lot of work going into
noep, no sample code. just try taking the original toolbar and removing the form it creates - and pass one into the constructor instead.-IgorOn 9/6/06,
wq [EMAIL PROTECTED] wrote:
thanks Igor!without a form, how can I get the filter input?have some sample codes?can I move the filterform out of
in this case not. depending on itemreuse strategy a row item can be even or odd - thats why oncomponenttag polls the item's index attribute.-IgorOn 9/6/06,
Eelco Hillenius [EMAIL PROTECTED] wrote:
I don't know about this particular class, but in general, analternative is to use attribute
Well, with the DefaultDataTable, it overrides DataTable's newRowItem()
method in order to return an new OddEvenItem rather than a new Item.
The OddEvenItem overrides on ComponentTag in order to add the odd or
even class. Could you, however, have overridden one of these
yourself?
No, I don't
heh, i have never seen this error before. but just now i was using confluence - starred a page (which is done using their ajax stuff) - and bam got this error. how weird. i am using 1.5.0.6. i dont think this is a wicket related problem, it might be a bug in ffox. do you get this consistently?
Is it possible to programatically select a row in the new tree component? I think the old version had setSelected(final DefaultMutableTreeNode node).Steve
-
Using Tomcat but need to do more? Need to support web services,
sure it is. but you have to set it on tree state
(Tree#getTreeState()
- you'll find the method there.
-Matej
Steve Knight wrote:
Is it possible to programatically select a row in the new tree
component? I think the old version had setSelected(final
DefaultMutableTreeNode node).
Steve
what could cause problems then? It should work i think, He wants to look what thebrowser sent it under accept encoding and use that encoding if possibleelse use the normal default (utf-8)
On 9/6/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
but this is exactly what caused the problems as far as
see http://www.wicket-wiki.org.uk/wiki/index.php/Markup_encoding and
http://www.crazysquirrel.com/computing/general/form-encoding.jspx
Juergen
On 9/6/06, Johan Compagner [EMAIL PROTECTED] wrote:
what could cause problems then? It should work i think, He wants to look
what the
browser sent it
ahh ofcourse the problem is that the browser doesn't sent the encoding back to the serverin which it does sent the data.That is a problem yes. Because then you need to remember per session (== browser)what kind of encoding you did set. And use that again. (also in the
WicketServlet.doGet())But i
i use 1.2 beta1
On Mon, 28 Aug 2006 10:43:20 +0430, Martijn Dashorst
[EMAIL PROTECTED] wrote:
If you use trunk, then you need to provide the parent as well in the
constructor:
WebMarkupContainer html = new WebMarkupContainer(this, html);
where this is the page.
--
Using
I found out that the error happens only when I listen to the onload on BODY tag. Here is my quickstart to prove it:
Quick Start
Set the date without refreshing, and then click on the link to refresh the panel. The js console will go:
Error: too much recursion
Source File:
Hi all, Wicket provide very good page inheritance, and it's perfect for page layout.However, as far as I know, to apply layout to static, logicless page, we still need to create a blank page class:
public class MyStaticPage extends MyBaseLayoutPage { //does nothing}body wicket:extend
Actually I like this Page/Panel/Border class - markup enforcement
because it means there is no magic, it is a very simple rule, it is
very easy to understand. But this of course is my own opinion. If you
come up with an implemention which can be added to wicket-extension,
than it is fine by me.
47 matches
Mail list logo