brilliant, thanks
On 7/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> ((webrequest)getrequest()).gethttpservletrequest()
>
> -igor
>
>
> On 7/20/07, Robert Young <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I have a servlet filter
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 HttpServletRequest object (or attributes set
in it) from a wicket page?
Thanks
Rob
On 7/8/07, Robert . <[EMAIL PROTECTED]> wrote:
I have a problem migrating from Wicket 1.2.6 to 1.3
I have a custom LabelLink component that I used to generate links,
including labels, in a data table.
This worked fine in 1.2.6, but now I get the following error:
"unable to find com
I have a problem migrating from Wicket 1.2.6 to 1.3
I have a custom LabelLink component that I used to generate links, including
labels, in a data table.
This worked fine in 1.2.6, but now I get the following error:
"unable to find component with path
forumBrowserForm:forums:rows:1:cells:1:cell:l
at the "recorder" pseudocomponent in the Palette component has no
inherent model, therefore it inherits it from the parent compound model.
This error does not seem to appear in the beta1.
Was there some kind of CompoundPropertyModel change between beta1 and beta2?
Robert Novotny
--
Thanks for your replies everyone. I think I can make an informed decision
now about what to do in each case.
I like the flexibility of the @SpringBean and the simplicity of the
application object, probably with seperate objects holding the DAOs and
services, so not to bloat the application object.
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > class PersonModel extends LoadableDetachableModel {
> >@SpringBean
> >private PersonDao dao;
> >private final long id;
> >public PersonModel(long id) {
> > this.id=id;
> > InjectorHolder.getInjector().inject(thi
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
>
>
>
> On 6/23/07, Flemming Boller < [EMAIL PROTECTED]> wrote:
> >
> > On 6/23/07, Robert . < [EMAIL PROTECTED] > wrote:
> >
> > Th
On 6/23/07, Flemming Boller <[EMAIL PROTECTED]> wrote:
On 6/23/07, Robert . <[EMAIL PROTECTED] > wrote:
> One thing I am struggling with is where I should put my DAO's and data
> services. I know about the @SpringBean annotation for components, but
> how should I us
Hi, I'm trying to make a project using Hibernate, Spring and Wicket.
I am have some conceptual difficulties. Would love if someone could
share their knowledge or point me in the right direction.
One thing I am struggling with is where I should put my DAO's and data
services. I know about the @Spr
When a new version is released I would like to get all the new zip files
quickly. However there are 11 zip files and somehow the download is always
set to some non-working mirror which I have to change manually. Those are a
lot of clicks. I would really enjoy if there is a mega-zip file release
wh
column of table.
Robert Novotny
eddmosphere wrote:
>
> Hi there! I'm realll getting confused..
>
> I'm trying to create a table with the resultSet from a mysql database (I
> tried DataView but gave up..too much for me) by using a ListView. The
> probl
One problem, which could arise, is the URL from which is the graph.class
loaded. When you've got your applet page on
http://server.com/page/applet.html, browser JVM willl try to load
graph.class from http://server.com/page/graph.class URL. Also make sure that
you have a correct case (Java classes
r browser in both cases.
>>
>>
>>
>> edward durai wrote:
>>>
>>> Hi,
>>>
>>> I have tried. but i am not able to display that applet. Please give me
>>> one sample. Thanks
>>>
>>>
>>>
&
Hello,
there is nothing special in displaying applets in wicket pages. Just put the
proper applet tags into the HTML page template. You don't even need to have
corresponding components in the Java class, since applet is not a wicket
component.
Robert Novotny
edward durai wrote:
>
>
problems, and if so isn't there another way to
prevent the use of inner classes?
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share y
index.php/Spring.
Maybe it's a silly question, but how did you find that page about Spring? I
see nothing from the main wiki page that would lead to that page.
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
J
On 3/16/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Please don't take any off this as criticism against Wicket. I'm sure it
is a
> great project. And I will be using it in the future.
> I'm just not sure if I should convert this project from Tapestry to
Wicket.
> I am beginning to think tha
ets
do.
-igor
On 3/16/07, Robert . <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> A Tapestry service basically has a
> public void service(RequestCycle) method.
> Something like a PageService would do something like
> cycle.activate(cycleparam[0])
>
> Now I understand
nt a stable entry point into the page then you
should
> mount it, also via the webapplication subclass, and then the javascript
> can
> redirect to the mounted url.
>
> -igor
>
>
> On 3/15/07, Robert . <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>>
client
browser to keep any state.
I actually have a whole model-view-controller system in javascript for
certain complicated situations.
I tried to look at how a Tree component works, and see if I could learn
something by looking at how it's called.
But t
what if I don't have a
component and
there is some javascript that wants to change the page? I'll try to write
about this more in the other replies in this thread.
Robert
On 3/15/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
you wanted to know how to have an equivalent of a t
t;
3) Goto Tree table
It's always reproducable in both IE and Firefox. I use Tomcat 5.5.20
Should I file a JIRA issue?
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay pane
Really? A resource?
But I have nothing to return from my service resource.
Robert
On 3/15/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
wicket's equivalent of a service is a shared resource. you can register
your own shared resources through your webapplication subclass.
as far a
his further makes me realize I don't even know how to make something
like a PageService where the page is determined by javascript.
I feel like I am missing something.
Robert
-
Take Surveys. Earn Cash. Influence the Future of
Considering that the hierarchy is specified in the template, isn't there
some way to use this to construct the hierarchy automatically?
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.
I have tried to use dropdown menu in one of my projects. NavMenu has been
broken in that time (and I didn't figure out how to patch it) and my effort
in integrating TigraMenu wasn't succesfull either. Finally I have used the
approach which uses a pure CSS menu which is based on the :hover class. T
ade the change myself and build it from
source.
I did have to change the basedir to "../.." before ant could build. A
mistake in the build files?
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
rent inside RequestCycle protected
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through br
On 3/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
I think your best bet is to take a close look at Wicket servlet and
see how it prepares and executes request.
Let the application object create the web request,set the application
thread local, get the session, create a custom response obje
Eelco Hillenius wrote:
>> but why are these things tied to request threads? doesnt sound like they
>> should be.
>>
>
> If I understand Robert correctly that is due to an architectural
> choice he just has to live with. Also, I'm wondering in what way
> Tape
the one causing the request.
This architecture existed before any web application was developed for it.
Robert
On 3/2/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
Why Do you want to create a Page in a separate thread? I floading the
page take a long time, it usually is the model data
t cycle on a thread?
I see similar API calls for Session and Application, but nothing for
RequestCycle.
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get
stration from day 2.
>
> So I'll head back to banging on the DropDownChoice, I'll get it
> eventually,
> though I'm open for suggestions.
>
> Jason
>
> On 2/27/07, Robert Novotny <[EMAIL PROTECTED]> wrote:
>>
>>
>> The DropDownCho
The DropDownChoice allows you to specify in one of its constructors a custom
implementation of IChoiceRenderer, which can be used to customize the item
IDs and labels. You may try to have a look on the IChoiceRenderer and the
ChoiceRenderer (which is its default implementation) JavaDoc.
Jason Ro
login. However at that point the session has expired and
receives this message when trying to log in.
Is there some way to prevent this from happening?
Robert
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.
ns.
If I will need this at some time I will make a good implementation and let
you know.
Robert
Eelco
On 2/13/07, Robert . <[EMAIL PROTECTED]> wrote:
> Actually I encounter this raw HTML output in the Pro Wicket book on page
> 251.
> A custome AutoCompleteRenderer is used to r
a panel/fragment for example ,
pass the EmailInfo text to the fragment/panel and then add it to the
Response.
thanks,
Karthik
On 2/13/07, Robert . <[EMAIL PROTECTED]> wrote:
>
> Actually I encounter this raw HTML output in the Pro Wicket book on page
> 251.
> A custome AutoC
Hi,
I read somewhere that a Wicket Intellij plugin is also being developed. Is
anyone already using it?
Are there any releases scheduled for the plugin?
Robert
-
Using Tomcat but need to do more? Need to support web
having
to do something like response.write("");
Robert
On 2/12/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
in wicket you very very very very rarely output markup from your code. why
do you need this?
-igor
On 2/12/07, Robert . < [EMAIL PROTECTED]> wrote:
> Hi,
>
Hi,
I have been using Tapestry before and kinda enjoyed using the IMarkupWriter
by doing things like
writer.begin("div");
writer.attribute("id", "abc");
writer.println("text");
writer.end();
Is there an equival
I tried it in Firefox 2.0.0.1 and IE 7 and it had the same problems. I
didn't try it in IE6 yet.
I will add a feature request to JIRA for it.
Robert
On 2/8/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
go ahead and make it a feature request and add a quickstart to it
i remember
everything.
However while I'm typing the focus keeps dissapearing from the input field.
That's very annoying as you can imagine. Can I set Wicket to keep my focus?
If not, I would like to make this a feature request.
Robert
--
ed for
1.2.5 and 1.3.x
Eelco
On 2/7/07, Robert ... <[EMAIL PROTECTED]> wrote:
> On page 232 of Pro Wicket javascript is dynamically added in the head
> element.
> The following method is used in the ConfirmDeleteBehavior:
> public void bind(final Component component)
>
o be found. which of
course results in a javascript error when clicking a button that has an
onclick added by the same behavior.
How can I fix this?
Robert
-
Using Tomcat but need to do more? Need to support web services, security?
e it in the attachment. (Shall I create an JIRA issue?)
>>
>> R. N.
>>
>>
>> how about a patch to the javadoc? :)
>>
>> -igor
>>
>>
>> On 2/5/07, Robert Novotny wrote:
>> >
>> >
>> > Hello,
>> > I stumbled
(new Double(7.1), String.class);
I know that this is a rarely used class by the general public, but I hope
that some day the documentation will deserve its update :-)
Robert Novotny
--
View this message in context:
http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607
1.2.4) I noticed that everything
already works fine without it.
Has this behaviour been changed since the book has been made and I can
assume that the form component models will be updated from now on?
Robert
-
Using Tomcat but
Okay that makes it clear. Then I will just ignore this problem and hope it
will be fixed by the time I really need it :)
Perhaps a note could be added to the errata about it?
I tried opening the tracking number, but I get a page with
"Artifact: Only Group Members Can View Private ArtifactTypes" e
rather then int.
-igor
On 2/1/07, Robert ... <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have read the "Pro Wicket" book and I am trying to make some examples
> from the book. However I get an error when trying to use a
> RestartResponseAtInterceptPageException in the
I get shows the CheckoutPage as the page class. I'm not sure
if it means anything, but it seems to go back to the CheckoutPage instead of
continuing to the ConfirmationPage.
What am I doing wrong?
Robert.
-
Using Tomcat
way to get my
download working?
Perhaps you could give me a short example
Thanks
Robert
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Philip A.
Chapman
Gesendet: Mittwoch, 03. Jänner 2007 12:03
An: wicket-user@lists.sourceforge.net
Betreff
[] directly.
So I tried this method: response.getOutputStream().write(file);
But using this I get this error:
java.lang.UnsupportedOperationException: Cannot get output stream on
BufferedResponse
Thanks for any help
Robert
I have filed a jira report (WICKET-188) for this.
Robert
Johan Compagner wrote:
>
> can you make a testcase and create a jira for this?
>
> johan
>
>
> On 12/28/06, Robert Novotny <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes, I have tried this new
ometimes appear, and sometimes not.
>>
>> Does this problem have something in common with the fixed
>> HeaderContribution issue in the Wicket 1.2.3? This problem seems to be
>> nonexistent when using Wicket 1.2.1.
>>
>> Thanks for any advice.
>>
Wicket 1.2.3
User A and B share a computer at an office.
User A logs in. Session is setup with account info. User A doesn't log out.
User B clicks on his login bookmark, and logs in using the same session
(as it wasn't invalidated with a logout) -- the same session is reused.
The login process
?
The background is, that I want to remember what column was sorted last and when
the user goes back to the overview page, the sorting should be the same as when
he left the page.
Thanks for any help
Robert
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und
your panel constructor
MyPanel()
{
add(new BookmarkablePageLink(componentId, Edit.class, new
PageParameters(map)));
add(new Label("mytext", "click here"));
}
If you wich to add several types of content in your cell (a link, an
image, a blob, a form, ...), or if you wich t
I have an app that has a public section and a logged-in section. If the
session expires for a logged-in user, I'd like to direct him to the
login. If a page expires for a public user, I'd like to direct him to
the "/" page. Any thoughts on how to handle this efficently? One "easy"
way would be
the ajaxLink will work too.
All will be ok. But It seems the Image doesn't use my model :(
The method onGetObject is called only for the date label.
Do you have any clue, tips or solution ? I think someone I had already
to change images through ajax Link ? How did you do ?
Thanks
I've discovered Wicket and was moved to sing its praises:
http://www.mostmedia.com/blogs/archive/2006/08/03/java-development-stack-acr
onymony
If I have time I hope to write up the experience I had porting some code in
an article for the wiki.
Regards,
___
Robert Moskal
I'm using wicket 1.2 jar and wicket-contrib-tinymce-1.0-SNAPSHOT.jar
(built in maven from checking out 1.2 branch of wicket-stuff)
I've added TinyMCEPanel to my page via add(new TinyMCEPanel("tinyMCE"));
When I click on the page (I'm using Fire Fox 1.5.0.6 under OS X), the
following javascript
I posted a very similar "component" to the group a while back -- search
for "Servlet forward to a JSP". It could be used as a starting point
for a "nice" component, as it definitely needs polishing.
On 2006-03-29 23:54:57 -0700, Nili Adoram <[EMAIL PROTECTED]> said:
How about extending Includ
in your case it would be better to call setvisible isntead of overriding
isvisible because your condition does not work well across requests.
-Igor
On 3/22/06, Robert McClay <[EMAIL PROTECTED]> wrote:
I'm writing a simple Upload File/View File/Delete File panel. It has 3
buttons.
1.
I'm writing a simple Upload File/View File/Delete File panel. It has 3 buttons.
1. Upload - Only visible when no file is stored & permissions are
correct via isVisible() override.
2. View File - Only visible when a file is already stored via
isVisible() override.
3. Delete File - Only visible w
TECTED]> said:
Is this specific to Resin, or is it something more general?
Eelco
On 3/21/06, Robert McClay <[EMAIL PROTECTED]> wrote:
Resin has an option that handles parsing multipart forms automatically.
http://www.caucho.com/products/resin/ref/app-config.xtp#multipart-form
".
Resin has an option that handles parsing multipart forms automatically.
http://www.caucho.com/products/resin/ref/app-config.xtp#multipart-form
"...an uploaded file with a form name of foo, the parameter value
contains the path name to a temporary file containing the uploaded
file. foo.filename
In 1.1, given a runtime exception of type "SecurityException", I'd
forward to a special error page that then calls
getSession().invalidate() to log the user out. The special error page
would render and then the session would be invalidated, causing
additional clicks to forward to the login page
?
When the model of the listview changes?
See the modelChanging can modelChanged() events. That will up the version
number.
johan
On 2/25/06, Robert McClay <[EMAIL PROTECTED]> wrote:
I'm using Wicket 1.1. I have a page with 1 constructor (no default
constructor):
public ChoiceListDet
I'm using Wicket 1.1. I have a page with 1 constructor (no default
constructor):
public ChoiceListDetailPage(final Page backPage, final ChoiceList detail)
I construct and then go to the page from a bookmarkable list page. The
new page doesn't handle versioning correctly though. It is the same
ertainly be reasuring if that is fixed in that version.
Eelco
On 1/28/06, Robert McClay <[EMAIL PROTECTED]> wrote:
I modified my copy of DatePicker.java and DatePicker.html to reference
resources (images, javascript, and css) from the web server directly
and everything works great now. H
I modified my copy of DatePicker.java and DatePicker.html to reference
resources (images, javascript, and css) from the web server directly
and everything works great now. Hopefully I can throw it out when 1.2
is released. It appears that IE / https / wicket combination causes
some threads to g
you see the requests stalling in the server logs?
As for 1.2: the resource requests will not pass a blocking section. This is
hard to achieve in Wicket 1.1, which is one of the reasons we (mainly Eelco=
)
replaced the internal request processing in Wicket 1.2
Martijn
On 1/27/06, Robert McClay <
Users of our https site using IE 6 have reported that pages that use a
DatePicker seem to stall on downloading the images for the datepicker.
I've verified and it happens when the images aren't in the browser
cache -- sometimes it takes forever to download the images. Haven't
noticed the same b
In Wicket 1.1 if the session expires and you click on a versioned page,
the first time it will take you to the Page Expired page. If you then
hit back and click the link again, it'll throw an exception. Is that a
bug?
java.lang.IllegalStateException: No version manager available to
retrieve r
I would like to enable page level security in my application. I don't
want my page to be constructed unless a certain security requirement is
met as at present I do a lot of data loading / etc in page constructors
(as featured in the wicket examples).
It seems a new security policy is in the w
Here's a starting point if anyone wants to include a servlet / jsp in
their page via RequestDispatcher.
public class IncludeServlet extends WebComponent {
private static final long serialVersionUID = 1L;
public IncludeServlet(String id) {
super(id);
}
public IncludeServlet(String id, IM
icket locations. If you want to inlcude things
likes JSP pages into Wicket pages, you can use the
wicket.markup.html.include.Include component. The latter is a bit
rough, so if you need better support on that one, please contribute ;)
Eelco
On 11/6/05, Robert McClay <[EMAIL PROTECTED]> wro
I'm exploring the possibility of integrating Wicket into a JSP
application. Is it possible to tell Wicket to do a servlet forward to a
JSP? I would like to add a few request attributes and then forward to a
JSP. The reason I'd like to do a forward VS include is I need to be
able to populate req
What is the best way to reconcile items in a ListView when the
underlying records have been deleted by another user just prior to a
form submit? Should I override beforeUpdateFormComponentModels,
reattach my model, iterate through my ListItem models and determine if
the primary key associated w
Within a form I'm using a detachable model for a ListView that
contains business objects loaded directly via JDBC, each of which has a
selected flag, rendered in the ListItem as a checkbox. However, when I
get to onSubmit in the form, the model is still detached, and therefore
the state hasn't
81 matches
Mail list logo