yehh, that's excellent! I know now, thank you, igor.vaynberg.
igor.vaynberg wrote:
>
> no they do not, all that is taken care off by wicket markup inheritance.
> for
> example:
>
> class basepage extends webpage {
> abstract componentwithassociatedmarkup newarea1(string id);
> abstract co
I am creating an application that utilizes alternate stylesheets. A
javascript library also needs each stylesheet to have a title. The
output format should be something like this:
Using HeaderContributor, I can get this output:
Note that I need to add "alternate" to the "rel" attribute and
On 6/23/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
with the current 1.3 if you hold page references in other pages the
the main pag is not serialized as a whole. Every page reference we
come across is saved by itself in its own file. So pages are not saved
twice or multiply in more then one
On 6/23/07, John Krasnay <[EMAIL PROTECTED]> wrote:
Thanks for the tip, but could you give us a little more of a clue? For
example, from where should we get the RequestCycle? Using
RequestCycle.get() doesn't sound right, since that's for the response
we're sending to the browser, not for the HTM
--
Saludos.
Fabricio Tuosto
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.n
Thanks for the tip, but could you give us a little more of a clue? For
example, from where should we get the RequestCycle? Using
RequestCycle.get() doesn't sound right, since that's for the response
we're sending to the browser, not for the HTML we want to render into
the email.
I looked into the
I also think this would be a good solution.
-Matej
On 6/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 6/23/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> > Modifying the tag (onComponentTag) and rendering header contribution
> > (renderHead) are two different thing. While onComponentTag on a
Two weeks? No, we started doing that on apache con :)
-Matej
On 6/23/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> On 6/23/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > no, also normal serialization.
> > 1 page instance (id/version) is never saved in more then 1 file
>
> Oh. See, I go on
On 6/23/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
Modifying the tag (onComponentTag) and rendering header contribution
(renderHead) are two different thing. While onComponentTag on a
behavior attached to page won't work (for reasons as you stated),
there is no reason why renderHead shouldn't wo
Arrgh. Discard my previous reply. This is wrong. Why shouldn't I be
able to do header contribution on behavior attached to a page? This
doesn't make sense!
I know onComponentTag doesn't make sense, but that's IMHO not valid
reason to forbid header contribution as well.
-Matej
On 6/24/07, Jonath
Modifying the tag (onComponentTag) and rendering header contribution
(renderHead) are two different thing. While onComponentTag on a
behavior attached to page won't work (for reasons as you stated),
there is no reason why renderHead shouldn't work as well.
-Matej
On 6/23/07, Juergen Donnerstag <[
Why? Component.renderHead renders the attached behaviors and it's not
overriden for Page, so i does what components do.
HtmlHeaderContainer#renderHeaderSection calls page.renderHead().
So why this shouldn't work?
-Matej
On 6/24/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>
>
> not anymore.
>
On 6/23/07, rc.china <[EMAIL PROTECTED]> wrote:
igor.vaynberg wrote:
>
>> This solution has some limitations while multiple has
not:
>> 1)We have to repeat the common parts of BasePage.html in all of its
>> descendants (such as DerivedPage1.html, DerivedPage2.html ...).
>> ==> If we have mu
igor.vaynberg wrote:
>
>> This solution has some limitations while multiple has not:
>> 1)We have to repeat the common parts of BasePage.html in all of its
>> descendants (such as DerivedPage1.html, DerivedPage2.html ...).
>> ==> If we have multiple , we have no need to do this.
>> 2)If we ch
> can we make webpage attach to tag?
That sounds like a better solution.
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits
not anymore.
Matej Knopp-2 wrote:
>
> Err, I believe that you can do add(HeaderContributor.forCss(...)) in
> page constructor.
>
> -Matej
>
> On 6/23/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
>> Jan,
>>
>> the problem is that though you can attach attribute modifier (that is
>> what
On 6/23/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
my code which does this:
add(HeaderContributor.forCss(CSS));
now throws the following exception. my web page needs to contribute CSS
to
the header. i'm wondering, why can't i do it this way anymore (it seems
like WebPage is a
Now that we have confirmed the venue (1 Alie Street, near Aldgate tube -
thanks to Matt Dudbridge who is also going to talk about the development of
the zoomf.com site), we know that there are still a few places left for July
3rd, so let us know if you'd like to come along.
Are people interested
my code which does this:
add(HeaderContributor.forCss(CSS));
now throws the following exception. my web page needs to contribute CSS to
the header. i'm wondering, why can't i do it this way anymore (it seems
like WebPage is a component like any other and my code did work fine befor
Err, I believe that you can do add(HeaderContributor.forCss(...)) in
page constructor.
-Matej
On 6/23/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> Jan,
>
> the problem is that though you can attach attribute modifier (that is
> what HeaderContributor is as well) to a Page (or WebPage), it'
On 6/23/07, Landry Soules <[EMAIL PROTECTED]> wrote:
Hello,
I have a very simple problem:
i just want to display a table of customers, with some infos on each
entry.
No problem to achieve that when you deal with one record per line. The
problem is that i want to display 4 customers on each row,
On 6/23/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
please keep the jdonnerstag for wicket. thanks
Juergen
done, looks like it worked. now only one of you shows up when you try to
assign an issue.
-igor
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 6/23/07, Juergen Don
On 6/23/07, Erik Dreyer <[EMAIL PROTECTED]> wrote:
Hi,
I'm loving Wicket, but still have a bit to learn. I didn't find any
answers when searching for an answer to my questions, so here they are.
BTW, I'm using Wicket 1.3 as built from SVN (up to date as of 6/23).
I have a panel that I'd like
On 6/23/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> no, also normal serialization.
> 1 page instance (id/version) is never saved in more then 1 file
Oh. See, I go on vacation for two weeks and I miss the serialization
magic you've put into Page :)
Nice job though!
Eelco
---
no, also normal serialization.
1 page instance (id/version) is never saved in more then 1 file
johan
On 6/23/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> with the current 1.3 if you hold page references in other pages the
> the main pag is not serialized as a whole. Every page reference w
Hi,
I am a Wicket Newbie - so I'm sure this isn't he best solution I have...
I see two easy solutions:
1: Convert your data into some sort of row model. You could create some
sort of "strategy" that is used as model for the item. Each strategy
resolves one value of the customer.
Instead of ite
> with the current 1.3 if you hold page references in other pages the
> the main pag is not serialized as a whole. Every page reference we
> come across is saved by itself in its own file. So pages are not saved
> twice or multiply in more then one file. The only thing i dont know
> currenlty is if
please keep the jdonnerstag for wicket. thanks
Juergen
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 6/23/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > I asked the infrastructure group already. Unfortunately without
> > success. The reason being that both are "in use" (even if
Jan,
the problem is that though you can attach attribute modifier (that is
what HeaderContributor is as well) to a Page (or WebPage), it'll not
work. WebPage doesn't have a tag. Since there is no tag, the attribute
modifier are not invoked, hence the nothing gets added to the header
section.
Solu
Hi,
I'm loving Wicket, but still have a bit to learn. I didn't find any answers
when searching for an answer to my questions, so here they are.
BTW, I'm using Wicket 1.3 as built from SVN (up to date as of 6/23).
I have a panel that I'd like to include in multiple _different_ forms. The
panel
Hello,
I have a very simple problem:
i just want to display a table of customers, with some infos on each entry.
No problem to achieve that when you deal with one record per line. The
problem is that i want to display 4 customers on each row, as this :
=
Custo
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, Christian Alejandro Marquez Grabia <[EMAIL PROTECTED]> wrote:
Hi everyone, I'm kinda new to wicket and I'm trying to get closer to it =)
here comes the question...
I was wondering if there is a way to set the width of the columns for the
DataTable when it's constructed as defining t
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
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:
> > >
>
I don't want to sound like a databinder basher, but I want to make this
solution very *non-invasive*. I don't want to have to implement specific
interfaces or use specific components for this to work.
My solution works with "standard" wicket components and property models. No
need to change you
this might be nice too
onbeforerender(component c) {
if (c.hasbeenrednered()) return;
...
}
Good catch!
I'm still relatively new to wicket's rendering lifecycle. Thanks for the
help and let me know if you see other "optimizations".
---
I've looked at databinder in the past, and although it may be useful, I
think it's a bit heavyweight for what I'm trying to achieve.
In my opinion, database access should be abstracted away from the UI layer
altogether, which leaves the goals of databinder questionable. Does anyone
remember the
Hi everyone, I'm kinda new to wicket and I'm trying to get closer to it =)
here comes the question...
I was wondering if there is a way to set the width of the columns for the
DataTable when it's constructed as defining the columns element, I've seen
the possibility of doing this with one of the
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:
> >
> > There is no silverbullet here. Each solution has its drawbacks.
>
On 6/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
Just sending out a quick "release announcement" for a new Hibernate/Wicket
integration in the wicketstuff project. The
HibernateAnnotationComponentConfigurator automatically configures a wicket
component based on the POJO's Hibernate annotation
On 6/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
Just sending out a quick "release announcement" for a new Hibernate/Wicket
integration in the wicketstuff project. The
HibernateAnnotationComponentConfigurator automatically configures a wicket
component based on the POJO's Hibernate annotation
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:
>
> > One thing I am struggling with is where I should put my DAO's and data
> >
> > services. I know about the @SpringBean annotation for
On 6/23/07, Edi <[EMAIL PROTECTED]> wrote:
Hello,
I have one wicket page. It contains two text boxes (I have mentioned
wicket:id).
If I create text box in wicket page, wicket:id should be mentioned in Java
file also. Right?
In this wicket page, I have created 2 html text box also. But here no
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 use those in classes such as De
On 6/23/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
I asked the infrastructure group already. Unfortunately without
success. The reason being that both are "in use" (even if it is some
very old issue I raised in other project some years ago and which is
closed already). But I give it anoth
On 6/22/07, rc.china <[EMAIL PROTECTED]> wrote:
Scott Swank wrote:
>
> I've often seen folk want what I see as "abstract" tags that can then
> be implemented by subclasses. The way I've handled that for our
> application is by creating an abstract component (say it's a page)
> with div tags
The current implementation uses:
* NotNull annotation automatically sets the component to be required
(setRequired(true))
* Length annotation automatically adds a MaxLength validator *and* adds html
"maxlength" attribute to the markup.
If there are other annotations that would be useful, let me k
This sounds very cool! Does it work with Hibernate Validator Annotations
also ?
Thanks, Paolo
On 6/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
Just sending out a quick "release announcement" for a new Hibernate/Wicket
integration in the wicketstuff project. The
HibernateAnnotationComponentC
Hi
I have put my answer in below you mail
/Flemming
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
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
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
* Srinu Sunkara:
> I just getting started with wicket and working on building a web
> application. So far so good. However, now we needed to build
> some nightly scripts and send an email with some data in a web
> page format.
>
> Can you tell me if we can run a java class in batch mode
* Srinu Sunkara:
> Hi - I am trying to get the HTML source code of a web page with
> in the program (so that I can send this in an email). Can some
> one tell me how can I get the HTML source.
Sure. Processing a Wicket page and sending the result to a buffer
can be achieved through StringReq
* Peter Thomas:
> Sure Eelco, JIRA logged: WICKET-685
>
> On 6/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> >Could you describe the problems in a JIRA issue? Thanks.
Please avoid to reply on top!
I commented on the issue, and finally marked it as invalid. Here
is the comment, in case
* rc.china:
>
> It seems that Lable use < s p a n > tag while TextField use < i n p u t > tag
> and that they conflict. I have changed the code like this and it still does
> not work properly. Does anyone have any workaround ? Thank you!
>
> public class Login extends WebPage {
> private
Just sending out a quick "release announcement" for a new Hibernate/Wicket
integration in the wicketstuff project. The
HibernateAnnotationComponentConfigurator automatically configures a wicket
component based on the POJO's Hibernate annotations.
one especially cool feature is that you can regis
Looks like I got the problem resolved.
I was trying to attach a Behavior from the IComponentOnBeforeRenderListener
in order to setRequired which throws an exception. When I just setRequired
from within the listener it works fine.
Thanks for the help.
Ryan
On 6/22/07, Ryan Sonnek <[EMAIL PROTEC
* glr:
> I tried using WicketTester with FormTester but I cannot have the
> model of the first DropDownChoice updated as a response to
> making a selection in it. As a result, when the OnEvent handler
> of the AjaxFormComponentUpdatingBehavior fires, it looks as if
> there was no selectio
Hi,
I haven't tried it myself so far, but I asked quite the same question some
time ago and people suggested using the WicketTester class to render a page
outside an HTTP request.
HTH,
Xavier
On 6/23/07, Srinu Sunkara <[EMAIL PROTECTED]> wrote:
Hi - I don't know if this is a dummy question.
Hi - I don't know if this is a dummy question. Sorry for being so.
I just getting started with wicket and working on building a web application.
So far so good. However, now we needed to build some nightly scripts and send
an email with some data in a web page format.
Can you tell me if we can
Hello,
I have one wicket page. It contains two text boxes (I have mentioned
wicket:id).
If I create text box in wicket page, wicket:id should be mentioned in Java
file also. Right?
In this wicket page, I have created 2 html text box also. But here no need
to mention text name to java file. Corr
Hi - I am trying to get the HTML source code of a web page with in the program
(so that I can send this in an email). Can some one tell me how can I get the
HTML source.
Thank you,
-Srini
-
Choose the right car based on your needs. Check out Yahoo! Aut
with the current 1.3 if you hold page references in other pages the
the main pag is not serialized as a whole. Every page reference we
come across is saved by itself in its own file. So pages are not saved
twice or multiply in more then one file. The only thing i dont know
currenlty is if PageX is
I asked the infrastructure group already. Unfortunately without
success. The reason being that both are "in use" (even if it is some
very old issue I raised in other project some years ago and which is
closed already). But I give it another try.
Juergen
On 6/22/07, Igor Vaynberg <[EMAIL PROTECTED
63 matches
Mail list logo