It depends on the situation and your logging setup. Do this to verify:
- First put a logging statement in WebApplication.newSession(), not
MySession.get()
- Open a new browser window and go to your 'verify' bookmarkable page. You
should see a new session created on each refresh
- Now put 'get
You can use annotations or spring-javaconfig with Spring if you don't want to
go through too much XML configuration. That criticism is really unwarranted
these days. The annotation-style configuration is very similar to how Guice
works, whereas spring-javaconfig is basically like writing the sprin
I'm just curious what everyone is using for transaction management. I have
been working with Wicket for a while now (and loving it) on a pet project
that also uses Hibernate and Guice.
I'm realizing now that I might need/want transactional support for a couple
parts of my app.
I don't have a
I would get errors or at least warnings in that case though, yes?
On Sat, Aug 23, 2008 at 3:31 PM, brian.diekelman <[EMAIL PROTECTED]> wrote:
>
> Something I just saw... make sure Account implements java.io.Serializable
>
> If it doesn't the session won't be persisted, so it would try to re-create
Something I just saw... make sure Account implements java.io.Serializable
If it doesn't the session won't be persisted, so it would try to re-create
it each request.
--
View this message in context:
http://www.nabble.com/Session-creation-tp19123581p19125999.html
Sent from the Wicket - User mail
I've tried this with both IE and Firefox, both with cookies on and no
exceptions, but it looks like my app is not writing a jsessionid
cookie. Maybe I've misconfigured tomcat?
On Sat, Aug 23, 2008 at 12:27 PM, brian.diekelman <[EMAIL PROTECTED]> wrote:
>
>
> Are you running another server/service
Are you running another server/service on the same machine that would
overwrite the 'jsessionid' cookie?
I was running into this when my CI server (java-based) and auto-built dev
server were on the same machine/IP address. When I would switch from my dev
build to my CI server interface it would
If I log from MySession.get(), I observe the session changing between
requests. For a given request, the session seems stable, but it looks
like every request gets a new session. If I reload a page, I get a
new session.
On Sat, Aug 23, 2008 at 11:47 AM, francisco treacy
<[EMAIL PROTECTED]> wrote
with that exact setup in my webapps, if i do something like
public static MySession get() {
logger.debug(Session.get());
return (MySession) Session.get();
}
i always observe the same session in the logs, for any page that
requests it ([EMAIL PROTECTED])
I've created a new Wicket application following the session creation
pattern illustrated in Wicket in Action, but for reasons not obvious
to me, every web request returns an entirely new session.
This is my application:
public class MyApplication extends WebApplication {
Logger logger = L
Nino Saturnino Martinez Vazquez Wael <> wrote:
> Look at Ivisitor and add one to the form, that could add it for
> you... I think theres a example pdf on jweekends homepage...
>
> http://www.jweekend.com/dev/ArticlesPage/
I will try this. Thank you.
Kai
Do you have to name your XML file .xml? Wicket thinks
you're trying to use an XML-based properties file when you do that.
How about if you name it -settings.xml or something?
On Sat, Aug 23, 2008 at 6:44 AM, Liz Huber <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> does anyone know how to load xml files
Take a look at
o.a.w.resource.PropertiesFactory#loadPropertiesFile(String,
IResourceStream)
and o.a.w.util.io.Streams#loadFromXml(Properties, InputStream)
At first sign I didn't find a way to do what you need.
On Sat, 2008-08-23 at 12:44 +0200, Liz Huber wrote:
> Hi,
>
>
>
> does anyone know
Hi,
does anyone know how to load xml files by using the wicket resource
mechanism,although those xml-files don't follow the properties.dtd. If
myquestion sounds too confused, please tell me and I'll try to explain
inother words.
Thanks a lot,
Liz
> - Original Message -
> From: L
> that i want to have a [custom-file-name].pdf declared based on the pdf being
> generated dynamically, so if i mount a page with a certain name (i am not
> sure but) i would have to use the same name as specified for mounting isn't
> it ?
Try Ned's suggestion about using MixedParamUrlCodingStrate
15 matches
Mail list logo