because browsers suck :)
-igor
On 8/13/07, jq58 [EMAIL PROTECTED] wrote:
Yep, that did it. Still a little confused as to why the onchange did not
work.
Thanks to everyone for their suggestions.
Alex Objelean wrote:
You mean that in IE you have to click twice?
Use onclick event
DiskPageStore , SecondLevelCacheSessionStore in core
-igor
On 8/9/07, Seldon, Richard [EMAIL PROTECTED] wrote:
Hello. Does anyone have any working example implementations of a custom
ISessionStore.
Perhaps writing to disk / database etc. Hoping to get up to speed
v.quickly.
Best regards,
it is a global thing, so it will be applied to all request.
getRequestCycleSettings().getResponseFilters().add(new MyFIlter());
-igor
On 8/8/07, Tremelune [EMAIL PROTECTED] wrote:
Hm, still a good question. How do you get the IResponseFilter in there?
There
doesn't seem to be a way to do
some projects have small scope, and once that scope is covered there is
simply nothing more to do. have you checked it out - does something not work
for you?
-igor
On 8/8/07, Craig Lenzen [EMAIL PROTECTED] wrote:
Does anyone know if this project is active or not? IE, is someone actively
you couldve used a freemarkerpanel i suppose. depends on the usecase.
-igor
On 8/8/07, Andrew Moore [EMAIL PROTECTED] wrote:
Hi,
I didn't find a solution, I ended up just using freemarker and servlets
for
pages where I needed to do this which isn't too bad for me as I've two
main
you need to create two fragments - one with markup for a textfield, and one
with markup for a dropdown. then add the appropriate fragment.
-igor
On 8/7/07, rtow [EMAIL PROTECTED] wrote:
I have a column that needs to display either dropDownChoice or text.
dataViewPanel.html
tr
dont use a compound model, that is just a shortcut for common cases.
create a model that keeps an index and a ref to the list model, and pulls
things in and out like that.
class indexedmodel implements imodel {
private final imodel list;
private final int index;
getobject() { return
whatever streams that external file has to set a
content-disposition:attachment header so the browser pops up that box.
-igor
On 8/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I see that DownloadLink can be used to stream a File.
What I want to do is use DownLoadLink to redirect to an
class alert extends abstractbehavior {
boolean istemporary() { return false; }
void renderhead(iheaderresponse r) {
renderonloadjavascript(alert('error!');); }
}
form searchform=new form(...) {
onerror() { add(new alert(); }
}
-igor
On 8/2/07, Federico Fanton [EMAIL PROTECTED] wrote:
Hi
On 8/1/07, salmas [EMAIL PROTECTED] wrote:
Hi Igor:
I cannot use the AjaxSubmitButton because I need to change the button's
model dynamically and this functionality is broken in Wicket 1.2 and I
can't
use the 1.3 beta because my company doesn't want to use beta software for
a
production
if you really want something that binds to the Date then create 3 models,
each adjusting the specific portion of the date, for example:
class YearModel implements IModel {
private final IModel date;
Object getObject() {return date.getObject().getYear();}
void setObject(Object o) {
the author of qwicket is allergic to maven, so you will have to configure
the project yourself
-igor
On 7/31/07, winlaw [EMAIL PROTECTED] wrote:
HI
I a new to Wicket and have downloaded the QWicket quickstart but it has no
pom file so will not allow to run mvn idea:idea to generate the
On 7/31/07, salmas [EMAIL PROTECTED] wrote:
- Even though I do nothing in onSubmit (which I know does get called) the
table is reloaded (button.getRequest() shows the request for the page to
reload). I'd like to stop the auto redraw and do an AJAX update from
within
onSubmit instead, I am
onbeforerender() works recusively
lets look at your code
protected final void onBeforeRender()
{
super.onBeforeRender();
org.apache.wicket.markup.html.WebMarkupContainer tabPartRepeater = (
org.apache.wicket.markup.html.WebMarkupContainer)this
try changing
span id=repeaterContainer3
to
div id=..
you shouldnt nest block elements (table/div) in inline elements.
-igor
On 7/30/07, Flavius [EMAIL PROTECTED] wrote:
Greetings.
I have a page that uses the new OnChangeAjaxBehavior. When values
are typed into the text field, it
yes it should on every request.
during ajax only components being rendered (subtrees added to target) have
their onbeforerender() called.
-igor
On 7/29/07, davor-x [EMAIL PROTECTED] wrote:
Hi.
Is Component.onBeforeRender supposed to execute on every request, ajax or
not?
Because, I have
what url causes the page expired page?
-igor
On 7/28/07, lubosp [EMAIL PROTECTED] wrote:
Hi guys,
my first wicket mailing list post. I just started using Wicket couple gays
ago (after using Tapestry and ZK), and I have to say, I am impressed.
Congratulation to great framework!
I have
hrm, i dont see how /MyApp/app can ever cause a page expired error because
it is a bookmarkable url and so a new instance of page is always created. i
would debug the request cycle and see why it cannot find the page, seems
very strange to me
-igor
On 7/28/07, lubosp [EMAIL PROTECTED] wrote:
are you running it on a cluster of live servers? or just one?
-igor
On 7/27/07, Mike Cripps [EMAIL PROTECTED] wrote:
Hi all,
On my development box, the following code works fine (I'm using a Wizard):
productCodeField.add(new AbstractValidator() {
@Override
protected
the url never changes, so the browser uses its cache
use NonCachingImage
-igor
On 7/27/07, Gohan [EMAIL PROTECTED] wrote:
I wonder how I rerender an Image using the AjaxSelfUpdatingTimerBehavior?
I've created an image like:
Image image = new Image(imgId, new DynamicImageResource() {
On 7/27/07, salmas [EMAIL PROTECTED] wrote:
I have to mimic an application which was written using javascript/XSLT in
which changes in a table affecting single rows are managed by updating
only
the affected row(s). I believe that this is done by surrounding the row in
a
span.
Is this
On 7/27/07, salmas [EMAIL PROTECTED] wrote:
igor.vaynberg wrote:
On 7/27/07, salmas [EMAIL PROTECTED] wrote:
Thanks Igor,
How could I do this?
thats easy, you start by searching this list for datatable ajax row
which will find this:
you need 1.3beta2 of both
-igor
On 7/27/07, salmas [EMAIL PROTECTED] wrote:
Igor, do I need the latest code for both wicket and extensions or just
extensions?
igor.vaynberg wrote:
On 7/27/07, salmas [EMAIL PROTECTED] wrote:
igor.vaynberg wrote:
On 7/27/07, salmas [EMAIL
because of all the threadlocals you should probably run wickettester in a
separate thread:
onclick() {
final String[] output=new String[1];
Runnable gen=new Runnable() {
run() {
WicketTester tester=new WicketTester();
tester.startPage(new MailPage());
the general problem here is that hardcoding ids into wicket markup is mostly
dangerous because things are so reusable.
if you put an id into a repeater then it will be repeated all the time -
causing multiple elements with the same id - which will lead to invalid
html.
hardcoding an id inside a
On 7/26/07, Kirk Israel [EMAIL PROTECTED] wrote:
(I started moving myself to the other list but am not quite there yet)
Empirically, it looks like there might have been a change in behavior
from 1.2, but I couldn't verify that on
http://cwiki.apache.org/WICKET/migrate-13.html --
if you're
i just made formcomponent.checkrequired() none final.
i think most implementations of formcomponentpanel will want to override it
and always return true. that way required validation will be performed on
formcomponentpanel's convertedinput rather then raw http post input. makes
sense?
-igor
On
always add a form around it, wicket supports nested forms.
-igor
On 7/26/07, David Leangen [EMAIL PROTECTED] wrote:
I have a Panel that I'd like to be able to either render as a
FormComponent in the context of a known Form (by passing the parent Form
in this component's constructor) or, if
ah, i thought we had that in beta2 :|
-igor
On 7/25/07, Al Maw [EMAIL PROTECTED] wrote:
Igor Vaynberg wrote:
mount your homepage with indexedurlcodingstrategy
Unfortunately, I don't think that works at the moment - you can't mount
things on / as it's all reserved. There's an outstanding
simply
gridform.setvisible(false);
-igor
On 7/25/07, Durai007 [EMAIL PROTECTED] wrote:
i have 2 forms, 1.grid-form 2. upload form. both forms have mentioned in
html
But initially i want to load upload-form only. So that initially how to
remove grid-form.
after submitting upload-form,
sounds to me like what you need is indirection
something like
IComponentFactory { Component newComponent(String id, IModel model); }
then you can configure these in whatever context (in your case spring) and
inject those into pages/panels/etc and let them create children.
this is essentially
it might not have had a release
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee
-igor
On 7/25/07, Patrick Angeles [EMAIL PROTECTED] wrote:
I believe someone contributed code to allow for @EJB injection into Wicket
pages, and this wound up in Wicket Stuff...
Is
On 7/24/07, spencer.c [EMAIL PROTECTED] wrote:
Thanks Eelco, that did the trick.
Couple of follow up questions/comments that anyone can field:
1) I understand why you would want a stateless application, however I
don't
understand why you would ever want your session to be regenerated on
mount your homepage with indexedurlcodingstrategy
-igor
On 7/24/07, verbal evasion [EMAIL PROTECTED] wrote:
i am trying to do something and i dont know if its possible in wicket. in
a
framework like django (djangoproject.com), i can do stuff like have
http://www.mysite.com/username where
you cannot.
input type=file can only upload files.
-igor
On 7/23/07, Durai007 [EMAIL PROTECTED] wrote:
Hi,
In html,
input type=file name=browser
I can select the file path.
But How can I select folder path? Please explain in html and with wicket
also
Thanking You
Regards
Durai
i believe the cause of both problems was the same
-igor
On 7/23/07, ChuckDeal [EMAIL PROTECTED] wrote:
igor.vaynberg wrote:
svn update and your quickstart will work
-igor
On 7/20/07, ChuckDeal [EMAIL PROTECTED] wrote:
I am attempting to work around the problem I
On 7/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 7/23/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote:
The problem is that you have hidden the container in which the
components
were placed, and later when wicket attempts to add the components, it
can't
find the
no one probably uses 1.2.2 still - like you said its ancient.
-igor
On 7/22/07, Nili Adoram [EMAIL PROTECTED] wrote:
anyone ?
Nili Adoram wrote:
Hi all,
The following error has occurred to a member of our QA team.
He could not reproduce the scenario.
If you look at the source files
On 7/19/07, Laurent Brucher [EMAIL PROTECTED] wrote:
Ok, my bad...
Cutting out the details, the page that included a ref to the modal window
had a piece of javascript, which generated an IMG tag with a src
attribute
starting with a '#' (this is some code ported from a JSF version of the
on selectoption, not directly on select
-igor
On 7/20/07, Huy Do [EMAIL PROTECTED] wrote:
Hi,
Is it possible to use an AttributeModifier on the DropDownChoice or
Select option element ? i.e option class=myclass
Thanks,
Huy
((webrequest)getrequest()).gethttpservletrequest()
-igor
On 7/20/07, Robert Young [EMAIL PROTECTED] wrote:
Hi,
I have a servlet filter which analyses the servlet request and then
sets a variable to it, I need access to this inside a wicket web page.
How can I get hold of the
svn update and your quickstart will work
-igor
On 7/20/07, ChuckDeal [EMAIL PROTECTED] wrote:
I am attempting to work around the problem I described here:
http://www.nabble.com/Repaint-single-row-of-a-DataTable-tf4111859.html
As a result, now instead of adding the row to the target, I add
he problem here is specifying the charset, properties factory is global so
you might encode your files one way but a jar you use with components might
have them encoded in another charset - so we cannot really have a global
charset specified. i think the proper thing to do is use xml properties
On 7/19/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED]
wrote:
Hello.
Any way of doing this?
see downloadlink and popupsettings
-igor
-- Forwarded message --
From: Francisco Diaz Trepat - gmail [EMAIL PROTECTED]
Date: Jul 18, 2007 4:15 PM
Subject: Download / View
On 7/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello to all!
I'm beginning to learn how to use wicket and I have a question regarding
DropDownChoice: I have a POJO that is serving me as the model for my
page, so my form is bind to the properties.
My problem with the Dropdownchoice
this is tricky because datatable encapsulates a lot of this stuff so it will
probably need something exposed for this usecase. if you create a quickstart
that has a datatable, some bogus data, and some links in columns that should
trigger a refresh i can play around with it and see what needs to
class applet extends webcomponent {
oncomponenttagbody(tag) {
strinbuilder b=new stringbuilder();
b.append(param name=foo value=bar/);
...
replacecomponenttagbody(tag, b.tostring());
}
}
-igor
On 7/19/07, mperham [EMAIL PROTECTED] wrote:
I'd like to build a dynamic charting
RequestCycle.urlFor(Page) will do what you want
-igor
On 7/19/07, Joel Hill [EMAIL PROTECTED] wrote:
My app's home page is nothing more than a blank page which has an onload
script which opens a new browser window and loads my app's main page
into it. I'm having trouble figuring out how to
attach it to a jira issue, preferrably as a patch.
thanks,
-igor
On 7/19/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED]
wrote:
great
thanks
ps: i have a first version of the extensible choice auto-complete.
should i send you the code?
On 7/19/07, Igor Vaynberg [EMAIL PROTECTED
On 7/18/07, Ballist1c [EMAIL PROTECTED] wrote:
Yep, I made some adjustments to code, to allow for any number of users to
join a chatSession, rather then just 2.
What I am doing is , the vector that I am using is within a particular
class
and the Iterators for that vector are actually
-- Forwarded message --
From: Pierre Coquentin [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Date: Wed, 18 Jul 2007 09:36:44 +0200
Subject: Row index in datatable
hello all,
I need to obtain row index in datatable when populating cell item.
column = new
On 7/18/07, Alex Objelean [EMAIL PROTECTED] wrote:
I am using wicket-1.2.6.
Here is a short background description of the problem:
I have a page, which contains an AjaxTabbedPanel. The panel contains div
wicket:id=modalWindow/div markup to hold the ModalWindow component.
I think that the
what does your strategy do? it redirects right? you do that with throw new
RestartResponseException - you can do the same from your constructor once
you check your model. it isnt that much later that you would fail - only
the init of super hierarchy.
-igor
On 7/18/07, Maurice Marrink [EMAIL
i am -1 on this
first of all there are already too many exception to this: it wont work if
its a wrap model, it wont work if its icomponentassignedmodel, blah blah
blah.
if i construct my component with new Component(id, foo) and foo is not
null then it is very clumsy that sometimes in the auth
On 7/18/07, Jeff Pierce [EMAIL PROTECTED] wrote:
I am new to Wicket and just getting my feet wet and looking for some
advice. I have an app I am building that contains a main row of Ajax tabs
across the top. Each tab's panel will have the following layout. A set
of
menu's on the left and
On 7/18/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Sounds to me like you have alternative ways to implement this, for
instance, construct what's on your page according to what can be
displayed, throw an auth exception in the page itself (doesn't sound
like you were doing this generically
On 7/18/07, mperham [EMAIL PROTECTED] wrote:
We are migrating our existing application from UI framework XXX to Wicket
and
we have a boatload of UI automated tests which depend on the ID attribute
of
our form inputs to drive the tests. I'm trying to figure out how to get
Wicket to use the
i dont remember how similar the markup id handling code is between the two
versions, but all i did was add this:
/**
* Sets this component's markup id to a user defined value. It is up to
the
* user to ensure this value is unique.
* p
* The recommended way is to let wicket
the view doesnt keep the iterator, it just iterates over it once when it
renders. iterators arent meant to be kept, they are throwaway objects.
-igor
On 7/18/07, Ballist1c [EMAIL PROTECTED] wrote:
It IS very possible I am going about this from the completely wrong
angle...
The gist of it
simply do this
have your images be relative
img src=images/logo.png/
in runtime wicket will rewrite them to be relative to context root
in devel time put this into head
wicket:remove
base href=../../../path/to/your/webapp/folder/
/wicket:remove
so at devel time your images will also be
putting one together should be trivial. you can pretty much copy
wicket-spring and replace all the spring bits (of which there are only few)
with pico's
-igor
On 7/18/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
Eelco Hillenius wrote:
On 7/18/07, David Rosenstrauch [EMAIL PROTECTED]
On 7/17/07, Fisher, Brice A [EMAIL PROTECTED] wrote:
An additional question. Trying to do things the brute force way, I
implemented the following in my form:
@Override
protected void validate() {
Button b = findSubmittingButton();
if (b == updateButton) {
On 7/17/07, Kirk Is [EMAIL PROTECTED] wrote:
So, at wicket-library.com/wicket-examples I see signin and signin2.
Signin2 is the rememberme functionality I'm trying to emulate.
When I click on view source, it seems like the functionality I want,
the stuff the separates signin2 from signin,
On 7/17/07, kenixwong [EMAIL PROTECTED] wrote:
sorry,igor... i cant get what u mean ... can u explain more? or show me
some
example? thanks
you gotta learn how to use the internets
http://www.nabble.com/forum/Search.jtp?forum=13974local=yquery=visible+ajax+container
try the first result
On 7/17/07, Toscano [EMAIL PROTECTED] wrote:
Hello,
I have a huge form with a lot of dropdowns, and I'm using a
CompoundPropertyModel. The form can also be changed between more than six
languages, so everytime the user changes one value in one Dropdown, all
the
form is refreshed showing
On 7/17/07, Mike03 [EMAIL PROTECTED] wrote:
Hello, I've seen the posting that refers to this wiki page
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html How
to repaint a ListView with Ajax but my problem is a little different and
I'm hoping there's a solution. I'm
On 7/17/07, kenixwong [EMAIL PROTECTED] wrote:
:( sorry , igor... everytime when i faced the problem, i sure will search
from net. Just i not sure what u going to write as above matter...
first search result is this
http://www.nabble.com/Changing-visibility-via-ajax-tf1974532.html#a5418508
On 7/17/07, Toscano [EMAIL PROTECTED] wrote:
Thank you for your fast answer!
It makes sense. I made the following changes:
CompoundPropertyModel:
private Language defaultSystemLanguage; (with the correct gets/sets)
Submit:
System.out.println (LANGUAGE BY DEFAULT: +
On 7/17/07, Toscano [EMAIL PROTECTED] wrote:
Thank you again.
But I'm not very sure of what you are talking about... I declared the
DropDowns that way so they are able to change the content for every
language
with every localization change. But as part of a Form with assigned
On 7/17/07, NateBot2000 [EMAIL PROTECTED] wrote:
Alrighty, I figured it out. Clean and very simple (let me know if there's
a
better way to do this):
package com.***.web.dashboard;
http://bash.org/?244321
-igor
import org.wicketstuff.dojo.markup.html.floatingpane.DojoFloatingPane;
On 7/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 7/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Really ?! this is cool! but on which Seam version this integration is
based
on ?
On their current trunk (so 2.2 beta 2 in progress I believe).
Btw, at this time, only @In
On 7/16/07, kenixwong [EMAIL PROTECTED] wrote:
It work, but oaly the first time. Mean after i clicked on the radio few
times, it nothing happen.
try calling setoutputmarkupplaceholdertag(true) on all components you are
planning to call setvisible(false) when you create them
-igor
On 7/16/07, Johan Compagner [EMAIL PROTECTED] wrote:
not directly as a session attribute
but hold on to through the pagemap.
right, so it should be replicated...we do call set on the pagemap if its
dirty right?
-igor
johan
On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
hrm, i
On 7/16/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
My over-arching question at this point is: Is it a requirement that a
model's target object be Serializable?
no
1) I tried to use a LoadableDetachableModel, partly as a way to avoid
making my data object Serializable. But I'm
On 7/16/07, spencer.c [EMAIL PROTECTED] wrote:
I have a DynamicWebResource which is going to pull data out of a database.
Some of the downloads will end up being quite large (possibly a couple of
hundred MB).
I have successfully implemented the functionality using DynamicWebResource
and
in that case you have to call setvisible, but add the parent of the
component to the ajaxrequesttarget instead
-igor
On 7/16/07, kenixwong [EMAIL PROTECTED] wrote:
i m using wicket 1.2.4, setoutputmarkupplaceholdertag(true) is came from
wicket 1.3.0?
igor.vaynberg wrote:
On 7/16/07,
On 7/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
then use ContextImage component
-igor
On 7/12/07, verbal [EMAIL PROTECTED] wrote:
I want to do it dynamically though. As in based on some logic, display
1 of n files.
Thanks,
verbal
On Jul 12, 2007, at 7:13 PM, Igor
On 7/12/07, Edi [EMAIL PROTECTED] wrote:
Hi!
I have one drop down like
selectoptiontextbox/optionoptiontextarea/option/select
in the above case, I have 2 items, 1.textbox 2.textarea.
If I select textbox, text box should be displayed below the combo box. If
I
select textarea, textarea
On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 7/13/07, Edi [EMAIL PROTECTED] wrote:
Could you please explain in detail manner?
whats there to explain? in form.onsubmit or onchange event copy values
from your textarea/textfield to the appropriate hiddenfield element via
javascript
On 7/13/07, Edi [EMAIL PROTECTED] wrote:
Could you please explain in detail manner?
whats there to explain? in form.onsubmit or onchange event copy values from
your textarea/textfield to the appropriate hiddenfield element via
javascript.
then when your form submits you can read the value
On 7/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote:
Recently we've done some performance tests and obviously we have to make
most of our pages stateless to support large number of active user
sessions.
could you publish your test results please, because it is not so obvious to
me.
-igor
why dont you create a quickstart so we can run it real quick and see
-igor
On 7/13/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED]
wrote:
Hi all, I wanted to see if I could add an autocomplete that displays a
little table (3 columns).
It is a simple locations table that shows a ZIPCODE
On 7/13/07, Patrick Angeles [EMAIL PROTECTED] wrote:
Hi,
I have a question regarding this... I understand that in 1.3, previous
page states are serialized to the file system and only the current page
state stays in HttpSession. How would this work in a clustered web container
that synchronizes
it into eclipse
with a command and have a running project.
i dont want to spend my time setting up a project manually.
-igor
thanks,
f(t)
On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
why dont you create a quickstart so we can run it real quick and see
-igor
On 7/13/07, Francisco Diaz
fixed
-igor
On 7/12/07, Ballist1c [EMAIL PROTECTED] wrote:
Hey guys,
Ive been reading the apidoc for RepeatingView, and there is one thing that
is completely throwing me off.
As taken from the API
hrm, i thought the current page is stored in session?
-igor
On 7/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I have a question regarding this... I understand that in 1.3, previous
page states are serialized to the file system and only the current page
state stays in HttpSession. How
how about NonPageCachingDummyWebApplication?
-igor
On 7/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 7/13/07, Scott Swank [EMAIL PROTECTED] wrote:
That sounds like a lovely inner class for WicketTester.
tester = new WicketTester(new WicketTester.NonCachingWebApplication());
Done. I
On 7/11/07, nazeem [EMAIL PROTECTED] wrote:
I have the same case where I wanted to customize the navigation toolbar to
add few action menu items as well. So I have written my own version of
AjaxFallbackCustomDataTable by just copying the
AjaxFallbackDefaultDataTable
code in to my package and
On 7/12/07, atul singh [EMAIL PROTECTED] wrote:
Hi,
I want to show and hide forms using javascript, but this will not have
components on the server.How do I process the form on the server.
What is the reccomended way to do this??
Do I have to make a server call for this?(Based on my experience
On 7/12/07, Xavier Hanin [EMAIL PROTECTED] wrote:
Hi,
When debugging my application which uses a TabbedPanel, I realized that
one tab was unnecessarily instanciated. After some investigation the reason
is simply because I call setSelectedTab based on the parameters of my page,
but since the
On 7/12/07, mraible [EMAIL PROTECTED] wrote:
Is it possible to use Tapestry's parser in tests to verify that template
syntax is correct?
probably yes, wicket also has a pullparser implementation you can use, or
any other html parser. our tests compare string buffer of httpservletrequest
to
On 7/12/07, verbal evasion [EMAIL PROTECTED] wrote:
actually, doing url.getContent() doesnt seem to work. can someone please
help me out?
in your markup just do img src=img/foo.gif/ wicket will rewrite that url
to be context-relative so /mycotnext/img/foo.gif which will map to
On 7/12/07, mraible [EMAIL PROTECTED] wrote:
Is it possible to expire the page cache with JMX? Or even better, expire
individual pages from the cache with JMX?
i dont think so, but i also dont think it will be very difficult to
implement. we already have a jmx bean here [1], so all thats
then use ContextImage component
-igor
On 7/12/07, verbal [EMAIL PROTECTED] wrote:
I want to do it dynamically though. As in based on some logic, display 1
of n files.
Thanks,
verbal
On Jul 12, 2007, at 7:13 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
On 7/12/07, verbal evasion [EMAIL
if you enable listview.reuseitems(true) your values should stick. make
addbutton.defaultformprocessing(false).
the idea here is that reuseitems will cause the comeponentpath of textfields
not change - which will cause their name attribute not to change also -
which will cause them to pick up the
((webrequest)getrequest()).gethttpservletrequest()
-igor
On 7/11/07, Goran Novak [EMAIL PROTECTED] wrote:
Hi.
How can I read http header from a subclass of WebPage?
In javax.servlet.http.HttpServlet I could get http header from
javax.servlet.http.HttpServletRequest.getHeader(headerName)
On 7/11/07, Tremelune [EMAIL PROTECTED] wrote:
Bingo, thanks. I'll add that to my mavenization...That threw me for a
loop!
you dont need to reference it directly in your pom, its transient from
wicket-spring - just need to rebuild your project with mvn eclipse:eclipse
-igor
This might
see source code of DownloadLink
-igor
On 7/9/07, kenixwong [EMAIL PROTECTED] wrote:
Hi,
is there anybody have the idea how to load a local file once click on the
tree node link. Below is the part of the ResourceLink .
ResourceLink exportAsPdf = new ResourceLink(exportAsPdf, new
On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote:
Hi everybody
I am trying to link a CSS file to my template using this code:
wicket:head
wicket:link
link rel=Stylesheet type=text/css href=css/main.css media=screen
/
wicket:link
/wicket:head
Also tried with:
wicket:head
link
you subclass, better do BaseWebPage.class instead
-igor
2007/7/10, Igor Vaynberg [EMAIL PROTECTED]:
On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote:
Hi everybody
I am trying to link a CSS file to my template using this code:
wicket:head
wicket:link
link rel=Stylesheet
1 - 100 of 3657 matches
Mail list logo