Hi James
I have tried placing the img tag between wicket:link tags but still no
image displaying.
I have also tried the same with the DateTextField/DatePicker input text
field in order to display the calendar icon, but still nothing displays.
This one in particular is very odd since it is the
is your filter's mapping properly ends in a /* ?
-igor
On Sun, Sep 28, 2008 at 11:52 PM, Yazeed Isaacs
[EMAIL PROTECTED] wrote:
Hi James
I have tried placing the img tag between wicket:link tags but still no
image displaying.
I have also tried the same with the DateTextField/DatePicker
Hi Igor
Please excuse me, but I am new to wicket. :)
I am not sure what you mean by filter's mapping end in a /*, please
explain.
Is this a mapping configuration that I must setup with the app?
Regards,
Yazeed
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent:
Igor,
I should say that I was convinced already, by Matej's first response [1] to
my original post on this thread, that this decision (not to mention Matej's
expertise and hard work) will give us a robust, flexible and maintainable
underlying infrastructure with no perceivable impact on the
Hi Igor
You mean filter mappings in web.xml
I did not have any filter mappings, so I have added them and everything
is now working fine.
Thanks for the help Igor.
Regards,
Yazeed
-Original Message-
From: Yazeed Isaacs
Sent: 29 September 2008 11:16 AM
To: users@wicket.apache.org
Hi,
I'm currently struggling with the famous lazy load exception under
spring + jpa with wicket.
The problem is, in my case, that i pull an entity from the database
using a spring-bean (@SpringBean) and JPA (hibernate). Then in the
wicket class i need to walk the entity tree a bit, based on
Hi Korbinian
Im facing the same problems... I also use extended.. So gonna be great
to see the outcome of this thread.. I think it could be something about
missing usage of loadabledetachable model..?
Korbinian Bachl - privat wrote:
Hi,
I'm currently struggling with the famous lazy
Hi
I have created a bookmark portlet using wicket. And the bookmark portlet
includes two portlet- mode i.e. view and edit. I have deployed the basic
portlet on sun portal. I have a problem with the navigation form edit
mode to view mode.
Do you have any good suggestion how to solve this problem?
Are you really that surprised that Microsoft is not shipping YUI after
the failed attempts to take over Yahoo? :)
Seriously, there are technical reasons why I considered to use YUI,
not political. Just because some companies use jQuery it doesn't mean
Wicket should use it. Say most of the
I think it could be something about
missing usage of loadabledetachable model..?
not for me, as the original entity is pulled using an
loadabledetachableModel via a SortedDataProvider :/
if you look around, the all called solution for this is the
OpenSessionInViewFilter and the usage of
It would be a big plus for me if Wicket would adopt jQuery. Drupal
does that, and anyone writing a Drupal module can rely on the fact
that jQuery is available. Same for Wordpress, where plugin authors can
rely on the availability of jQuery. And not having to load more than
one library, internal or
On Mon, Sep 29, 2008 at 7:14 AM, Korbinian Bachl - privat
[EMAIL PROTECTED] wrote:
However, the OpenSessionInViewFilter will not work with wicket, even if
mapped to /* in the web.xml
Huh? We use it and it works just fine. By the way, have you tried
OpenEntityManagerInViewFilter if you're
On Mon, Sep 29, 2008 at 1:18 PM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
It would be a big plus for me if Wicket would adopt jQuery. Drupal
does that, and anyone writing a Drupal module can rely on the fact
that jQuery is available. Same for Wordpress, where plugin authors can
rely on the
Hi all,
I'm a new Wicket user and am developing an application making use of
Panels. The Panels are working, however I need to access some objects
in the panel that are defined in the parent class and am not sure how
to do this.
e.g.
MyProfile.java:
String userId =
getParent() ?
Steve Swinsburg-2 wrote:
Hi all,
I'm a new Wicket user and am developing an application making use of
Panels. The Panels are working, however I need to access some objects
in the panel that are defined in the parent class and am not sure how
to do this.
e.g.
When using the OSIV-filter the lazyload exception may only happen if the same
entity is used among different requests ... sothat it gets detached from
hibernate. have a look at
http://talk-on-tech.blogspot.com/2008/05/custom-reuseable-loadabledetachablemode.html
... that's the way we're doing it
really? - I tried it but...
would you please be so nice and post the part of the web.xml where it is
mapped and the corresponding part of the spring-application.xml ?
what wicket version are you on? what runtime (Tomcat 6?)?
Best,
Korbinian
James Carman schrieb:
On Mon, Sep 29, 2008 at
And then have to cast it to the class of the parent.. which kinda kills
the independent component based idea of reusable panels.
Why not pass along the userid when constructing? Or fetch it from the
session.
Michael Sparer wrote:
getParent() ?
Steve Swinsburg-2 wrote:
Hi all,
I'm a
I guess I am used to the jsp:include method of including panel type
objects since I am originally a JSP developer and then anything in the
panel instantly has access to the variables defined in the surrounding
parent.
I guess I could pass along a HashMap of data to the Panel when its
Your Panel is just a Java class, so give it a constructor that takes the
required object(s), or provide a setter if that wouldn't be too late (ie if
the values are required during the panel's construction). Or, take a look at
CompoundPropeprtyModel (maybe together with ComponentPropertyModel too
possible yes, recommended, no i'd say :-)
if you need specific values from MyPanel then pass it via constructor, if
you need values/attributes on component (e.g. isVisible) level use
getParent()
Steve Swinsburg-2 wrote:
I guess I am used to the jsp:include method of including panel type
Thanks everyone,
I changed my constructor to accept the object I wanted and passed it
in from the parent class. It's working now.
cheers,
Steve
---
Steve Swinsburg
Portal Systems Developer
Centre for e-Science
Lancaster University
Lancaster
LA1 4YT
email: [EMAIL PROTECTED]
phone: +44 (0)
We don't use JPA at work, but we use OSIV (we're using straight
hibernate). Anyway, for the JPA configuration, you can look at:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/jpa-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
On Mon, Sep 29,
Just be careful. If the object reference in the parent is retrieved
from a LoadableDetachableModel, then your panel and its parent can get
out of sync.
On Mon, Sep 29, 2008 at 8:16 AM, Steve Swinsburg
[EMAIL PROTECTED] wrote:
Thanks everyone,
I changed my constructor to accept the object I
Howdy All,
Just trying to explain to some colleagues how some of Wicket works
(differently than most other Web frameworks), so please correct me if
I am wrong.
From my understanding Wicket differs from most other Web frameworks
in that it doesn't manage the creation of the object graphs
You have until Friday to apply for this support. This is open for
anyone, not just committers! If you have an interest in Apache Wicket
and/or Apache ${foo} and are unable to attend because of monetary
constraints, and you fit the criteria, don't hesitate to apply!
Martijn
On Thu, Sep 25, 2008
Hi,
I'm using OnChangeAjaxBehavior with a TextField. The TextField is in a
table cell that is repeated using a ListView. When I change the value of
one of the TextFields more than one of the underlying models get updated
- the one that was supposed to be updated and all following in the list.
It may not be a best practice, but if MyInfoPanel does not need to be
reusable you can make it an inner class of MyProfile. Then userId can be
accessed directly.
Phil
On Mon, Sep 29, 2008 at 6:45 AM, Steve Swinsburg
[EMAIL PROTECTED] wrote:
Hi all,
I'm a new Wicket user and am developing an
This is what I did to solve the issue:
In Panel C class:
// Return button.
List crumbs = getBreadCrumbModel().allBreadCrumbParticipants();
IBreadCrumbParticipant p = null;
for (Object obj : crumbs) {
p = (IBreadCrumbParticipant) obj;
if (p
Hallo community, my code looks like this:
listView = new ListViewMyItem(collectionIterator,
listOfMyItems) {
@Override
protected void populateItem(ListItemMyItem item) {
MyItem myItem = (MyItem) item.getDefaultModelObject();
radovan wrote:
Hallo community, my code looks like this:
listView = new ListViewMyItem(collectionIterator,
listOfMyItems) {
@Override
protected void populateItem(ListItemMyItem item) {
MyItem myItem = (MyItem)
Hmm,
I copied it to web.xml, but result is:
2008-09-29 18:07:24,125 ERROR org.hibernate.LazyInitializationException
- failed to lazily initialize a collection of role:
de.xxx....xxx., no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily
Thies Edeling wrote:
radovan wrote:
Hallo community, my code looks like this:
listView = new ListViewMyItem(collectionIterator,
listOfMyItems) {
@Override
protected void populateItem(ListItemMyItem item) {
MyItem myItem
Ashley,
Take a look at chapter 1 of Wicket In Action (free download at
http://www.manning.com/dashorst/).
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
Ashley Aitken wrote:
Howdy All,
Just trying to explain to some colleagues how some of Wicket works
you should use DataTable instead of ListView for that; there you can
easily manipulate by overriding the getCSS() function of the columns.
Best,
Korbinian
radovan schrieb:
Hallo community, my code looks like this:
listView = new ListViewMyItem(collectionIterator,
Would you be able to create a quickstart that exhibits this behavior?
If you want, you can use the JPA archetype in wicketopia (the code I
referenced) to set everything up for you automatically.
On Mon, Sep 29, 2008 at 12:21 PM, Korbinian Bachl - privat
[EMAIL PROTECTED] wrote:
Hmm,
I copied
you populate all components inside the listview yourself, so just
attach one to the td
-igor
On Mon, Sep 29, 2008 at 9:23 AM, radovan [EMAIL PROTECTED] wrote:
Thies Edeling wrote:
radovan wrote:
Hallo community, my code looks like this:
listView = new
Hi,
On Mon, Sep 29, 2008 at 4:13 PM, Ashley Aitken [EMAIL PROTECTED] wrote:
Howdy All,
Just trying to explain to some colleagues how some of Wicket works
(differently than most other Web frameworks), so please correct me if I am
wrong.
From my understanding Wicket differs from most other
You'll have to be more specific. What kind of problems. What works, what
doesn't etc.
Singh Mukesh wrote:
Hi
I have created a bookmark portlet using wicket. And the bookmark portlet
includes two portlet- mode i.e. view and edit. I have deployed the basic
portlet on sun portal. I have a
hi ,
i've to add a tool tip for hyper link,
if any of you come across this thing,
please suggest me or give me the sample code .
thanks
J
--
View this message in context:
http://www.nabble.com/Need-to-add-tool-tip-for-hyper-link-tp19730615p19730615.html
Sent from the Wicket - User mailing list
I'd like to use inmethod grid in my charity auction project.
I've got a slightly modified version of one of the grid-examples using
DataGrid like so:
DataGrid grid = new DefaultDataGrid(grid,
AuctionApplication.get().getDao().getItems(getYear()),
//
a href=# title=Here's my tooltip tiplink/a
On Mon, Sep 29, 2008 at 9:59 PM, newbie_to_wicket [EMAIL PROTECTED] wrote:
hi ,
i've to add a tool tip for hyper link,
if any of you come across this thing,
please suggest me or give me the sample code .
thanks
J
--
View this message in
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis-prototip
Prototip
--
View this message in context:
http://www.nabble.com/Need-to-add-tool-tip-for-hyper-link-tp19730615p19731592.html
Sent from the Wicket - User mailing list archive at Nabble.com.
I guess I didn't quite get the file upload example in the first place.
Uploading via iframe is supported by jQuery's form plugin, which is
one of the best plugins we have. We plan to add it, together with
other related plugins, to jQuery UI forms (or something like that).
About selectors: jQuery
I don't think the grid snapshots in maven are recent enough. You
should fetch it from svn and build it yourself if you want to use it.
Also keep in mind that grid version for 1.3 is in the 1.3 branch of
wicket stuff, not the trunk:
On Mon, Sep 29, 2008 at 11:13 PM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
I guess I didn't quite get the file upload example in the first place.
Uploading via iframe is supported by jQuery's form plugin, which is
one of the best plugins we have. We plan to add it, together with
other related
and what happens when microsoft forks jquery and hires all of its
developers to work on its proprietary version? to me this is more a
risk then anything else
-igor
On Mon, Sep 29, 2008 at 2:13 PM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
I guess I didn't quite get the file upload example in
On Mon, Sep 29, 2008 at 11:13 PM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
PS: I'm currently sitting on a panel with PPK and guys from Prototype,
Dojo, YUI and jQuery. One question was: What library would you
recommend but your own?. Two of the three non-jQuery guys recommened
jQuery
So you're
Okay, let's keep this focused.
Here is my experimental branch.
http://svn.apache.org/repos/asf/wicket/sandbox/knopp/experimental/
There is new Ajax implementation here:
On Mon, 29 Sep 2008, Anders Peterson wrote:
I'm using OnChangeAjaxBehavior with a TextField. The TextField is in a
table cell that is repeated using a ListView. When I change the value of
one of the TextFields more than one of the underlying models get updated
- the one that was supposed to
On Mon, 29 Sep 2008, James Carman wrote:
Just be careful. If the object reference in the parent is retrieved
from a LoadableDetachableModel, then your panel and its parent can get
out of sync.
Because of this, it is often better to abstract the access
with IModel.
Best wishes,
Timo
--
Timo
On Mon, 29 Sep 2008, Michael Sparer wrote:
possible yes, recommended, no i'd say :-)
if you need specific values from MyPanel then pass it via constructor, if
you need values/attributes on component (e.g. isVisible) level use
getParent()
I think that getParent() is generally a bad idea,
Wicket.replaceOuterHTML(element, newmarkup); would be this in jQuery:
$(element).after(newmarkup).remove();
That inserts the new stuff after the element, then removes the
element, leaving only the new content in the DOM. after() takes care
of cleanup stuff for table colgroups, rows and cells,
I'll go through a few things in the wicket-ajax-ng.js file, to give an
idea how that could look like when putting it on top of jQuery. I skip
all stuff where I can't guess while scanning the code whats its
supposed to do.
W.$ looks like it selects one or more elements by id. Selecting is
hi, how to offer download function in wicket if i have already get the
InputStream for the file??
i did some search, people say can use dynamicl web resource,
but i didn`t see any sample for it?
does anybody get some sampe for this?
thanks.
--
View this message in context:
55 matches
Mail list logo