Добрый день.
I have page with form and feedback on it. Page is mounted under some path.
When i access this page via mounted path - everything is ok - after
processing form feedback panel shows error and/or other messages, as
expected.
But when i create PageLink to this page on the othe
Hi,
I have redeployed this application in another Tomcat server it worked. I
have no idea what's wrong. It is a classic PEBCAK.
However, there is a work around it which I used when the solution was not
working. I directed the home Webpage to the Facebook login page if the user
has not login ye
actually i believe this is how it worked original, but then users
wanted any kind of serverside error to go to the error page so we
changed it
-igor
On Thu, Apr 10, 2008 at 8:20 PM, ywtsang <[EMAIL PROTECTED]> wrote:
>
> i can sucecssfuly use "getFailureScript" to act against the "client-side"
>
I'm using MixedParamUrlCodingStrategy. Beautiful stuff!
Just one prob on line 154:
String value = (String)parameters.get(parameterName);
This throws a ClassCastException, since parameters.get() returns
String[] and not String.
Doesn't this have to do with an api change in javax.servlet?
S
i can sucecssfuly use "getFailureScript" to act against the "client-side"
ajax error, i.e the server is down and ajax request is sent with failure
can we have similar facility for "server-side" exception upon ajax request?
e.g. for now, if the server throw exception during "onevent" of an ajax
r
Cool!
Thank you for the ultra-rapido reply. :-)
On Thu, 2008-04-10 at 19:44 -0700, Igor Vaynberg wrote:
> mount a page using indexed url coding strategy then in the page check
> if there is a parameter. if there is one add the details panel, if not
> add the list panel
>
> -igor
>
>
>
>
mount a page using indexed url coding strategy then in the page check
if there is a parameter. if there is one add the details panel, if not
add the list panel
-igor
On Thu, Apr 10, 2008 at 7:39 PM, David Leangen <[EMAIL PROTECTED]> wrote:
>
> I know this type of question has been asked befor
I know this type of question has been asked before, so if somebody can
point me to a previous thread or some doc, that would be cool.
I have a page like "books" mounted on /books. When the user sees the
page mounted at /books, she gets a list of all available books. Each
available book should be
Hi,
This may be actually a stupid question - am little confused about Fragments
use.
Lets say I was extending existing component e.g. DataTable and did not have
markup file of my derived component, (I think) in such a case, base class
markup file will be used. Assuming that is the case if I want
uh, i meant WebPage obviously
Jonathan Locke wrote:
>
>
> i didn't say it shouldn't be. i was just saying /if it was not going to
> be/ (i'm not working on 1.4 yet, so i don't know why it's not generic
> already) it shouldn't create generics warnings. in fact, i agree with you
> and people
i didn't say it shouldn't be. i was just saying /if it was not going to be/
(i'm not working on 1.4 yet, so i don't know why it's not generic already)
it shouldn't create generics warnings. in fact, i agree with you and people
should ideally just say MyPage extends WebPage if their page has no
Hi,
Has any one tried using Service Data Object with Wicket?
Thanks and Regards
Deepesh
--
View this message in context:
http://www.nabble.com/Wicket-%2B-SDO-tp16623270p16623270.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
see NavigatorLabel in extensions
-igor
On Thu, Apr 10, 2008 at 5:57 PM, Ritz123 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> How would I pass in mathematical formula which is dynamic? e.g. in the
> resource bundle properties file I would like a label like
> mylist.navlabel=Displaying {0}-{1} of N
Hi,
How would I pass in mathematical formula which is dynamic? e.g. in the
resource bundle properties file I would like a label like
mylist.navlabel=Displaying {0}-{1} of N items
DataTable doesnt give me 1 and/or X as property to I have to compute it like
(currentPage -1)* rowsPerPage to (curre
What i mean is the html tags and all kind of stuff of the rendered page. not
the .html file...i want to retrieve that and save to DB.
Mr Mean wrote:
>
> What do you mean get the html source of a page?
> Wicket already fetches the html source for your page if it is located
> in the same package
why wouldnt page be generic?
class edituserpage extends webpage {
public edituserpage(imodel user) {...}}
-igor
On Thu, Apr 10, 2008 at 5:22 PM, Jonathan Locke
<[EMAIL PROTECTED]> wrote:
>
>
> yeah. if Page/WebPage are not going to be generic, maybe they should extend
> (Web)MarkupContaine
yeah. if Page/WebPage are not going to be generic, maybe they should extend
(Web)MarkupContainer or something?
MYoung wrote:
>
>> public class HomePage extends WebPage {
>
> ERROR: The type WebPage is not generic; it cannot be parameterized with
> arguments
>
>
>
>>you COULD use the @Sup
> public class HomePage extends WebPage {
ERROR: The type WebPage is not generic; it cannot be parameterized with
arguments
>you COULD use the @SuppressWarnings({"unchecked"})
I would rather not use @SupressWarnings if I can do the right thing.
On Thu, Apr 10, 2008 at 4:49 PM, Matej Knopp <[
you COULD use the @SuppressWarnings({"unchecked"}) annotation. More
info: http://mindprod.com/jgloss/annotations.html#SUPPRESSWARNINGS
Matthew Young wrote:
> Oh mine, some many generic warnings after moving to 1.4. I got rid of them
> by putting in type parameters but I'm not sure if I'm doing the
Problem is that WebPage is generic class but your instance doesn't
have the type specified. Since you page doesn't have a model object
the type is not really necessary, but the compiler doesn't know that.
You can try this:
public class HomePage extends WebPage {
This should get rid of the wanin
Oh mine, some many generic warnings after moving to 1.4. I got rid of them
by putting in type parameters but I'm not sure if I'm doing the right thing.
There is one warning I don't know how to fix:
WARNING: Type safety: the method add(Component) belongs to the raw type
MarkupContainer. Reference
Nino Saturnino Martinez Vazquez Wael schrieb:
interesting... Could be a possible thing for wicket persistence..
think so. however, have done something quite similar myself and dropped
it for warp-persist. it is quite minimalistic though and not really
feature complete (from my p.o.v.) but it
What do folk recommend for authentication?
1) In Wicket in Action there is a simple, custom authentication
implementation.
2) In Wicket Examples authentication is based on wicket-auth-roles.
3) Then there's WASP & SWARM
Is there any sort of comparison of wicket-auth-roles with SWARM that I
haven'
I've never really cared for this whole idea of requiring subclassing
to get your work done. Is there no way to make things more pluggable?
Perhaps use the decorator design pattern?
On Thu, Apr 10, 2008 at 4:10 PM, Martijn Lindhout
<[EMAIL PROTECTED]> wrote:
> If I remember well, Wasp/Swarm needs
Hi all,
I still encounter the same problem with wicket 1.3.3
Thanx,
Tarik
Mr Mean wrote:
>
> AuthenticatedWebApplication used the deprecated constructor, this
> should be fixed in wicket 1.3.3 see
> https://issues.apache.org/jira/browse/WICKET-1423
>
> Maurice
>
> On Sun, Apr 6, 2008 at
ComponentFeedbackPanel in org.apache.wicket.markup.html.panel. Use
your Form instances in the constructor to filter messages.
Enrique
On Thu, Apr 10, 2008 at 1:26 PM, Andrew Broderick
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have two forms on the same page, that are two different classes. Each us
Hi,
I have two forms on the same page, that are two different classes. Each uses a
FeedbackPanel. The problem is, if one of them is submitted, and error("blah")
is called somewhere in the onSubmit(), they both display the message! How can I
make each form only display its own messages?
Thanks
If I remember well, Wasp/Swarm needs its own WebRequest subclass?
2008/4/10, Igor Vaynberg <[EMAIL PROTECTED]>:
>
> On Thu, Apr 10, 2008 at 12:34 PM, Martijn Lindhout
> <[EMAIL PROTECTED]> wrote:
> > My two questions:
> >
> > 1. is this necessary / bad?
>
>
> no, it just adds some extra capabili
Thanks for the suggestion - I may just go that route instead of my own
listener.
As far as Google - yes! We're a public community site (for hunting and
fishing in Texas), and almost all of our non-repeat traffic comes from
search engines, so we must be highly ranked. We're #2 in Google for "texa
On Thu, Apr 10, 2008 at 12:34 PM, Martijn Lindhout
<[EMAIL PROTECTED]> wrote:
> My two questions:
>
> 1. is this necessary / bad?
no, it just adds some extra capability to the request
> 2. what if I need different types of requests in my application?
i doubt you will. what usecases do you hav
1.4-SNAPSHOT
On 10/04/2008, Matthew Young <[EMAIL PROTECTED]> wrote:
>
> I want to use wicket-SNAPSHOT to give 1.4 a try. But I get mvn error:
>
> [INFO] snapshot org.apache.wicket:wicket:SNAPSHOT: checking for updates
> from
> wicket-snapshots
> Downloading:
>
> http://wicketstuff.org/maven/re
Hi,
On Thu, Apr 10, 2008 at 6:40 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> httpsession already has a settimeout no? so once a user logs in you
> can set it to a longer period
We use that technique (not on a wicket app though) and it seems to work.
Something else to consider: Do you want
I want to use wicket-SNAPSHOT to give 1.4 a try. But I get mvn error:
[INFO] snapshot org.apache.wicket:wicket:SNAPSHOT: checking for updates from
wicket-snapshots
Downloading:
http://wicketstuff.org/maven/repository//org/apache/wicket/wicket/SNAPSHOT/wicket-SNAPSHOT.pom
Downloading:
http://wicke
Hi all,
In de sample UploadApplication (1.3.3) I saw this:
protected WebRequest newWebRequest(HttpServletRequest servletRequest)
{
return new UploadWebRequest(servletRequest);
}
and I've seen this several other times for other request types. Putting this
code here makes EVERY
I'm getting some strange 'Channel busy - postponing' errors in my AJAX
in Safari. Read up on it and I think the solution might be to throttle
the AJAX call (especially since it works fine in Firefox).
The call I dug up is 'setThrottleDelay(...)' - but I only see that as
part of an AjaxBehavior.
you could generalize this by making a request cycle with a custom response
installed that does this. if this is a totally separate application for
you, you could create an abstraction like TemplateGeneratingApplication
which does the fancy request cycle stuff behind the scenes. in fact, this
se
I am facing an issue with CheckGroupSelector.
CheckGroupSelector is not showing itself selected, though all of the Check's
in the CheckGroup come pre-selected based on the underlying model i am
setting up. (That means I have the CheckGroup's list model already populated
with all individual Check's
Hi.
I have a text field with an AjaxFormValidatingBehavior attached to it doing
some fancy validation, but then i realize i need that textfield to be an
AutocompleteTextField, but this autocomplete behavior overrides all the
event handlers including the onblur my fom validating behavior uses.
Cur
I believe the following is the correct way (it works from my point of view).
Are there any issues that I need to be aware of? Is there a better way?
Thanks
- Doug
Note: this method is called in either a Link or Button:
public BaseTemplate extends WebPage {
public String generateHTML(
httpsession already has a settimeout no? so once a user logs in you
can set it to a longer period
-igor
On Thu, Apr 10, 2008 at 7:38 AM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> Thanks for the tip. I came up with an idea last night that I would like to
> get input on. I created an HttpSe
Hi Lim,
I ran into the exact same problem ...
Did you find a solution ??
Thanks,
Itai.
TH Lim wrote:
>
>
> java.lang.NullPointerException
> at org.thlim.sample.wicket.Login.(Login.java:23)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at java.la
very nice article. well balanced and thoughtful.
The more I see the two compared I can't help but think, "People are
*insane* if they choose tapestry over wicket."
On Thu, Apr 10, 2008 at 10:19 AM, cwilkes <[EMAIL PROTECTED]> wrote:
>
>
> http://www.ibm.com/developerworks/java/library/os-tapes
thank you for your quick response.
yes, i'm using it with panel.
there's no other way to achieve what i'm looking for?
Can I use ajax and keep the form multi-part? Can I get the file name without
the regular submit?
Tks,
Cristi Manole
On Thu, Apr 10, 2008 at 6:39 PM, Matej Knopp <[EMAIL PROTEC
interesting... Could be a possible thing for wicket persistence..
Uwe Schäfer wrote:
tbt schrieb:
I'm using a static block to save resources so that hibernate does not
have
to initialize a session each time a transaction needs to be done.
maybe warp-persist is something you like to look at.
You can use regular submit button only if you have a modal window with
page. If you have modal window with panel you are bound to using
ajaxbutton.
-Matej
On Thu, Apr 10, 2008 at 5:21 PM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is it possible to prevent the modal window from closin
Hi everyone,
How to pass an arbitrary javascript variable to onSubmit?
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I believe this is possible but want to be sure and be efficient about it.
Is it possible to create a Wicket Page and capture the generated HTML text
from with-in a Button.onSubmit()? The page will not be displayed in the
current wicket app. This page is only a 'template' to generate the HTML.
tbt wrote:
>
> Can anyone tell me the list of jar files that are needed to run
> databinder. I am having trouble running the baseball example.
>
Have you tried running "mvn package"?
--
View this message in context:
http://www.nabble.com/Hibernate-with-wicket-tp16607352p16609086.html
Sent fr
Hello,
Is it possible to prevent the modal window from closing after regular
onSubmit?
My use case is that I have a modal window with a form where the user can
upload a picture. The submit is not Ajax because (i think) the form could
then not be multi-part. Being stuck with a regular onSubmit, i
http://www.ibm.com/developerworks/java/library/os-tapestrywicket/index.html?ca=drs-
If there's one take home message from it it is in the conclusion:
"If you try to avoid using XML, or if you just like object-oriented
programming, Wicket could be your choice for day-to-day use. A richer
extensio
All of our hardware is virtualized. It's allowed us to scale very quickly
and easily. As for specific requirements it really depends on the volume
you expect.
If your going to run Apache, Tomcat, and your DB on the same machine I'd try
to have at least 512mb on a low volume site.
You may want t
I don't think getters and setters are needed anymore it also support
field access.
On Thu, Apr 10, 2008 at 4:18 PM, Ryan Gravener <[EMAIL PROTECTED]>
wrote:
> Take a look at http://wicketstuff.org/wicket13/forminput/ and
> http://cwiki.apache.org/WICKET/working-with-wicket-models.html
>
> In
Thanks for the tip. I came up with an idea last night that I would like to
get input on. I created an HttpSessionListener that will track all created
sessions. It has a thread that will run every few minutes, and if a session
does not belong to a signed-in user, it will invalidate it after only
Take a look at http://wicketstuff.org/wicket13/forminput/ and
http://cwiki.apache.org/WICKET/working-with-wicket-models.html
In your login form I would have private member variables userId and password
public class LoginForm extends Form {
private String userId;
private String password;
public
I follow the tutorial
http://www.developer.com/java/web/article.php/10935_3673576_1 to learn how to
use wicket. And I want to practise not to embed the Form inside another class.
So I create a class called LoginForm.java and move the code to there (as
follow).
public class LoginForm extends For
Hi all,
are there any suggestions or experiences on the (minimum) system/hardware
requirements for running a Wicket based application on a productive system?
Would e.g. a Virtual Server as offered by most hosting providers be powerful
enough to run a Java/Tomcat/Wicket/database application?
I kn
Hi,
you should ask databinder-related questions in its forum at
http://databinder.net/forum/viewforum.php?f=1&st=0&sk=t&sd=d&start=0.
As to your questions, are you not using maven? If not, you could
still have a look at the Maven pom.xml file of the baseball project to
figure out the dependencie
tbt schrieb:
I'm using a static block to save resources so that hibernate does not have
to initialize a session each time a transaction needs to be done.
maybe warp-persist is something you like to look at.
http://www.wideplay.com/guicewebextensions2
--
THOMAS DAILY GmbH
Adlerstraße 19
79098
Hi
Can anyone tell me the list of jar files that are needed to run databinder.
I am having trouble running the baseball example.
Thanks
tbt
adrienleroy wrote:
>
> you can take a look at the databinder project : http://databinder.net/
>
>
> tbt wrote:
>>
>> Hi
>>
>> I'm using a static bloc
Use javascript to submit the form.
On Thu, Apr 10, 2008 at 4:38 AM, Fabien D. <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> I would like to do a special behavior.
>
> I have a input for FileUploadField, when the user choices an image in his
> local disk, this file is automatically uploaded (in a temp fo
I override the "newLink" method of the DefaultAbstractTree class to return
IndicatingAjaxLink and it works.
Thanks.
--
View this message in context:
http://www.nabble.com/Busy-indicator-in-a-Tree-tp16604249p16608586.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
you can take a look at the databinder project : http://databinder.net/
tbt wrote:
>
> Hi
>
> I'm using a static block to save resources so that hibernate does not have
> to initialize a session each time a transaction needs to be done.
>
> .
There should be only one SessionFactory created during your
application's lifecycle (assuming you're using only one database).
On Thu, Apr 10, 2008 at 6:31 AM, tbt <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm using a static block to save resources so that hibernate does not have
> to initialize a
Hi
I'm using a static block to save resources so that hibernate does not have
to initialize a session each time a transaction needs to be done.
static SessionFactory sessionFactory;
static
{
What do you mean get the html source of a page?
Wicket already fetches the html source for your page if it is located
in the same package and has the same name as your page. You do not
need it.
The constructor is irrelevant for this process.
Maurice
On Thu, Apr 10, 2008 at 10:51 AM, freak182 <[EM
Hello,
My problem is how to get the html source of the page with the constructor
having a parameter?...i see an example of getting the html source of the
page with the constructor having no parameter that i think is easy.
Thanks a lot...Cheers!
--
View this message in context:
http://www.nabbl
override the link factory and return an IndicatingAjaxLink instead
On 4/10/08, Laurent N. <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm using an EditableTreeTable and I would like to have a busy indicator
> when expanding a tree node. How should I do? I read some threads talking
> about busy i
Hi,
I would like to do a special behavior.
I have a input for FileUploadField, when the user choices an image in his
local disk, this file is automatically uploaded (in a temp folder of tomcat)
and rendered whitout click on submit...
How can i do this if it's possible?
Thank you in advance
--
Hello,
I'm using an EditableTreeTable and I would like to have a busy indicator
when expanding a tree node. How should I do? I read some threads talking
about busy indicator but I couldn't find one which solve my problem.
Thanks for your attention.
--
View this message in context:
http://www.
You can checkout the wicket1.3.x branch
Or wait a few hours so that we have bamboo completely configured
correctly so that you can get there 1.3 snapshots
On 4/10/08, Wouter Huijnink <[EMAIL PROTECTED]> wrote:
> Hi committers,
>
> We need a 1.3 jar in which the stack overflow issue has been fixed
Hi committers,
We need a 1.3 jar in which the stack overflow issue has been fixed and
that is as stable as 1.3 can be right now. As discussed at the wicket
meetup, 1.3.4 isn't there yet, so this requires a custom build from the
1.3.x branch. Do we checkout the current state of 1.3.x, or would
What do you mean by non wicket files? Why do you need the
ApplicationContext?
If you just want to have your dependencies injected in a non Component class
you could use InjectHolder.getInjector().inject(objectToWire) and pass in
the Object you want to get wired. You should also annotate the propert
i have configured the tomcat (6.0.13) to use SSL
when i access my app under https and try to check the
HttpServletRequest.isSecure (the http servlet request is retrieved from
RequestCycle.get()), it always returns false
(i have already configured the tomcat connector to returns "true" for the
"se
73 matches
Mail list logo