Hi!
Has anyone here seen wicket autocomplete behavior implemented for
textarea so that the autosuggestions are concatenated to the end of
the existing content instead of just replacing the existing content?
**
Martin
-
To unsubs
I would guess that it is better to use panels or fragments and instead
of using setXXX, just initialize everyting in its place according to
an internal state.
Start with one hard coded layout and then tune it using an internal
state, for example.
**
Martin
2008/4/28 Azzeddine Daddah <[EMAIL PROT
out
>
> and then tune it using an internal
> state, for example."
>
> Thank you,
>
> Azzeddine
>
>
>
> On Mon, Apr 28, 2008 at 10:16 AM, Martin Makundi <
> [EMAIL PROTECTED]> wrote:
>
> > I would guess that it is better to use panels or fragm
Hi!
I have a situation where I have multiple propertymodels whose
model-object changes as a result of an update. I need to propagate
this change to all the property models.
Is there an existing functionality to accomplish this? I came up with
a workaround, but I would like to know if there was a
Scott
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Mon, Apr 28, 2008 at 10:09 AM, Cristi Manole <[EMAIL
> PROTECTED]> wrote:
> > &
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.
>
>
---
D]>:
> 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!
> >
>
OTECTED]>:
> 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 3
Well. I do not have hierarchical models.
I have just one single-level model which is used in several propertymodels.
I will try if it works to wrap it.
**
Martin
2008/4/30 Per Newgro <[EMAIL PROTECTED]>:
> Am Mittwoch, 30. April 2008 08:29:10 schrieb Martin Makundi:
&g
Here is a tutorial:
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html
2008/5/1 David Chang <[EMAIL PROTECTED]>:
>
> I just started to learn Wicket.
>
> This question may seem naive to many people and please
> forgive me.
>
> a WebPage component is created for each session a
> Would the following work for you? It uses a combination of
> CompoundPropertyModel and setObjectModel.
> Address address = (Address)form.getModelObject();
> someService.updateAddress(address);
> form.setModelObject(someService.getAddress());
> tgt.addComponent(f
Hi!
Are there any standard listeners or interfaces for
interlinking/chaining hierarchical components?
In my recent experience if a lower-level model changes, its decendants must be
a) reloaded according to the changed parent element state
*** in general this can be lazy-loaded
(http://wicketstuff
I haven't found much. Here are some snipplets that may be of use:
public class AjaxIndicatorContainer extends WebMarkupContainer {
/**
* Constructor for TODO
* @param form
*/
public AjaxIndicatorContainer(Form form) {
super("ajaxIndicator"); // wicket:id
setOutputMarkupId(true
Hi!
I have been coding without invoking session.dirty. Browsing framework
code, I can see it is used. What does it accomplish and where should I
have used it in my own code?
**
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
n
> your application has only stateless pages and you have a statefull
> session object that you need to replicate accros cluster. But IMHO
> that's not very common usecase.
>
> -Matej
>
>
>
> On Fri, May 2, 2008 at 4:46 PM, Martin Makundi
> <[EMAIL
gner <[EMAIL PROTECTED]>:
> Nop thats the best thing todo
>
>
>
> On 5/3/08, Michael Allan <[EMAIL PROTECTED]> wrote:
> > Matej Knopp wrote:
> > > Martin Makundi wrote:
> > > >
> > > > Let's say I have some variables
Could you show the markup and the code?
2008/5/5 Edi <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have created one html link and during the onclick, I have called the
> javascript print function,
>
> window.print(), the entire page is printing nicely. But in all the corner
> sides, I am getting s
; Edi wrote:
> >
> > my html code is
> >
> >
> > PRINT img/print.gif
> >
> > i did not use any wicket code. i used only html and javascript
> > thanks-
> >
> > ---
What do you need them for? Why not pick them up when they are created?
2008/5/9 Mathias P.W Nilsson <[EMAIL PROTECTED]>:
>
> Hi!
>
> I have this list view
>
> ListView view = new ListView( "translatorView" , cultureModel ){
>
>private static final long serialVersionUID = 1L
Why don't you just add the combos into a list during the populate event?
2008/5/9 Mathias P.W Nilsson <[EMAIL PROTECTED]>:
>
> When submit is pressed I need to get an array of selected users.
>
> It can contain 100 drop down boxes and I want the selected user in each drop
> down.
> --
> View this
Hi!
I understand that it is possible to override Panel markup in your
within your main page. The Pro Wicket gives a simple example with the
FeedbackPanel:
User Profile
Message goes here
Message log level
However, when I try to override the Palette component layout in a
similar manner:
;>Selected
> [available header]
> class="choicesSelect">Select
>
>
>
>
>
>
> And in your page markup put a
> Note that i did not check the markup i just copy pasted yours.
>
> Maurice
>
>
>
> On Sat, May 10,
But why does it seem to work with FeedbackPanel? I want just that. A
fragment I understand just means providing optional markups. That is
not exactly what I want because every realization is different.
**
Martin
2008/5/12 Eelco Hillenius <[EMAIL PROTECTED]>:
> > Instead, I want the MyPage.html to
You could also just use a md5 hashkey with content specific to the account:
MessageDigest messageDigest = MessageDigest.getInstance("MD5");
return new String(messageDigest.digest((encryptionKey +
value).getBytes()));
**
Martin
2008/5/16 Ryan Gravener <[EMAIL PROTECTED]>:
> You ma
ys unique?
>
> On Thu, May 15, 2008 at 7:39 PM, Martin Makundi <
> [EMAIL PROTECTED]> wrote:
>
>> You could also just use a md5 hashkey with content specific to the account:
>>
>>MessageDigest messageDigest = MessageDigest.getInstance("MD5");
The workaround definitely catches some erroneous situations.
Nevertheless, it is a workaround (does not solve the root problem).
2008/5/17 Martijn Dashorst <[EMAIL PROTECTED]>:
> I see a lot of folks recommending this, but nobody confirming this
> actually helps.
>
> Martijn
>
> On 5/17/08, Iman R
Hi!
I just upgraded from 1.3.1 to 1.4-m1 and I received the strangest of errors.
Has anyone had the same experience below? This occurs only with the
ternary operator, probably because both elements get initialized at
runtime:
public class AnyPage extends WebPage {
public AnyPage() {
// I wa
Hi!
Again, from ugrading 1.3.1 -> 1.4-m1; I agree with another thread that
the mode object contents should be allowed to change (the
implementation survives both situations):
http://mail-archives.apache.org/mod_mbox/wicket-dev/200704.mbox/[EMAIL
PROTECTED]
There is a setter anyways:
Hi!
There is a fixed version of the SqlDateConverter in the trunk,
https://issues.apache.org/jira/browse/WICKET-735 This fix appars to be
only in 1.3.0-beta4.
Is there a reason why this has not been included in the latest builds?
**
Martin
---
org.apache.wicket.util.convert.converters.SqlDateConverter.convertToObject(SqlDateConverter.java:43)
- return (Date)parse(getDateFormat(locale), value, locale);
+ return new Date(((java.util.Date)parse(getDateFormat(locale), value,
locale)).getTime());
2008/5/17 Martin Makundi <[EMAIL PROTECTED]>:
> Hi!
>
> There is a fixed
east not that i know
> of
>
> On 5/17/08, Martin Makundi <[EMAIL PROTECTED]> wrote:
>> The workaround definitely catches some erroneous situations.
>> Nevertheless, it is a workaround (does not solve the root problem).
>>
>> 2008/5/17 Martijn Dashorst <[EMAI
ne?
>
> On 5/17/08, Martin Makundi <[EMAIL PROTECTED]> wrote:
>> Hi!
>>
>> I just upgraded from 1.3.1 to 1.4-m1 and I received the strangest of errors.
>>
>> Has anyone had the same experience below? This occurs only with the
>> ternary operato
If you use hash you do not need to store the "random" part into the
db. Saves you some persistence trouble.
2008/5/19 Michael Allan <[EMAIL PROTECTED]>:
> Sam Stainsby wrote:
>>
>> Martin Makundi wrote:
>> > The benefit in digest is that the user (or anot
You are being a bit ambiguous about your goals, but I will try.
Think of repeaters like for-iterators, get started here:
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html
**
Martin
2008/5/21 Gwyn Evans <[EMAIL PROTECTED]>:
> I've not got into the repeaters as yet, so wondering if
Hi!
Does the Wicket localizer support overriding localization for each
component? This is what I have:
add(new DropDownChoice(TYPE_PICKER, typeChoices));
add(new DropDownChoice(DATE_PICKER, dateChoices));
I would like to localize the null choice differently. Now it reads
"Choose one" for both dr
nt2Id.nullValid=Choose date
>
> Instead of just the id you can also include the (partial) path,
> working your way to the top from the component you are trying to use.
>
> Maurice
>
> On Wed, May 21, 2008 at 8:08 PM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>> Hi!
Hi!
I have bytes[] stored in the db LONGBLOB column.
How do I make a clickable link for downloading the contents?
**
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rg <[EMAIL PROTECTED]>:
> see DownloadLink for inspiration
>
> -igor
>
>
> On Fri, May 23, 2008 at 11:36 PM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>> Hi!
>>
>> I have bytes[] stored in the db LONGBLOB column.
>>
>&
Hi!
I have been developing some wicket form pages and debugging them with Firefox.
Now I switched to internet explorer (IE) and noticed that Wicket
identifies the wrong submit button. My markup is as follows:
When I debug Wicket's Form.findSubmittingButton() -method it's logic
is to de
at 10:18 AM, Martijn Lindhout <[EMAIL PROTECTED]>
> wrote:
>
>> setting the HTTP Content-Disposition may help. The value should be
>> something
>> like
>>
>> attachment; filename=DummyFilename.doc
>>
>> 2008/5/26 Martin Makundi <[EMAIL PROTECTED]>
name) constructor you can use to
> specify the filename you want for the resource...
>
> On Thu, May 29, 2008 at 4:27 PM, Martin Makundi <
> [EMAIL PROTECTED]> wrote:
>
>> It is an IE "bug" or "feature" that it disregards the content type
>> after
Hi!
I have a Form whose components are populated using a listView.
Each listView component has a formValidator.
Now each time I refresh the listview it is redrawn and all the new
validators are newly added to the form in addition to the existing
validators (from the previous refresh).
For examp
threading
issues ;)
Anybody know if it is a "feature" or a "bug" that the form validator
stack keeps piling up those validators after each submit -
specifically comes up in double-or-triple-submit-click situations.
**
Martin
2008/6/5 Martin Makundi <[EMAIL PROTECTED]>
equently and thus will generate less validators.
> Don't use the removeall in combination with the reuse that will negate
> the effect :)
>
> Maurice
>
> On Thu, Jun 5, 2008 at 3:57 PM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>> Hi!
>>
>> The onl
gt; you should use embedded forms
>
> form->listview->item->form+formvalidators->formcomponents
>
> instead of
>
> form+formvalidators->listview->item->formcomponents
>
> -igor
>
> On Thu, Jun 5, 2008 at 7:55 AM, Martin Makundi
> <[EMAIL PROTECTE
Will wicket approve if I say the nested form is a tag? Should it care?
**
Martin
2008/6/6 Igor Vaynberg <[EMAIL PROTECTED]>:
> html doesnt approve of embedded forms, but wicket does. it will just work.
>
> -igor
>
> On Thu, Jun 5, 2008 at 12:36 PM, Martin Makundi
> &
le/getStyle.
>
> On Fri, Jun 6, 2008 at 10:18 AM, Martin Makundi <
> [EMAIL PROTECTED]> wrote:
>
>> Hi!
>>
>> Localization of content is pretty easy with Wicket - how about branding?
>>
>> Customer xyz should see Main_xyz.html and logo_xyz.gif - ca
Hi!
I have a table with sevearal rows and each row has a couple of YUI
datepickers (org.apache.wicket.extensions.yui.calendar.DatePicker).
I was wondering why the page loads very slowly and then I had a look
at the web page source code.
The web page is bloated with repeatedly submitted YUI javas
Hi!
I am trying to maneuvre a lightweight gmail-style busy indicator to
stay in place whenever I click an operative button.
The script seems to work fine with regular submit buttons, but I have
not found a proper way to reset the indicator in context with ajax
buttons and links.
Is there an even
its.push(initWIDGET124);
---
Anybody know how to trick this into plain string parameter format?
**
Martin
2008/6/7 Peter Thomas <[EMAIL PROTECTED]>:
> On Sat, Jun 7, 2008 at 7:17 PM, Martin Makundi <
> [EMAIL PROTECTED]> wrote:
>
>> Hi!
>>
&
8 at 9:47 PM, Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
>
>> wicket supports global javascript event handlers for this. either
>> search the list or look inside wicet-ajax.js, i cant recall them off
>> the top of my head.
>>
>
> They are mentioned in
n "add onClick to an AjaxButton" in the users list (I
> couldn't get the URL for it ...)
> It seems that you have a similar problem.
>
> Eyal
>
> On Sat, Jun 7, 2008 at 11:41 PM, Martin Makundi <
> [EMAIL PROTECTED]> wrote:
>
>> Hi!
>>
>>
#x27; || clickedElement.parentNode.tagName == 'A'
|| (clickedElement.tagName == 'INPUT' && (clickedElement.type ==
'BUTTON' || clickedElement.type == 'SUBMIT'))) {
showBusysign();
}
}
Do you think I should add it to the WIKI?
**
Martin
2008/6/8 Marti
>> Do you think I should add it to the WIKI?
>
> Thats a great idea, the more info the better:)
I had a look at the wicket wiki:
http://cwiki.apache.org/WICKET/#Index-FrameworkDocumentation
Would you consider it it the right place or would you suggest a more
suitable location (and would that requ
t; [2] http://cwiki.apache.org/WICKET/ajax.html
> [3] http://cwiki.apache.org/WICKET/view-layer.html
>
> On Mon, Jun 9, 2008 at 9:50 AM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>>>> Do you think I should add it to the WIKI?
>>>
>>> Thats a great idea
Can you paste the code for better insight into your problem?
2008/6/11 Peter Eriksson <[EMAIL PROTECTED]>:
> Hello,
>
> I have just begun to use wicket and so far I am very impressed with the
> framework.
> I have a question about best practice to solve a problem. I have a component
> (wicket pane
Hi!
I have had to tweak some markup. I have complex tables so my markup is
as follows:
I would very much like to hide the excess and tags
completely from the markup seen by the browser. However, if I set
setRenderBodyOnly(true) for the specific components, the tags will be
visible
> On Jun 11, 2008, at 9:29 AM, Martin Makundi wrote:
>
>> Hi!
>>
>> I have had to tweak some markup. I have complex tables so my markup is
>> as follows:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> I would
Done :)
2008/6/11 Igor Vaynberg <[EMAIL PROTECTED]>:
> it is a wiki
>
> -igor
>
> On Wed, Jun 11, 2008 at 7:00 AM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>> Tnx! Good point: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
>>
>> I thi
I have noticed that with DropDownChoice, if the currently selected
value is Null, you get this "choose one" item. And sometimes in a
dynamic situation you get it still.
Try using the analogous ListChoice element, at least it worked for me.
**
Martin
2008/6/11 nitinkc <[EMAIL PROTECTED]>:
>
> I t
Hi!
I have nested listviews which draw a complex tabular form having
variable colspans and rowspans depending on the state of the form.
I have an Add button to add elements into one of the inner listviews.
Problem:
1. If I have "setReuseItems" true, the HTML table is not rendered
properly (someh
> Yeah, it's easy to miss setting the currently selected value
> for when DropDownChoice is rendered for the first time.
> Hence it's always a good idea to supply it in the
> constructor.
I have noticed the problem when I have a propertymodel attached to the
dropdown, and I have two chained dropdo
If you use ListChoice this option is not there. ListChoice does not
extend AbstractSingleSelectChoice .
**
Martin
2008/6/11 Michael O'Cleirigh <[EMAIL PROTECTED]>:
> Hi nitinkc,
>
> The "Choose One" option is actually defined in:
> public abstract class AbstractSingleSelectChoice extends Abstract
Hi!
Why do you want to save the basket at a specific technical occurrence
such as .detach?
If you want, you can always persist changes for a "registered" user
and on the other hand "never" persist them for "anonymous" users.
Whenever the anonymous user becomes "registered" -> the basket is persi
> For some reason, I have often succeeded better with other
> repeaters than ListView (e.g. RefreshingView, DataView) in
> complex situations.
I have postponed studying these, I suspect problems with varying
column counts on rows.
> I think that in a normal submit the same applies -- you have
> t
certainly have it working
> elsewhere.
>
> If you use setReuseItems(true) you need to call removeAll() if you change
> the backing model object.
>
> Timo is probably right that a RepeatingView may be easier to use in this
> kind of situation.
>
> Alastair
>
>
here.
>>
>> If you use setReuseItems(true) you need to call removeAll() if you change
>> the backing model object.
>>
>> Timo is probably right that a RepeatingView may be easier to use in this
>> kind of situation.
>>
>> Alastair
>>
>> 2008
Hi!
Did not quite get the big picture.
But, I have experienced problems when synchronizing between two
different pages because Wicket seems to serialize-deserialize the
session -> object references change. I was debugging this for quite a
while as the underlaying page was updating models that rem
Hi!
When I chain components, comboboxes and tables etc., I find myself
repeatedly solving the same problem:
* the parent component causes a data reload
* the parent component causes an ajax refresh
Has someone found a generic eventlistener-like solution to this?
My current inline implementations
> if you chain your models properly (make child's model depend on
> parent's model) this should work transparently.
Say I have a Person with properties Person.country and Person.city.
Then I have a countryCombo = dropDown... and a cityCombo =
dropDown()..
Now if I change the country, I must chang
>> Now if I change the country, I must change the list of allowed values
>> for cityCombo.
>>
> http://wicketstuff.org/wicket13/ajax/choice
Thanks, I remember seeing that but already forgot about the idea that
a dropdown choice can be a model, and a smart model too.
> interface statechangedlisten
> I've been thinking about writing aspects that fire Component.onModelChanged
> even when the model's object changed (possibly deep within an object
> hierarchy).
Do you have a demo about this?
I am about to write a HierarchicalAjaxRefreshTargetPropagator soon
just to get a feeling if it is a ba
> If you just need a reference to the AjaxRequestTarget then you can do
> RequestCycle.get().getRequestTarget() and do an instanceof with
> AjaxRequestTarget.
Well, I need the ajax event too so I suppose I can equally well pick
up the target from there. I will post my brain later if I am
succesful
>> What is your idea of nice chaining?
>
> http://wicketstuff.org/wicket13/ajax/choice
I am using 1.4-m1 and I tried to make
public abstract class AbstractListChoiceModel extends
AbstractReadOnlyModel> {
@Override
public final List getObject() {
return getChoices();
}
protected abstr
Hi!
Is there a simple way to make DropDownChoice.onChange behave in a
manner somewhat similar to an
AjaxFallbackButton.setDefaultFormProcessing(false).onClick?
I have a dropDown and a textField. They are both within a PANEL that
gets AjaxRefreshed whenever the dropdown choice is changed.
The pro
ack :) Should I just roll with this solution?
**
Martin
2008/6/21 Stefan Lindner <[EMAIL PROTECTED]>:
> Maybe the AjaxFormValidatingBehavior is what you need.
>
> -Ursprüngliche Nachricht-----
> Von: Martin Makundi [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 21. Jun
>> The problem is, that even though I re-use the textField, it does not
>> know its convertedInput (probably because the form has not actually
>> been submitted?) and it resets itself to its original state. I would
>> like it to keep its state as it was when the new dropdown value was
>> selected.
Hi!
Here is a good example of a list model:
public abstract class AbstractListChoiceModel extends
AbstractReadOnlyModel> {
@Override
public final List getObject() {
return getChoices();
}
public abstract List getChoices();
}
Now change your code as follows:
linksPanel = new LinksPa
ic void onClose(AjaxRequestTarget target) {
> target.addComponent(homePageSectionPanel);
>}
>});
>
> I'm sure I need to add something else somewhere.
> But what? and where ?
>
> Thanks,
r passing Objects.
> I pass the model to the LinksPanel.
> LinksPanel ha a ListView that uses a different AbstarctReadOnlyModel.
>
> So my problem is that when I set the DB with new values, I need to inform
> the Model (in the original panel) somehow that the DB was changed.
>
> Ey
> So the problem is: how can I tell my Model (detachable) that there was
> change in the database?
Ok. I haven't worked with detachable models, but I would guess you
just detach it so that it has to re-initialize itself?
**
Martin
-
ith wicketTester and expecting the PageMap to be updated
accordingly?
Hou should I properly implement such tests? Or is it a bug/missing
feature in wicket?
Thank you in advance!
--
Martin Makundi
-
To unsubscribe, e-mail: [
ests with a browser, I get the expected
> results. Is this somehow not the proper way to handle the raw
> requests with wicketTester and expecting the PageMap to be updated
> accordingly?
>
> Hou should I properly implement such tests? Or is it a bug/missing
> feature in wicket?
>
> Thank you in advance!
>
> --
> Martin Makundi
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Can you get the example running?
If yes, then just edit the "corresponding markup" and you should be quite close.
t. Martin
2008/1/15, Danilo Barsotti <[EMAIL PROTECTED]>:
> Hi all!!!
>
> I need to write a component that makes it:
>
>
>
>
>
> S
> The problem is how do I make this layout, and I am obliged to declare all my
> fields in html.
> They vary according to the user on the site, that is the problem.
>
> Sorry for my English
>
>
> 2008/1/15, Martin Makundi <[EMAIL PROTECTED]>:
> >
> > Can yo
Ok. If I understand correctly, you need to detect authentication. One
way to do this in wicket is to redirect the user to a Login page when
authentication is missing.
So:
1. User tries to access the secured page "StockQuote.class"
2. Wicket detects the user is not logged in and Redirects the user
Is this the same problem as I posted before with the title "Raw urls
using WicketTester 1.3.0" ? Appears so on the surface. I will try the
workaround.
Let me know about the jira id, I am eager to try to contribute as soon
as this has been confirmed to be a bug instead of just a stupid
newuser ;)
And if you want the absolute path, like I did, you can use
RequestUtils.toAbsolutePath(urlFor(xx));
**
Martin
2008/1/18, Martijn Lindhout <[EMAIL PROTECTED]>:
> getRequestCycle().urlFor(Page)
>
> 2008/1/18, Boon Aik Chew <[EMAIL PROTECTED]>:
> >
> > For some reason I need to get URL of a page cl
Hi!
Can anyone help? I am having difficulties showing a bysy indicator
besides the submit button, while the form is being submitted and
processed. I have only found pieces of varying examples and I have
tried to put them work together, but it just does not seem want to
show the indicator. Here is
u don't mind taking the default indicator, you can use
> WicketAjaxIndicatorAppender just like in the mentioned class
>
>
>
> Martin Makundi wrote:
> >
> > Hi!
> >
> > Can anyone help? I am having difficulties showing a bysy indicator
> > besides the submit
> You can use CSS to control the positon of the busy indicating image. To place
> it
> right from the button use
This seems like tweaking...
> IAjaxIndicatorAware simply takes the html id of the element you want
> to show/hide; it can be placed anywhere in html...
This is more of what I am look
> And wait a minute, is the container in fact the indicator?
Yes!
> > @Override
> > protected void onComponentTag(ComponentTag tag) {
> >super.onComponentTag(tag);
> >tag.put("src",urlFor(AbstractDefaultAjaxBehavior.INDICATOR));
> > }
>
> This part I didn't understand.
The html has ju
> > This seems like tweaking...
> nope, that's what CSS is for, you wouldn't want to change your markup just
> to put something as tiny as an ajaxindicator some pixels to the left would
> you? (just an example)
What I do not want is the indicator to take up extra space from where
it does not belon
Hi!
I got the Ajax busy indicator working with the code below, but I have
run into a new problem: the feedbackpanel does not display the
feedbacks anymore. Does anyone know what I managed to do wrong
eventually? And more importantly, how to fix the feedback panel?
**
Martin
2008/1/30, Martin
Hi!
Tnx Igor, I finally got it working after quite some wrestling.. I
understood I must extend the AjaxButton? I shall play around with it
some more in order to more fully understand it.
However, in case someone else needs it too, my complete code and
markup is available below for ajax busy indic
> no, you dont need to extend an ajaxbutton, IAjaxIndicatorAware works
> on any component that has any kind of ajax behavior added to it
This means? I tried using AjaxButton and adding an
AjaxFormSubmitBehavior implements IAjaxIndicatorAware but that never
received the submit event. I also tried a
> and please rename arg0 to "target" :) It's a good idea to attach
> Wicket sources to your IDE (e.g. mvn -DdownloadSources=true eclipse:eclipse)
> because then this tends to happen automatically.
I have been thinking of attaching the sources... I found some example
of adding all sources of all pa
Hi!
Have a look at Pro Wicket book:
http://books.google.com/books?id=bA8yTZIZQCsC&hl=fi
It has a nice tutorial on authentication. Furthermore, look at swarm
and wicket auth:
http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security
**
Martin
2008/2/4, Jukka Aittokallio <[EMAIL PROTECT
For more on modern layout, see http://www.hotdesign.com/seybold/everything.html
**
Martin
2008/2/4, Edvin Syse <[EMAIL PROTECTED]>:
> That's purely a css issue, most menues are laid out using an ul and
> styled accordingly these days :)
>
> -- Edvin
>
> On 4. feb.. 2008, at 23.18, davout <[EMAIL
Hi!
I have a simple html table with checkboxes and input text fields. My
goal is to validate that if the checkbox on the row is selected, the
respective input field should contain text. And vice versa, if the
input field contains text, the checkbox should be checked.
I have now constructed a near
1 - 100 of 1479 matches
Mail list logo