On Fri, May 23, 2008 at 6:50 PM, Uwe Schäfer <[EMAIL PROTECTED]> wrote:
> Maurice Marrink schrieb:
>
>> Yes that is exactly what wasp is for.
>
> cool, at least one thing i got right ;)
>
>> You can either extend WaspAuthorizationStrategy or
>> ClassAuthorizationStrategy. The latter provides a basi
Hello,
I've searched the archives and it seams I'm looking exactly for this :
https://issues.apache.org/jira/browse/WICKET-1368
Is there any workaround I could try?
Tks,
Cristi Manole
What value are you returning from the model? In CheckBox.java, I find this:
final String value = getValue();
if (value != null)
{
try
{
if (Strings.isTrue(value))
{
tag.put("checked", "checked");
Yes, that's fine as long as you're aware of the GenericLink
alternative, but if you're not, then when you auto-complete
L[i[n[k]]], if you use LinkGeneric, it'll show up whereas if
GenericLink, it won't.
/Gwyn
On Sat, May 24, 2008 at 9:51 PM, Matej Knopp <[EMAIL PROTECTED]> wrote:
> I don't buy t
On Sat, May 24, 2008 at 11:11 AM, Andrea Jahn <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
> No I think(hope) I got it. I've implemented an example based on my earlier
> created SecureLink example.
> There's a DataView. The items area Locations. For each item a delete link is
> created. Users with
+1
This seems to be the best option so far. It's confusing to see a bunch
of subclasses whose only purpose is to avoid generic type definitions. A
separate dependency makes sense. If anyone is that concerned with having
to define void generic types they can add the dependency.
-Original Messa
i am useing wicket 1.3.3
and try to follow the sample as below
HTML:
Java:
TextField dateField = new TextField("date", Date.class);
dateField.setRequired(true);
add(dateField);
DatePicker dp = new DatePicker("datePicker", dateField);
add(dp);
but it complain do
Hi,
As there was no complete overview of Wicket's i18n options (even Wicket
in Action only lists a few), I decided to write an article on it.
http://day-to-day-stuff.blogspot.com/2008/05/wicket-internationalization.html
Feedback is welcome!
Regards,
Erik.
--
Erik van Oosten
http://day-to
Have you tried using an on close handler to the window to do the redirect?
On Sun, May 25, 2008 at 5:32 AM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've searched the archives and it seams I'm looking exactly for this :
> https://issues.apache.org/jira/browse/WICKET-1368
>
> Is there
This is a fantastic site. Excellent work Erik. I will definitely link to
your site.
Thanks,
Eirik Rude
http://www.i18now.com
On Sun, May 25, 2008 at 9:09 AM, Erik van Oosten <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> As there was no complete overview of Wicket's i18n options (even Wicket in
> Actio
Great stuff !!
Thanks,
Should be put in Wiki.
On Sun, May 25, 2008 at 4:09 PM, Erik van Oosten <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> As there was no complete overview of Wicket's i18n options (even Wicket in
> Action only lists a few), I decided to write an article on it.
>
>
> http://day-to-day-
Eyal Golan schrieb:
Great stuff !!
Should be put in Wiki.
+1
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
yup. didn't work for me. did it work for you?
On Sun, May 25, 2008 at 4:10 PM, James Carman <[EMAIL PROTECTED]>
wrote:
> Have you tried using an on close handler to the window to do the redirect?
>
> On Sun, May 25, 2008 at 5:32 AM, Cristi Manole <[EMAIL PROTECTED]>
> wrote:
> > Hello,
> >
> > I
I think the problem is you can't go out of the ajax target with the
redirect. i'm sure i'm talking non-sense:)
anyways, what i did is implement the page i wanned to redirect to as a panel
and do the old replacewith stunt and replace the current panel (that creates
the modal) with the new panel. si
I got it to work for me. In my ajax button on my popup window
contents, I close the window. Then, in the on window close handler, I
do the redirect.
On Sun, May 25, 2008 at 10:19 AM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> I think the problem is you can't go out of the ajax target with the
>
i'll try that. tks!
Cristi Manole
On Sun, May 25, 2008 at 5:22 PM, James Carman <[EMAIL PROTECTED]>
wrote:
> I got it to work for me. In my ajax button on my popup window
> contents, I close the window. Then, in the on window close handler, I
> do the redirect.
>
> On Sun, May 25, 2008 at 10:1
I'm pretty sure it's not that difficult to look at the class hierarchy
given that Link would extend GenericLink. I don't think this justifies
the name, LinkGeneric just sounds too weird to me.
-Matej
On Sun, May 25, 2008 at 12:39 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> Yes, that's fine as lon
OK, I asked about this earlier, but maybe the question didn't make
sense.
Asking another, and perhaps better, way:
What problems do packaged resources address? I'm unsure as to why I
would encapsulate resources in the package, rather than using them as
I normally would via the WEB-INF tree
Matej Knopp-2 wrote:
>
> I don't buy the autocompletion as argument.
>
Yeah it is a bit crap.
--
View this message in context:
http://www.nabble.com/%28Class%3C--extends-Page%3C-%3E%3E%29--casting-troubles-tp17355847p17459443.html
Sent from the Wicket - User mailing list archive at Nabble.
instead of redirect you can just
target.appendjavascript("window.location='"+urlfor(mypage.class/mypage)+"';");
-igor
On Sun, May 25, 2008 at 6:10 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> Have you tried using an on close handler to the window to do the redirect?
>
> On Sun, May 25, 2008 at
On Sun, May 25, 2008 at 9:05 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
>
> What problems do packaged resources address?
they address encapsulation. suppose you want to use a 3rd party
component in your webapp...
in most other frameworks you would have to put the jar on the
classpath, than copy
+1
On Sun, May 25, 2008 at 6:44 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Great stuff !!
> Thanks,
> Should be put in Wiki.
>
>
> On Sun, May 25, 2008 at 4:09 PM, Erik van Oosten <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>>
>> As there was no complete overview of Wicket's i18n options (even Wicket i
nope, that does not work for sure. that's what i've been trying.
On Sun, May 25, 2008 at 7:34 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> instead of redirect you can just
>
>
> target.appendjavascript("window.location='"+urlfor(mypage.class/mypage)+"';");
>
> -igor
>
> On Sun, May 25, 2008 at
what does it do?
-igor
On Sun, May 25, 2008 at 9:58 AM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> nope, that does not work for sure. that's what i've been trying.
>
> On Sun, May 25, 2008 at 7:34 PM, Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
>
>> instead of redirect you can just
>>
>>
>> target
Eyal, Uwe, Scott,
I won't stop you!
Actually, when I was more then half way I realized that the wiki might
have been a better place for this. But by then, it was too late to
change the language and start over.
Regards,
Erik.
Scott Swank wrote:
+1
On Sun, May 25, 2008 at 6:44 AM, Eyal
I am trying to implement a custom WebRequestCodingStrategy. In the decode
methode, I would like to add some custom parameters in the RequestParameters
object that is returned. I can add whatever I want in
addBookmarkablePageParameters(..) - perfect. However, all of my parameters
are completly igno
it asks the user for the confirmation (like pressing F5 when the modal is
being displayed)
maybe i was not certain, it works but not straight fw.
On Sun, May 25, 2008 at 8:01 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> what does it do?
>
> -igor
>
> On Sun, May 25, 2008 at 9:58 AM, Cristi Man
where "certain" <=> "clear"
On Sun, May 25, 2008 at 8:19 PM, Cristi Manole <[EMAIL PROTECTED]>
wrote:
> it asks the user for the confirmation (like pressing F5 when the modal is
> being displayed)
>
> maybe i was not certain, it works but not straight fw.
>
>
> On Sun, May 25, 2008 at 8:01 PM, Ig
have you tried window.top.location instead of window.location?
never really tried to do this myself, just throwing out guesses
-igor
On Sun, May 25, 2008 at 10:19 AM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> where "certain" <=> "clear"
>
> On Sun, May 25, 2008 at 8:19 PM, Cristi Manole <[EMAIL
Try
dateField.add(new DatePicker());
I suspect you have a version mismatch -- using 1.2 examples for 1.3.3
Cheers,
Tim
On 25 May 2008, at 25/05/2008 1:54PM, shrimpywu wrote:
i am useing wicket 1.3.3
and try to follow the sample as below
HTML:
Java:
TextField dateField = new TextFi
Typically when using DataTables you let the IDataProvider use your
dao. to return an iterator over the objects (users in this case)
When you use SortableDataProvider You need to provide an ISortState.
SingleSortState is a very basic implementation of this, you could
build your own by wrapping a ma
An easy way would be to check them against the expected html output.
See for example WicketTestCase#assertResultPage
Maurice
On Fri, May 23, 2008 at 7:56 PM, Ryan O'Hara <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to test a component that is added to another component that is
> added to th
This sounds very strange.
If you disable a component the model value will still be rendered to
the html. disabled is used differently by different component
components, for example a disabled textfield will add a disabled
attribute to the html output but a disabled link will replace the tag
with a
no, but since James Carman said his solution works, i'm fine with that and
I'll use that.
+ i'm certain anything related to adding something the target won't work.
On Sun, May 25, 2008 at 8:31 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> have you tried window.top.location instead of window.loc
In the case of custom components there usually is a tight binding :)
Using JSR allows you to neatly package everything in a jar and
distribute your component.
Not saying that is the only thing you should use it for, its just one usecase.
Maurice
On Sun, May 25, 2008 at 2:09 AM, David Nedrow <[EM
You did the hard part. I'll put it in the wiki this weekend.
- Scott
On Sun, May 25, 2008 at 10:07 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Eyal, Uwe, Scott,
>
> I won't stop you!
>
> Actually, when I was more then half way I realized that the wiki might have
> been a better place for th
I'm trying to get a feel of how suitable swarm is for an application -
particularly how much support for what we need is handled by swarm/
wasp and how much we need to write ourselves.
swarm looks good, eg
http://wicketstuff.org/confluence/display/STUFFWIKI/Getting+started+with+Swarm
At the m
Excellent! I didn't even know about that new feature (nested tags
nested in wicket:message). Is that really only in 1.4?
Eelco
On Sun, May 25, 2008 at 6:09 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Hi,
>
> As there was no complete overview of Wicket's i18n options (even Wicket in
> Action
On Sun, May 25, 2008 at 8:40 PM, Tim Russell <[EMAIL PROTECTED]> wrote:
> I'm trying to get a feel of how suitable swarm is for an application -
> particularly how much support for what we need is handled by swarm/wasp and
> how much we need to write ourselves.
> swarm looks good, eg
> http://wicke
On May 25, 2008, at 12:42 PM, Igor Vaynberg wrote:
On Sun, May 25, 2008 at 9:05 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
What problems do packaged resources address?
they address encapsulation. suppose you want to use a 3rd party
component in your webapp...
in most other frameworks you
Eelco Hillenius wrote:
Excellent! I didn't even know about that new feature (nested tags
nested in wicket:message). Is that really only in 1.4?
Eelco
Its in the release notes! Actually, in my current project it is the
reason for switching to 1.4 But we're having fun with the generics as
wel
Could somebody please explain to me
wicketTester.getApplication().getHomePage() returns a class that is an
instance of my main Application class?
The reason that I ask, is that I have a test case that ends up calling the
constructor of the BookmarkablePageRequestTarget and it tries to check if
P
Hi,
I am currently evaluating Wicket for our next project and so far, Wicket has
met or exceeded all my expectations. A very good and intuitive framework!
However, for some time now, I am stuck with getting my test application to work
in multi-window mode. The use-case is quite standard: I have
seems like a bug. please create a jira ticket with the quickstart attached.
-igor
On Sun, May 25, 2008 at 1:14 PM, Jürgen Lind <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am currently evaluating Wicket for our next project and so far, Wicket has
> met or exceeded all my expectations. A very good and i
On 25 May 2008, at 25/05/2008 7:57PM, Maurice Marrink wrote:
You need to assign principals to subjects yourself in the
LoginContext, Swarm does not make any automatic assumptions for you.
Ok.
- can I set up two different ComponentPermissions for two instances
of the
same type of component
> Its in the release notes!
Yeah, I should've read those better.
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sun, May 25, 2008 at 1:58 PM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
>> Its in the release notes!
>
> Yeah, I should've read those better.
Though it surprises me that there would be anything other than
generics in 1.4. The deal was very explicitly to only add generics in
1.4, and (other) ne
Hello,
I have a page with a properties file associated with it and a panel with
another properties file.
When i display the panel on some page (with no properties), wicket works as
expected : it loads the properties from the properties file associated with
the panel.
But when I have a modal wind
correction :
instead of
But when I have a modal window displaying the panel on the page with an
associated properties file, the *properties of the modal* will override
those for the panel (obviously, those having the same name).
-> properties of the page containing the modal
On Mon, May 26, 2008
According to the code it returns a DummyHomePage which is most
definitely a Page.
Are you supplying WicketTester with an Application of your own?
What wicket version are you running?
Maurice
On Sun, May 25, 2008 at 10:00 PM, Izak Wessels <[EMAIL PROTECTED]> wrote:
>
> Could somebody please explai
Hello,
In the following piece of code, I have a DropDownChoice
instance which triggers specific actions (a page redirect)
whenever its state changes.
http://pastie.caboo.se/203169
Inside 'onSelectionChanged' method, I have to get
form's content a user may have provided;
namely 'number' and 'name
Thanks for your reply.
I found my error, you right that my client variable is error. Because my
configure facebook is wrong.
TH Lim wrote:
>
> Check why your client variable is null. I think the problem lies there.
>
>
> caoanhkiet wrote:
>>
>> Hi,
>> I have been following
>> http://cwiki.apa
Yes, it surprised me to.
I guess the best way out is to add this to 1.3 as well :)
Erik.
Eelco Hillenius wrote:
> Though it surprises me that there would be anything other than
> generics in 1.4. The deal was very explicitly to only add generics in
> 1.4, and (other) new features would go t
53 matches
Mail list logo