Hi,
I have a mounted, bookmarkable page with a form in it.
My problem is that I want to keep state in the page. However, at every
request, the page is constructed anew and, obviously, I lose the state I'd
like to keep.
At the same time (and this mystifies me a little), form components seem to
On your component attach an AttributeAppender or AttributeModifier, set the
class attribute to be the name of your class. Done :)
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:05 AM
To: users@wicket.apache.org
Subject: Reading an attribute that is
Hello,
Suppose I have a CSS file that is used in our application (HeaderContributer
etc.)
In this file I have many classes.
Suppose I want to get an attribute that is in one of these classes.
Example:
In my CSS file I have:
...
.colored-table {
border: thin;
background-color: #BB
...
}
I
Steve Swinsburg-2 wrote:
On your component attach an AttributeAppender or AttributeModifier, set
the class attribute to be the name of your class. Done :)
Thanks Steve but this is not what I meant.
Adding a class as an attribute to a component is a pretty basic stuff.
What I want is,
What do you need it for? Why can't you just make another class with just the
attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is
Im at a loss then, the only other thing i could suggest is that you put the
code directly into the page, rather than in the domready event.
form
..form code..
script type=text/javascript !--/*--![CDATA[/*!--*/
Event.observe('peopleLocatorForm18', 'submit', function(event){
Event.stop(event);
I have the same sort of need in my application. I need to do an
overlay on an existing image using the same colors that are defined
in a CSS document. I guess I could dynamically generate the CSS, but
I have no idea how to go about that. :)
On Sun, Nov 16, 2008 at 7:02 AM, Swinsburg, Stephen
I see two options:
1-Generate the css out for of some other data you can easily use at Java
level (a velocity template maybe?)
2-Parse the CSS (e.g. with
http://cssparser.sourceforge.net/)http://cssparser.sourceforge.net/
http://www.w3.org/Style/CSS/SAC/
For a project I had to use approach 2
I was thinking about learning how to use TextTemplates to generate the
CSS. Is there any good reference out there?
On Sun, Nov 16, 2008 at 9:44 AM, Ernesto Reinaldo Barreiro
[EMAIL PROTECTED] wrote:
I see two options:
1-Generate the css out for of some other data you can easily use at Java
I don't know on the Wicket wiki... but when I have to use such things I
always look into the existing wicket code. A quick search on my IDE leads
me to this the class org.wicketstuff.yui.markup.html.slider.Slider where a
text template is used to populate the init.js file... Hope this helps...
Hi,
I'm running into an issue where my Wicket-based application will absolutely
not load in the shared hosting environment. I'm trying out GoDaddy's Java
Web hosting that uses Java 1.5 and Tomcat 5.0.27. I have this same setup on
my box and deploying my Wicket 1.3.4-based application works.
Hi,
Thanks for the reply. I did a quick check and would assume that Tomcat 5.0
supported 2.4 since the description on Apache's Web site says Apache Tomcat
5.5.x supports the same Servlet and JSP Specification versions as Apache
Tomcat 5.0.x., which happens to be Servlet 2.4 / JSP 2.0 (
Maybe I'm trying to do something silly. Is there an alternative?
Graeme Knight wrote:
Hi.
What's the best way of achieving this effect:
1) Button is pressed to start a process.
2) Updating of various panels contained within a WebMarkupContainer occurs
on a 5 second period.
3)
It was just a guess!
-Ursprüngliche Nachricht-
Von: moraleslos [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 16. November 2008 17:37
An: users@wicket.apache.org
Betreff: RE: Unable to load Wicket app in hosting provider
Hi,
Thanks for the reply. I did a quick check and would assume
BTW, I did test this on my box using Tomcat 5.0.27 with that same v2.4
deployment descriptor and the wicket filters and it worked fine. Not sure
if one can enforce Tomcat 5.0.27 to use 2.3 instead of 2.4.
-los
--
View this message in context:
sounds like a rights problem on godaddy's part. Either they need to do
some tweaking of their apache side (I assume they have apache httpd
running in front of tomcat) or something else is fishy. this does not
sound like a Wicket problem.
Did you try deploying a helloworld servlet?
Martijn
On
Thanks for the reply. I think it could be a rights problem since a 403 error
is typically a permissions issue but I'm not sure how to explain it to these
GoDaddy people because they're really inexperienced. If this is an apache
issue, what are the things I need to look for in order for me to
Thanks for the tip, Ernesto. I'll check it out.
On Sun, Nov 16, 2008 at 10:23 AM, Ernesto Reinaldo Barreiro
[EMAIL PROTECTED] wrote:
I don't know on the Wicket wiki... but when I have to use such things I
always look into the existing wicket code. A quick search on my IDE leads
me to this the
Didn't try GoDaddy but left 3 other hostings because Wicket did not work there.
On one it didn't work at all.
On two others app opened 1-2 times and then hanged down for unknown time.
Now I opened an account on javaprovider.net - Private JVM Developer.
Wicket works here and I'm glad BUT works
Maybe this helps. I've found that you need to start Tomcat from a
directory that is writable for the user you are using (no idea why
though). Besides the application log, you should also check Tomcat's log
files.
Good luck,
Erik.
moraleslos wrote:
Hi,
I'm running into an issue where my
Hi Igor, thanks for the response.
No, I don't mean when I press the refresh button. Here's exactly what
happens:
- I type the URL into my browser. In my debugger, I can see that a new page
is constructed (the page constructor runs).
- There is a form on the page. I type something into the form
try adding a Link to the page and see if it still happens. also, what
is the action url of the form?
-igor
On Sun, Nov 16, 2008 at 12:06 PM, Ilja [EMAIL PROTECTED] wrote:
Hi Igor, thanks for the response.
No, I don't mean when I press the refresh button. Here's exactly what
happens:
- I
Hi,
I tried to recreate similar situation where Page A has a link to PageB
and PageB holds a reference to PageA. I got similar result with as Cristiano.
though I only tried Wicket 1.3.5.
PageA is serialized twice and pageId, versionNumber and ajaxVersionNumber
are same with two instances of
Ilja,
This does indeed sound strange, in fact, worse than that!
I'd like to take a look so if you can, make the *simplest possible*
Quickstart demonstrating this problem.
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
King Of All Germans wrote:
Hi Igor, thanks for the
Put a breakpoint in your constructor (sounds like you already have) and see
what's calling it. Is it possible that you're constructing the page yourself
(accidentally for a page link or something)?
Also - what's the URL after you submit the form? Are you redirecting to the
page in your
I made a test case and it works.
BTW - My thread seems to be put inside another thread. I did not expect
this to happen if I would hit reply in Thunderbird using Gmail IMAP. Sorry!
James Carman wrote:
Are you sure they're being deserialized? I'd try a test case
On 11/15/08, Robert
as jweekend told you, you should read this thread [1]
[1] http://www.nabble.com/%40SpringBean-vs-%40Configurable-to18572291.html
-igor
On Sun, Nov 16, 2008 at 1:14 PM, Robert [EMAIL PROTECTED] wrote:
I made a test case and it works.
BTW - My thread seems to be put inside another thread. I
Yes, I read it. I was just responding to James.
I understand now the problem that would occur when passing a bean to
another object that will be serialized.
So both methods seems to have its positive and negative sides.
Igor Vaynberg wrote:
as jweekend told you, you should read this thread
Hello,
Since Firefox automatically updated to 2.0.0.18 every ajax I had in the
application (for instance ajax link / button) stopped working if it didn't
have fallback.
The applications I have are all in production so this is very annoying. In
Internet Explorer all work.
Did anybody else
It would be helpful if you posted the wicket version and errors you
get from the firefox console and if the wicket debugger shows any
errors. Now we're just left to guess. See also [1]
Martijn
[1] http://www.catb.org/~esr/faqs/smart-questions.html
On Mon, Nov 17, 2008 at 12:08 AM, Cristi Manole
Cristi,
We have just upgraded to 2.0.0.18 on one of our machines and all the AJAX on
http://jweekend.com/dev/BookingPage/ this page works fine.
Try that link and if it fails to work check Tools/Options/Content to ensure
JavaScript is enabled.
Regards - Cemal
http://www.jWeekend.co.uk
Ok,
Finally talked to someone at GoDaddy who gave me some advice. With their
Java hosting, it seems that they force Tomcat to look for a default file
(e.g. index.html) at the root directory. Since I don't have one (all of my
files are under WEB-INF/classes/...), I get the 403 error.
Now
mount the wicket filter under context root app and tell the index.html
to redirect to that url with a pragma header.
Martijn
On Mon, Nov 17, 2008 at 1:10 AM, moraleslos [EMAIL PROTECTED] wrote:
Ok,
Finally talked to someone at GoDaddy who gave me some advice. With their
Java hosting, it
You guys will want to know this:
I figured that perhaps the problem lies with Wicket1.4-m3.
So I swapped it out for Wicket1.4-m2.
I did not change my code at all. I didn't change anything else. All I did
was swap out the two Wicket versions.
After I switched to Wicket1.4-m2, the page worked fine.
Hi all,
I'd like to put some simple bar graphs, pie graphs and possible line
graphs into my wicket pages.
Have any of you used a good framework that you can recommend, that also
plays nicely with Wicket?
Thanks!
-Daniel.
P.S.By my problem is solved I mean, obviously, that I'll stick with m2 for
the time being.
Didn't mean to sound like that is ideal, or that I'm not concerned that the
problem appears in m3.
Let me know if I can do anything to help out with that.
Cheers,
ilja
On Sun, Nov 16, 2008 at 5:15 PM, Ilja
I have been using Amcharts
http://www.amcharts.com/
together with SWFObject
http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html
Regards,
Jurek
On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel)
[EMAIL PROTECTED]wrote:
Hi all,
I'd like to put some
Hi.
I have looked at removing the timer from a component when a condition is not
true, but according to the forums this is not possible.
Recommended is the use of isEnabled. I have the following code, but
isEnabled doesn't appear to be working.
I'm after a way of allowing a user to start a
rc1 is out, why dont you try with that.
-igor
On Sun, Nov 16, 2008 at 5:23 PM, Ilja [EMAIL PROTECTED] wrote:
P.S.By my problem is solved I mean, obviously, that I'll stick with m2 for
the time being.
Didn't mean to sound like that is ideal, or that I'm not concerned that the
problem appears
You can check out how I used JFreeChart in one of my Wicket presentations...
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/story10/resource/StudentPerRankChart.java
and the resource class itself:
On Fri, 14 Nov 2008, dukehoops wrote:
-user clicks browser back button and lands on A without server being hit at
all.
At this point I expected browser to issue GET /A and A's onBeforeRender to
run. is my expectation correct? If not, what is the expected behavior.
The reason for my
I upgraded from 1.3.4 to 1.3.5 and now I am seeing this error all over the
place in my log files..
[ERROR] 21:44:24 CryptedUrlWebRequestCodingStrategy - Invalid URL:
foo/?x=kSQEmQImbZiH47lvkBIVh0gnXDVDx7-UQqHufLUVx5IVu10xEJYI8UXQ2B0gQCTDdAzJ7rUByXI
org.apache.wicket.WicketRuntimeException: Unable
Igor, rc1 gives me the exact same problem m3 gave me...
On Sun, Nov 16, 2008 at 6:35 PM, Igor Vaynberg [EMAIL PROTECTED]wrote:
rc1 is out, why dont you try with that.
-igor
On Sun, Nov 16, 2008 at 5:23 PM, Ilja [EMAIL PROTECTED] wrote:
P.S.By my problem is solved I mean, obviously, that
Good day,
My hosting provider says that they use ProxyPass for aliases.
Seems that site opens but links don't work: 404 error
(ContextName/ContextName is not found) Why ContextName is doubled?
May be ProxyPass is not a way to work with Wicket.
I found for example that Wicket adds ContextPath()
i guess then we need more info. if you can create a quickstart that
would be optimal.
-igor
On Sun, Nov 16, 2008 at 9:28 PM, Ilja [EMAIL PROTECTED] wrote:
Igor, rc1 gives me the exact same problem m3 gave me...
On Sun, Nov 16, 2008 at 6:35 PM, Igor Vaynberg [EMAIL PROTECTED]wrote:
rc1 is
there is a page on the wiki that talks about proxy config.
-igor
On Sun, Nov 16, 2008 at 9:31 PM, Anton Veretennikov
[EMAIL PROTECTED] wrote:
Good day,
My hosting provider says that they use ProxyPass for aliases.
Seems that site opens but links don't work: 404 error
Yeah... like I said before, I don't use Maven and you're probably talking
about a Maven QuickStart? Is that right?Can you give a few pointers on how
to do a QuickStart?
Is there anything on the web?
ilja
On Sun, Nov 16, 2008 at 9:51 PM, Igor Vaynberg [EMAIL PROTECTED]wrote:
i guess then we need
there are two ways to do this:
a) there is wicket-quickstart project in svn which you can customize and zip.
b) use maven. download and install maven, go to wicket.apache.org and
find the quickstart page which will gen the command line necessary to
let maven build the project. if this is the first
there is a page on the wiki that talks about proxy config.
-igor
Thank you, Igor.
I found it: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html
Don't understand how to setContextPath() in Wicket 1.3.5?
Seems getApplicationSettings().setContextPath(/) is an old API.
Hi '
If I were you I would pick up the wicket in action book, or follow a
tutorial... These are very basic questions...
Wicket has a application class which specify the home folder with a
method, you would override that and return your index.class wicket will
then use that to display as
you just need a file named index.html in your /xyz dir
-igor
On Sun, Nov 16, 2008 at 5:01 PM, moraleslos [EMAIL PROTECTED] wrote:
Hi,
Thanks for the reply. I'm a bit confused on how to write the index.html.
So, let's say my godaddy directory structure looks like this:
/
/xyz
Hi,
I am trying to create a simple GET based stateless form to implement
search. My code is broken up into two parts
1. A SearchPanel component that renders the form containing the text field
2. A SearchPage that renders the search results.
The search page also has the SearchPanel component
52 matches
Mail list logo