Hey,
I'm uploading a file via Ajax, I literally copied the
Wicket sample application.
The uploading form is included in a modal window.
Upon clicking on the upload button, I got a JavaScript dialog:
++
Are you sure you want to navigate from this page?
Reloading this page will cause the
gt; tester.setupRequestAndResponse();
> MySession wicketSession = (MySession) tester.getWicketSession();
> wicketSession.setUser(fakeUser);
> }
>
>
> /Per
>
>
> 2009/5/26 HHB :
>> Hey,
>> I want to write tests for my Wicket pages and panels.
>> Th
Hey,
I want to write tests for my Wicket pages and panels.
The application is guarded via login functionality and all
the pages and panels are depending on a User object in the session.
I know who to write tests for Wicket, but I'm not sure what
to do in my case due the authentication and authoriza
:
>
> So the TextArea gets a CompoundPropertyModel that has a MessageVO object.
>
> The MessageVO has a method "getLanguage" ?
>
> How should the TextArea display the contents of MessageVO?
>
> HTH
>
> /Per
>
> 2009/5/24 HHB :
>>
>>
> MessageTextArea's model is bound to what?
>
> On Sun, May 24, 2009 at 7:32 AM, HHB wrote:
>>
>> Would you please tell me in code (my code I posted earlier) what do you
>> mean?
>> I really appreciate your time and help.
>>
>>
>> igor.
o your model?
>
> -igor
>
> On Thu, May 21, 2009 at 4:45 AM, HHB wrote:
>> Hey,
>> I'm trying to create my first component in Wicket:
>> +
>> public class MessageTextArea extends
>> FormComponentPanel {
>>
>> private S
Hey,
Our application is built on Wicket 1.3.5 , Spring 2.5
and Hibernate 3.2
I'm trying to write tests (with TestNG) for Wicket pages
and panels:
++
WicketFilter
org.apache.wicket.protocol.http.
WicketFilter
applicationFactoryClassNa
tArea("text",
> model).setRequired(true).setOutputMarkupId(true);
> add(textArea);
> }
> }
>
> Also, I don't think that you need at all to setOutputMarkupId to true, do
> you use ajax? It seems that your component doesn't do anyth
> will try to find a mapping from the parent based on its wicket id.
>
> In your case, if the MessageVO would have a "text" property (with setters
> and getters) everything would work fine.
>
> Alex
>
>
> HHB wrote:
>>
>> Hey,
>> I
ing from the parent based on its wicket id.
>
> In your case, if the MessageVO would have a "text" property (with setters
> and getters) everything would work fine.
>
> Alex
>
>
> HHB wrote:
>>
>> Hey,
>> I'm trying to crea
Hey,
I want to write tests for my Wicket pages and panels.
The application is guarded via login functionality and all
the pages and panels are depending on a User object in the session.
I know who to write tests for Wicket, but I'm not sure what
to do in my case due the authentication and authori
Hey,
I'm trying to create my first component in Wicket:
+
public class MessageTextArea extends
FormComponentPanel {
private String text;
public MessageTextArea(String id) {
this(id, null);
}
public MessageTextArea(String id, IModel model) {
su
Hey,
This problem is really driving me crazy.
I have this panel that I want to set it as the
content of a ModalWindow.
+
public abstract class GroupsPalettePanel
extends BasePanel {
private ArrayList selectedGroups =
new ArrayList();
public Gr
gt; Make it stateless :)
>
> 2009/5/18 HHB :
>> Hey,
>> How to get ride of the page's state after the request is done?
>> Thanks.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr.
Hey,
How to get ride of the page's state after the request is done?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hey,
I think the code of chapter 11 of "Wicket In Action" book isn't
functioning properly.
After logging in, try to logout, you should notice that you
are still in the same page and you have to click on Logout
link again in order to be taken to the sign in page.
Any ideas?
I'm using the same log
Hey,
I have parameterized message in the properties file.
Is there a Wicket specific component to display this
parameterized text or I have to fallback to MessageFormat and Label?
Thanks.
-
To unsubscribe, e-mail: users-unsubsc
Hey,
I have a message class that has a status (which it is an integer)
to indicate whether the message has been sent successfully.
Inside a data table, how to handle this integer values so instead
of displaying 0 or 1, it displays "Sent" or "Not Sent"?
Thanks.
---
Hey,
The last cell in a data table is a link (that is contained in a form) that will
delete the row.
How to append JavaScript code that will display a confirmation dialog?
Thanks for help and time.
-
To unsubscribe, e-mail: users
Hey,
I have a ModalWindow with an Ajaxified form.
Upon a successful submitting, a data table in the original
panel that caused the modalwindow to be appeared is getting updated.
The problem is the close button of the ModalWindow is not working,
I mean the window isn't getting shut down.
editCont
Hey,
How to enable debugging port for Jetty server that is
launched via the command:
mvn jetty:run
?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache
Thanks, your suggestion works like a charm.
I like the technique of using abstract method, you have a Swing development
background, right?
Thanks again.
Mathias P.W Nilsson wrote:
>
> I don't know if you can remove one row and just update the row as you can
> with TreeTable but maybe some here
Hey,
I employed AjaxFallbackDefaultDataTable to list contacts.
The last column contains a delete link that I created it this way:
final List columns = new ArrayList();
columns.add(new AbstractColumn(new Model("Delete")) {
public void populateItem(Item cellItem,
s nothing todo with C3P0 afaik.
>
> 2009/4/30 HHB :
>> Hey,
>> I understand this is not a Wicket question but I hope I can get some
>> help.
>> Our application uses c3p0 connection pooling.
>> How to set the character encoding for database connection?
>> Ev
Hey,
I understand this is not a Wicket question but I hope I can get some help.
Our application uses c3p0 connection pooling.
How to set the character encoding for database connection?
Even if you aware of how to set the character encoding for Apache DBCP, I will
be thankful.
The application is bui
Hey,
I'm using a PageableListView with Ajax-enabled paginator.
My team leader asked me to add two buttons in front of each row:
Edit and Delete button.
Edit will bring a ModalWindow to edit the contact.
Delete will delete the record from the backend.
For this functionality, which repeater do you su
y SpringComponentInjector--but
> that only works with components.)
>
> You can call InjectorHolder.getInjector().inject(whatever) to resolve
> @SpringBean annotations in the whatever object.
>
> W
>
>
>
> On Apr 29, 2009, at 6:38 AM, HHB wrote:
>
&g
Hey,
I'm trying to employ DataTable in our application.
*
public class SortableContactDataProvider
extends SortableDataProvider {
@SpringBean
private Service service;
private Group group;
public SortableContactDataProvider(Group group) {
if (g
Hey,
Usually, I set the model for a form like this:
final Form form = new Form("form",
new CompoundPropertyModel(new Contact()));
But when the panel or the modalwindow that contains
the form is rendered again, the model's values are still saved and displayed.
So upon successful operatio
Hey,
Is there any repeater that has the features of RefreshingView but supports
paginations?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hey,
How to get a message (that will be displayed in FeedbackPanel) from properties
file in order to use it for info() method of Component class?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additiona
Hey,
Do you know any example regarding using DataTable repeater with Spring Dao bean
(Hibernate preferably)?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket
actual objects to
>> show?
>>
>> new Model() doesn't provide a list to iterate through.
>>
>> Martijn
>>
>> On Sun, Apr 26, 2009 at 12:05 PM, HHB wrote:
>>> Hey,
>>> I have a panel that consists of two divs:
>>> one for listi
Hey,
I have a panel that consists of two divs:
one for listing available groups.
second will display contacts for a group.
The contacts div will get populated upon clicking
of group name.
**
public class ContactsModel extends
LoadableDetachableModel {
private
Hey,
I have a ListView that could hold a lot of rows.
Is there a way to embed the list view an a
scroll-able area/thing?
or I have to fallback to pagination ?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Hey,
Is there a way to set the content of a link
dynamically (the value is coming from model object)?
The link has to be Ajax enabled for sure.
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
Hey,
I have a panel that consists of two parts:
the first lists groups names.
the second lists the contacts of a group, which gets
populated upon clicking on the group name (via Ajax).
Group Name
ase. Also, your
> feedback panel probably needs setOutputMarkupId(true) to be of any
> use, given that you're submitting with ajax.
>
> -Clint
>
> On Sun, Apr 19, 2009 at 9:11 AM, HHB wrote:
>>
Hey,
I have a form and I want to submit it via Ajax:
public CreateGroupPanel(String id)
Currently, I'm rewriting our GWT-based application and I picked Wicket.
GWT is delicious but only on papers.
GWT cons:
1. lack of roles separation, building the GUI in the code doesn't work for
me.
2. Hibernate integration is a nightmare.
3. Unit testing isn't that agile thing.
I like GWT but I wo
framework.web.context.ContextLoaderListener
>>
>>
>> contextConfigLocation
>> WEB-INF/applicationContext.xml
>>
>>
>> Regards,
>>
>>
>> Leandro.
>>
>>
>> 2009/4/6 HHB
>>
Hey,
I'm trying to integrate Spring 2.5 into our Wicket
application, I did the following:
web.xml:
contextConfigLocation
classpath:applicationContext.xml
org.springframework.web.
context.ContextLoaderListener
OpenSessionInViewFilter
Hey,
For our application layout we decided to go with
switching panels technique.
The Index page contains the navigation panel
which contains links to switch panels.
I know how to implement this technique but only
when the links that are supposed
to switch panels are on the same Index page, not
Hey,
How to refer to files under /WEB-INF/js in Wicket templates?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Issue solved,
I'm using href instead of src attribute of script tag
HHB wrote:
>
> Hey,
> I created this panel:
>
>
>
>
>
>
>
>
>
>
>
> # First header
>
>
Hey,
I created this panel:
First header
First content
Second header
Second content
This is supposed to be jQuery Accordion component.
public class NavigationPanel extends Panel {
Hey,
What are
wicket-objectsizeof-agent-1.3.5
wicket-datetime-1.3.5
wicket-velocity-1.3.5
wicket-auth-roles-1.3.5
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@
Hey,
My team lead is insisting on employing JQuery Accordion
in our Wicket application.
As you know that the Accordion consists of pairs
of headers and contents panels.
The requirement is to hide/show some pairs
depending on the user's permission.
Is is possible to do so? if yes, would you
plea
Hey,
Our new Wicket application is to be build with Spring and Hibernate, so I
included these:
org.springframework
spring
2.5.6
org.hibernate
hibernate
3.2.6.ga
org.apac
2007/06/wicket-jquery-tab-component.html
> [2] - https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff
> [3] - http://code.google.com/p/wickext/
>
>
>
> 2009/3/29 HHB
>
>>
>> The stack panel (or the suggested jQuery) is the navigation widget for
>> the
>&
The stack panel (or the suggested jQuery) is the navigation widget for the
application which means it should be part of the markup of the top level
parent class.
Should this jQuery widget be wrapped as Wicket component?
Leszek Gawron-2 wrote:
>
> HHB wrote:
>> Hey,
>>
Hey,
I want to employ something like StackPanel of GWT in my Wicket application.
Any production ready component?
Thanks for help and time.
--
View this message in context:
http://www.nabble.com/Equivalent-of-StackPanel-for-Wicket-tp22726615p22726615.html
Sent from the Wicket - User mailing list
Does maven-jetty-plugin getting used when we run Wicket tests (WicketTester),
you know, integration tests?
Timo Rantalaiho wrote:
>
> On Sun, 08 Feb 2009, HHB wrote:
>> Why POM of a Wicket skeleton application contains maven-jetty-plugin?
>
> To be able to run your ap
Hey,
Why POM of a Wicket skeleton application contains maven-jetty-plugin?
Thanks.
--
View this message in context:
http://www.nabble.com/Why-Wicket-application-contains-maven-jetty-plugin--tp21899056p21899056.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---
Hey,
Is Behaviors in Wicket are implementation of the Strategy Pattern?
Thanks.
--
View this message in context:
http://www.nabble.com/Behaviors-and-Strategy-pattern-tp21897409p21897409.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
hanks.
Michael Sparer wrote:
>
> Looks like you're mixing up different wicket versions. wicket.Initializer
> was before the move to apache. Check your pom if you're using different
> wicket versions - or perform a clean if you did an update recently
>
> hth,
> Michael
hanks.
Michael Sparer wrote:
>
> Looks like you're mixing up different wicket versions. wicket.Initializer
> was before the move to apache. Check your pom if you're using different
> wicket versions - or perform a clean if you did an update recently
>
> hth,
> Michael
Hey,
I created a Wicket skeleton project via Maven.
When trying to install the project, I got this error:
java.lang.ClassCastException: wicket.Initializer cannot be cast to
org.apache.wicket.IInitializer
at org.apache.wicket.Application.addInitializer(Application.java:755)
Hey,
In easy words, what are Wicket Behaviors? what is their role?
Thanks.
--
View this message in context:
http://www.nabble.com/What-are-Behaviors-in-Wicket--tp21525487p21525487.html
Sent from the Wicket - User mailing list archive at Nabble.com.
essage-
> From: HHB [mailto:hubaghd...@yahoo.ca]
> Sent: Monday, January 05, 2009 9:37 AM
> To: users@wicket.apache.org
> Subject: RE: How much this graph is accurate?
>
>
> What does this mean?
> :-/
>
> Hoover, William wrote:
>>
>> I think
Any preferred nationalities?
Joshua Stein-4 wrote:
>
> A couple of users have told me that I should post more information on
> what we are looking for, so here it is. We are a startup looking for
> someone to take us through our beta phase and beyond. Urgently, we
> need someone to develo
What does this mean?
:-/
Hoover, William wrote:
>
> I think this:
> http://www.indeed.com/jobtrends?q=Seam%2C+Grails%2C+Tapestry%2C+Wicket%2
> C+Stripes&l=&relative=1 is more accurate ;o)
>
> -Original Message-
> From: HHB [mailto:hubaghd...@yahoo.ca]
>
Hey,
How much this graph is accurate?
http://www.indeed.com/jobtrends?q=Seam%2C+Grails%2C+Tapestry%2C+Wicket%2C+Stripes&l=
Tapestry is so hot these day?:confused:
Don't get me wrong, I respect Tapestry and HLS, I only find it strange.
T5 has only one book and you can hardly find some one blog abou
good replacement of PHP, nothing more.
> I think you severely underestimate both. (When given to the right people
> of course.)
>
>> I hope Java web frameworks never got merged together.
>>
> Too late :) Struts merged with Webworks.
>
> But I agree; choice is goo
I hope Java web frameworks never got merged together.
Whenever my Rails dudes points toward how many Java has web frameworks and
considering this as a bad thing, I smile.
I smile because they don't have an option, just Rails.
We (Java guys), have request/action frameworks, component-based framewor
are kept as state. This is done by storing complete page
> component hierarchies to a page map. Usually you have one page map per
> session. Wicket's transaction support is no better or worse then the
> next web framework.
>
> Regards,
> Erik.
>
>
> HHB wrote:
&
Erik.
>
>
> PS. If that really is /the/ gem of Seam, you're in for a treat with
> Wicket! ;)
>
>
> HHB wrote:
>> This effects all the Wicket pages in the application, right?
>> Seam folks advertise this feature as one of the gems of Seam framework,
>&g
ageSettings().getAutomaticMultiWindowSupport() and the
> explanation given at javadoc.
> On Mon, Dec 22, 2008 at 11:39 AM, HHB wrote:
>
>>
>> Hey,
>> Seam framework supports the multi-tab / multi-window operations, it
>> isolates
>> each process from the other out-of-the-b
Hey,
Seam framework supports the multi-tab / multi-window operations, it isolates
each process from the other out-of-the-box.
Does Wicket offer the same thing?
Thanks.
--
View this message in context:
http://www.nabble.com/Multi-tap-operations-in-Wicket-tp21125698p21125698.html
Sent from the Wic
he
> developers can review it.
>
> cheers.
>
>
> On 18/12/2008, at 8:19 AM, HHB wrote:
>
>>
>> Thanks.
>> My problem is I don't where to start.
>> Lets say I want to fix that bug, in order to know how to fix it, I
>> have to
>> be awar
his helpful.
>
> http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html
>
> Scott
>
>
> On Wed, Dec 17, 2008 at 2:38 AM, HHB wrote:
>>
>> Thanks Martijn
>> How do you suggest to start studying Wicket core code (I don't mean
>> g
We call setResponsePage(new CoolPage()) if want to pass some data to CoolPage
and we call setResponsePage(CoolPage.class) if we only want to render
CoolPage
Am I right?
HHB wrote:
>
> Hey,
> What is the difference between:
> setResponsePage(CoolPage.class)
> and
> setRespons
n we like your code and are tired of applying the fixes
> for you, you might be proposed to become a committer yourself.
>
> Valuable info:
>
> http://apache.org/dev/contributors.html#patches
>
> Martijn
>
> On Wed, Dec 17, 2008 at 11:13 AM, HHB wrote:
>>
>>
Hey,
I really have a great passion toward Wicket framework and I really want to
participate with their core developer teams.
My problem is that this framework has really great and passion developers
and I can't imagine myself trying to join them (nor they will accept, I
think) not to mention this
Hey,
Why Wicket package doesn't include the API and Wiki pages (like Struts2 for
example)?
Any ideas how to get them for late night offline reading?
Thanks.
--
View this message in context:
http://www.nabble.com/Getting-API-Wiki-pages-for-offline-reading-tp20998576p20998576.html
Sent from the Wi
Hey,
I use inheritance to do layout.
The base page containing main section that should contains child's markup,
and cart section.
Child pages are supposed to perform operations that will update the cart
section (lets say via Ajax).
My question is how to ask the cart section to updates its state (
Hey,
What is the difference between:
setResponsePage(CoolPage.class)
and
setResponsePage(new CoolPage())
?
When to use each one?
Thanks.
--
View this message in context:
http://www.nabble.com/When-to-pass-object-instance--class-type--tp20998410p20998410.html
Sent from the Wicket - User mailing
77 matches
Mail list logo