I dont care, because i cant do any thing with the ? The only thing it
enforces is that it must now be a generic class which is annoying. Not
to mention that in that area eclipse and javac accept different
things
So or we in wicket dont use any where and have supress warning
everywhere for tha
Why would you want to delete those jars? I am busy using them and the appear
to be working fine (for what I am using). Please can you explain what is
broken/why it would be better to use 1.3-SNAPSHOT? What do I lose by
reverting back to 1.3-SNAPSHOT? What is the latest version of Wicket that I
you can always generate a callback url using urlfor(interface) and
then pass that url to the gwt component. for example of this see how
Link generates a url that results in onLinkClicked() being invoked on
it.
-igor
On Tue, May 13, 2008 at 8:51 PM, Brill Pappin <[EMAIL PROTECTED]> wrote:
> Thank
> I have run into the same issue. I solved it with brute force by
> writing a regexp to capture all the inner classes from the Pattern
> class and inserting them into my terracotta config's dso section. It
> is not the most elegant solution but it will get you past this issue.
Why not just wri
I just now saw your post *just* before this one... Looks like we have a
magic bullet here :)
Thanks for you help!
- Brill Pappin
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 13, 2008 10:53 PM
To: users@wicket.apache.org
Subject: Re: Wicket play
Thanks, I'll try that.
What I did while waiting to see what others come up with is dump the servlet
session and see what the key was.
Messy (and error prone as I refactor) but worked in the short term.
Here it is from inside the GWT servlet in case anyone is interested:
private String getTokenFrom
((WebRequestCycle)RequestCycle.get()).getWebRequest().getHttpServletRequest().getSession()
should get you the raw http session.
-igor
On Tue, May 13, 2008 at 7:23 PM, Brill Pappin <[EMAIL PROTECTED]> wrote:
> Ok, I've read over several threads on Wicket+GWT and know that are several
> people us
On Tue, May 13, 2008 at 7:10 PM, Ritz123 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Whats the consistent way of getting HttpServletResponse from the
> RequestCycle?
((WebRequestCycle)RequestCycle.get()).getWebResponse().getHttpServletResponse();
> Why doesnt the Response class have abstract or de
Ok, I've read over several threads on Wicket+GWT and know that are several
people using the two together.
I've got a nice clean setup that is working all except for one minor detail.
The problem is that Wicket actually does the authentication and I store a
token in the sessionStore, however I nee
Richard,
I have run into the same issue. I solved it with brute force by
writing a regexp to capture all the inner classes from the Pattern
class and inserting them into my terracotta config's dso section. It
is not the most elegant solution but it will get you past this issue.
Good luck,
Ryan
Hi,
Whats the consistent way of getting HttpServletResponse from the
RequestCycle?
In one of my compoents, I have tried both
((WebResponse)Component.getResponse()).getHttpServletResponse()
and
((WebResponse)RequestCycle.get().getResponse()).getHttpServletResponse()
but both of them fail becaus
In 1.3 and up (so this won't work for 1.2):
You can use Session.get().getFeedbackMessages().clear() (or call clear
using a filter to just clear specific ones). Component specific
feedback messages are also temporarily stored in the session, so
you'll get those as well.
Btw, Session#getFeedbackMes
How do I reset the feedback panel from within an event handler? I tried
to set the feedback's model to null, but that throws an error:
org.apache.wicket.WicketRuntimeException: No get method defined for
class: class com.evite.event.model.Event expression: feedback
at
org.apache
> That's described in the migration document here:
I meant:
http://cwiki.apache.org/WICKET/migrate-13.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
That's described in the migration document here:
[quote]
Replacement for getBodyContainer
If you had code like this:
public void renderHead(HtmlHeaderContainer container) {
((WebPage) getPage()).getBodyContainer().addOnLoadModifier("foo();", null);
super.renderHead(container);
}
you sho
On Tue, May 13, 2008 at 5:28 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I can try that I suppose.
>
> The Javadoc for 1.2 seems to mention Component quite a lot though:
>
> http://wicket.sourceforge.net/apidocs/wicket/markup/html/IHeaderContributor.html
Right. I guess I just lost track of what w
> The reason I want to do this is that my pages are stateless, and I want to
> process the submitted form before all the components on the page are
> initialised, incase I need to load different data models, or redirect the
> request to another page, thus saving unnecessary database calls and
> co
I can try that I suppose.
The Javadoc for 1.2 seems to mention Component quite a lot though:
http://wicket.sourceforge.net/apidocs/wicket/markup/html/IHeaderContributor.html
On Tue, May 13, 2008 at 5:22 PM, Eelco Hillenius <[EMAIL PROTECTED]>
wrote:
> I'm not sure, but I think in 1.2 you can onl
I'm not sure, but I think in 1.2 you can only use this interface for
behaviors. Am I right Matej/ others? Nate, can you try adding what you
want as a behavior to the form?
Eelco
On Tue, May 13, 2008 at 4:33 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I'm using Wicket 1.2.
>
> I have a Form that im
I'm using Wicket 1.2.
I have a Form that implements IHeaderContributor. My intent is to use
renderHead(Response) to write some JavaScript to the response. The Form is
added to the Page. However, renderHead(...) on my Form is never called.
Am I using this interface incorrectly?
Thanks,
Nate
Hi,
Have a question about the reference document on wiki for "How to switch to
ssl mode (http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html),
why do SecureWebRequestCodingStrategy and even the custom RequestProcessors
throw away the query string and ?wicket: portion of the URL? Isnt th
"this" points to current wicket page. So wicket looks for "expiryDate" in the
wicket page. If you declare "expiryDate" within wicket page, you won't get
error message. Otherwise, as suggested by Mr Mean, instead of "this" you
should pass model which has getter/setters for "expiryDate".
Sanjeev
I have one last small problem with this topic which is that I don't see any
particularly elegant place to clear the hint text from this TextField when
the form is submitted.
I've considered adding JavaScript to the Form to implement the "onSubmit"
handler. I don't like this case because then Java
Ok, so i did some testing (and in the process found another bug,
unrelated to your issue :)), but i could not reproduce your permission
denied.
Here is my simple setup:
public class ContainerPage2 extends SecureWebPage
{
/**
* Construct.
*/
public ContainerPage2(
Johan Compagner wrote:
yes thats the reason
you are calling the method add with a generified component but that
container itself is not generified
i dont like this about generics expecially the onces like this:
add(MarkupContainer container)
then suddenly a none generified component cant be a
When you do new PropertyModel(this, "expiryDate"), this refers to your
page EditDiscountCode which does not have get/setExpiryDate. Instead
of this you should use the model you also pass to the form which
contains a DiscountCode.
Maurice
On Tue, May 13, 2008 at 11:13 PM, V. Jenks <[EMAIL PROTECTE
I don't know, would it? That's what I'm trying to figure out, the example is
very vague.
By that logic, I should name pass in "expiryDate" even though I've already
named the field that? I tried:
DateTextField expiryDate = new DateTextField(
"expiryDate",
new Pr
yeah i know just wanted to give an example
But Label == String is not the really the same thing as ListView == List..
Because for a Label getModelObject() doesnt have to be a String (it can be
anything)
but for ListView.getModelObject() does have to be a List..
This is also because our converter
have not thought it through. i was just pointing out another option.
in some sense a label shows a string like a listview shows a list.
that's all.
Johan Compagner wrote:
>
> cant i have a Label that has a Date as a object?
> That is resolved by the converter for display?
>
> johan
>
>
>
i already did the commit just yet..
i did make them all because i think people generally dont want to
generify them anyway (use the model object)
On Tue, May 13, 2008 at 9:48 PM, Stefan Simik <[EMAIL PROTECTED]>
wrote:
>
> please, and will be these classes later generified ?
> Or should I ma
please, and will be these classes later generified ?
Or should I make a RFE, or can I help anyway-for example attach a patch ?
I love your work and Wicket, so I do my best, to make it better ;)
Stefan Simik
Johan Compagner wrote:
>
> yes thats the reason
>
> you are calling the method a
>From a very quick look, won't your property model value of "date" will
mean it'll be doing a "getDate()" not "getExpiryDate()"?
/Gwyn
On Tue, May 13, 2008 at 8:38 PM, V. Jenks <[EMAIL PROTECTED]> wrote:
>
> Sorry, I'll clarify, was trying to be as condensed as possible.
> "EditDiscountCode" is
Sorry, I'll clarify, was trying to be as condensed as possible.
"EditDiscountCode" is the name of the page, which inherits WebPage.
The model object of the form, which is my "DiscountCode" entity, does have a
getter/setter for the expiryDate field, which is what I showed you in my
initial post.
yes thats the reason
you are calling the method add with a generified component but that
container itself is not generified
i dont like this about generics expecially the onces like this:
add(MarkupContainer container)
then suddenly a none generified component cant be added...
thats really stup
cant i have a Label that has a Date as a object?
That is resolved by the converter for display?
johan
On Tue, May 13, 2008 at 6:09 PM, Jonathan Locke <[EMAIL PROTECTED]>
wrote:
>
>
> well, unless this:
>
> public class Label extends WebComponent
>
> became:
>
> public class Label extends WebC
Assuming EditDiscountCode is a wicket component, given the new
PropertyModel(this, "date") You probably want to either use an object
that has a get/setDate (your model object) or add those methods to
your component.
Maurice
On Tue, May 13, 2008 at 9:04 PM, V. Jenks <[EMAIL PROTECTED]> wrote:
>
>
You could also see
http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite , at
some point Iolite will evolve into a little more sophisticated solution
than now but you should get some of the idea anyhow.
http://cwiki.apache.org/WICKET/blog-tutorial.html
David Nedrow wrote:
I have
I must be missing something obvious but I can't spot itI'm using a
DateTextField (Wicket 1.3.2) in my form like so:
Java:
DateTextField expiryDate = new DateTextField(
"expiryDate",
new PropertyModel(this, "date"),
new StyleDateConverter("S-", true));
On Tue, May 13, 2008 at 6:48 PM, Andrea Jahn <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've changed to the 1.3.1-SNAPSHOT version. Therefore I have only replaced
> the constructor PolicyFileHiveFactory() by
> PolicyFileHiveFactory(ActionFactory).
> The result was the same as with version 1.3.0 (r
You should have enough now
Frank
On Tue, May 13, 2008 at 7:57 PM, Martin Funk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> may someone please grant me some karma to manage my own build configuration?
>
> username: funkattack
> projects: wicket-contrib-gmap2, wicket-contrib-gmap2-examples
>
> mf
>
>
Hi,
may someone please grant me some karma to manage my own build configuration?
username: funkattack
projects: wicket-contrib-gmap2, wicket-contrib-gmap2-examples
mf
2008/5/5 Martijn Dashorst <[EMAIL PROTECTED]>:
> We have moved our build server to run on teamcity. Our previous
> software was
It really depends on your preferences. Either a databinder (using JPA
related classes directly in your UI code) or a DAO/ services based
approach will work.
Eelco
On Tue, May 13, 2008 at 8:29 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
> I have a data "driver" package built around JPA and an Enti
Hi,
I've changed to the 1.3.1-SNAPSHOT version. Therefore I have only replaced the
constructor PolicyFileHiveFactory() by PolicyFileHiveFactory(ActionFactory).
The result was the same as with version 1.3.0 (resultHiddenPanel not visible
and the same output in the logfile).
Then I changed t
well, unless this:
public class Label extends WebComponent
became:
public class Label extends WebComponent
not saying this is the right thing to do as it might break a lot of code,
but it would be more precise.
Johan Compagner wrote:
>
> the only thing i can quickly come up with is thi
I have one idea,
the reason of the warnigs is, that parent of AjaxPagingNavigator is
PagingNavigator,
which has parent Panel ---> that is not parameterized.
The same problem is with LoopItem, which extends the
WebMarkupContainer ---> that is not parameterized.
? could this be the reason ?
Mhmm, it is meaningful ;) I will know in future, thx
One of the last occuring warning is, when working with
MarkupContainer#add(...) or #addOrReplace(...) method.
Example: I have a simple AjaxPagingNavigator, to which I add a simple
ListView
--
There is no such thing as setSelected(true). You'll have work with a
model like:
new CheckBox("checkbox", new PropertyModel(yourModel, "checkboxSelected"));
in that case you can lookup your model like
yourModel.getCheckboxSelected(); (which you could do in your onUpdate())
You can select you
Hi,
I'll look at it as soon as I get some spare time. In the meanwhile,
can you try putting the modal window in a wicket form and see if that
helps?
-Matej
On Tue, May 13, 2008 at 5:23 PM, ChuckDeal <[EMAIL PROTECTED]> wrote:
>
> I am experiencing a javascript error when closing a ModalWindow t
Have you looked into using Spring's JPA support?
On Tue, May 13, 2008 at 11:29 AM, David Nedrow <[EMAIL PROTECTED]> wrote:
> I have a data "driver" package built around JPA and an Entity Manager
> Factory (javax.persistence.EntityManagerFactory). This is currently used by
> a couple of standalone
I have a data "driver" package built around JPA and an Entity Manager
Factory (javax.persistence.EntityManagerFactory). This is currently
used by a couple of standalone applications and works well.
What is the best way to leverage this package in the context of a
Wicket-based web applicatio
no String != T
and the super constructor wants to have T not String.
and i think you cant in that constructor ok T == String so String is valid..
i have no idea how to do that.
johan
On Tue, May 13, 2008 at 5:23 PM, Stefan Simik <[EMAIL PROTECTED]>
wrote:
>
> Uuf, great :) It works ! Thx.
>
I am experiencing a javascript error when closing a ModalWindow that
contains an inmethod-grid control. I am having trouble tracking where the
error originates. Could anyone offer some advice on how to begin
debugging an error with the ModalDialog?
This is a quickstart that shows the problem
Uuf, great :) It works ! Thx.
But, is not String something Serializable ?
I cannot understand where was the problem,
but I know, this is more about Java Generics, not about Wicket.
Johan Compagner wrote:
>
> the only thing i can quickly come up with is this
>
> public ExtendLabe
Hello Matej, all,
Ah, that is good to hear. The patch makes grid trunk in sync with
wicket-1.4-m1. There might be differences with wicket-1.4 trunk? In any
case, we could not build grid trunk with wicket-1.4-m1 when we retrieved
it (last Friday).
So please Matej, do not apply this patch on your r
the only thing i can quickly come up with is this
public ExtendLabel(String id, T string)
{
super(id, new Model(string));
}
On Tue, May 13, 2008 at 4:55 PM, Stefan Simik <[EMAIL PROTECTED]>
wrote:
>
> Thx Maurice, your are right. I was using Wicket 1.4M1.
>
Thx Maurice, your are right. I was using Wicket 1.4M1.
I checked out latest from trunk, and it OK. ;)
So another problematic compiler warning.
For example simple - subtype of Label, which has model type of anything
Serializable.
public class ExtendedLabel extends
Lab
Grid trunk is 1.4 of course. But it's kept in sync with 1.4 trunk. Why
would Your patch basically reverses that, why would I want to apply
it? :)
-Matej
On Tue, May 13, 2008 at 3:31 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> i guess Matej wil gladly apply it for you
> Except that Matej the
It is generified in trunk, but it might be possible that it was not
yet at the time of the 1.4-m1 release.
Maurice
On Tue, May 13, 2008 at 3:47 PM, Stefan Simik <[EMAIL PROTECTED]> wrote:
>
> Hi boys,
>
> I would like to ask something about wicket generics. I have a warning, that
> I don't kno
Hi boys,
I would like to ask something about wicket generics. I have a warning, that
I don't know, how to solve.
For example in such a line:
IModel model = new StringResourceModel( ... );
I have a warning, which I cannot remove:
i guess Matej wil gladly apply it for you
Except that Matej then has to branch... i what does he like that... :)
johan
On Tue, May 13, 2008 at 11:02 AM, Erik van Oosten <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> Inmethod Grid does not support Wicket 1.4 currently. Apply the attached
> patch (creat
the default config of tomcat already restarts the wicket example sessions
just fine for me
I havent changed 1 thing about that
On Tue, May 13, 2008 at 11:59 AM, ElSe <[EMAIL PROTECTED]> wrote:
>
> Do you mean tomcat logs? No I don't. Some *.ser files appear in the
> work\Catalina\localhost\ dir
Meaning either use the ComponentSecurityCheck or the snapshot version.
not that stuff about changing the policy file.
Mauirce
On Tue, May 13, 2008 at 3:21 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> Ah got it, must have been looking with my wrong glasses on earlier :)
> You are using versio
Ah got it, must have been looking with my wrong glasses on earlier :)
You are using version 1.3.0 that version of SecureContainerCheck only
checks the class of the container, hence the message about missing
permissions for SecureWebMarkupContainer.
permission ${ComponentPermission}
"xxx.yyy.zzz.fro
I've the same behavour describe
http://www.nabble.com/is-it-a-bug--(using-beta-4)-td13284326.html#a13321146
here .
I've solved my problem using:
mountBookmarkablePage("/home", getHomePage());
--
View this message in context:
http://www.nabble.com/Url-resolve...-tp17203548p17207838.html
Se
Hi everybody,
I need really your help.
In a form, from the bdd, I create checkgroups with checkgroupselectors.
This checkgroup works fine with the Check.
But a want to add a Checkbox with thanks to AjaxBehavior can select or
unselect all the checkgroup. But I don't succed.
This is t
Hi,
here the code again without the linebreaks:
Hive:
01 // pages allowed for all users
02 grant
03 {
04 permission ${ComponentPermission} "xxx.yyy.zzz.front.Login", "inherit,
render";
05 permission ${ComponentPermission} "xxx.yyy.zzz.front.Login", "enable";
06 permission ${ComponentPermissi
Hi,
I was wondering if anyone had any good suggestions or patterns on how to
process a form without using Form.onSubmit and model objects?
The reason I want to do this is that my pages are stateless, and I want to
process the submitted form before all the components on the page are
initialis
That actually looks to be correct behavoir.If your URL is
www.myserver.com/myapplication/ , then going to .. takes you to
www.mysesrver.com/myapplication (no trailing slash). Then going to
/css/styles.css takes you to www.myserver.com/myapplication/css/styles.css
Where is your CSS file stor
Hi,
I tried to create a "SecureWebMarkupContainer" (contains a DataView, Label,..),
which should be only visible for authorized users. But although the user has
the permission "APPL_ADMIN", he cannot see the "resultHiddenPanel".
Within the hive I used the wicket id "resultHiddenPanel" to iden
Have you tried surrounding that stylesheet link with a ?
On Tue, May 13, 2008 at 4:25 AM, danielepiras <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm developing an application that run on www.myserver.com/myapplication/
> In my Index.html page, I include a css:
>
>
> The problem is that wicket t
Thanks Frank,
1. ManagedItemDecorator is Serializable but without a no params constructor.
2. We are using development mode.
I'll try to change to production mode and see if we can put a
no-param-constructor.
Cheers ...
On Tue, May 13, 2008 at 12:26 PM, Frank van Lankvelt <
[EMAIL PROTECTED]> wr
Do you mean tomcat logs? No I don't. Some *.ser files appear in the
work\Catalina\localhost\ directory so session is serialized but
isn't restored.
Do I understand correctly that my assumption is correct and the wicket
session must be restored with the tomcat persistent manager? So there must
be
According to a conversation I had with Johan, only the last shown page
is kept in memory. Earlier versions are written to disk.
When using ajax, the page does not have to be actually written to disk
as you cannot reach the previous state by using the back button. When
using a BookmarkableLink, t
Hello,
Inmethod Grid does not support Wicket 1.4 currently. Apply the attached
patch (created by my colleague Job de Noo) to the trunk version to get
it running again.
Have fun,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
Index: grid-examples/src/test/java/com/inmethod/
First of all, thanks.
(most of) all the above I found out.
I mentioned "weird" because if that was the problem (Serialization or
invalid constructor), then the Expand link would have never worked. Am I
correct?
BUT, The exception happens only after I go to a BookmarkableLink.
It's not we didn't t
Hi,
I'm developing an application that run on www.myserver.com/myapplication/
In my Index.html page, I include a css:
The problem is that wicket transform href url and if I give a look to the
page source I find:
So the css is not found because is refer to www.myserver.com/css/style.css
and no
On 5/13/08, Eyal Golan <[EMAIL PROTECTED]> wrote:
> We have a weird exception in our system.
Not so weird when you read the exception trace. It is a dark art, but
worth the effort of learning.
> My team mates created a non standard DataView:
Uh oh... :)
So read this part:
> 2008-05-13 10:55
Hello all,
We have a weird exception in our system.
My team mates created a non standard DataView:
final DataView dataView = new DataView("rows", dataProvider)
{
protected void populateItem(final Item item)
{
final ManagedI
Hi Johan,
> AutoAdd can be done in the rendering. They are only there just then.
> And they will be removed by wicket after rendering.
Thanks Johan, those 2 lines explain it for me.
Could you add them to the javadoc of MarkupContainer?
Regards,
Erik.
Johan Compagner wrote:
> Hmm i am affra
79 matches
Mail list logo