It's ok, just wanted to verify if this was the current usage of the
name. Always easier to have a workaround than to ask for some big
change which probably does not benefit too many people ;)
(not using id as js validator works with name, but it can also
optionally work with embedded css
Thanks for both replies.
Oliver: setOutputMarkupPlaceholderTag() calls setOutputMarkupId().
Martijn: That explains a lot :)
Oliver Lieven wrote:
Hi,
what about using products.setOutputMarkupId(true) ?
regards,
Oliver
Martijn Dashorst wrote:
Is the products a repeater
Its working thank you so much.
Jeremy Thomerson wrote:
I haven't used the mechanism, but I believe that with all of your files
(html / properties / etc), you should just be able to add the locale
abbreviation to the end of the file to override the default content.
For instance, if you can
Ok. Its a good thing.. I didnt know it was the default setting. I guess i
should thank you because it exposed a classic issue seen when having SSL
accelerators proxying requests to port 80 . The redirect was redirecting
off https. I have fixed this by setting correct headers at the
well yeah, that would probably be too much.
i'd still wear it on campus though to spread the word ;)
Gerolf
On 10/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 10/22/07, Gerolf Seitz [EMAIL PROTECTED] wrote:
i was actually thinking about it too.
imagine you can spot wicket users on
Hi All,
How can I log to a file using log4j?!
--
View this message in context:
http://www.nabble.com/Logging-to-a-File-tf4682704.html#a13380693
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
How can I log to a file using log4j?!
documentation is found here: http://slf4j.org/
there's a wrapped implementation for log4j.
regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi there,
I'm writing a testcase but i don't know how to click in a type=button
input component.
If i have a input type=submit .. / component i can click on it using
something similar to:
FormTester form = tester.newFormTester(myformpath);
form.submit(mySubmitButtonId);
But using a input
What johan means is that you don't have to call getUser in the
onbeginrequest because your pages will already call getUser. hence the
user will be lazily loaded and possibly not on every request, just
when you need to. As opposed to calling getUser in the onbeginrequest
where it will be loaded
Hi Xavier,
first of all thank you for the effort you've done for the push-project. Up
to now it really provided the features I need for my app. But now I'm kind
of stuck. My problem is: I have two panels on one page. Both panel subscribe
themselves as ChannelListener for the same channel. But
How would I render the component and stick the contents into a label?
If possible, I would like to do something like the following...
String render() {
String markup = cache.get();
if (cacheExpired || markup == null) {
markup = render();
}
return markup;
}
I know there
You can call setRedirect(false) during the request in the onSubmit
handler, that should prevent wicket from redirecting in that
particular case.
-Matej
On 10/24/07, Chris Lintz [EMAIL PROTECTED] wrote:
Ok. Its a good thing.. I didnt know it was the default setting. I guess i
should thank
Hi,
I have the following problem:
In a DataTable I have AjaxEditableLabel-Entries, which can be empty (i.e. not
Null). I want to make them editable, but since there's nothing to click on, I
can't edit them.
Is there a way to handle this?
Best regards, --- Jan.
hm, i thought that in the case of an empty string or null the
AjaxEditableLabel displays ...
Gerolf
On 10/24/07, Jan Kriesten [EMAIL PROTECTED] wrote:
Hi,
I have the following problem:
In a DataTable I have AjaxEditableLabel-Entries, which can be empty (i.e.
not
Null). I want to make
hi gerolf,
hm, i thought that in the case of an empty string or null the
AjaxEditableLabel displays ...
no, it only displays that if null, not on empty strings.
best regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL
If youre using ajax call you should use
tester.executeAjaxEvent(componentPath, event)
-Nino
Emanuele Gesuato wrote:
Hi there,
I'm writing a testcase but i don't know how to click in a
type=button input component.
If i have a input type=submit .. / component i can click on it
using
of course, you're right.
imho, the defaultNullLabel should really be a defaultNullOrEmptyLabel.
Gerolf
On 10/24/07, Jan Kriesten [EMAIL PROTECTED] wrote:
hi gerolf,
hm, i thought that in the case of an empty string or null the
AjaxEditableLabel displays ...
no, it only displays that
Hi all,
I am trying to migrate my application to the latest version of wicket,
I have something like this, which works as expected in wicket 1.2.6
WebMarkupContainer logo = new WebMarkupContainer(ogo);
AttributeModifier am = new AttributeModifier(src, new Model(
Igor,
Regarding the stated problem:
As we know ,the formcomponent's getValue method returns value from the model
for the component when rendering if raw input is equal to no raw input
constant. So basically the problem is that component's model should
not be updated until the user submits the
Hi All,
I am getting this error often since I started using Wicket?! Any
idea what is the real cause for it?!
*type* Exception report
*message*
*description* _The server encountered an internal error () that
prevented it from fulfilling this request._
*exception*
Try increasing your PermGen:
-XX:PermSize=64m -XX:MaxPermSize=64m
The PermGen is not increased when you put parameters like -Xms and -Xmx.
These only manipulate the heap size (the total amount of Eden, Old and
Survivors).
This problem occurs in a development or deployment (production)
Thanks
Jan Kriesten wrote:
How can I log to a file using log4j?!
documentation is found here: http://slf4j.org/
there's a wrapped implementation for log4j.
regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL
Please ignore this question, that was bad me at work ( very very stupid
question )
On 10/24/07, Dipu Seminlal [EMAIL PROTECTED] wrote:
Hi all,
I am trying to migrate my application to the latest version of wicket,
I have something like this, which works as expected in wicket 1.2.6
Hi
How can make a AutoCompleteTextField react on the Enter button and submit
the form?
Как сделать чтобы AutoCompleteTextField делал submit формы только с Enter ?
--
View this message in context:
http://www.nabble.com/AutoCompleteTextField-tf4683992.html#a13384570
Sent from the Wicket - User
Hi All,
After submitting a form the input data will be persisted in the
database and the user will be directed to another page. How can I clear
the input data from the session?!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Well, you will have to deal with it. :)
Lots of re-deploys will increase the number of class objects in the PermGen.
You can increase with those parameters, but after 7823786 re-deploys you
will have to restart your application server :)
cheers
On 10/24/07, Suad AlShamsi [EMAIL PROTECTED]
Hi, my webapp works fine as long as I do not obfuscate the urls using
CryptedUrlWebRequestCodingStrategy.
When I use it, Ajax will not work. For instance when I want to update a
panel on my page,
the Ajax Response XML will be displayed instead
?xml version=1.0 encoding=UTF-8 ?
- ajax-response
+
Sorry I forgot to send some additional infos:
I use Wicket 1.3 Beta 4
The code looks like this
Radio r = new Radio(radioCompany, new Model( company.getCompanyid() ));
r.add(new AjaxEventBehavior(onclick){
protected void onEvent(AjaxRequestTarget target) {
final PartnerBasePage myPage =
Hi
I'm new to Wicket to this might be an ultra-dum question :)
I'm creating a wicket application that gets its data from an online
resource. The connection logic to that resource is in an external jar and
most of those classes don't implement Serializable. Fore ease of
explanation, let's call
FYI
http://www.nabble.com/Wicket-Beta4-and-Ajax-Links-tf4616750.html
On 10/24/07, marcus dickerhof [EMAIL PROTECTED] wrote:
Sorry I forgot to send some additional infos:
I use Wicket 1.3 Beta 4
The code looks like this
Radio r = new Radio(radioCompany, new Model( company.getCompanyid()
Thanks for the reply, but does apply to all ajax features?
I am not using an Ajax Link explicitly.I add an AjaxEventBehavior to a radio
component.
Do you know if there is going to be a bugfix in Beta 5?
Thanks!
2007/10/24, Swaroop Belur [EMAIL PROTECTED]:
FYI
Zdrasty
This is from beta4 (I BOLDED the important stuff):
case KEY_ENTER:
if(selected-1){
obj.value=getSelectedValue();
hideAutoComplete();
hidingAutocomplete=1;
} else if
i dont think this case warrants repainting the form component via
ajax when all you really have to do is write simple js that puts the
selected text into the textfield. that said, there are many ways to
skin the cat...
-igor
On 10/24/07, Swaroop Belur [EMAIL PROTECTED] wrote:
Igor,
Regarding
you are talking about the markup for an actual component? you store
that in the database?
in that case let your component implement imarkupcachekeyprovider that
generates different keys based on some timeout or whatever it is you
need.
-igor
On 10/24/07, Joe Toth [EMAIL PROTECTED] wrote:
How
Just looking out for some suggestion. I have a situation where on successfull
navigation of a wizard like interface I want to expire all my previous page.
Like I am going from Page 1 to Page 2 to Page 3 and last Page. The user
should not be allowed to use the browser back and navigate to any of
I came to a similar conclusion shortly before reading this.
So now I seem to be updating in the correct place, but I'm having
trouble getting the image component to swap out within the
onClose(AjaxRequestTarget pTarget)
Inside the ModalWindow, assuming I previously did a setOutputMarkupId
on the
Matej,
Thanks for your assistance! I put together a blog post on how I went
about it. Critique welcome:
http://jlawmi.blogspot.com/2007/10/modifying-wicket-ajax-javascript-output.html
PS: Next problem. If I have a ModalWindow open, how can I make it close
automatically when the DIV/IFrame
Hi,
I get the same Nullpointer when calling
SecurityContextHolder.getContext().getAuthentication().getAuthorities();
(getAuthentication returns null) when I do a _refresh_ on the page which is
displayed immediately after the login (and requires authorization), which
seems weird to me ... any
Hi,
I was using jquery validator plugin, and using wicket's
HeaderContributor.forJavascript to include my script file.
However, for IE, it was been recommended to append the attribute
charset=ISO-8859-1 to the script tag to enable it to work.
Is there a way (short of maybe subclassing
Hmm, or maybe even subclassing does not work as well digging into
the source, I might need to do my own custom renderHead to write that
out.
Of course, including it directly in the html might be a better idea
then... anyone got any thoughts?
On 25 Oct 2007, at 1:25 AM, kent lai
Allright, I solved it.
The error was the order of the filters in the web.xml. It is _very_
important to let the acegi filter run _before_ the wicket filter.
e.g.
!-- acegi checks every request --
filter-mapping
filter-nameAcegi HTTP Request Security Filter/filter-name
There's a Wicket / JasperReports library in SVN on SourceForget:
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-jasperreports/
Sean
On 10/23/07, mehdi b [EMAIL PROTECTED] wrote:
1.How can I create report in a wicket web application? Is there any solution
Hey,
Today I wanted to take a look at some of the Repeater View examples
wicketstuff offers [http://www.wicketstuff.org/wicket13/repeater/].
But it seems they all give a Internal Error except the top one. :(
Roy
-
To
Thanks for adding this to the wiki!
Regards,
Erik.
Michael Sparer schreef:
and _not_ vice versa. otherwise the wicket servlet looks for authorities
that haven't been set yet.
... always the easy and logical things waste my time ;-)
--
Erik van Oosten
http://2008.rubyenrails.nl/
you go to another page so the previous page is not in the session anymore
(wicket 1.3)
On 10/24/07, Suad AlShamsi [EMAIL PROTECTED] wrote:
Hi All,
After submitting a form the input data will be persisted in the
database and the user will be directed to another page. How can I clear
the
something wrong with the example data, got deleted or something
redeployed examples
johan
On 10/24/07, Roy van Rijn [EMAIL PROTECTED] wrote:
Hey,
Today I wanted to take a look at some of the Repeater View examples
wicketstuff offers [http://www.wicketstuff.org/wicket13/repeater/].
But it
you can't keep hard (must be transient) references to those resources
so you always should be able to look it up again. by, for example, some id
that isn't transient
johan
On 10/24/07, WicketKeeper [EMAIL PROTECTED] wrote:
Hi
I'm new to Wicket to this might be an ultra-dum question :)
Hi All,
I have two questions:
1.How can we set focus on a component for example a text field, specially when
the form is shown for the first time?
2. I need a table, which I show my data. There is a column which has an edit
link for every row, when I clicked on that link, the row goes in edit
mehdi b wrote:
_
Hi All,
I have two questions:
1.How can we set focus on a component for example a text field, specially when
the form is shown for the first time?
2. I need a table, which I show my data. There is a column which has an edit
link for every
Michael,
As I said I don't use the ChannelService myself, but I used to have similar
troubles with the PushService, which I think I finally fixed, but it wasn't
easy. Since the fix is in TimerChannelBehavior (which is used by both the
push and channel timer based implementation, it should work
another issue,
Button.onComponentTag states in its documentation tag:
* bNOTE/b. For a ttlt;buttongt;/tt the ttvalue/tt
* attribute is not rendered, markup needs to be added within the button
* to display the button's label.
* /p
however if i add markup the i18n is gone.
i
Hi all,
For validation purposes I've added a class exending AbstractValidator to
a TextField. Feedback is provided by adding a
FormComponentFeedbackIndicator to the TextField, triggered by a
AjaxFormValidatingBehavior.addToAllFormComponents(etc...
This whole thing works with beta 3 however
I've been able to get an AJAX tree up and running and I'm very happy
with how simple it was. My HTML is:
html
body
span wicket:id=myTree/span
/body
/html
and my Java is:
...
public TreePage() {
DefaultMutableTreeNode root = ...
TreeModel treeModel = new DefaultTreeModel(root);
In case anyone needs to do the same thing, I managed to do it the following
way:
[i know it's kinda sucky... there's probably a better way to do this, but at
least i get what i need]
class MyAjaxFallbackDefaultDataTable extends DataTable {
private static final long serialVersionUID
Not at a computer, but have you tried:
button.add(new SimpleAttributeModifier(value, getString(your.key));
Or
button.add(new SimpleAttributeModifier(value, new ResourceModel(your.key));
It may not be called ResourceModel - the name is escaping me right now.
Jeremy Thomerson
-- sent from a
Hi, unfortunately the Tree class is not able to grow horizontally,
neither it is possible for it to have a horizontal scrollbar. If you
need this features, you have to use the new LinkTree (or it's
superclass BaseTree) from wicket 1.3.
-Matej
On 10/24/07, David Struck [EMAIL PROTECTED] wrote:
No, there shouldn't be as far as I know. This might be a regression
though, could you file a jira issue and attach a quickstart that
demonstrates the problem? Thanks.
-Matej
On 10/24/07, Thies Edeling [EMAIL PROTECTED] wrote:
Hi all,
For validation purposes I've added a class exending
Hi, I'm at a new job that has a very ugly JSP presentation layer and I'm
really missing Wicket. I think I can make a solid case for moving to Wicket
except for the issue of hot deploy. On the development side, a server
restart takes about 2 minutes so they need the hot deploy of JSP code for
Why do you want to append the charset attribute? Why do you need it?
AFAIK if the charset is ommited the browser should use document
charset for the javascript as well. I don't understand the usecase
here.
-Matej
On 10/24/07, kent lai [EMAIL PROTECTED] wrote:
Hmm, or maybe even subclassing does
I believe this is already fixed in trunk, so it will also be part of beta 5.
-Matej
On 10/24/07, marcus dickerhof [EMAIL PROTECTED] wrote:
Thanks for the reply, but does apply to all ajax features?
I am not using an Ajax Link explicitly.I add an AjaxEventBehavior to a radio
component.
Do
I use extensions TreeTable and populating the all nodes is quite expensive.
So I would like to display initially only first level of the nodes and keep
the nodes with children collapsed. Only if they are getting expanded, I
would populate the children of the currently expanded node. I have hard
For those who may be interested in JavaServer Faces or alternatives
frameworks like Wicket, I posted in my blog my point-of-view about the
differences, and why JSF is not cool (today).
http://blog.brunoborges.com.br/2007/10/jsf-today-standards-versus-oss.html
Regards,
--
Bruno Borges
62 matches
Mail list logo