which version do you use?
at my place there are all commented out in the code
johan
On 5/23/07, Herman Bovens [EMAIL PROTECTED] wrote:
Hello,
I constantly get these messages in the console window:
ERROR [STDERR] SERIALIZING
SessionPageKey[11CD75D79578ECFFFD9EDDBBC5583ADE,4,0,0, null,
There is at least two solutions.
1. The ideea is to use script tag as a Label component and its modelObject
contains a generated script
http://www.nabble.com/Feedbackmessages%3A-extend-by-new-type-ALERT---tf3795933.html
see this post .
2. Use TextTemplateHeaderContributor for adding
Thanks for the reply. Can you please share your experience on the
customization magic with us. Some pointer would be of great help.
Nikhil
Scott Swank wrote:
Agreed. We've gone the complicated CSS magic route and it is a bit
involved, but I can vouch for the fact that it's an option.
Thanks for the suggestions but I don't like either of these solutions.
First one involving the use of the label is the hack to which I have already
referred. In my case I am extending DropDownChoice and it would be messy to
require a special label component to go with it. I want to use just the
OK, I was able to get to it using
http://svn.apache.org/repos/asf/incubator/wicket/trunk
However, there is a failure while running tests for 1.3. From what I
see seems like in
org.apache.wicket.request.target.coding.UrlMountingTest. Am I the only
one seeing this?
Thanks
Ravi.
Ravindra
Another way could be to create the javascript component and invoke it by
adding a onload behavior to your dropdown, this should work?
I've implemented a simple progress indicator this way, although I used
the onclick event.
regards Nino
Mark van Leeuwen wrote:
Thanks for the suggestions but
Unfortunately onload is available only for body / img /applet type tags, not
select.
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:wicket-user-
[EMAIL PROTECTED] On Behalf Of Nino Saturnino Martinez
Vazquez Wael
Sent: Wednesday, 23 May 2007 5:42 PM
To:
you could implement it as behavior and just add it to the dropdown...
have a look at my example. the javascript is composed and written in the
onRendered
method so its written out right after the component.
harald
example ---
import org.apache.wicket.Component;
import
While developing on the gmap component, a collegue of mine needed to
test it, unfortunately he had ff 1.5 and when moving around on the
gmap(thats where the ajax fires) the script got non responsive.
So I went ahead and checked the wicket examples they give errors aswell,
but does not end up
Thanks!
Martijn
On 5/23/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
On Tue, 22 May 2007, Martijn Dashorst wrote:
Could you file an issue with this please? It would be nice to make the
dtd work better.
Sure, here it is:
https://issues.apache.org/jira/browse/WICKET-587
- Timo
--
Ok I've tested below and it worked for me, so I have added a bug report +
patch:
https://issues.apache.org/jira/browse/WICKET-588
Wouter
On 5/21/07, Wouter de Vaal [EMAIL PROTECTED] wrote:
To summarize my problem:
Original call: /admin/editquote?id=13
Redirect url after login:
These are not branches but distinctions in types of projects: this way
we only have to specify the compiler version once.
All examples projects have been integrated into one project, and as
such needed to become JDK 1.5 (some projects such as auth-roles and
wicket-spring-annot are JDK 1.5 only).
Just to be safe, could you create a JIRA issue for this? Then it won't
go unnoticed.
Martijn
On 5/22/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
I've just upgraded my 1.3 beta 1 version to a personnally build
snapshot version based on revision xxx to fix a problem related to
Ajax and Page
Finally, It's working.
My applet looks lik
APPLET codebase=http://localhost:8080/projectName; CODE=ClassName
WIDTH=400 HEIGHT=450
/APPLET
Here Hardcoded values x_axis_value and y_axis_value is working fine.
Consider I have one text box with label Dates and
Consider I have one text box with
I must dissagree(on the part where you say that wicket are mostly used
in intranet apps), although not a wicket veteran yet(only been doing
wicket for around 1.5 years).
The two projects I've been involved in during this periode has both been
using wicket. Both projects being commercially and
On 5/23/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Just to be safe, could you create a JIRA issue for this? Then it won't
go unnoticed.
Done:
https://issues.apache.org/jira/browse/WICKET-589
Xavier
Martijn
On 5/22/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
I've just upgraded my
ahh, so you wish to use wicket to generate dynamic content for the applet?
Look at the howto include javascript thread, theres an example on howto
create a attribute modifier, im not sure howto communicate with your
applet though?
edward durai wrote:
Finally, It's working.
My applet looks
That is because there is little point in putting intranet applications
(or non-public facing applications) on the wiki: nobody can see the
applications or browse them.
/me reminds himself to create a video of some sorts for the application built.
Martijn
On 5/23/07, Nino Saturnino Martinez
Hi! I want to learn how to use tree extansion, but i didn't find any tutorial
about it just javadoc and example. May be it enough for taugh developers,
but it looks like a dark woods for me. Besides when I used source code from
example SimpleTreePage it didn't work with following error: Markup of
Thats why peeps should add a user story if the site are non
browsable(thats the part were you mention a video:).. But yeah I guess
you're right:)
Martijn Dashorst wrote:
That is because there is little point in putting intranet applications
(or non-public facing applications) on the wiki:
thx i will look at it today
On 5/23/07, Wouter de Vaal [EMAIL PROTECTED] wrote:
Ok I've tested below and it worked for me, so I have added a bug report +
patch:
https://issues.apache.org/jira/browse/WICKET-588
Wouter
On 5/21/07, Wouter de Vaal [EMAIL PROTECTED] wrote:
To summarize my
Hi, i would like to share our experiences of our wicket project. Our project
is a turism portal which has booking functionalities with different products
and tourism guides,contents etc. I want to draw your attention that
tourism guides,contents part! That would mean lots of wicket pages
Gerolf,
I don't think you can do that with onClick(). i verified it by
writing that in wicket code. It hit error
-/form]]/componentevaluate![CDATA[document.getElementById('paragraph').onClick();]]/evaluate/ajax-response
Can anybody give me an input as to how can I make this
Ok, now I think I found what was going on...
Previously I tought I resolved the thing by upgrading to latest 1.3, but it
was only sporadic behaviour..
I wrote my own TabbedPanel. Just because I needed that sometimes its ajax,
and sometimes not, based on a constructor boolean (and I wanted that
Thanks, that's interesting, I didn't realise that AbstractBehaviour could be
used for rendering into the html body.
I ended up overriding the DropDownChoice onRender method to get what I
wanted. In my case the script is so specific that there's little point in
creating a reusable behavior.
Ravi,
I'd be interested in hearing your out come of your evaluation. I'm in a
similar boat where my company is looking to move to a new UI framework,
their first choice or course is JSF and I'm pushing hard to go the wicket
route instead. If I can show them a website like yours and say that it
There are no errors. I did try setting the outputMarkupId to
true for the fragment. In the examples (and in my own code
with just the TextField), setting the container was sufficient.
Adding this to the Fragment had no effect.
Here is the Ajax output from the console:
INFO:
INFO: Initiating
I'm trying to create following page in Wicket:
http://www.syntevo.com/smartcvs/comparison.jsp
Generally, I want to keep the text (including the links to other pages in
it) in the HTML files for now. My problem is the creation of these tags
without adding a separate component for each one:
Hi,
I am a Wicket newbie and have the following problem/question:
I created a FileUploadField and a an ImageButton for uploading the
previously choosen File.
So whenever the user tries to upload a file the sever shall check if the
file already exists.
If it exists some kind of confirm dialog
Hi !
I have declared one applet file in display.html
display.html looks like
applet codebase=http://localhost:8080/project1; CODE=classname WIDTH=700
HEIGHT=350
/applet
Using this hard coded values, I can view the person name Martin in applet.
Consider I have one wicket button with text box
so whats in the fragment doesnt disappear? looking at the ajax code we
see an empty component comming up. I guess the ajax console is saying
exatly the same stuff when you do it for the textfield?
On 5/23/07, Flavius [EMAIL PROTECTED] wrote:
There are no errors. I did try setting the
Hey guys, When we try to use tiny mce for wicket 1.3 w/ weblogic we get
this error in our startup:
javax.servlet.ServletException:
org/apache/commons/collections/set/ListOrderedSet
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:532)
yeah, i'd be interested in this result too.
Scott Swank wrote:
Agreed. We've gone the complicated CSS magic route and it is a bit
involved, but I can vouch for the fact that it's an option. :)
On 5/18/07, Matej Knopp [EMAIL PROTECTED] wrote:
It is customizable, but you need a rather
Hi Edi,
I'm not entirely sure what you want, so maybe I am oversimplifying. I
did this using the object tag instead of the applet tag, but the logic
should be similar. The object tag takes a certain number of
Attributes. I created a WebMarkupContainer for object, and inside of
onComponentTag, used
1. subclass ModalWindow, with following in the constructor.
public YourModalWindow(String id)
{
super(id);
add(HeaderContributor.forCss(/style/cart_global.css));
super.setCssClassName(w_vegas);
}
2. have someone who
okay. i don't understand CSS either. ;-) but thanks!
Scott Swank wrote:
1. subclass ModalWindow, with following in the constructor.
public YourModalWindow(String id)
{
super(id);
add(HeaderContributor.forCss(/style/cart_global.css));
Hi,
I have problem displaying dynamic image using ajax. The problem is that the
image url became expired after the page has rendered. The page was loaded fine
it didn't triggered page expired.
Please check out my sample code below:
public class AjaxPage extends WebPage {
public
I have a need where a part of the page - say a panel contains
dynamically generated XML. I could provide a XSL to convert that to
html. How can I do this in Wicket?
-
This SF.net email is sponsored by DB2 Express
Download
hi,
I have just found that if a form contains an input type=text/ and
the corresponding pojo contains myForm.add(new TextAre(...)) then wicket
fails to load data into the form but it will correctly read the data
onSubmit.
is this a known bug it sure took me a long time to resolve it.
see XsltTransformerBehavior or XsltOutputTransformerContainer.
best,
jim
On 5/23/07, Ajanta Phatak [EMAIL PROTECTED] wrote:
I have a need where a part of the page - say a panel contains
dynamically generated XML. I could provide a XSL to convert that to
html. How can I do this in Wicket?
Are there any examples to help me with this?
Thanks!
James McLaughlin wrote:
see XsltTransformerBehavior or XsltOutputTransformerContainer.
best,
jim
On 5/23/07, Ajanta Phatak [EMAIL PROTECTED] wrote:
I have a need where a part of the page - say a panel contains
dynamically generated
The fragment contents appear fine.
When I change the value on the dropdown, I expect the
AjaxFormComponentUpdatingBehavior.onUpdate() to set
the visibility to false.
My dropdown has this added:
dropDown.add(new
AjaxFormComponentUpdatingBehavior(onchange)
Unfortunately no, but the javadoc is strong and the unit tests are clear :)
On 5/23/07, Ajanta Phatak [EMAIL PROTECTED] wrote:
Are there any examples to help me with this?
Thanks!
James McLaughlin wrote:
see XsltTransformerBehavior or XsltOutputTransformerContainer.
best,
jim
On
I tried to make the Menubar (from extensions 2.0) work for wicket 1.3.
I ran into trouble...
When searching for LoopItem and Loop I ran into this post, I thought may be
related to the same problem I have now..
The java component markup hierarchy doesn't match the template hierarchy:
It
Well, if I understood it right, then its quite easy:
you have a personalList where you add(Component c) to - you can replace
that by
addOrReplace(Component c) and if there is a Component with Tag foo there
then it will be replaced, else it will be put to it.
You can also use .remove(Component
can a span have other block elements?
try to make the span a div
johan
On 5/23/07, Flavius [EMAIL PROTECTED] wrote:
The fragment contents appear fine.
When I change the value on the dropdown, I expect the
AjaxFormComponentUpdatingBehavior.onUpdate() to set
the visibility to false.
My
i dont know from top of my head where this comes from:-relative_path_prefix4
but what i don't get is the
protected void populateItem(LoopItem item) {
method.
if something is visible you add components and if they are not you dont
that can't be fi the tags are in the markup they have to be in
Johan Compagner wrote:
which version do you use?
at my place there are all commented out in the code
I use wicket-1.3.0-incubating-SNAPSHOT.jar.
It was a few weeks old. I have downloaded the latest snapshot, and they're
gone.
--
View this message in context:
After a bit of mucking around, I essentially did just that--copy
NavigatorLabel's behavior, but with a PageableListView instead of a
DataTable. To do so I abandoned my separate first/last/total components in
favor of a simple constructed String: 1-10 of 100. The code looks
something like this:
Thanks for the input. I am just getting my feet wet with the platform and am
amazed at the underlying capabilities. My main concern is to make sure that
I come up to speed regarding best practices, etc. I will ping you again once
I have had a chance to digest your comments. I think I understand
On 5/18/07, mchack [EMAIL PROTECTED] wrote:
Thanks for the help. Makes sense. I am trying to come to grips with using
Wicket for a fairly large project and am trying to come up to speed as quick
as possible and at the same time try and figure out where I may get burned.
It is always good to
can applets read attributes from HTML DOM? if applets can read HTML DOM Tree
then Wicket and Applets should be able to communicate via AJAX. Wicket
updates DOM tree variables via AJAX and then Applets pick up the values for
internal use?
can this work
any?
On 5/23/07, Nino Saturnino Martinez
I'm looking for the best way to provide CSS branding for a logged in Client.
In other words a css will be added as a header contrib to a page based on
the Client object found in the session and search for a name like;
layout_[clientname].css.
Thanks
Craig
--
View this message in context:
Hi igor,
Thanks for posting that snippet. Took be some time to figure out the
matching html but it works and i've learnt some more about wicket and
models.
Note: in your example you use the js function
tsGetElementsByClassName. I was just wondering if that actually
exists, does wicket
Scott Swank wrote:
2. have someone who understands css (i.e. not me) put lots of thingies
in the above css file to override details of the css that ships with
ModalWindow. E.g.
background-image: url();
Now, I know you claim not to understand CSS, but I feel compelled to
point out
craigdd wrote:
I'm looking for the best way to provide CSS branding for a logged in Client.
In other words a css will be added as a header contrib to a page based on
the Client object found in the session and search for a name like;
layout_[clientname].css.
Errr, you just said what to do
Thanks Al,
I figured it was that easy, I guess sometimes you make something more
complicated that it really is.
-Craig
Al Maw wrote:
craigdd wrote:
I'm looking for the best way to provide CSS branding for a logged in
Client.
In other words a css will be added as a header contrib to a
I didn't think about that.
However, I changed the spans to divs and
still the same result. :-(
I put a new build out at the same urls.
Johan Compagner wrote:
can a span have other block elements?
try to make the span a div
johan
On 5/23/07, Flavius [EMAIL PROTECTED] wrote:
Btw, I am running wicket 1.2.6 on Tomcat 6.
Johan Compagner wrote:
can a span have other block elements?
try to make the span a div
johan
On 5/23/07, Flavius [EMAIL PROTECTED] wrote:
The fragment contents appear fine.
When I change the value on the dropdown, I expect the
On Wed, 23 May 2007, Lec wrote:
I don't think you can do that with onClick(). i verified it by
writing that in wicket code. It hit error
-/form]]/componentevaluate![CDATA[document.getElementById('paragraph').onClick();]]/evaluate/ajax-response
We're using onclick() like that without
Hi there! I'm realll getting confused..
I'm trying to create a table with the resultSet from a mysql database (I
tried DataView but gave up..too much for me) by using a ListView. The
problem is that I keep getting an ClassCastException: java.lang.String.
Wicket tells me this happens in the
61 matches
Mail list logo