Please see WicketTester which is based on MockWebApplication and all
the junit test cases in src/test which use the same principle: create
the output as a string and compare it with the expected output which
is kept in a file.
Juergen
On 4/19/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
I would
Ok,
So I extended WicketTester, added a method to return the servlet output and I got the html mail to render correctly. However, the normal requestCycle seems to be corrupted after I do this:
in the logs:
2006-04-19 01:47:10,500 ERROR [STDERR] java.lang.NullPointerException
2006-04-19
ok, great!
I think I can wait for the next RC, as this app is still in
development, and I can remove (and later re-add) those = in the
database manually for now.
--
greetings from Berlin,
Rüdiger Schulz
Martijn Dashorst wrote on 19.04.2006 at 00:29:
In the next RC this problem will be
it is not just the =we use a different base64 set where + and / are - and _ so that urls can handle them.http://www.faqs.org/rfcs/rfc3548.htmlThe best thing to do is convert to SHA one way encryption for passwords.
johanOn 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
ok, great!I think I can
I don't have much time to look into your code. But there virtually
hundreds of unit tests which you just need to copy.
Juergen
On 4/19/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
Ok,
So I extended WicketTester, added a method to return the servlet output and
I got the html mail to render
My initial thoughts of the exceptions being related to the ThreadLocal nature of wicket.Application seem to hold true.
I solved this once and for all by using a subclass of WicketTester (for which I needed to add a getter for the generated source), and a new Thread to create the WicketTester
Johan Compagner wrote on 19.04.2006 at 12:11:
it is not just the =
we use a different base64 set where + and / are - and _ so that urls can
handle them.
http://www.faqs.org/rfcs/rfc3548.html
The best thing to do is convert to SHA one way encryption for passwords.
You're probably right
the problem with including this into a ui framework.. is that it doesn't really belong thereBecause encrypting strings and storing in the db is something of the businesslayer not a ui thing.johan
On 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
Johan Compagner wrote on 19.04.2006 at 12:11: it
Johan, may be you can create a little ICrypt implementation for that?
As it is one way, decrypt should probably throw an exception
Juergen
On 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
Johan Compagner wrote on 19.04.2006 at 12:11:
it is not just the =
we use a different base64 set
But how to use that? Because we only have 1 crypt instance/factory that could be usedfor crypting/decrypting stuff in wicket itself (like password or cookies)So there you can't just set one that works only one way.
johanOn 4/19/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Johan, may be you can
import java.io.UnsupportedEncodingException;import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;import wicket.util.crypt.ICrypt;public final class OneWayCrypt implements ICrypt
{ /** * One way encryption only, throws UnsupportedOperationException. * * @see
nato schrieb:
mime type: text/html
doctype: xhtml 1.0 transitional
script and style tags: enclose it within CDATA
With this setup that I've been doing for almost a year, I haven't had any
problems. My applications run even on the very sucking IE.
Dito.
But Wicket
prevents me from having a
nato schrieb:
it's a syntax error for javascript if the ![CDATA[ and ]] are not
commented.
No it isn't, at least not if you declare the document as XHTML.
TImo
---
Using Tomcat but need to do more? Need to support web services, security?
Hi Guys;
I have been working with the RC1 and I found it wonderful, today I
came across something that make me think about new thing to add to
wicket (unless it is there and I don't know)
The thing is, I want to create some Information sheet (I always do
;)), and I need to show info, and give
but you can do this yourself by creating a panel that swaps between a label and a textfield. i see no need for this to be part of the core textfield component, maybe a set of these swappable panels can go into extensions.
another alternative is to add a behavior that morphs the tag in
Hello list,
in a form I have a TextField for an email, simply like this:
final TextField email = new TextField(email);
email.add(EmailAddressPatternValidator.getInstance());
add(email);
In the properties for the enclosing page, I defined a message for
invalid emails:
Ali,
that's a nice idea. But I think it has some disadvantages: The TextInput
component would have to change the entire tag. So it would have to be
responsible not only for input tags, but for the static representation
as a span or div as well.
I am not a friend of putting that much
Still on the properties suffixes saga:
The process for determining suffixes 'null' and 'nullValid' seems to have
changed. Until 1.2b3, the loader would try to load the component name (without
the hierarchy) followed by 'null'. For instance, for my list component, named
site, that
Hey,
I have a suggestion for PageParameters. All those nice methods
getInt(), getBoolean() etc. should not throw an Exception, at least if
a default value is provided. I mean, that's the purpose of default
values, isn't it ;)
Currently I'm helping myself with letting
Where does the a come from?
Juergen
On 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
Hello list,
in a form I have a TextField for an email, simply like this:
final TextField email = new TextField(email);
email.add(EmailAddressPatternValidator.getInstance());
add(email);
In the
i think that is the component id. we fallback to it if label is not set i believe.-IgorOn 4/19/06, Juergen Donnerstag
[EMAIL PROTECTED] wrote:Where does the a come from?
JuergenOn 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello list, in a form I have a TextField for an email, simply like
It seems to be only looking for nullValid or {full hierarchy}.nullValid.
[]s Gus
DEBUG| wicket.resource.loader.AbstractStringResourceLoader - Try to load
resource from:
com.sagebrush.pinpoint.administration.source.BaseEditSourcePage:en_US; key:
nullValid
DEBUG|
I'm still unsure about that. I'm waiting to see where this thread goes.
Eelco
On 4/19/06, Johan Compagner [EMAIL PROTECTED] wrote:
are you going to commit this? And use the JavaScriptUtils class all over the
place to open an close those javascript tags?
johan
That particular text message came up in Firefox when I was running it on
the server. Running the app from another machine produces a similar
message (with a different URL).
Martijn Dashorst wrote:
The image
http://localhost/feeple/?path
I agree that this shouldn't be part of the core components. It
shouldn't be too hard to write your own components that do this though
(or as Igor suggested you might look into behaviors for this); that
would be a one-time undertaking for your whole project. Do a little
bit of extra work now, and
Is anyone using button shapes as hyperlinks like I am? I was coloring a
bit outside the lines when I wrote the code you see below. Tell me if
you are doing it differently. Maybe doing it another way will rid me of
my broken link problem.
kurt heston wrote:
That particular text message came
All,To keep our release cycle moving, I have created and uploaded a new RC release of 1.2, with several bugs fixed, and some additional localized messages as defaults. Keep them coming! Please submit your language file using the Java unicode format as used in the finnish and hungarian examples.
We
Could you please file a bug report/ feature request for that?
Eelco
On 4/19/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
Hey,
I have a suggestion for PageParameters. All those nice methods
getInt(), getBoolean() etc. should not throw an Exception, at least if
a default value is provided. I
don't know why it doesn't search the hierachy that is as far as i know not changedWhy we have 2 different things now because it was already 2 different things in the code baseBy default nullValid was and null was Choose One
And we couldn't distinguish between them at all but the are different.
do debug when you just ask for the link in the browser what you excactly are sending to the browser.isn't it by accident 0 bytes?johanOn 4/19/06,
kurt heston [EMAIL PROTECTED] wrote:
Is anyone using button shapes as hyperlinks like I am?I was coloring abit outside the lines when I wrote the code
I am developing a web based solution for a client that prefers to enter records into the system like it is done in Excel so that in a single click of Submit, several rows in the database can be updated at once.Now i want to build a multi dimensional array of Textfields that maps to multiple rows
int cols=5;
int rows=5;
final String[][] values=new String[rows][cols];form.add(new Loop(rows, rows) { populateitem(Item item) { final int row=item.getindex(); item.add(new Loop(cols, cols) {
populateitem(Item item) { final int col=item.getindex(); IModel model=new Model() { setobject(Component
Hi, Martijn
here is the simple chinese version for Application.properties !
Regards,
outersky
On 4/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
All,
To keep our release cycle moving, I have created and uploaded a new RC
release of 1.2, with several bugs fixed, and some additional
I added it. Xie xie!
Eelco
On 4/19/06, lu dongping [EMAIL PROTECTED] wrote:
Hi, Martijn
here is the simple chinese version for Application.properties !
Regards,
outersky
On 4/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
All,
To keep our release cycle moving, I have created and
haha, you know chinese ?
bu xie !
outersky
On 4/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
I added it. Xie xie!
Eelco
On 4/19/06, lu dongping [EMAIL PROTECTED] wrote:
Hi, Martijn
here is the simple chinese version for Application.properties !
Regards,
outersky
On
Little bit. I've worked in China for a few months (not IT). Kind of
got stuck at the speaking part :)
Is our forminput example still up-to-date btw?
Thanks,
Eelco
On 4/19/06, lu dongping [EMAIL PROTECTED] wrote:
haha, you know chinese ?
bu xie !
outersky
On 4/20/06, Eelco Hillenius
show offOn 4/19/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Little bit. I've worked in China for a few months (not IT). Kind ofgot stuck at the speaking part :)Is our forminput example still up-to-date btw?Thanks,EelcoOn 4/19/06, lu dongping
[EMAIL PROTECTED] wrote: haha, you know chinese ? bu
I'll check it this night.
On 4/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Little bit. I've worked in China for a few months (not IT). Kind of
got stuck at the speaking part :)
Is our forminput example still up-to-date btw?
Thanks,
Eelco
On 4/19/06, lu dongping [EMAIL PROTECTED]
On 4/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
show off
more?
---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM
As Jonathan observed yesterday, the Wicket project has entered the ranks of the SourceForge top 100 of most active projects. We are barely in the top 100 and today we moved up 9 places!Date (UTC) Rank20 Apr 2006 89
19 Apr 2006 N/D18 Apr 2006 98Martijn-- Wicket 1.2 is coming! Write Ajax
40 matches
Mail list logo