Session could provide that too? Cool:)
Maurice Marrink wrote:
Or Session. Session.getAuthorizationStrategy().
Maurice
On Tue, Apr 1, 2008 at 8:51 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
It's your webapplication that takes the ISecurityStrategy..
public class
Hello,
when i click submit using IndicatingAjaxButton,it captures the current page?
is this possible?
Thanks a lot..Cheers
igor.vaynberg wrote:
just keep a reference to it, thats all you need
-igor
On Tue, Apr 1, 2008 at 6:32 PM, freak182 [EMAIL PROTECTED] wrote:
Hello,
1. My
That looks like an excellent API. Would it be very hard to implement this?
Personally I am also looking for something like this, but then
bookmarkable. I got some suggestions on how to do this with the current
APIs, but I did not like them at all. So now I am using a servlet.
Regards,
it is trivial to implement and can be pretty much factored out of downloadlink.
-igor
On Tue, Apr 1, 2008 at 11:35 PM, Erik van Oosten [EMAIL PROTECTED] wrote:
That looks like an excellent API. Would it be very hard to implement this?
Personally I am also looking for something like this,
Yep that way you can switch between an application scoped strategy
(like wicket-auth-roles) and a session scoped strategy (like swarm)
Anyway the default is for the session to ask the application to return
the strategy.
On Wed, Apr 2, 2008 at 8:18 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL
Hello Wicket people,
I have a user registration page with a couple of dropdown lists on it.
Elements of those lists are alphabetically sorted.
Also, there's a language selector on each page of the application, so
there's also one on the registration page.
The problem is, when user changes
Ahh, I need to look into swarm.
Currently im using my own homebrewn solution, auth roles was almost
okay, but were missing the ability to use enums in it's annotations:/
And swarm seems to be a bit overcomplicated if I just need some base
authentication + maybe some component auth, please
stream = class AbstractResourceStreamWriter()
{
public void write(OutputStream output)
{
// do youre writing
}
}
getRequestCycle().setRequestTarget(new
ResourceStreamRequestTarget(stream).setFileName(file.xls));
johan
On Tue, Apr 1, 2008 at 9:31 AM, [EMAIL PROTECTED] wrote:
Hello:
I am
That is exactly what I am looking for. Perhaps someone could show a sample
of implementation or even better to make it in the release?
Sorry if there was any misunderstanding of my question but this is something
Wicket should excel against other frameworks.
That looks like an excellent API.
Never mind. I just saw and tested Johan Campagner's posted solution and it
resolves
all issues. This is why I like Wicket and its developers.
That is exactly what I am looking for. Perhaps someone could show a sample
of implementation or even better to make it in the release?
Sorry if there was
We are not doing any stress load. Just a few normal users and there is
absolutly no load on the server. Besides this problem everything works.
I can also see the problem late in the evening, when I am the only user
on the server.
We are not using filters but the WicketServlets and they are
well, I wanne insert a data-item with some files to update, and record the
filePath in the data-item.
the form is like that:
(following is a form)
field1: title
field2: content
field3: update files path -- update button --(here wanne a update form)
submit button
well I find wicket not
Writing inline..
Niels Bo wrote:
We are not doing any stress load. Just a few normal users and there is
absolutly no load on the server. Besides this problem everything works.
I can also see the problem late in the evening, when I am the only user
on the server.
I know, but stressing the
Hi,
How do i wrap list to this model.
As i construct this ListView component, pass the DTO list wrapped in a
model
add(new ListView(id, new Model(listData))){
..
}
This is not helping as the component is rendered nothing shows up. I think
i'm missing something.
Do i
Well my view is a bit biased :)
swarm aims to be easy to use and flexible but i admit it can look a
bit intimidating at first.
But don't take my word for it, ask some of the other people that
actually use swarm what they think of it. There is a number of them
floating around on the mailing list.
laiqinyi wrote:
well, I wanne insert a data-item with some files to update, and record the
filePath in the data-item.
the form is like that:
(following is a form)
field1: title
field2: content
field3: update files path -- update button --(here wanne a update form)
submit button
Thanks for quick reply, Nino.
No, I'm not using ajax so far.
Let me describe a bit more: there's a registration page, which has a
RegisterForm. Also, the page has an OptionsPanel unrelated to the
RegisterForm with a language selector DDC. That DDC is bound to Session's
language property via
You should not set a list directly on your dropdown but load it using
for example a loadabledetachable model, that way your getCountriesList
method is executed every time the component is rendered.
Maurice
On Wed, Apr 2, 2008 at 10:12 AM, Sergey Podatelev
[EMAIL PROTECTED] wrote:
Thanks for
waiting for approval as well
On Mon, Mar 31, 2008 at 5:37 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Right:) Im not familiar with linkedin:)
This is the group invitation url, I believe..
http://www.linkedin.com/e/gis/80181/73AB8A016DFF
Ryan Sonnek wrote:
url?
Hi,
First, I have a question : is it possible to use MultiFileUploadField,
UploadProgressBar together?or UploadProgressBar is only for simpleUpload?
Secondly, I have a problem to use MultiFileUploadField (I adapt the example
http://wicketstuff.org/wicket13/upload/multi). For the moment, I can
Thanks Maurice, that reduced my code to two lines :).
On Wed, Apr 2, 2008 at 12:19 PM, Maurice Marrink [EMAIL PROTECTED] wrote:
You should not set a list directly on your dropdown but load it using
for example a loadabledetachable model.
Maurice
--
sp
On Wed, Apr 2, 2008 at 11:15 AM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
from JPA experience, eager loading of List of Entities is part of what hogs
memory. I have profiles an application before that the memory usage just
kept growing each time my page reference a particular entity that
Annotations are planned for swarm 1.4 (should come out shortly after
wicket 1.4) .
Maurice
On Wed, Apr 2, 2008 at 11:14 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Maurice Marrink wrote:
Well my view is a bit biased :)
I know..:)
swarm aims to be easy to
I cant wait:) Say if you need some help with them.. I've dabbled a
little with it in the JPA-translator project.
So i'll wait upgrading my app until then..
Maurice Marrink wrote:
Annotations are planned for swarm 1.4 (should come out shortly after
wicket 1.4) .
Maurice
On Wed, Apr 2, 2008
Are you really sure that your detachablemodels are being used all over?
Java Programmer wrote:
On Wed, Apr 2, 2008 at 11:15 AM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
from JPA experience, eager loading of List of Entities is part of what hogs
memory. I have profiles an application
I think th serialize exceptions do have everything to do with that..
If you get those then the backbutton (and versioning of pages) will not work
and you will get those not found exceptions
If you want to reproduce that, start using browser back buttons a lot with
lists and so on.
johan
On
from JPA experience, eager loading of List of Entities is part of what hogs
memory. I have profiles an application before that the memory usage just
kept growing each time my page reference a particular entity that eager
loads other collection of entities. As soon as I removed the eager load
Hello,
We have problem with serializing webpages - the user session files
growing rapidly (each request about 100KB), we don't know what we have
did wrong - system is based on examples from wicket.apache.org, so it
should work but this large files (10-20MB for some time, after many
request) slows
Maurice Marrink wrote:
Well my view is a bit biased :)
I know..:)
swarm aims to be easy to use and flexible but i admit it can look a
bit intimidating at first.
But don't take my word for it, ask some of the other people that
actually use swarm what they think of it. There is a number of
Further to this I've now checked the source and the DatePicker does
correctly pick up the date format from the DateTextField or, alternatively,
an overridden getDatePattern also works.
It seems to be going wrong when the date is sent from the DatePicker back to
the DateTextField via the onchange
My problem is fixed! :)
I search response for my question : is it possible to use
MultiFileUploadField, UploadProgressBar together?or UploadProgressBar is
only for simpleUpload?
--
View this message in context:
(Using wicket 1.3.2) I have a super class (WebPage) that throws a
AbortWithWebErrorCodeException(404) depending on some properties of its
subclasses. Therefore I can't check the subclasses' properties in the super
class' constructor and throw the exception there.
So I tried to throw it in the
We are now 54, and people keep on coming. Please bear in mind that I
cant check each 5 minutes, but will do it regularly each day...:)
Eyal Golan wrote:
waiting for approval as well
On Mon, Mar 31, 2008 at 5:37 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Right:) Im
On Wed, Apr 2, 2008 at 11:38 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
Are you really sure that your detachablemodels are being used all over?
We create it in CarPartDataProvider from my first post, next we create
DataView based on this provider we implement populate
And dada, I of course meant compoundpropertymodel.
Nino Saturnino Martinez Vazquez Wael wrote:
How large are the size of your list? Generally you use raw string
values instead of detachablemodels..'
I'd suggest doing it another way, by using a compoundmodel:
protected void
I'm little confused now about not using detachable model in places you
have marked - I have in first place to pull the object from item:
final CarPart carPart = (CarPart) item.getModelObject();
which is load() object correctly - i tested it by quickly putting:
@Override
How large are the size of your list? Generally you use raw string values
instead of detachablemodels..'
I'd suggest doing it another way, by using a compoundmodel:
protected void populateItem(Item item) {
final CarPart carPart = (CarPart) item.getModelObject();
And this way to wrap the detachablemodel:
item.setModel(new CompoundModel(item.getModel()));
Im a little quick on the trigger today..
Nino Saturnino Martinez Vazquez Wael wrote:
And dada, I of course meant compoundpropertymodel.
Nino Saturnino Martinez Vazquez Wael wrote:
How large are the
The schedule for tonight is as follows:
18:30 Start (and a slice Pizza if you're there in time)
Cemal Bayramoglu- Brief welcome, introduction and announcements
18:40 Ian Godman: Dojo and Wicket
19:30 Short break
19:40 Alastair Maw: Surprise topic (but I know what he's prepared, and I'm
looking
Nino Saturnino Martinez Vazquez Wael wrote:
Java Programmer wrote:
I'm little confused now about not using detachable model in places you
have marked - I have in first place to pull the object from item:
Yup thats right. But after that you use that CarPart object raw. When
you provide
I know this is not completely related. But here goes anyway.
I have an application with several different flows. If I switch from
extended to transaction, suddenly the values in my form aren't save to
the database(but they are saved in memory), I use spring to instantiate
entitymanager and
I have narrowed my code to:
protected void populateItem(Item item) {
final CarPart carPart = (CarPart) item.getModelObject();
item.setModelObject(new CompoundPropertyModel(carPart));
item.add(description = new MultiLineLabel(DESCRIPTION));
my 2 cents, don't know if this is your problem:
The transaction based entity manager only commits if the update of the data
is within a transaction. So you must wrap your update in a transaction
(you said you used Spring, so you can configure this in your Spring xml or
use the annotation based
It should be:
protected void populateItem(Item item)
{
item.setModelObject(new CompoundPropertyModel(item.getModel()));
.
}
Maurice
On Wed, Apr 2, 2008 at 1:23 PM, Java Programmer [EMAIL PROTECTED] wrote:
I have narrowed my code to:
protected void populateItem(Item item) {
item.setModel() I suppose?
On 4/2/08, Maurice Marrink [EMAIL PROTECTED] wrote:
It should be:
protected void populateItem(Item item)
{
item.setModelObject(new CompoundPropertyModel(item.getModel()));
.
}
Maurice
On Wed, Apr 2, 2008 at 1:23 PM, Java Programmer [EMAIL
Oh and just in case you were using your carpart object somewhere else
in onpopulate.
Never use final on your jpa objects, instead if you must you can use
final on the model (or the item if you are in a list view)
Right Martijn :) quick copy paste error :)
Maurice
On Wed, Apr 2, 2008 at 1:35 PM,
On 4/2/08, Maurice Marrink [EMAIL PROTECTED] wrote:
Right Martijn :) quick copy paste error :)
I hope the copy didn't come from our code
/me eyes his code base...
Martijn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Actually i copied it from my next big commit for wicket, which i'll
send now ;)
Oops i hope i did not forget to make that change.
Maurice
On Wed, Apr 2, 2008 at 1:45 PM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
On 4/2/08, Maurice Marrink [EMAIL PROTECTED] wrote:
Right Martijn :)
Any help apreciated...:)
These lines should take care of transaction wrapping right?:
From my spring xml:
bean id=txManager
class=org.springframework.orm.jpa.JpaTransactionManager
property name=entityManagerFactory
ref=entityManagerFactory /
/bean
After all the answers, I start to think that maybe my question was a bit wrong.
First I put all the hints you were provided into work eg:
item.setModel(new CompoundPropertyModel(item.getModelObject()));
item.add(description = new MultiLineLabel(DESCRIPTION));
but still have in session files
Hmm thinking over this again. I thought that after you persisted
something, JPA would handle it for you. So what you are saying are that
if I get a object from the persistance manager, and then update
something directly on the POJO i would then have to begin a transaction
and commit it?
So
so you got this sorted out right?
Steen Larsen wrote:
I'm also developing mainly on firefox, and have tried clearing the cache an
all, but no luck. My colleague tried it out with the same result and he had
never downloaded the new stylesheet before.
The html is the standard feedback panel:
You mean item.setModel(new CompoundPropertyModel(item.getModel()));, right? ;)
And no wicket does not keep string references, it uses models so it
won't have to. you are jut not using them correct.
Maurice
On Wed, Apr 2, 2008 at 1:58 PM, Java Programmer [EMAIL PROTECTED] wrote:
After all the
Thanks for your suggestions. It was a model problem, after all: after
I had written to the list, I observed that it wasn't that the first
update never happened, but that all updates happened one iteration too
late, i.e., user handles A - nothing happens, user handles B - A
disappears from the
Nino Saturnino Martinez Vazquez Wael wrote:
Eeek TDC(yousee), which robs me of a montly fee for television!
This might not be the rigth forum to ask CSS questions and is
sort of offtopic. But usually when something works in IE and
doesnt in firefox it means that IE breaks standard
http://cwiki.apache.org/WICKET/getting-user-confirmation.html
On Apr 1, 2008, at 9:54 PM, Pinger wrote:
I will look. However, if you could post a code example, you would be
my hero.
:)
freak182 wrote:
You need to extend AbstractBehavior of course and add some
javascript to
do the
that 10MB what kind of file is that?
that is the pm-x file?
That always grows to 10MB but that is not the session size
That is a file that holds the last X pages that it can hold in 10MB
so yes by default it will always grow to 10MB as more and more pages will be
added and then it will truncate
As I understand it, then your second email is correct. If you don't run the
getting and updating of your components in a transaction, your Entity gets
decoupled (JPA default behavior is to decouple the Entities outside of a
transaction), so it will not save any updates done outside of the
FYI: Reference blog post:
http://weblogs.java.net/blog/davidvc/archive/2007/04/jpa_and_rollbac.html
On Wed, Apr 2, 2008 at 3:55 PM, Meindert Deen [EMAIL PROTECTED] wrote:
As I understand it, then your second email is correct. If you don't run
the getting and updating of your components in a
thanks..
I think i'll continue on OpenJPA user forum
Meindert Deen wrote:
FYI: Reference blog post:
http://weblogs.java.net/blog/davidvc/archive/2007/04/jpa_and_rollbac.html
On Wed, Apr 2, 2008 at 3:55 PM, Meindert Deen [EMAIL PROTECTED] wrote:
As I understand it, then your second email
hi
has anyone ever heared of a OpenLayer Component for Wicket ?
cu uwe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think it is in wicket stuff
On 4/2/08, Uwe Schäfer [EMAIL PROTECTED] wrote:
hi
has anyone ever heared of a OpenLayer Component for Wicket ?
cu uwe
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional
Yup, I did it..:) Feedback are welcome:)
Martijn Dashorst wrote:
I think it is in wicket stuff
On 4/2/08, Uwe Schäfer [EMAIL PROTECTED] wrote:
hi
has anyone ever heared of a OpenLayer Component for Wicket ?
cu uwe
-
I'm using a BufferedWriter to change my .properties files dynamically, the
.properties files are updated well but the changes don't appear in my
wicket:message tag. Is there a possiblity to reload a .properties file?
--
View this message in context:
Thanks everyone.. just in case anyone wants it. this is what is did
public abstract class ConfirmAjaxButton extends IndicatingAjaxButton
{
private String message;
public ConfirmAjaxButton(String id, String message, Form form)
{
super(id,form);
this.message =
So did was anyone able to add it to the public repo?
Thanks
Matej Knopp-2 wrote:
I know it does. It seems to refuse only slovak IP :)
-Matej
On Mon, Mar 31, 2008 at 10:00 PM, Maurice Marrink [EMAIL PROTECTED]
wrote:
Server works fine for me. but unless it is for a wicketstuff
new model(listdata) is the same as a static reference. like i said,
read the models page because without understanding them you wont get
far.
basically you would have a loadabledetachablemodel that in its load
performs the search query based on user's criteria.
-igor
On Wed, Apr 2, 2008 at
do they reload properly if wicket is running in development mode?
-igor
On Wed, Apr 2, 2008 at 7:51 AM, unka_hahrry [EMAIL PROTECTED] wrote:
I'm using a BufferedWriter to change my .properties files dynamically, the
.properties files are updated well but the changes don't appear in my
i think you have to do something with the Localizer
overwrite this method:
/**
* Put the value into the cache and associate it with the cache key
*
* @param cacheKey
* @param string
*/
protected void putIntoCache(final String cacheKey, final String string)
{
with
Or search this list for a thread called refreshing page.
On Wed, Apr 2, 2008 at 4:44 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
new model(listdata) is the same as a static reference. like i said,
read the models page because without understanding them you wont get
far.
basically you would
Hi,
I was wondering if wicket supports page customisation at runtime per user.
For example, Changing the available theme/colors, applying a different
layout and being able to move content blocks (for example 2 panels) up/down
at runtime. (similar to myspace or other popular portals).
As I
Great!
So could you share your experience?
Am 02.04.2008 um 11:58 schrieb Fabien D.:
My problem is fixed! :)
I search response for my question : is it possible to use
MultiFileUploadField, UploadProgressBar together?or
UploadProgressBar is
only for simpleUpload?
--
View this message in
Hi together,
I want to store some user related information (something like last viewed
articles) in the session instance for this user. During one session I simply
store the information directly in the session. But when the session is being
invaldidated I want to persist the information in the
omfg, you guys COULD just use PropertyListView
-igor
On Wed, Apr 2, 2008 at 5:55 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
You mean item.setModel(new CompoundPropertyModel(item.getModel()));, right? ;)
And no wicket does not keep string references, it uses models so it
won't have to.
I am doing kind of the same thing in HttpSessionStore#onUnbind(String
sessionId), but I have to keep track of all the sessions. I have a use case
that requires me to log off everyone at once.
Hope this helps you.
-Original Message-
From: BatiB80 [mailto:[EMAIL PROTECTED]
Sent:
huh? hardly any logic for presenting? wicket is a ui framework, it
wouldnt be a good one if you couldnt present dynamic things...
anywho, there is support for all you want. your question is too
general to be answered, if you have a more specific usecase you want
to talk about feel free.
as far
just to be curious maybe we can meet up
(if we dont do that already of course in the Wicket meetup)
johan
I have the exactly same problem. Someone found the solution?
On Tue, Apr 1, 2008 at 6:09 PM, Johan Compagner [EMAIL PROTECTED]
wrote:
do you have a unit test or quickstart for this?
johan
On Tue, Apr 1, 2008 at 10:57 PM, Mark Lichtenberg [EMAIL PROTECTED]
wrote:
Hi,
We've been
Hi,
I am newbie to wicket. And I am just discovering all beautifel thing that
wicket provides to me.
I am trying to add to my pages some common look. At first i would like to add
to my pages some common header and footer. I am able to add to my pages some
static page by inserting code.
Simple scenario: I've got a hidden wicket field which I'm setting with
JavaScript to a value like this:
hiddenField.value = data.msg;
When I pop up a JS alert it seems the value is set.
However, back on the Java side I'm trying to log the field's value in my
onClose() method as part of a
if we have a quickstart for this we could look for the solution...
On Wed, Apr 2, 2008 at 8:26 PM, André Souza [EMAIL PROTECTED] wrote:
I have the exactly same problem. Someone found the solution?
On Tue, Apr 1, 2008 at 6:09 PM, Johan Compagner [EMAIL PROTECTED]
wrote:
do you have a unit
I do... since I have to give a presentation.
Martijn
On 4/2/08, Johan Compagner [EMAIL PROTECTED] wrote:
just to be curious maybe we can meet up
(if we dont do that already of course in the Wicket meetup)
johan
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.2
I don't have a reproduceable testcase because the architecture that I'm using
is a little bit different, it uses Wicket together with OSGi, running as an
Eclipse plugin.
I've noticed that this
java.io.StreamCorruptedExceptionStreamCorruptedException happens after a
java.lang.StackOverflowError.
that method is only called when you have page references inside your page
that is going to be (or was) serialized.
It holds the page info so that it can get it from the session also.
Maybe in here we have a cycle that we dont really catch
so Page A - Page B are both pointing to each other.
i am
Doesn't the code remember what it has already taken care of during
serialization? I seem to remember something like that in the code.
On Wed, Apr 2, 2008 at 3:34 PM, Johan Compagner [EMAIL PROTECTED] wrote:
that method is only called when you have page references inside your page
that is
yes very complex code but found it
PageSerializer also adds it to the used pages again..
On Wed, Apr 2, 2008 at 9:36 PM, James Carman [EMAIL PROTECTED]
wrote:
Doesn't the code remember what it has already taken care of during
serialization? I seem to remember something like that in the code.
I'm affraid we won't be able to help here without a testcase. We
already have a tests for this they pass, so it must be something we
didn't cover.
Also that reminds me, there's problem with wicket tester, the page
reference serialization test (don't remember the exact name now) is
not running
SPEED!
On 4/2/08, Matej Knopp [EMAIL PROTECTED] wrote:
I'm affraid we won't be able to help here without a testcase. We
already have a tests for this they pass, so it must be something we
didn't cover.
Also that reminds me, there's problem with wicket tester, the page
reference
On Wed, Apr 2, 2008 at 4:03 PM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
SPEED!
Can it use a special session store that serializes stuff in-memory
just to make sure the serialization is checked? Would that be fast
enough?
-
Hello,
I made a recaptcha panel for my site and I was wondering if I should share
it back with the community. It's just a Panel, its template and a dependent
jar. Should I just post the code here?
Hi,
It seems that this could be an OSGi related issue. We have the
similar problem in our applications.
You can look at the thread: Wicket + OSGI + Session (november 2007).
Then Sebastiaan gave me a tip that this can be ClassNotFoundException:
It's probably a ClassNotFoundException on
Anyone? Could use a pointer...
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 11:42 AM
To: users@wicket.apache.org
Subject: Setting wicket field component model via JavaScript
Simple scenario: I've got a hidden wicket field which I'm
I assume you have a form inside your modalwindow and update the value
serverside with an AjaxSubmit- Link or Button ?
Then you should be able to get the field's value using field.getModelObject().
Maurice
On Wed, Apr 2, 2008 at 11:22 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Anyone? Could
The workaround fixes everything. Thanks.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Al Maw
Sent: Tuesday, April 01, 2008 2:59 PM
To: users@wicket.apache.org
Subject: Re: continueToOriginalDestination resolves to wrong URL
My quickstart is not the
Still fiddling with that same problem. I set my outputmarkup and added
my field as a target. However, when trying to grab the model as a string
it's always empty.
Is there anything special I have to do when grabbing a field's value
inside an AjaxButton's onSubmit (which contains my
Right, I did try that but it's always null. I'm pretty sure I have the
model set properly:
String id;
add(new HiddenField(hidden, new Model(id)));
then there's the AjaxButton etc.
Not sure what's going on there, it seems very simple but something's
broken.
-Original Message-
From:
Could you show us the rest of the relevant code?
Maurice
On Thu, Apr 3, 2008 at 12:02 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
Right, I did try that but it's always null. I'm pretty sure I have the
model set properly:
String id;
add(new HiddenField(hidden, new Model(id)));
then
new PropertyModel(this, photoId)
On 4/2/08, Michael Mehrle [EMAIL PROTECTED] wrote:
Okay, here's the code - I changed the hidden field to a textfield, for
debugging...
private final class SubmitForm extends MyForm {
String photoId;
public SubmitForm(String id, IModel model)
Yeah, I tried that before and it didn't work. Anyway, I fixed it: Turns out
that the problem was in the HTML. I manually set the name tag (for JS reasons,
don't ask) like this: wicket:message=name=someName
Once I removed that it worked. Thanks for trying to help though.
Michael
-Original
victori_ provided this information on IRC and I just wanted to share it with
everyone else. Googlebot and others dont use cookies. This means when
they visit your site it adds ;jsessionid=code to the end of all your urls
they visit. When they re-visit it, they get a different code, consider
1 - 100 of 105 matches
Mail list logo