Hi,
I have a Panel (myPanel) containing some child components. When I say:
myPanel.setEnabled(false);
I want to disable the panel, but also disable all children.
Preferably, I'd override setEnabled, but since it is final (sigh), this
is impossible. A less elegant way to do it is to supply a pub
For completeness sake:
http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html
Igor Vaynberg wrote:
requestcycle.setrequesttarget(new redirectrequesttarget(url));
-igor
On 10/9/07, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi all,
Suppose I want to forward the HT
Looks promising. A lot of people here complain about having to restart
jetty or tomcat every time they modify their classes. Too bad it's
commercial :(
Eelco Hillenius wrote:
Hi people,
I haven't tried it myself yet, but Jevgeni Kabanov (from Aranea
framework[1]) just released 'JavaRebel' whi
OK thanks, I have created https://issues.apache.org/jira/browse/
WICKET-1057
I think final is a great tool and if someone can point out a better
way for me to do this please do.
Cheers,
John
On 9 Oct 2007, at 17:19, Matej Knopp wrote:
Well, as kind of our policy we make a lot of things f
Well, as kind of our policy we make a lot of things final. But we do
remove the final if someone has a good reason for it. :)
Could you please create a jira issue with the finals you need to have removed?
Thanks.
-Matej
On 10/10/07, John Patterson <[EMAIL PROTECTED]> wrote:
> Also, there is spe
Also, there is special case code in WebRequestCodingStrategy for a
mount with a null path. This looks like a default mount and is what
I want to use. But there is no way to add a mount with a null path
as it is checked for.
This class is so close to being extendable but not quite there.
Salve is interesting...
One problem, user-module does not know about accounting-module.
On Wed, 2007-10-10 at 00:30 +0200, Gerolf Seitz wrote:
> heh, i knew this would come up ;)
>
> On 10/10/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > with Salve you can do it like this:
> >
> > UserB
That is a huge class with lots of internal knowledge! It would be a
nightmare to maintain and keep up to date with internal Wicket
changes. All for one final keyword.
The class seems to have been built with subclassing in mind but just
this single final clause stops me being able to use
Actually, urlCodingStrategyForPath would be preferable because that
also must be overridden. I have just done this locally and so far
seems to be all I need.
On 9 Oct 2007, at 15:51, Matej Knopp wrote:
I don't see why targetForRequest(RequestParameter) couldn't be
non-final. Anyone objects
heh, i knew this would come up ;)
On 10/10/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> with Salve you can do it like this:
>
> UserBalance User.getBalance() {
> return accountingService.getBalance (user);
> }
>
> because your User domain object would have access to accountingService.
>
> s
requestcycle.setrequesttarget(new redirectrequesttarget(url));
-igor
On 10/9/07, Nili Adoram <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Suppose I want to forward the HTTP request to some external url (NOT a
> wicket page, e.g. a JSP page).
> I want to end the request cycle at this point ( not in
my suggestion is to learn how to use svn :)
-igor
On 10/9/07, Neil B. Cohen <[EMAIL PROTECTED]> wrote:
> Is there a link where I can download sample wicket source code? Like for
> the Wicket Phone book example? I don't use svn - are there instructions
> somewhere that can tell me how to download
with Salve you can do it like this:
UserBalance User.getBalance() {
return accountingService.getBalance (user);
}
because your User domain object would have access to accountingService.
see http://salve.googlecode.com
-igor
On 10/9/07, Joe Toth <[EMAIL PROTECTED]> wrote:
> This is a Hiberna
Even just urlCodingStrategyForPath would be enough I think.
On 9 Oct 2007, at 15:51, Matej Knopp wrote:
I don't see why targetForRequest(RequestParameter) couldn't be
non-final. Anyone objects?
Matej
On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote:
Hi,
I seem to be making progress with
Thinking about it, probably better (and more solid) approach would be
for you to copy the entire class (unless it references some package
protected classes).
-Matej
On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote:
> Just a bit more info on the problem... encoding allows me to override
> the
Just a bit more info on the problem... encoding allows me to override
the equivalent method:
rg.apache.wicket.IRequestTarget)
*/
public final CharSequence pathForTarget(IRequestTarget requestTarget)
{
// first check whether the target was mounted
IRequ
I don't see why targetForRequest(RequestParameter) couldn't be
non-final. Anyone objects?
Matej
On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I seem to be making progress with my custom URL scheme but have hit a
> small wall. I have subclassed WebRequestCodingStrategy because I
This is a Hibernate question, but Eelco's 'class reloading' post
reminded me to ask on this list. I asked in the Hibernate forums, but
received no responses. Maybe someone here has a similar problem or some
thoughts/ideas.
* The Problem
Ok, so you have IoC where you inject services you want to u
Hi,
I seem to be making progress with my custom URL scheme but have hit a
small wall. I have subclassed WebRequestCodingStrategy because I
want to keep the mountable page behaviour but just enhance it to
return my own target if no mounts are found and default processing
does not apply.
let's start with what error are you getting?
On 10/9/07, anita nichols <[EMAIL PROTECTED]> wrote:
>
> I tried to create Sortable list using Wicket Stuff, but the
> SortableListView give me an error. What do I do wrong here, below is the
> code:
>
> import wicket.contrib.scriptaculous.*;
>
>
> add(
Nice one. Cheers for your explanations. I am getting there slowly.
On 9 Oct 2007, at 14:25, Matej Knopp wrote:
Hi, see the response below
On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote:
Hi,
As I am figuring out how to create my own IRequestCodingStrategy I
have come across a few thin
Hi, see the response below
On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> As I am figuring out how to create my own IRequestCodingStrategy I
> have come across a few things which seem be suspicious IMHO. I could
> be wrong with all of them but I thought I should bring them up...
Hi,
As I am figuring out how to create my own IRequestCodingStrategy I
have come across a few things which seem be suspicious IMHO. I could
be wrong with all of them but I thought I should bring them up...
These are all in WebRequestCodingStrategy
This code...
public final Reques
Thanks Matej, I went ahead and built a IRequestCodingStrategy that
delegates the standard WebRequestCodingStrategy because I want my
strategy to be used for every Bookmarkable page and not just ones
that I mount. In fact my strategy needs to decide which Page is to
be used _without_ using
Hi,
the best way is to set up Maven and let it download all the required
references.
With maven, you can create quickstart project then and in its pom.xml
add a dependency
org.apache.wicket
wicket-extensions
1.3.0-beta3
Regards
Vitek
anita nich
do something like:
don't know if you have to use onkeypress, onkeydown, onkeyup, but you get
the idea.
gerolf
On 10/9/07, lizz <[EMAIL PROTECTED]> wrote:
>
>
> I have a panel with some text fields and two buttons (button A and B)
> I would like the 'ENTER' keyboard event to behave the same way a
I got the wicket extension. Please disregard my question regarding the
wicket extension
anita
Where can I get the Wicket 1.3 extension for my quickstart
Where can I put those extension? Can I put it under Referenced Libraries?
Thank you,
Anita
I tried to create Sortable list using Wicket Stuff, but the
SortableListView give me an error. What do I do wrong here, below is the
code:
import wicket.contrib.scriptaculous.*;
add(new SortableListView("item", items)
{
protected void populateItem(ListItem item)
I have a panel with some text fields and two buttons (button A and B)
I would like the 'ENTER' keyboard event to behave the same way as the 'tab'
keyboard event (that is move on to the next text field)
Currently button A is clicked when the the 'enter' key is pressed in a text
field and I dont wan
Normally In wicket , the data that gets shown in ui components gets pulled
from the
models of the components.
One way of doing ur reqt:
After submitting the form containing the textfield ,just get its model value
and use that value as
a page parameter for example to render the base page again.
wi
Thanks
On 10/8/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
wrote:
>
> instead of doing that, i'd suggest that you call the archetype correctly
> with the right parameters then you should not need to change anything
> afterwards :
>
> mvn *archetype*:create -DarchetypeGroupId=org.a
I suspect you need to do AjaxFormChoiceComponentUpdatingBehavior("onchange") {
... } or something similar.
Mike
SantiagoA wrote:
I added an AjaxFormChoiceComponentUpdatingBehavior to my radioGroup.
I thought it would handle the event, when a RadioButton is clicked.
But when i click on a Radio
Try putting it on the radios instead of radio group .
-swaroop
On 10/9/07, SantiagoA <[EMAIL PROTECTED]> wrote:
>
>
> I added an AjaxFormChoiceComponentUpdatingBehavior to my radioGroup.
> I thought it would handle the event, when a RadioButton is clicked.
> But when i click on a RadioButton th
Hi people,
I haven't tried it myself yet, but Jevgeni Kabanov (from Aranea
framework[1]) just released 'JavaRebel' which is a transparent class
loading solution. It should work well with Wicket, since Wicket is a
pure Java framework.
Jevgeni is interested in user experiences and he'd like to writ
I added an AjaxFormChoiceComponentUpdatingBehavior to my radioGroup.
I thought it would handle the event, when a RadioButton is clicked.
But when i click on a RadioButton the onUpdate-method is never reached.
my Code:
final RadioGroup radioGroup = new RadioGroup("group", new
PropertyModel(th
Sorry, I am quite busy right now. But I will find some time in the next days
and than provide a quickstart.
In the mean time we fixed the problem by saving the needed Objects in the
Session-MetaData. And that seems to work.
Thanks for your help!
-Benjamin
2007/10/9, Matej Knopp <[EMAIL PROTECTE
IMHO the AutoCompleteTextfield sets the value of your input field to the
value selected in the autocomplete-list, but this is done via JavaScript and
works only inside the browser.
As long as you don't attach a special Ajax...Behaviour (eg.
AjaxUpdateBehaviour) to your input field, the model wil
After working some time on this, I got to fix the problem.
Thanks anyway =),
Christian
On 10/8/07, Christian Alejandro Marquez Grabia <[EMAIL PROTECTED]> wrote:
>
> Hi all, and thanks in advanced for your attention.
>
> I'm having some problems with the default button in a form that is not
> work
Hi,
please help me
i have one popup window. That popup window contains one text field.
how to get value from popup window to main window using apache wicket.
thanks in advance
madhavi
--
View this message in context:
http://www.nabble.com/popup-window-using-wicket-tf4594547.html#a13116633
Sent
check this thread earlier today..
http://www.nabble.com/AutoCompleteTextfield---how-to-populate-two-input-fields-tf4592192.html#a13109510
Can you confirm that its not updated, have you debugged it?
lizz wrote:
I would like an auto complete text field for a class that implements
Information
I would like an auto complete text field for a class that implements
Information
interface Address{
getCountry();
...
}
I have a class Person that contains an address instance variable and getter
and setter for that variable. (getAddress).
I have some addresses and want to changes the persons
Martijn Dashorst wrote:
It is in the distribution.
Read the readme that is contained inside, and look in the src sub dir.
Martijn
Missed that - thanks very much,
nbc
On 10/9/07, Neil B. Cohen <[EMAIL PROTECTED]> wrote:
Is there a link where I can download sample wicket source code?
SVN is super easy to use --
1) Download TortoiseSVN (http://tortoisesvn.net/downloads)
2) make a folder (mine is "wicket-svn")
3) right click in the folder and go to SVN Checkout...
4) then put in the path to SVN and you will have all the code
It's probably quicker and easier than any HTTP downlo
It is in the distribution.
Read the readme that is contained inside, and look in the src sub dir.
Martijn
On 10/9/07, Neil B. Cohen <[EMAIL PROTECTED]> wrote:
> Is there a link where I can download sample wicket source code? Like for
> the Wicket Phone book example? I don't use svn - are there i
Is there a link where I can download sample wicket source code? Like for
the Wicket Phone book example? I don't use svn - are there instructions
somewhere that can tell me how to download the code?
thanks,
nbc
-
To unsubscrib
Hi all,
Suppose I want to forward the HTTP request to some external url (NOT a
wicket page, e.g. a JSP page).
I want to end the request cycle at this point ( not include this URL inside my
page).
How can I simulate request.getRequestDispatcher(url).forward() within a
wicket page?
Thanks
Nili
Thanks a lot for your input guys, it really helped me a lot. I chose to use
Kent's approach using a Validator that - by the way - could not be a static
class as I had to access member variables outside the Validator.
Thanks again and have a nice day
Michael
Kent Tong wrote:
>
>
> Gerolf Seit
I've noticed that the content of the ModalWindow is being rendered even when
the ModalWindow itself is not shown. I wonder if it is correct behavior. Any
thoughts?
Alex.
--
View this message in context:
http://www.nabble.com/Question-about-rendering-of-the-ModalWindow-content-tf4593821.html#a13
More then 3 nested ModalWindows? Wow.
Does this happen with the latest trunk? Also each modal window is
supposed to by in own pagemap. Can you provide a quickstart?
-Matej
On 10/9/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> we have a problem with some ModalWindows. We are using a
Hi guys,
we have a problem with some ModalWindows. We are using a lot of them in our
application and they are often nested in other ModalWindows.
The problem is when we refer to the to the parent that creates the
ModalWindow in this ModalWindow that parent-object is not same as the
parent-object t
wfaler wrote:
>
> I have found a bunch of stuff around IDataProvider, DataView etc, but I
> haven't found any meaningful examples that helps a great deal..
>
Some sample code below. There is a whole chapter on this topic in my e-book
(see my signature for location).
public class LazyLoad exte
Ate Douma wrote:
>
> That was my initial attempt at it.
> For Jetspeed, I have much improved/simplyfied this after I added
> ResourceURL handling natively to the portal (internally), and I only need
> to set a predefined
> flag/parameter to tell it to use it (instead of creating a plain Render
Gerolf Seitz wrote:
>
> ditch the form and let CaptchaPanel extend FormComponentPanel. for the
> captcha and do a check for the form in onBeforeRender (since it's not yet
> added to the hierarchy in the constructor).
> just use "getForm();" to check for the existence of an ancestor form. this
>
Patrick Gill wrote:
Hi Ate and Charly,
I'm working on the same thing. I'm currently using Liferay's implementation
for ServletContextProvider
(com.liferay.util.bridges.struts.LiferayServletContextProviderWrapper) .
Ate Douma wrote:
- in the LiferayToPortalBridgePortletResourceURLFactory you s
Currently, wicket does not support nested wicket:enclosure tags. It would be
very useful. What do you think?
Thank you!
Alex.
--
View this message in context:
http://www.nabble.com/-RFE--Nested-wicket%3Aenclosure-tf4593044.html#a13112204
Sent from the Wicket - User mailing list archive at Nabbl
hhehe, using back browser in this case will just yield a page expired
page, if you set it up you can tell it to show a login page instead...
You might want to look into the simpleautorisation strategi here.
tbt wrote:
well it is the browser button that i'm concerned about :)
I want it to be so
Hi Ate and Charly,
I'm working on the same thing. I'm currently using Liferay's implementation
for ServletContextProvider
(com.liferay.util.bridges.struts.LiferayServletContextProviderWrapper) .
Ate Douma wrote:
>
> - in the LiferayToPortalBridgePortletResourceURLFactory you seem to simply
> g
well it is the browser button that i'm concerned about :)
I want it to be something like a mail account where once you logout you
can't use the back button in the browser to navigate inside the
application(eg: yahoo mail).
Nino.Martinez wrote:
>
> session.invalidate() and use setResponsePage t
On 10/9/07, anita nichols <[EMAIL PROTECTED]> wrote:
> Ok I have my wicket 1.3 running smoothly, how do try the wicket example?
Which example are we talking about?
If it is the examples of the wicket website (i.e. the hello world,
navomatic, drop down choice) then you can copy paste the code int
Wicket allows nested forms because one component doesn't know if it is
inside a form or not. This is typical for component frameworks that
try to maximize component reuse and encapsulation. That the HTML spec
says otherwise doesn't mean a lot to us, as we are looking at the
Component part.
The chi
NP, waiting with excitement to hear if it works:)
Oliver Lieven wrote:
Thanks allot for your efforts and detailed answer! Sounds good, I'll give it
a try.
Nino.Martinez wrote:
No what I meant was that when a user selects something in one of your
auto complete fields they'll automatickly
i agree with martin,
ditch the form and let CaptchaPanel extend FormComponentPanel. for the
captcha and do a check for the form in onBeforeRender (since it's not yet
added to the hierarchy in the constructor).
just use "getForm();" to check for the existence of an ancestor form. this
method throws
we restart every time we redeploy.
Dipu
On 10/8/07, Jeremy Levy <[EMAIL PROTECTED]> wrote:
>
> Are you redeploying often with out restarting?
>
> Jeremy
>
> On 10/8/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
> wrote:
> >
> > At my former job, we had a memory leak not in our own
Michael Sparer wrote:
>
> I know from the wicket 1.3 API that forms can be nested and I also know
> that each form has to be submitted separately.
> My problem therefore is that the captcha-form's onSubmit button doesn't
> get called if someone submits the outside form (= the form the componen
Thanks allot for your efforts and detailed answer! Sounds good, I'll give it
a try.
Nino.Martinez wrote:
>
> No what I meant was that when a user selects something in one of your
> auto complete fields they'll automatickly select something in both,
> might have been a little scares on infor
Shouldn't we create a JIRA issue for that?
leok wrote:
I looked into this a bit more, and it looks like
WebRequestCycleProcessor.resolve(RequestCycle, RequestParameters) always
checks to see if an Ajax request is being made before a Page gets to be
instantiated and stored in the session. If the
Hi,
how shure are you that its google not responding, have you been debugging in
into the http calls?
http://tamperdata.mozdev.org/
or
http://livehttpheaders.mozdev.org/
might be usefull for that.
Loading googles javascript is a twostep process first is the call to
http://maps.google.com/maps?fi
IIRC WebRequestCodingStrategy is used for non-mounted pages only and
it delegates the encoding/decoding for mounted pages to
IRequestTargetUrlCodingStrategy.
-Matej
On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to build a custom url encoder fro bookmarkable pages and have
69 matches
Mail list logo