On Wed, Oct 8, 2008 at 2:06 PM, Arie Fishler <[EMAIL PROTECTED]> wrote:
> Label should be in a tag...not ?
Why?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Why are you calling super.add() as opposed to merely add()?
On Wed, Oct 8, 2008 at 3:06 PM, miro <[EMAIL PROTECTED]> wrote:
>
> It extends WebMarkupContainer .
>
> jwcarman wrote:
>>
>> What does CSRRicolaContainer extend?
>>
>> On Wed, Oct 8, 2008 at 1:34 PM, miro <[EMAIL PROTECTED]> wrote:
>>>
Sure. Look at what the Label class does. It doesn't have an HTML template.
On Thu, Oct 9, 2008 at 1:49 PM, miro <[EMAIL PROTECTED]> wrote:
>
> like I have very little html and I dont want a write a new .html file and
> just in my component i want to override some method which returns html
What's wrong with using a panel? If this is to be done in only one
class, have you thought about using a Fragment?
On Thu, Oct 9, 2008 at 2:28 PM, miro <[EMAIL PROTECTED]> wrote:
>
> the label appears complex i looking for a simple solution
>
> My custom componentuses wicket components intern
Are we talking about a "wizard" here? What if you used something like this:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/model/proxy/ProxyModelManager.java
Basically, the "models" cache their values until you call "commit" on
the ProxyMo
Wicketopia has an example application that does what you want. The
HomePage (which shows a sortable table) is here:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java
On Thu, Oct 9, 2008 at 4:41 PM, Björn-Peter Tie
You can dynamically set the href (the href is obtained from an IModel)
of a link using regular ExternalLink components.
On Fri, Oct 10, 2008 at 6:49 AM, Seven Corners <[EMAIL PROTECTED]> wrote:
>
> Thank you, Serkan, for posting this solution. It's very slick. I have been
> wrestling with trying
You seem to be asking the same question (or very similarly-related
questions) over and over again. How about if you just explain your
situation/problem to the group and see if they can help you come up
with the best approach? It appears as if you might be spinning your
wheels here.
On Fri, Oct 1
Have you looked at the "live example" that uses fragments? At first,
it might seem a bit weird, but it's really not that bad. A fragment
is an "inline panel", meaning that you don't have to supply a separate
HTML template file for them (the markup template lives along side the
markup for the othe
x27;ve read).
If you have it, you might want to check that out.
On Fri, Oct 10, 2008 at 10:32 AM, James Carman
<[EMAIL PROTECTED]> wrote:
> Have you looked at the "live example" that uses fragments? At first,
> it might seem a bit weird, but it's really not that bad.
What is ?
On Fri, Oct 10, 2008 at 10:42 AM, miro <[EMAIL PROTECTED]> wrote:
>
> This is what i did to use fragment
>
>
>protected class CustomMenuComponent extends Fragment {
>private String headerlabel;
>private RepeatingView repeatingView = new
> Repe
Ahhh, ok. I don't know that I've ever had that issue before. How
about doing a pastebin (http://pastebin.com/). Put your code in there
and send us a link?
On Fri, Oct 10, 2008 at 10:51 AM, miro <[EMAIL PROTECTED]> wrote:
>
> -tag is just to show html , if i donot put that browser would parse
One thing I suggest you get away from is hard-coding your component
ids in your constructors. I've looked at a lot of examples and most
folks let the caller supply the ids. I think that might also be
what's confusing you here. I don't know if it's bad to hard-code the
fragment id in your fragmen
Can't you just write a servlet that will do it?
On Fri, Oct 10, 2008 at 12:59 PM, Zach Cox <[EMAIL PROTECTED]> wrote:
>
> I need the browser to actually redirect the user to http://othersite.com if
> they go to http://mysite.com/something, regardless of if they click a link
> or type it into the a
I would write a servlet that takes an init parameter.
On Fri, Oct 10, 2008 at 1:02 PM, Zach Cox <[EMAIL PROTECTED]> wrote:
>
> Yes that is exactly what I need. I can definitely do the bookmarkable page
> approach. I'm using Tomcat for everything, do you know if I can have Tomcat
> do this, maybe
If it's a one-off, would you suggest adding another dependency and
configuration file to the mix?
On Fri, Oct 10, 2008 at 1:13 PM, Martin Grigorov <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-10-10 at 09:51 -0700, Zach Cox wrote:
>> I feel dumb for even asking this, as there's got to be an easy way,
Can you just override isTemporary()?
On Sat, Oct 11, 2008 at 8:34 AM, Artur W. <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I added simple simple behavior:
>
> public class XDateField extends DateTextField {
>
>public XDateField(String id, IModel model) {
>super(id, model, "-MM-dd");
>
>
Perhaps this one should go on an FAQ somewhere. We see this question
quite often.
On Tue, Oct 14, 2008 at 12:25 AM, Craig Tataryn <[EMAIL PROTECTED]> wrote:
> Yep, thanks Igor.
>
> On Mon, Oct 13, 2008 at 11:09 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> a stateless page in wicket means that
I think Wicket could definitely benefit from a revamping of its online
documentation. It would be nice to have a site similar to the way
Hibernate's is laid out.
On Tue, Oct 14, 2008 at 7:24 AM, jWeekend <[EMAIL PROTECTED]> wrote:
>
> This does come up very often, including at our London Wicket E
>> > >
>> > >> Any questions that I could help with in particular in the meantime?
>> > >
>> > >
>> > > Not yet, I haven't really looked into it yet.
>> > >
>> > > Thanks,
>> > > Maarten
>>
Have you tried creating a "toolbar"? You could call
setBottomToolbar() on your DataTable.
On Tue, Oct 14, 2008 at 1:21 PM, steve222 <[EMAIL PROTECTED]> wrote:
>
> Maybe I did not phrase my original the question well enough to get an answer.
>
> I have a simple DataTable containing - let call it s
Sorry, I mean addBottomToolbar()
On Tue, Oct 14, 2008 at 1:25 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> Have you tried creating a "toolbar"? You could call
> setBottomToolbar() on your DataTable.
>
> On Tue, Oct 14, 2008 at 1:21 PM, steve222 <[EMAIL PROTECTED
Try the FileImageResource class mentioned here (by me :):
http://www.nabble.com/Mount-files-outside-container-td19232069.html
On Tue, Oct 14, 2008 at 3:09 PM, Dane Laverty <[EMAIL PROTECTED]> wrote:
> I'm adding an image to my page with the following code. It works
> correctly, and the image dis
return FileUtils.readFileToByteArray(new
> File(path));
>} catch (IOException ioe) {
>logger.error("Trouble reading the image file.",
> ioe);
>return null;
>}
>
I don't know if it's too late, but perhaps you could set up a Wicket
BOF for ApacheCon US.
On Tue, Oct 14, 2008 at 10:19 AM, <[EMAIL PROTECTED]> wrote:
> By the way, will there be a wicket gathering at ApacheCon US this year?
>
> Who's coming?
>
> On Oct 14, 2008 11:09am, [EMAIL PROTECTED] wrote:
When Amazon.com does something like this, they still use an id on the
URL. Check out these two URLs (which are equivalent and happen to be
for a book I was suggesting to someone):
http://www.amazon.com/Pragmatic-Version-Control-Using-Subversion/dp/0974514063
http://www.amazon.com/dp/0974514063
t; Daan
>
> On 15 okt 2008, at 13:01, James Carman wrote:
>
>> When Amazon.com does something like this, they still use an id on the
>> URL. Check out these two URLs (which are equivalent and happen to be
>> for a book I was suggesting to someone):
>>
>>
>&g
t; Witold
>
> Am Wed, 15 Oct 2008 07:11:16 -0400
> schrieb "James Carman" <[EMAIL PROTECTED]>:
>
>> Right, I guess that's what I meant by "friendly" too. Friendly to
>> search engines, not just our eyes.
>>
>> On Wed, Oct 15, 2008 at 7:
By the way, I just added a DB4O implementation to Domdrides. The only
catch is that you have to download DB4O yourself and install into your
local maven repository to get the build to work. Good luck! Hope
that helps.
On Thu, Oct 16, 2008 at 6:27 AM, James Carman
<[EMAIL PROTECTED]>
Are you using interfaces for your entities or your repositories
(DAOs)? If you'd like a library to start from, check out Domdrides (a
DOMain-DRIven DESign library):
http://domdrides.sourceforge.net
Basically, it provides a common API for doing domain-driven design and
also provides some useful s
I think it's the order they are mapped in the web.xml file. The
declaration order doesn't decide what goes first/last. Basically, the
elements decide the order.
On Thu, Oct 16, 2008 at 10:55 AM, Jan Kriesten
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> filters are applied in order of their appearence
Are you using one page and just passing in your "content" component?
Are you not using markup inheritance?
On Thu, Oct 16, 2008 at 5:16 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> The system I'm building at the moment has almost everything pushed down into
> components. Most of the functionali
I don't know that I would cache the image data. That will get stored
in the session. Why use a DynamicImageResource if you're going to
cache (store it in a member variable) the image data anyway? If the
data comes from the database, then look it up when the resource is
requested.
On Sun, Oct 19
On Mon, Oct 20, 2008 at 11:02 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> whenever there is something nonfinal people will always find a way to misuse
> it.
>
> model methods are not final because it gives you a simple base class
> to subclass instead of starting from scratch with an imodel.
R
Have you tried using FormTester?
On Wed, Oct 22, 2008 at 5:20 AM, Minto van der Sluis
<[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> Creating unittests for my pages I managed to read the value a checkbox of a
> rendered page. I used:
>
>tester.assertModelValue( "form:myCheckBox, true );
>
> Howe
I think they mean that it is not the case that half of the text is
submitted. The only problem is in the view.
On Wed, Oct 22, 2008 at 3:54 AM, Michael Sparer <[EMAIL PROTECTED]> wrote:
>
> what do you mean by saying "But Actually half text is not gets submitted."?
> If there's a problem on the w
Isn't there already another thread about this question started by you?
On Wed, Oct 22, 2008 at 9:27 AM, Nav Che <[EMAIL PROTECTED]> wrote:
> Hello Ned,
>
> I am using BreadCrumbPanels, and on a BreadCrumbLink, i wanted to pass a
> parameter but looks like I cannot instantiate the custom constructo
So, what does it print when you print out the class name?
On Thu, Oct 23, 2008 at 6:24 AM, pieter claassen <[EMAIL PROTECTED]> wrote:
> Ok, I might be doing something thats not ok but . there are not two
> ListViews on this page (there are 3 forms? Is this a problem?)
> ClassCastException is t
Since this is not so obvious, we should probably file a request in
JIRA to add a checkbox-specific method to FormTester. Care to take
care of that, since you found the issue?
On Thu, Oct 23, 2008 at 9:15 AM, Minto van der Sluis
<[EMAIL PROTECTED]> wrote:
>
> Thx that did the trick :-)
>
> For tho
How about just use PropertyListView?
On Thu, Oct 23, 2008 at 9:39 AM, pieter claassen <[EMAIL PROTECTED]> wrote:
> Guys, thanks for all your feedback. You were right.
>
> Cheers,
> Pieter
>
> On Oct 23, 2008, at 2:44 PM, Jeremy Thomerson wrote:
>
>> Johan nailed it... here are your bad lines:
>>
>
Suppose I have this page hierarchy:
BasePage <- SuperPage <- SubPage.
In BasePage.html, I've got and in SuperPage.html I've
got . Now, in SubPage.html, I can't just "override"
the markup of SuperPage.html by using a . Suppose I
wanted to just add in an extra component in SubPage.html and then
this helps. But as Igor said you have to make SuperPage have the
> in its markup.
>
> -Richard
>
> On Thu, Oct 23, 2008 at 3:37 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> just like in object inheritance your superpage would have to provide a
>> way to plu
Mmm. Waguy beef!
On Fri, Oct 24, 2008 at 11:04 AM, V. Jenks <[EMAIL PROTECTED]> wrote:
>
> I'd really appreciate that Edgar, thanks!
>
> As for the GridView - "duh" for me.
>
> On another note, I just finished another one of our corporate sites, using
> Wicket. Check it out, let
Perhaps check out the DefaultDataTable's NavigationToolbar component's
code for some inspiration? DataTable has a getCurrentPage() method.
And, the Item given to you in your populateItem method has a
getIndex() method on it.
On Sun, Oct 26, 2008 at 4:12 AM, mehdi b <[EMAIL PROTECTED]> wrote:
> Hi
You can use wicketopia's ProxyModelManager, if you want:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/model/proxy/ProxyModelManager.java
This way, you bind your components to proxied models. When you're
ready to really write the values i
Here's an example where I put a remove link in a DefaultDataTable cell:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java
On Tue, Oct 28, 2008 at 6:33 AM, dlipski <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have one sh
Override newRowItem() and decorate it however you want (using
AttributeAppender behavior perhaps).
On Tue, Oct 28, 2008 at 9:37 AM, bjolletz <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I've just started learning Wicket and like it very much so far. I've found
> the very nice DataGrid component, for whi
I apologize. I must have misunderstood your question.
On Tue, Oct 28, 2008 at 9:42 AM, dlipski <[EMAIL PROTECTED]> wrote:
>
> Hi
> I dont know wicketopia project (and any of its classes like FragmentColumn)
> so I can misunderstand your idea but as far as I am able to read that code
> It looks li
Perhaps just a helper method somewhere?
public AbstractLink addTitle(AbstractLink link, IModel titleModel)
{
link.add(new AttributeModifier("title", true, titleModel));
return link;
}
On Tue, Oct 28, 2008 at 11:03 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote:
>
> The following extends Link t
Set the name property to "" in your cancel handler logic?
On Tue, Oct 28, 2008 at 11:41 AM, itayh <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I have a page that contain a hidden form. When the user press on "Add Item"
> or "Edit Item" then I set the visability of the form to true and the user
> can ad
DropDownChoice
On Tue, Oct 28, 2008 at 11:48 AM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> What are you referring to when you say DDC? The Dewey Decimal System? Used
> by pretty much every library around the world making it really easy to find
> books? I'd call that accessible.
>
> So my vision
I don't think Martijn is intentionally being vague. DDC is a common
abbreviation for DropDownChoice among folks within the Wicket
community. As for the request for a patch, that's the best way to
get your code suggestions merged into the codebase, providing a patch.
Please make sure you include
On Tue, Oct 28, 2008 at 3:05 PM, dlipski <[EMAIL PROTECTED]> wrote:
>
> All this solutions are correct but the problem is not in attaching some
> custom Javascript to element (which can be done in multiple ways) but
> in making td element work as a link.
>
Right, the element is already consumed
extField("city", customer.address.getObject().city );
>
> Let me know what you think about it.
>
> Maarten
>
>
>> Thanks for any update if anyone knows anything!
>> Wayne
>>
>>
>>
>>
>>
>> Johan Compagner wro
:
> i agree - that's why i think it would be difficult to avoid an
> eventual NPE in something like
> customer.getAddress().getCity().getBlabla() in that case
>
>
> On Wed, Oct 29, 2008 at 1:09 PM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> You shouldn't
27;re going to use it in your "domain." I have a
bad habit of half-reading these emails just so I can keep up with the
volume of traffic from all of the lists. :)
On Wed, Oct 29, 2008 at 9:29 AM, Maarten Bosteels
<[EMAIL PROTECTED]> wrote:
> On Wed, Oct 29, 2008 at 2:24
The IModel interface, if you're talking about the one from Wicket, is
a view-specific interface (it comes with a view layer library).
On Wed, Oct 29, 2008 at 9:20 AM, Maarten Bosteels
<[EMAIL PROTECTED]> wrote:
> On Wed, Oct 29, 2008 at 1:09 PM, James Carman <[EMAIL PROTECTED
I wrote a simple resource-based implementation:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/common/resource/ChartImageResource.java
and an example of using it:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src
gt; Independent Contractor
> Chicago Area.
>
> On Thu, Oct 23, 2008 at 8:29 PM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> What if SuperPage is a page that is "concrete"? Can it display itself
>> without having the elements plugged in?
>>
>> O
thread) :)
>
> The guy actually asked for a place to commit some integration stuff.. Unless
> you want him to put it in your svn? :)
>
> James Carman wrote:
>>
>> I wrote a simple resource-based implementation:
>>
>>
>> http://svn.carmanconsulting.com
Those are definitely sticking points. I guess we'll just have to
evaluate what is better for the framework. These two features are
definitely convenient.
On Wed, Oct 29, 2008 at 11:59 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> its not just compound
> we have 2 special cases for this:
> ICo
epped the class for
> inheritance (by telling wicket that markup should be inserted where
> wicket:child are), so that if someone comes along latter and extends your
> component they are allowed todo so:)
>
> I actually think this is a very nice feature..
>
> James Carman wrote:
>>
Yeah, I didn't notice the clickable requirement. That's pretty cool.
I'm going to have to check it out.
On Wed, Oct 29, 2008 at 5:19 PM, jwray <[EMAIL PROTECTED]> wrote:
>
>
> Err, sort of confused about the last few messages.
>
> I submitted the component as I thought it would be useful for othe
I thought we had something like that. I posted my "focus on me"
behaviour thingy on the wiki somewhere.
On Thu, Oct 30, 2008 at 7:34 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Should we have a recipies page on the wicket wiki? Where you can post things
> that are too sm
IMHO, you shouldn't really be using real hibernate with wicket tester.
You should be using mock objects.
On Thu, Oct 30, 2008 at 6:37 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Hi I am doing this:
>
>applicationContext = new ClassPathXmlApplicationContext(
>
e context, but this approach has unwanted effects on performance
> etc..
>
> James Carman wrote:
>>
>> IMHO, you shouldn't really be using real hibernate with wicket tester.
>> You should be using mock objects.
>>
>> On Thu, Oct 30, 2008 at 6:
On Thu, Oct 30, 2008 at 4:24 PM, GK1971 <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
> You are possibly correct. My main concern is that I have to upgrade from
> Tapestry 4 to... something. Given that Tapestry 5 is not compatible in the
> least I have allowed myself to look at the options.
Well, the backw
Have you tried using to surround your elements?
On Fri, Oct 31, 2008 at 5:53 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> Hello-
>
> I've been happily running my app on the root context path... but now I need
> to run it on something else.
>
> Throughout my html code, I have links that look li
It has been a while since I've used Wicket and man, I really forgot how
much I love this framework! It may be that I'm rusty, but I've searched
quite a bit and tried all the suggestions I've found, but I can't seem to
make add/remove via AJAX work for a ListView while preserving the input
data. I a
I have a scenario where a certain type of component should typically be
invisible, but in certain scenarios, it neeeds to become visible. That
visibility can be changed by anybody in its ancestry and the closest one to
the component should decide. Anyway, do we have established patterns for
this?
You could just introduce a caching filter in front of the pages, right?
On Wed, Mar 4, 2009 at 12:54 PM, Vinayak Borkar wrote:
> Hello,
>
> What is the recommended technique for generation of pages (usually served by
> wicket in a web server), statically so that they can be served by say, a
> CDN
e request once it is made to S3.
>
> Thanks,
> Vinayak
>
> James Carman wrote:
>>
>> You could just introduce a caching filter in front of the pages, right?
>>
>> On Wed, Mar 4, 2009 at 12:54 PM, Vinayak Borkar wrote:
>>>
>>> Hello,
>>>
>
gt;>
>>>> But the "common" case is, that you don't know for sure whether the
>>>> model
>>>> supports adding of choices or not.
>>>>
>>>>
>>>> If you don't believe me, take a look at JComboBox.
>>>
On Wed, Mar 4, 2009 at 6:29 PM, Jeremy Thomerson
wrote:
> LOL! Nah - I would just change all the setters on every domain object to
> be:
>
> public void setFoo(String foo) {
> this.foo = foo == null ? null : foo.toUpperCase();
> }
>
> Or, maybe I'd use AOP and build an aspect that could automati
-1 from me. I prefer the wildcards. It let's the client code be more
flexible
On Mar 5, 2009 1:20 AM, "Martijn Reuvers" wrote:
+1 for me too.
On Tue, Mar 3, 2009 at 9:39 PM, Martijn Dashorst
wrote: > Though I hav...
When you ask the hashset if it contains that object (checking whether or not
to remove) it will say that it doesn't contain it because it's not the same
object (you didn't override equals and hashCode). That's the whole issue
here.
On Mar 5, 2009 8:06 AM, "Johan Compagner" wrote:
yes i know but
I agree that it's weird that the behavior of the removeAll depends on
the size of the other collection.
On Thu, Mar 5, 2009 at 11:11 AM, Pointbreak
wrote:
> Dave, you are missing the point completely. The issue raised by Johan is
> that if you call TreeSet.removeAll(otherSet), then in some cases
What if you use two different tabbed panels on the same page?
On Tue, Mar 10, 2009 at 8:27 AM, Christian Helmbold
wrote:
>
>> Since others seem to need it, this might be worth refining over on
>> wicket-stuff.
>
> I think it's worth to build a universal bookmarkable tabbed panel. Brill,
> pleas
one tab panel, but with multiple levels.
>
> - Brill
>
> On 10-Mar-09, at 8:41 AM, James Carman wrote:
>
>> What if you use two different tabbed panels on the same page?
>>
>> On Tue, Mar 10, 2009 at 8:27 AM, Christian Helmbold
>> wrote:
>>>
>
My wicket-advanced demo code integrates Spring Security and Wicket
using wicket-auth-roles:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/
The key is the SpringSecuritySession class:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wi
of wrong type (I
> think), so I couldn't add the project to be deployed in my server from
> Eclipse. Then I tried creating the war-file by mvn war:war, it worked
> and I did a deploy by copy. But it wouldn't start.
>
> Best regards,
> Kent
>
> On Tue, Mar 10, 2
To be clear, the only potential for breakage is where user code tries
to modify the returned "model object" (of type List)
without casting it. However, that's a rare usecase (in my opinion)
and again it's easily overcome by a simple cast.
On Thu, Mar 12, 2009 at 5:10 PM, Igor Vaynberg wrote:
> b
:
>
> getmodelobject().clear();
> getmodelobject().add(item);
>
> where getmodelobject should return a collection.
>
> will that still work with this refactor? i dont see why components
> that do this need to cast anything to make it work.
>
> -igor
>
> On Thu, Mar 12, 2
a list using them is going to give me that much trouble (knowing a
> workaround or not), then there is something definitely broken.
>
> - Brill
>
> On 13-Mar-09, at 1:43 AM, James Carman wrote:
>
>> To be clear, the only potential for breakage is where user code tries
>&
FYI,
I have created a new JIRA issue for my proposed API changes:
https://issues.apache.org/jira/browse/WICKET-2165
I've attached a patch. I've "fixed" all of the places I could find
thus far. If I find anymore, I'll upload a new patch.
James
On Fri, Mar 13, 2009
return (Collection)getDefaultModelObject();
> }
>
> which is incorrect, it should in fact now return Collection T>, which will break Palette#updateModel()
>
> -igor
>
> On Thu, Mar 12, 2009 at 11:32 PM, James Carman
> wrote:
>> FYI,
>>
>> I have cre
gt;> return (Collection)getDefaultModelObject();
>> }
>>
>> which is incorrect, it should in fact now return Collection> T>, which will break Palette#updateModel()
>>
>> -igor
>>
>> On Thu, Mar 12, 2009 at 11:32 PM, James Car
tor.
>
> -igor
>
> On Fri, Mar 13, 2009 at 3:54 AM, James Carman
> wrote:
>> Again, ListMultipleChoice is okay in this instance. You don't want to
>> "widen" the model. You want to widen what can go in it (the choices),
>> which I have.
&
dformtoaddtems();
> add(new listview("list", entities));
> ^ wont compile because you cant assign imodel to imodel extends list> so we have to cast???
>
> -igor
>
> On Fri, Mar 13, 2009 at 8:02 AM, James Carman
> wrote:
>> Yes, but that's fine.
stmanager extends panel {
public listmanager(string id, imodel entries) {
add(new form("form") { onsubmit() {
listmanager.this.getmodelobject().add(someentry);}}
add(new listview("list", entries){});
^ wont compile because you cant assign imodel to imodel> so we ha...
add(new listview("list", entries){});
>
>
> -igor
>
> On Fri, Mar 13, 2009 at 11:51 AM, James Carman
> wrote:
>> If T is the element type, then you can't use an IModel for the choices.
>> You can't do that with the current API. Did you mean to pass i
On Fri, Mar 13, 2009 at 4:25 PM, Igor Vaynberg wrote:
> now change listview to take imodel>
>
> -igor
>
> On Fri, Mar 13, 2009 at 1:00 PM, James Carman
> wrote:
>> Ok, what part are you talking about that doesn't compile? In my IDE
>> right now,
ew class in the MultiUploadPage example from
wicket-examples. It's passing an IModel> to its
superclass' (ListView) constructor. No issues.
On Fri, Mar 13, 2009 at 4:33 PM, James Carman
wrote:
> I did! I added a simple class to my wicket development project that
> has al
All,
I have created a JIRA issue and attach a patch which implements the
API change with respect to collections and generics as I have proposed
it. This doesn't just cover ListView and DropDownChoice. As I
started working on it, the more and more "stuff" I had to change so
that the API was consi
You must not be doing something correctly. I implemented a
ClientSideImageMap recently
(https://issues.apache.org/jira/browse/WICKET-1936) and I generate my
own markup with that. You can see my code in the attached patch for
inspiration. Hope that helps.
On Sun, Mar 15, 2009 at 7:47 PM, schapey
On Tue, Mar 17, 2009 at 7:14 AM, Ista Pouss wrote:
> I should prefer than "Very well" and "Very good" are in a html file,
> or part of html file with some wicket mark inside.
>
So, use Fragments.
-
To unsubscribe, e-mail: users-
On Wed, Mar 18, 2009 at 3:49 PM, Edwin Ansicodd wrote:
>
> Thanks for your feedback! What do mean looking in the wrong webapplication
> subclass? How would I have not properly overridden newsession?
Put an @Override annotation on your method. Does it compile?
-
On Wed, Mar 18, 2009 at 9:26 PM, Mathias P.W Nilsson
wrote:
>
> After chaning all my AjaxLink to AjaxSubmitLink it works a little better,
> still some questions.
>
> Why can't I use ajaxLink here?
>
In order for the form's values to get into your model objects, the
form must be submitted.
--
Care to elaborate on how/why you're confused?
On Wed, Mar 18, 2009 at 9:34 PM, Mathias P.W Nilsson
wrote:
>
> Ok, I got it to work but I'm still rather confused.
> --
> View this message in context:
> http://www.nabble.com/Explaination-of-Ajax-in-Wicket-tp22589797p22592233.html
> Sent from the W
It also adds a resources specification to fix it.
On Wed, Mar 18, 2009 at 10:36 PM, Brill Pappin wrote:
> With Maven, non compiled files should be in src/main/resources
>
> The quickstart archetype actually does the *wrong* thing and puts them in
> with the java files.
>
> - Brill Pappin
>
> On 1
601 - 700 of 1919 matches
Mail list logo