What you want is just stateless forms, but if you just want to do a
get to a page then your page with the form can be really simple
Just 1 markup container for the form tag that just has an atribute
modifier that sets the action to the page url.
On 4/29/08, Doug Donohoe <[EMAIL PROTECTED]> wrote:
I just subclassed ComponentStringResourceLoader and tried calling
getString("foobar"); from a page (that extends another page). There
instanceof Page returns true. Maybe it'd be helpful to see some code (and
your usecase 'cause maybe there's another way to do it).
regards
Michael
Ned Collyer wro
Well, I appreciate all the comments, but i want to explain things about how
we work here. In our vision about how a wicket + spring + hibernate should
be, in 99% of cases only services are injected into controller layer. There
are no reason to make reusable components that calls a service, because
This is the code we used
PageParameters parameters = new PageParameters();
parameters.put(ApplicationConstants.REQUEST_USERNAME,userIdField.getModelObject().toString());
parameters.put(ApplicationConstants.REQUEST_PASSWORD,passField.getModelObject().toString());
setResponsePage(RegistrationPage.c
Thanks igor, the reason i asked so was because i am seeing this wierd
behavior on oc4j where even if i just do a redirect to an external app in my
CustomWebWession (on the very first request to my wicket app) without even
rendering any wicket page, i see a jsessionId cookie being set..
igor.va
I wasn't able to reuse a ModalWindow object in my projects. I always had to
build it again. I obviously must be doing something wrong if you managed to
do exactly this.
Anyways, this is the output of the javascript debug window when using the
code Marieke initially wrote (it doesn't give me any cl
Thanks, i'll look into it.
However the example does not do that, and do not have any troubles:
http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.toaster.ToasterSample
Igor Vaynberg wrote:
perhaps you should use shared resources along with IIniti
Are there such factory initializers in Wicket?
There is one, initModel(), but I have not yet evaluated if it is being
called on page repaint. I have had to implement my own intializer
methods for page repaints in evolved state.
**
Martin
2008/4/28 Scott Swank <[EMAIL PROTECTED]>:
> Agreed. It h
The javascript debug window is printing no error.
The server returns an empty response ()
I did some debugging and came to the function in ModalWindow
public void show(AjaxRequestTarget target)
there the boolean shown is tested. The content is only showed when
shown=false, in my case shown=true..
Im doing it like this:
AjaxLink popupLink = new AjaxLink("manageWeightPop") {
@Override
public void onClick(AjaxRequestTarget target) {
target
modalWindow.setTitle(getString("weightlog"));
modalWindow.setMinimalHeight(700)
Exactly, you always create a new panel for content. Can you reuse the
ManageWeightPanel object?
Cristi Manole
On Tue, Apr 29, 2008 at 11:24 AM, Nino Saturnino Martinez Vazquez Wael <
[EMAIL PROTECTED]> wrote:
> Im doing it like this:
>
>
> AjaxLink popupLink = new AjaxLink("manageWeightPop
You are creating a new instance of your Panel.
I don't need to create a new ModalWindow or Panel, because all the data on
my ModalWindow is the same.
Your solution works because setContent sets shown = false.
Shouldn't it work without this call to setContent?
Nino.Martinez wrote:
>
> Im doing
Hi,
I have one simple question. but I had no luck in finding an answer on mailing
list. I have web application with probably twenty pages. I am usisng properties
files (e.g. MyPage_en_US.properties) for localization. Because I am using a lot
of forms on my pages, there are some common string t
are you sure that you custom web session isnt calling dirty()?
On Tue, Apr 29, 2008 at 9:48 AM, mfs <[EMAIL PROTECTED]> wrote:
>
> Thanks igor, the reason i asked so was because i am seeing this wierd
> behavior on oc4j where even if i just do a redirect to an external app in
> my
> CustomWebWess
Cristi Manole wrote:
Exactly, you always create a new panel for content.
True.
Can you reuse the
ManageWeightPanel object?
Probably could. Havent looked into it, since all of the panel needs to
updated anyhow.
Cristi Manole
On Tue, Apr 29, 2008 at 11:24 AM, Nino Saturnino Martinez Vaz
Use your MyApplication.properties
On 4/29/08, Milan Křápek <[EMAIL PROTECTED]> wrote:
> Hi,
> I have one simple question. but I had no luck in finding an answer on
> mailing list. I have web application with probably twenty pages. I am usisng
> properties files (e.g. MyPage_en_US.properties) f
no Scott just told you that you should create such initializers completely
"static".
They should be 'static' without touching state of the current object/class
itself.
On Tue, Apr 29, 2008 at 10:18 AM, Martin Makundi <
[EMAIL PROTECTED]> wrote:
> Are there such factory initializers in Wicket?
>
exactly what i thought
somehow your shown boolean stays on true
So the problem is not showing it again
The problem for you is in the closing..
Because the shown boolean should be reverted to false
johan
On Tue, Apr 29, 2008 at 10:21 AM, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>
> The javasc
Marieke Vandamme wrote:
You are creating a new instance of your Panel.
True, I was just writing how I did it:)
I don't need to create a new ModalWindow or Panel, because all the data on
my ModalWindow is the same.
Mine arent.
Your solution works because setContent sets shown = false.
1.2 is a long time ago
I have no idea what change did break yours (and what did it fix)
If you could figure out what part it really is?
johan
On Tue, Apr 29, 2008 at 12:09 AM, Frank Silbermann <
[EMAIL PROTECTED]> wrote:
> I completed a Wicket 1.2 project a couple of years ago, and I've been
>
yepp, then the TransparentWebMarkupContainer gets passed in. And you're
right, it's gonna be a filthy hack if you try to find out if its a Page.
Unfortunately I've got no further suggestions but it'd be interesting to
know why you want to distinguish between pages and other components anyway
...
Hi all,
I have a gridview, which in populateItem is filled with:
new PhotoTile("tileContent", (PhotoCardModel) item.getModel());
In PhotoTile's constructor, I do:
AjaxLink clickLink =
clickLink.add(new Image("thumbnail", rs));
where 'rs' is a WebResource of which the getResourceStream ret
Thanks for your reply,
Maybe it's because I am using a in the
markup?!
There isn't really any code to show. I put the wicket:message into the
page, then i check the params coming in to the method.
I'll have a bit more of a play I think, but I would be interested in what
your results are with
wow!!
cool. That was so educational :)
Thanks.
If I change this, it will change EVERYTHING, right?
What if I want to do something like: only for
this PNL ?
Is there a way?
My other option is to add this style (attribute and CSS actually) to the
inner span.
I think that the second option is bette
Sorry, but I don't know what the solution is for me now?
When looking into ModalWindow again :
public void close(AjaxRequestTarget target)
{
getContent().setVisible(false);
target.appendJavascript(getCloseJavacript());
shown = false;
[ ] IDataProvider
[ x ] Iterator> , drop model
[ ] Leave as is.
Maarten
On Fri, Apr 25, 2008 at 1:52 AM, Eelco Hillenius <[EMAIL PROTECTED]>
wrote:
> I would have a better idea if I would have had the chance to actually
> play with it, but here is mine:
>
> [ ] IDataProvider
> [ x ] Iterator> ,
I for one think it's a bug somewhere. Not in Marieke's code.
On Tue, Apr 29, 2008 at 12:11 PM, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>
> Sorry, but I don't know what the solution is for me now?
> When looking into ModalWindow again :
> public void close(AjaxRequestTarget target)
>{
make a test case then and attach it to a jira issue
On Tue, Apr 29, 2008 at 11:11 AM, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>
> Sorry, but I don't know what the solution is for me now?
> When looking into ModalWindow again :
> public void close(AjaxRequestTarget target)
>{
>
On Tue, Apr 29, 2008 at 11:00 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> wow!!
> cool. That was so educational :)
> Thanks.
>
np :)
>
> If I change this, it will change EVERYTHING, right?
yes, this is the setting for all disabled links.
>
> What if I want to do something like: only for
> th
I have a specific question and a generic question based on it.
I have several Panels added to my BreadCrumbPanels, these panels themselves
extend the Panel class, and
will contain BreadCrumbPanelLinks , to navigate down the hierarchy.
My question is how do I pass the BreadCrumbBar from a BreadCr
I created a jira issue
https://issues.apache.org/jira/browse/WICKET-1576
Thanks !
Johan Compagner wrote:
>
> make a test case then and attach it to a jira issue
>
> On Tue, Apr 29, 2008 at 11:11 AM, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>
>>
>> Sorry, but I don't know what the solutio
I basically want the components Model.
It's legitimate for it to be null. So, if I can see which component is a
page, then i can easily call the "getPage().getModel()"
Of course if it's TransparentWebMarkupContainer then getModel returns null
even if the page has a model set.
It appears to work
[ ] IDataProvider
[x] Iterator> , drop model
[ ] Leave as is.
Leaving it as is just doesn't make sense as it doesn't support the use case
on hand.
Using IDataProvider is OK too. For those whose I == T, we can always
have a convenient base class:
abstract class ModelProvider implements IDataProv
well one (as said ugly ;-)) way that comes to my mind is to ask if
component.getParent().getParent() instanceof Page (that should also work if
you use nested subpages).
regards,
Michael
you could check if it's a transparentwebmarkupcontainer with instanceof.
Ned Collyer wrote:
>
> I basica
I did an elegantish... workaround. - the page instantiates a panel - the
panel has the model.
Basically my pages defer almost everything to panels - and I guess it also
aids in their reuse/embeddability.
I'm quite familiar with instanceof thanks ;)
Michael Sparer wrote:
>
> well one (as said
thanks,
here's what I did.
1. I have a StyledAjaxNavigationToolbar that overrides:
@Override
protected PagingNavigator newPagingNavigator(String navigatorId, final
DataTable table) {
return new StyledAjaxPagingNavigator(navigatorId, table);
}
2. Then my StyledAjaxPagingNavigato
instead of the custom AbstractBehavior, you could add an
AttributeAppender like this:
link.add(new AttributeAppender("class", true, new
Model("disabledPaginLink"), " ") {
public boolean isEnabled() {
return !getComponent().isEnabled();
}
});
Gerolf
On Tue, Apr 29, 2008 at 1:09 PM, Eyal
hh,
the isEnabled() of the AttributeAppender is a really cool tool.
I used it in another place.
I have a StyledDataTable that overridden onComponentTag:
@Override
protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
if (dataProvider.size() == 0)
I have a Login page that is redirected if the session is expired (for
example, if I shut of the server and put it on again).
In the Login page, I redirect to my base page:
PortalWebPage page = new PortalWebPage(pageParameters);
setResponsePage(page);
this happens in the sub
Move to 1.3 now is not an option :(
On Mon, Apr 28, 2008 at 5:55 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> Dont know why it is different in ie compared to ff, but do upgrade to
> 1.3 because then page expired are pretty much none excistent.
>
>
>
> On 4/28/08, Marco Aurélio Silva <[EM
I think the key point is - if extending components by overriding methods is a
supported (and encouraged) pattern in wicket there should be a *standard*
way to do it. Sure it is possible for each user to hack a unique solution
but this provides no common ground when people run into issues.
If e
I think the key point is - if extending components by overriding methods is
a supported (and encouraged) pattern in wicket there should be a *standard*
way to do it. Sure it is possible for each user to hack a unique solution
but this provides no common ground when people run into issues.
If
Would you like me to add something like this to the wiki?
// The interface...
public interface IBeforeFirstRenderListener
{
public void onBeforeFirstRender();
}
// The invoking listener...
public class BeforeFirstRenderListenerInvoker implements
IComponentOnBeforeRenderListener
{
public s
Sorry, type given to meta data key should be Boolean, not
IBeforeFirstRenderListener.
On Tue, Apr 29, 2008 at 8:55 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> Would you like me to add something like this to the wiki?
>
> // The interface...
> public interface IBeforeFirstRenderListener
> {
>
I put a breakpoint on Wicket.Session
on method
public final Page getPage(final String pageMapName, final String path,
final int versionNumber)
It seems Firefox is nothing making a request when I navigate with back
and forward button. On IE the call to this line:
Page page = pageMap.get(Integ
Hi! I can't set initial height and width on my modal window. It's always the
same height and width when opening it.
final ModalWindow modal;
add(modal = new ModalWindow("modal"));
modal.setPageMapName("modal-4");
modal.setCookieName("modal window 4");
Bother to give an example of what you mean?
2008/4/29 Johan Compagner <[EMAIL PROTECTED]>:
> no Scott just told you that you should create such initializers completely
> "static".
> They should be 'static' without touching state of the current object/class
> itself.
>
>
---
On Tue, Apr 29, 2008 at 2:44 PM, John Patterson <[EMAIL PROTECTED]> wrote:
>
> I think the key point is - if extending components by overriding methods is a
> supported (and encouraged) pattern in wicket there should be a *standard*
> way to do it. Sure it is possible for each user to hack a un
This approach breaks a components encapsulation because the listener must be
installed in the application. Even if IInitializers can be used to do this
once it ads an extra complication to creating reusable components.
Point-in-case: Should PagingNavigation use this technique to call its
factory
On Tue, Apr 29, 2008 at 10:24 AM, John Patterson <[EMAIL PROTECTED]> wrote:
>
> This approach breaks a components encapsulation because the listener must be
> installed in the application. Even if IInitializers can be used to do this
> once it ads an extra complication to creating reusable comp
I'm not sure what you mean by "what part it really is"? Are you asking
me to find a simpler example exhibiting the problem? I mean, the panel
class follows the RadioGroup component example quite closely:
http://wicketstuff.org/wicket13/compref/;jsessionid=C6F7701B642660179563
84008732211C?wicket
I got everything to compile and deploy but not to work. No drag. The
DraggableBehavior added to a Markupcontainer leads to some javascript code [new
Draggable("product_1", {})] but nothing happens when I klick on the
MarkupContainer and move the mouse. I think I wait until you did the thin.
Ste
I end up using FileResourceStream to serve up static web pages from a Wicket
page.
But I am having issues with the fact that the page gets cached and - returning
clients with different url params - keep getting served the original static
page.
Is there a way for me to force a refresh and mak
Hi,
Will there be support in future for Ajax + multipart forms?
Thanks,
RG
igor.vaynberg wrote:
>
> it is a known limitation...you cannot mix ajax and multipart forms..
>
> -igor
>
>
> On Tue, Feb 26, 2008 at 3:40 PM, Dan Kaplan <[EMAIL PROTECTED]>
> wrote:
>> Hello,
>>
>> If I use: AjaxF
Try clearing your cookies.
Mathias P.W Nilsson wrote:
>
> Hi! I can't set initial height and width on my modal window. It's always
> the same height and width when opening it.
>
>
> final ModalWindow modal;
> add(modal = new ModalWindow("modal"));
> modal.setPag
The method just has to be stateless, particularly from the perspective
of instantiation.
public BasePage(...) {
add(createFooPanel("fooId"));
add(createBarPanel("barId"));
}
protected abstract Panel createFooPanel(String id);
protected abstract Panel createFooPanel(String id);
-
public
Where of course RedPage extends BasePage...
On Tue, Apr 29, 2008 at 9:15 AM, Scott Swank <[EMAIL PROTECTED]> wrote:
> The method just has to be stateless, particularly from the perspective
> of instantiation.
>
> public BasePage(...) {
> add(createFooPanel("fooId"));
> add(createBarPanel("ba
This is not something we can decide. It is a limitation of Ajax, HTML, Browsers.
Martijn
On 4/29/08, nanotech <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Will there be support in future for Ajax + multipart forms?
>
> Thanks,
> RG
>
>
>
> igor.vaynberg wrote:
> >
> > it is a known limitation...
hi
I want to have a dropdown choice in which some of the choices are of
different color based on the model.
is there any existing implementation which i can use.
OR how should i go about it
please suggset.
full toos
==
Page page=component.getPage() ?
-igor
On Tue, Apr 29, 2008 at 3:53 AM, Michael Sparer <[EMAIL PROTECTED]> wrote:
>
> well one (as said ugly ;-)) way that comes to my mind is to ask if
> component.getParent().getParent() instanceof Page (that should also work if
> you use nested subpages).
>
>
see Select/SelectOption/SelectOptions in wicket-extensions
-igor
On Tue, Apr 29, 2008 at 9:43 AM, Full-toos Geek <[EMAIL PROTECTED]> wrote:
> hi
> I want to have a dropdown choice in which some of the choices are of
> different color based on the model.
> is there any existing implementation
Doesnt really give what i need (looking at the src), i want to know if a
permanent session was created in a particular request, this would just tell
me if the session reference is still temperary...
public final boolean isTemporary()
{
return getId() == null;
}
Mr Mean wrote:
>
Not at all..
Johan Compagner wrote:
>
> are you sure that you custom web session isnt calling dirty()?
>
> On Tue, Apr 29, 2008 at 9:48 AM, mfs <[EMAIL PROTECTED]> wrote:
>
>>
>> Thanks igor, the reason i asked so was because i am seeing this wierd
>> behavior on oc4j where even if i just do
I dont know what this is, but 1.2 is pretty much end of life, so you
should try to debug what it is and patch your version
Or just use a 1.2 version that works for you
On 4/29/08, Frank Silbermann <[EMAIL PROTECTED]> wrote:
> I'm not sure what you mean by "what part it really is"? Are you asking
Hi,
After spending quiet a few hours on PageParameter mystery I think its time
to get experts help.
I have a few Bookmarkable pages with MixedParamStrategy set - this means I
have few fixed parameters and few optional params. What is happening is,
somewhere in my code (digging as we speak) one o
Hi,
I have a page where I am using a PropertyModel to populate a ListView, so it
will change when the underlying contents change:
ListView newsDetails = new ListView("newsDetails", new
PropertyModel(this, "articles"))
{
protected void populateItem(ListI
ListView newsDetails = new ListView("newsDetails", new
LoadableDetachableModel(new PropertyModel(this, "articles")))
-igor
On Tue, Apr 29, 2008 at 10:46 AM, Andrew Broderick
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a page where I am using a PropertyModel to populate a ListView, so it
> will
there are however workarounds for this problem, didn't try it myself but
here's a howto using a hidden iframe which might work:
http://www.dooriented.com/blog/2008/04/23/wicket-ajax-like-file-upload-on-a-modal-window/
Martijn Dashorst wrote:
>
> This is not something we can decide. It is a limi
Thanks for your input, Johan.
Alright, I changed the model to an Integer and that fixed it. So it does
seem that this may be a bug - I'm opening a Jira issue for this.
Thanks,
Michael
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]
Sent: Monday, April 28, 2008 11:48
If(!session.isTemp() && cookieNotSet) setCookie()
On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
>
> Doesnt really give what i need (looking at the src), i want to know if a
> permanent session was created in a particular request, this would just tell
> me if the session reference is still temperary..
Just test the pagemap accessstack what exactly happens.
Place a few breakpoints there, if you press the backbutton, then ie
does a call to the server an ff doesnt? But that shouldnt be to much
of a problem. That page just should be there.
On 4/29/08, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote:
Cannot instantiate LoadableDetachableModel directly .. it is abstract. Besides,
how does it help solve the problem?
Thanks
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 29, 2008 12:49 PM
To: users@wicket.apache.org
Subject: Re: getter called multip
Access them only in onBeforeRender or whwn you need them in an call
back method (onsubmit/onclick)
On 4/29/08, gumnaam23 <[EMAIL PROTECTED]> wrote:
>
> I have a specific question and a generic question based on it.
>
> I have several Panels added to my BreadCrumbPanels, these panels themselves
> e
So through a Wicket Page impl you serve static pages?
The wicket page self doesnt have any components?
Dont know the exact api but you have to make sure that the cache key =
null then nothing will be cached
On 4/29/08, Ed _ <[EMAIL PROTECTED]> wrote:
>
> I end up using FileResourceStream to serv
Would it be possible to get a column resize event added?
I am attempting to use a Dojo Combobox as the editable cell content. The
grid has a css style defined for edited cells that forces the combobox text
element to 100% of the column width. That has a cool effect when editting,
but has the si
First i dont want a boolen in the components that onFirstRender() is called.
I want a boolean that it is not called. So in the constructor of
component we set the flag and clear it when first rendered.
Do remember that in onBeforeRende components/panels and all can be
created again but i think thi
Make a jira issue with a sample quickstart
On 4/29/08, Ritz123 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> After spending quiet a few hours on PageParameter mystery I think its time
> to get experts help.
>
> I have a few Bookmarkable pages with MixedParamStrategy set - this means I
> have few fixed pa
// It solves your problem because the call to load will be made each
time your view renders
final LoadableDetachableModel articlesLoadableModel = new
LoadableDetachableModel() {
private static final long serialVersionUID = 1L;
/**
* [EMAIL PROTECTED]
*/
@O
The controller layer in wicket is the component..
On 4/29/08, Sergio García <[EMAIL PROTECTED]> wrote:
>
> Well, I appreciate all the comments, but i want to explain things about how
> we work here. In our vision about how a wicket + spring + hibernate should
> be, in 99% of cases only services ar
You can also use xml for your properties
On 4/28/08, Vit Rozkovec <[EMAIL PROTECTED]> wrote:
> Hi,
> try to convert the property file with native2ascii tool.
>
>
> greeklinux wrote:
> > Hello,
> >
> > I am using IDEA as IDE. I configured it to use UTF-8.
> > Did I forget something?
> > In the prop
see com.inmethod.grid.common.AbstractGrid.onColumnStateChanged()
On Tue, 2008-04-29 at 12:24 -0700, ChuckDeal wrote:
> Would it be possible to get a column resize event added?
>
> I am attempting to use a Dojo Combobox as the editable cell content. The
> grid has a css style defined for edited c
See pagemap.redirectToResponsePage() and continueToXxxx method
On 4/29/08, Eyal Golan <[EMAIL PROTECTED]> wrote:
> I have a Login page that is redirected if the session is expired (for
> example, if I shut of the server and put it on again).
> In the Login page, I redirect to my base page:
>
Use shared resources with an image param and then an Image with a
resource reference.
On 4/29/08, Martijn Lindhout <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a gridview, which in populateItem is filled with:
>
> new PhotoTile("tileContent", (PhotoCardModel) item.getModel());
>
> In PhotoTile'
John,
Thanks for the reply. As I mentioned, there seems to be multiple issues -
what do I make an issue on?
Also, will appreciate if you can share some thoughts on going about fixing
it.
Johan Compagner wrote:
>
> Make a jira issue with a sample quickstart
>
> On 4/29/08, Ritz123 <[EMAIL PRO
anywho. why even talk about this? there is absolutely nothing stopping
you from doing this is there?
-igor
On Tue, Apr 29, 2008 at 12:44 AM, Sergio García <[EMAIL PROTECTED]> wrote:
>
> Well, I appreciate all the comments, but i want to explain things about how
> we work here. In our vision ab
Doing this stuff in the session constructor is really the wrong place,
then still the normal request processing will happen.
Something like this should be done in RequestCycle.onBeginRequest()
and then throw a RestartResponseException() instead of just setting a
request target.
Johan
On 4/28/08,
Why do you want to propagate the changes? Why isnt it just pull
instead of push? Or do you use ajax and you have to know what
components have to be rerendered?
On 4/28/08, Martin Makundi <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have a situation where I have multiple propertymodels whose
> model-obje
and how i would check if the cookie is not set ?
Johan Compagner wrote:
>
> If(!session.isTemp() && cookieNotSet) setCookie()
>
> On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
>>
>> Doesnt really give what i need (looking at the src), i want to know if a
>> permanent session was created in a pa
Get the cookie from the request???
On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
>
> and how i would check if the cookie is not set ?
>
>
>
> Johan Compagner wrote:
> >
> > If(!session.isTemp() && cookieNotSet) setCookie()
> >
> > On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
> >>
> >> Doesnt really giv
Just make an issue for the case you have below, that generates the stacktrace.
And in your comments you can also say, that this or that could als be
a problem for this url strategy
On 4/29/08, Ritz123 <[EMAIL PROTECTED]> wrote:
>
> John,
>
> Thanks for the reply. As I mentioned, there seems to be
It wouldnt be there,remember i want to set the cookie in the same response as
the JSESSIONID cookie..
Johan Compagner wrote:
>
> Get the cookie from the request???
>
> On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
>>
>> and how i would check if the cookie is not set ?
>>
>>
>>
>> Johan Compagner
Look for once what i test!!
You want this the first time a session is created set a cookie.
So TEST the isTemp() method of the session. (in
RequestCycle.onEndRequest()) then if that returns false then you know
the session is created when you dont know yet, it could be this
request but also a prev
I'd suggest that you prove out that your concept is "better" than the
current solution by building out a competing solution and contributing it as
an opensource project to let the community decide which solution is the best
fit for them.
i'm all for a little competing innovation! =)
On Tue, Apr
Sure it makes sense, but there is a reason that i want to set the cookie in
exactly the same request/response cycle, the cookie i am setting would be
used by this external mod_plsql application (i am integrating my wicket app
with) to check if an http/wicket session exists, the external app bases
or just new LDM() { load() { return getwhatever();}}
-igor
On 4/29/08, Hoover, William <[EMAIL PROTECTED]> wrote:
> // It solves your problem because the call to load will be made each
> time your view renders
> final LoadableDetachableModel articlesLoadableModel = new
> LoadableDetachableModel()
Just an observation - should the detach() method in LoadableDetachableModel
be final? It adds the onDetach() hook for subclasses to implement. Would
there be a case where you want to override detach() and NOT let the LDM do
it's detach (by not calling super / on purpose or accident)?
Jeremy Thom
Initially i had kind of a hack where i was checking the response headers
using HttpResponse.containsHeader("Set-Cookie") in
RequestCycle.onEndRequest() and set my cookie if it returns true, this
worked perfectly fine in jetty but in oc4j for some odd reasons i dont have
these response headers avai
On Tue, Apr 29, 2008 at 3:59 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> First i dont want a boolen in the components that onFirstRender() is called.
> I want a boolean that it is not called. So in the constructor of
> component we set the flag and clear it when first rendered.
>
Are we thi
I am in a very time crunched schedule and this is a show stopper for me -
cant even render the page - hope you understand if I ask is there any
timeline on the fix that I can expect?
Again reiterating if anyone can give any pointers on fixing this(not sure if
its a bug or if I am doing something
How often are snapshot builds done? I am trying to use 1.4-SNAPSHOT, and
the latest version was built April 11 [1], but I want a change made April 22
[2].
Are they built automatically by Bamboo or manually? If manually, what can
we (lowly users) do to help?
Thanks,
Jeremy Thomerson
[1] -
http
1 - 100 of 124 matches
Mail list logo