Hi,
+1
yes, of course I will buy that book.
Oliver
Jonathan Locke wrote:
Well, over the break here I've started something I swore I would never do
again (well, two things, if you include the JavaOne talk I'm working on).
I'm writing a (hopefully relatively short) book. It's called
Hi José
just me as developer and my co-founder who did
the design.
Wicket has quite a high learning curve but after a while one can be so
productive
that is makes just fun :)
Thanks,
Oliver
José Antonio Matute wrote:
Wow Only four months? How many developers?
I'm very impressed
Hi everyone,
I have some questions regarding TextTemplateHeaderContributor.
I can use it properly but I want to use it as a referenced script rather
than something that is included in the html page.
What i mean is i don't want to see
script lang = javascript type = text/javascript
Hi,
To do this use.
add(HeaderContributor.forJavaScript(Clazz.class, path from class to file
example: js\helloworld.js));
This is for 1.3.5.
Kind Regard,
Frank
-Original Message-
From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
Sent: Wednesday, July 29, 2009 9:08 AM
To:
Hello,
I've recently started working with Wicket, so a lot of things are still
unknown for me. For example, right now I have a tabbed panel with two
tabs. In the begining, I write setSelectedTab(1), so that the first tab
is the default. This works ok.
However, I have an AjaxFallbackLink on
Duh.. I am not sure but I guess you must create a mechanism... for
example ajax button opens page with such parameter that the tab
selects tab 0. You need to build that logic into tabbedpanel when it
is being rendered...
That's what we did. I am not sure if it is possible to call
setSelectedTab
I really hope that I don't have to write
?wicket:interface=:6:innertabs:tabs-container:tabs:0:link:8:ILinkListener::
into the code :(
Martin Makundi wrote:
Duh.. I am not sure but I guess you must create a mechanism... for
example ajax button opens page with such parameter that the tab
Nono... just look at the source code of the link.
**
Martin
2009/7/29 Gajo Csaba cg...@i-rose.si:
I really hope that I don't have to write
?wicket:interface=:6:innertabs:tabs-container:tabs:0:link:8:ILinkListener::
into the code :(
Martin Makundi wrote:
Duh.. I am not sure but I guess
help anyone? :P
On Tue, Jul 28, 2009 at 10:16 AM, Gatos ega...@gmail.com wrote:
When I try to request a resource using url http://domain.com/resource.csv
then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad
and all generated links it csv file with 'jsessionid' parameter.
This is what the link does in Wicket's source code:
new Link(linkId) {
private static final long serialVersionUID = 1L;
@Override
public void onClick() {
setSelectedTab(index); // -
}
};
This is my code:
/** Click on
This is what the link does in Wicket's source code:
new Link(linkId) {
private static final long serialVersionUID = 1L;
@Override
public void onClick() {
setSelectedTab(index); // -
}
};
This is my code:
/** Click on
Ah.. do you repaint the page after your ajax button call?
**
Martin
2009/7/29 Gajo Csaba cg...@i-rose.si:
This is what the link does in Wicket's source code:
new Link(linkId) {
private static final long serialVersionUID = 1L;
@Override
public void onClick() {
Try adding the following line to that delteBtnClick method (as the last
line):
target.addComponent(tabPanel);
Linda
Gajo Csaba wrote:
This is what the link does in Wicket's source code:
new Link(linkId) {
private static final long serialVersionUID = 1L;
@Override
Hmm there's something very wrong here...
I try to refresh the page like this:
setResponsePage(getPage());
When this is the only action, the current page is refreshed. When I
write setSelectedTab(0) above it, I get an error.
10:42:27 ERROR [RequestCycle] - No Page found for component
That's quite interesting stuff. Could you contribute your code to the
wicketsuff (e.g. create a new wicketstuff project) ?
cheers,
Marcin
Vladimir K wrote:
I don't see much buzz about this topic here, just a request for the trick
for the forthcoming Johnatan Locke book. So it seems for
Hi all,
Need help here.
What is the best way or how can I mount this kind of URL?
*http://localhost/app/blog/myblog* - it go to Blog.class
*http://localhost/app/blog/myblog/201* - go to BlogDetails.class which open
blog entry with ID 201
*http://localhost/app/blog/myblog/category* - go to
1.
You can fix linda's suggestion by calling setOutputMarkupId(true) on
your tabbedpanel.
2. The reason for:
10:42:27 ERROR [RequestCycle] - No Page found for component
[MarkupContainer [Component id = panel]]
java.lang.IllegalStateException: No Page found for component
[MarkupContainer
Hi,
I want to get some information from request header using something like the
code bellow but for my requests I receive null.
HttpServletRequest request =
((ServletWebRequest) getRequest())
.getHttpServletRequest();
hmm,
ya
but how do i use texttemplateheadercontributor together with it?
Thanks
On Wed, Jul 29, 2009 at 3:12 PM, Frank Klein Koerkamp
fkleinkoerk...@educator.eu wrote:
Hi,
To do this use.
add(HeaderContributor.forJavaScript(Clazz.class, path from class to file
example:
Some proxies can be configured to forward the real client address:
- Apache ProxyPreserveHost Directive
- Description: Use incoming Host HTTP request header for proxy request
- Syntax: ProxyPreserveHost On|Off
- Default: ProxyPreserveHost Off
- Context: server config,
hmm,
ya
but how do i use texttemplateheadercontributor together with it?
Thanks
On Wed, Jul 29, 2009 at 3:12 PM, Frank Klein Koerkamp
fkleinkoerk...@educator.eu wrote:
Hi,
To do this use.
add(HeaderContributor.forJavaScript(Clazz.class, path from class to file
example:
Hello,
Could someone update http://wicket.apache.org/quickstart.html and add
1.4.0 to the dropdown box ?
The 1.4-RC1 and milestones can probably be removed from the list.
I would also suggest to use mvn archetype:generate instead of
archetype:create
Thanks
Maarten
PS: I tried to do the
Hi
I'm writing our custom internal error handler which is supposed to
terminate the current session and create a new one (in order to pass
over the locale to the new session).
I've stumbled upon the Session.replaceSession() method which,
according to the javadoc, should just exactly do
Thanks, but we are using here an OC4J server so we cant add Apache
ProxyPreserveHost Directive.
-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Wednesday, July 29, 2009 12:59 PM
To: users@wicket.apache.org
Subject: Re: FW: servlet request
Well.. similar options you can find in OC4J proxy too. Or else you
will not get the client ip (it is not possible to get it if the proxy
does not deliberately pass it).
**
Martin
2009/7/29 Mihai Toma mihai.t...@asf.ro:
Thanks, but we are using here an OC4J server so we can’t add Apache
1.4.0 is not yet officially released. We take care of that once we
have everything in place. And yes, the official documentation site is
committers only.
Martijn
On Wed, Jul 29, 2009 at 12:16 PM, Maarten
Bosteelsmbosteels@gmail.com wrote:
Hello,
Could someone update
Thanks Martin, it finally works! :)
Martin Makundi wrote:
1.
You can fix linda's suggestion by calling setOutputMarkupId(true) on
your tabbedpanel.
2. The reason for:
10:42:27 ERROR [RequestCycle] - No Page found for component
[MarkupContainer [Component id = panel]]
Good. Finally I said something useful :)
**
Martin
2009/7/29 Gajo Csaba cg...@i-rose.si:
Thanks Martin, it finally works! :)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
As far as I know this is not possible.
Regards
-Original Message-
From: Carlo Camerino [mailto:carlo.camer...@gmail.com]
Sent: Wednesday, July 29, 2009 12:04 PM
To: users@wicket.apache.org
Subject: Re: TextTemplateHeaderContributor Questions
hmm,
ya
but how do i use
Try this in a method of your WebSession subclass:
((WebRequest)
RequestCycle.get().getRequest()).getHttpServletRequest().getSession().invalidate();
// Bind forces a connect of the current Wicket session to the
new HTTP session.
bind();
Regards,
Erik.
Matthias Keller
This is one of the nasty parts of wicket.. very difficult to get rid
of a session. This is what I have come up with:
public static void logout(RequestCycle requestCycle, Request request) {
// flush session
Session.unset();
TakpApplication application = TakpApplication.get();
I have a couple of behaviors I wrote somewhere..
Don't think they're worth writing a project though...
On Wed, Jul 29, 2009 at 12:15 AM, John Armstrong siber...@gmail.com wrote:
Is anyone doing this:
http://www.google.com/support/googleanalytics/bin/answer.py?hl=enanswer=55519
If so can you
take a look at HybridUrlCodingStrategy
--
View this message in context:
http://www.nabble.com/Fancy-URL-tp24715302p24720044.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
have you looked at the java doc? There should be a forjavascript method that
takes both a class and a TextTemplate as parameter
--
View this message in context:
http://www.nabble.com/TextTemplateHeaderContributor-Questions-tp24713664p24720298.html
Sent from the Wicket - User mailing list
doesnt look like that url is even handled by wicket
-igor
On Tue, Jul 28, 2009 at 12:16 AM, Gatosega...@gmail.com wrote:
When I try to request a resource using url http://domain.com/resource.csv
then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad
and all generated
Hi.
I'm testing AjaxEditableLabel as well as AjaxEditableMultiLineLabel
using wicket rc7 now, but the same problem initially occurred with rc3.
Mysteriously, the ajax call isn't working with IE7, although it's
working with IE6, firefox etc.
Is it possible this is due to crippled IE7
of course there is no reason to use an ajax link if all you are going
to do is repaint the entire page anyways...
also code like this: setresponsepage(getpage()) is always suspect. by
default wicket repaints the same page so there is no need to call
this. when inside ajax you should add
can't seem to find one in the javadocs,
hmmm, i guess it'ss better to put in html so that if values change, the
javascript won't be cached.
i don't know if its the reason for this.
On Wed, Jul 29, 2009 at 10:40 PM, Mathias Nilsson
wicket.program...@gmail.com wrote:
have you looked at the
Which version of Wicket are you using?
google for TextTemplateHeaderContributor wicket 1.4 ( or the version you are
using ) and you will see the methods you can use.
--
View this message in context:
http://www.nabble.com/TextTemplateHeaderContributor-Questions-tp24713664p24723507.html
Sent
What about the wicket examples. Does this work for you?
http://www.wicket-library.com/wicket-examples/ajax/editable-label
http://www.wicket-library.com/wicket-examples/ajax/editable-label
I've tried it in IE7 and it works fine.
--
View this message in context:
good news, it doesn't.
thanks a lot Mathias :D
cvl
Mathias Nilsson wrote:
What about the wicket examples. Does this work for you?
http://www.wicket-library.com/wicket-examples/ajax/editable-label
http://www.wicket-library.com/wicket-examples/ajax/editable-label
I've tried it in IE7 and
Hi Jonathan,
Wicket Tricks. Each trick in the book (lettered from A-Z)
demonstrates
something that people typically want to do and in the process builds a
reusable and educational component.
I would prefer to see
- Javascript component integration: especially YUI split, resizable
Personally I would embed YUI splitter and jQuery layout only if their state
could survive page refresh. It does not seem they are capable for now. AFAIK
it is possible to use coockies to save the state of splitter or docked
panel.
Ralf Eichinger wrote:
I would prefer to see
- Javascript
I have a Label
new
Label(recommendedAmt,NumberFormat.getCurrencyInstance().format(stgFinding.getFindingAmt()==null
? new BigDecimal(0): stgFinding.getFindingAmt()));
this works fine but when deployed in windows I get the label as
$0.00 and when deployed in unix i Get this as ¤0.00 and I
according to some, it has to do with non-port 80 requests appearing more
suspicous that port-80, and just in combination with firefox = 3.0.
did you try deploying your site to http://localhost:80 and
https://localhost:443 ? this worked for me.
firefox 3.5 did not complain about port 8080/8443
I'd be interested in knowing from your viewpoint what parts had a high
learning curve? And what background are you coming from (that may
effect your individual curve)? In my experience, Wicket has a MUCH
lower learning curve than Spring Web Flow and Tapestry (any
incarnation). So, as someone
Hello, I have a small show-stopper with a WicketTester testcase and a Wicket
Page. The Wicket Page is a concrete Class extending WebPage. I am calling a
simple private method: init() that is nested within the Page constructor.
Inside the init() method I have an anonymous inner class constructed
Hi Jeremy,
Just to weigh in on this, I personally think that working with JPA
entity managers/Hibernate sessions could do with some clarification
beyond just use Spring. There are a number of quickstart type
projects out there, but they all seem to revolve around using Spring,
whereas I would
Erik, I'd certainly be happy for you to do that :)
On Wed, Jul 29, 2009 at 3:38 PM, Erik Post eriksen...@gmail.com wrote:
Hi Jeremy,
Just to weigh in on this, I personally think that working with JPA
entity managers/Hibernate sessions could do with some clarification
beyond just use Spring.
Can you show the code? When you create an anonymous inner class, it
gets references to variables that are outside of the declaration.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Jul 29, 2009 at 5:46 PM, David
Browndbr...@sexingtechnologies.com wrote:
Hello, I have a small
Hello Jeremy, thanks for the reply. Please find the requested WebPage included
below. At the cost of looking somewhat contrived I had to edit to keep the
Lawyers happy. Yes, you're right (again), there are plenty of references
outside the declaration but those also got: implements Serializable
On Thu, 2009-07-30 at 00:38 +0200, Erik Post wrote:
Having typed all of that, maybe I should just write a tutorial
myself... Oh well, my 2c.
+1 for that! I'd love to see an more balanced reasoning than the obvious
just use spring too. More JPA/Hibernate/JavaEE integration
documentation would
I have the following
Page
Form
DDC
TextFields
Buttons
The DDC has a LoadableDetachableModel with a hibernate call for
the *choices* model and new Model() for the DDC model.
Changing the DDC selection, changes the TextFields appropriately.
But I have a Button and a form submit
53 matches
Mail list logo