I don't think it's because of the iFrame. If you take it out of the modal
page content, will that stop messing up the linktree?
can you provide more code?
On Mon, Apr 28, 2008 at 2:15 PM, geke <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I´m upload a file via a modal window and an iFrame. It`s desc
There is an example.
http://www.dooriented.com/blog/2008/04/23/wicket-ajax-like-file-upload-on-a-modal-window/
--
View this message in context:
http://www.nabble.com/Form-submit-with-a-FileUploadField-appears-not-to-work-in-a-Modal-Window-tp16795627p16976741.html
Sent from the Wicket - User mail
Hi!
Please give me an example:
MyData myData = new MyData(name, address); // pseudo
add(new Label("name", new PropertyModel(myData, "name"));
add(new Label("address", new PropertyModel(myData, "address"));
// now I have an ajax button or something...
@Override
protected void onUpdate(Aj
Now it works but I had to specify the javacript libraries explicit in the
header section. The auto generated header contribution of libraries did not
work. I hat a similar problem with WicketStuff Dojo.
Stefan
-Ursprüngliche Nachricht-
Von: Stefan Lindner [mailto:[EMAIL PROTECTED]
Ges
For now, doing an HttpServletResponse.sendRedirect works, but it just logs
this error..
ERROR - WebResponse- Unable to redirect to:
?wicket:interface=:1, HTTP Response has already been committed.
There has to be a better alternative..
mfs wrote:
>
> So you are saying re-d
I have feeling that its because of OnUnAuthorizedInstantiationException,
which gets thrown on accessing an authorized page access, and due to the
creation of UnAuthorizedInstantiationListener and other stuff wicket ends
up creating a permanent session (just a guess), i dont see any other reason,
You don't need the wrapper. If you give PropertyModel a IModel as
object it knows how to handle it. I do that all the time: Single
backing IModel with lots of different IModel in front (property
models, AROM, etc.)
Frank
On Wed, Apr 30, 2008 at 7:09 AM, Martin Makundi
<[EMAIL PROTECTED]> wrote:
I use Ajax and in an OnChange event I reload/replace some model
objects and add the components holding the models into
ajaxupdatetarget.
I have not found another way to replace the model objects using a
"single point of entry".
**
Martin
2008/4/29 Johan Compagner <[EMAIL PROTECTED]>:
> Why do yo
I was thinking that another benefit of initialising the page after
construction is less memory use when using "redirect to render", when there
are many invisible components, or in situations where a page instance is
created to pass to another page as the next page or return page.
igor.vaynberg w
hm. dont know if doing localization based on type of model object is a
great idea. there are many usecases where model type is quiet
aribitrary, and as you have found out yourself you dont know what
component you get passed in, so you just need to handle it in a way
that makes sense to you.
-igor
So you are saying re-direction isn't supported in the constructor ? I cant
think of an alternative, given i had to expose a logout page to the external
app for wicket apps session invalidation and soon after invalidation i have
to it pass to a non-wicket logout html
BTW throwing AbortException gi
heh, even though we switched to int we are pretty close to running out
of flag bits already :) but oh well :)
-igor
On Tue, Apr 29, 2008 at 7:07 PM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> I am just saying if we make such a thing, that i dont want state after
> the fact in a components
Just output the complete url in the browser what do you get when you
expect the params?
On 4/29/08, andrea pantaleoni <[EMAIL PROTECTED]> wrote:
>
> This is the code we used
>
> PageParameters parameters = new PageParameters();
> parameters.put(ApplicationConstants.REQUEST_USERNAME,userIdField.get
I'm writing my own
It does this
@Override
public String loadStringResource(Component component, String key) {
if (component == null) {
return null;
}
String result = null;
Locale locale = component.getLocale();
String style = component.
I think this usecase should be supported but isnt the best way, you
should throw an AbortException when you want to redirect in the
constructor. Dont know from top of my head if we have one just for an
url but that is easily made
On 4/30/08, mfs <[EMAIL PROTECTED]> wrote:
>
> Guys,
>
> I have a Lo
I am just saying if we make such a thing, that i dont want state after
the fact in a components. But i guess we can then better use a bit
i think we have a few left.
On 4/30/08, James Carman <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 29, 2008 at 3:59 PM, Johan Compagner <[EMAIL PROTECTED]>
> wro
Guys,
I have a LogoutPage which does the following in its constructor
LogoutPage()
{
getSession().invalidate();
// redirecting to the external app logout page
RequestCycle.get().setRequestTarget(
new RedirectRequestTarget(Host.getHttpsUrl()
+ xyz.getLogoutURL())
Currently it is not easy to get wicket out of all the urls. This
prefix is a static final that is used on many places, i want to make
that configurable in a next release.
By default wicket will generate relative paths. You can get a
absolute one with i believe RequestUtils. But this is still with
With the way i described it will happen in exactly the same response!
On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
>
> 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_p
Finally figured out the fix.
It is a bug, relatively simple to fix. I have created a JIRA issue.
Let me know if more information is needed.
Ritz123 wrote:
>
> 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
they should be built automatically every hour if there is a checkin.
can someone check out bamboo and see what the problem is please?
-igor
On Tue, Apr 29, 2008 at 3:35 PM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> How often are snapshot builds done? I am trying to use 1.4-SNAPSHOT, and
>
sorry, but i dont really get what the problem is or why it matters
what component stringresourceloader gets. it simply traverses up the
hieararchy looking for .properties files
-igor
On Tue, Apr 29, 2008 at 4:55 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Do you know an elegant solution Igor?
Do you know an elegant solution Igor?
Detecting when the component IS a page - when something like is used in a page's markup, the component sent to the
StringResourceLoader is
MarkupInheritanceResolver$TransparentWebMarkupContainer and not Page.
If the strings are resolved in java (ie, getStri
Hi,
Was wondering if its possible to hide "wicket" name from the URLs (stateless
and stateful). One might not want to show their end users that wicket is
being used behind the scenes.
Also I noticed even if page has bookmarkable links - the links show relative
../../../../mount/params!! Is there
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
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
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
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
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
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()
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
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
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
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
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
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
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
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
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,
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
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
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'
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:
>
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
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
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
// 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
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
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
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
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
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
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
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:
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..
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
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
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
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
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
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
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
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:
>
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
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).
>
>
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
==
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...
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
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
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
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
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
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'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
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
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 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
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.
>
>
---
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");
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
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
> {
>
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
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
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
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 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
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)
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
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
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
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
[ ] 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
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
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 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
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
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)
>{
>
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)
>{
[ ] 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> ,
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;
1 - 100 of 124 matches
Mail list logo