wicket's ajax requirements are somewhat unique, thus we have our own ajax
implementation.
there is a dojo integration in wicket-stuff if you want to use dojo
components, but beware it is not supported by the wicket core team.
-igor
On 10/12/07, Chris Colman [EMAIL PROTECTED] wrote:
Short
Ahh. Ok. I can set the personpnel its model by calling
orderpage extends webpage {
public orderpage(IModel order) {
add(new personpanel(shipto, new propertymodel(order,shipto));
}
}
invoicepage extends webpage {
public invoicepage(IModel invoice) {
add(new personpanel(billto, new
Then just wait til you want to integrate with jpa / hibernate. Then
messages are equally poor. And at 5am nothing makes sense:)
Tauren Mills wrote:
Disregard this message. It turns out my war was missing some jar
files. It was an issue of I'm just stupid because I'm still working
at 5am and
Maybe im a bit swing-oriented. There we don't create always new page and panel
instances. Instead we reuse the created view instances and exchange simply
the model / models. So if (as an example) i change the order (while
navigating thru all orders) the related adress will change to.
So i could
Thanks :-)
Kent Tong wrote:
lizz wrote:
How do I change the label on the previous, next and finish buttons in the
wizard?
I would like to change the label of the FinishButton to save.
In your .properties file, add:
org.apache.wicket.extensions.wizard.next=Proceed
I tried the code below. Personpanel / model looks similar to orderpanel /
model. OrderFactory2 creates another order with other data (quick and dirty).
But the display of order is not changing. Why is this not working, if i share
the model?
public HomePage(final PageParameters parameters) {
Hi ,
I had a strong suspicion that WicketFilter (from 1.3 b3) not compatible
with Resin ( I tried 2.1.17 and latest 3.0.24 )
I can install a very simple filter , just doing this :
public void doFilter (...)
System.out.println(before doFilter);
chain.doFilter(req, res);
2007/10/13, smallufo [EMAIL PROTECTED]:
Hi ,
I had a strong suspicion that WicketFilter (from 1.3 b3) not compatible
with Resin ( I tried 2.1.17 and latest 3.0.24 )
I just grabbed the latest 1.3 b4 , the problem remains.
I also found that the following filter-mapping works :
filter
Nino.Martinez wrote:
Hi pierobo
I think you need to take a look at listview.. I know you want to let the
user just plainly design the page but what if you gave them a more
graphical editor. That way you could have a general page that had a
listview and added all the components the
Sorry for my stupidity. I think i got it now. I have to provide an accessor
chain based on the page model assigned. So i don't have to get the objects
in the model. Instead i have to specify the path to object'.
Code below is working now.
public HomePage(final PageParameters parameters) {
[https://issues.apache.org/jira/browse/WICKET-1069]
Hi!
I want to suggest an enhancement for the DataTable extension.
Right now it's only possible to style columns (width, alignment, color etc.) via
stylesheets. This has some not so nice implications IMHO:
- You have to extend the
Hi,
I think u might consider using getVariation()of WebPage class and dynamically
generated htmls along with some tricks in the java code :).
Hope it helps.
Shams
- Original Message
From: pierobo [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Saturday, October 13, 2007 12:26:11
Yes, but I dont see how this is not possible done with the solution I
suggest, unless you actually want the user to produce the html file
themselves...?
-Nino
pierobo wrote:
Nino.Martinez wrote:
Hi pierobo
I think you need to take a look at listview.. I know you want to let the
user
Nino.Martinez wrote:
Yes, but I dont see how this is not possible done with the solution I
suggest, unless you actually want the user to produce the html file
themselves...?
-Nino
If you mean an editor I could write to manage authoring of user's pages, it
is not what I need. There
Shams Ali-2 wrote:
Hi,
I think u might consider using getVariation()of WebPage class and
dynamically generated htmls along with some tricks in the java code :).
Hope it helps.
Shams
I need the opposite :-), static HTML pages and dynamic management...
If you want, give a look to
Then you could maintain a java class corresponding each html file the user
can create.
When the user saves his html you could store meta information for that html
file like what all wicket-panels it uses. Then inisde the java class you can
process this meta information and add corresponding panels
Jonas-21 wrote:
I think LocalizedImageResource.setSrcAttribute(...) shouldn't
reset the resource field if locales (and styles) don't match, since
Resource doesn't seem to be locale/style specific (unlike
ResourceReference) and cannot be reloaded/recomputed
as the commentary suggests if
I was thinking of implementing colgroup support, but I decided not to.
Colgroup as far as i can tell has serious styling limitation, which
only allows to specify very reduced subset of css to the colgroup.
-Matej
On 10/13/07, Jan Kriesten [EMAIL PROTECTED] wrote:
hi matej,
I was thinking of implementing colgroup support, but I decided not to.
Colgroup as far as i can tell has serious styling limitation, which
only allows to specify very reduced subset of css to the colgroup.
might be, but it's a nice feature for just styling col-width and
for what it is worth i will be creating a cms in the near future using
wicket. my idea is simple. the cms is a single wicket page. the users have a
special tag they use to define dynamic components like cms:component
type=foo param1=param2/. the page itself has a single repeater, prior to
igor.vaynberg wrote:
for what it is worth i will be creating a cms in the near future using
wicket. my idea is simple. the cms is a single wicket page. the users have
a
special tag they use to define dynamic components like cms:component
type=foo param1=param2/. the page itself has a
Shams Imam wrote:
Then you could maintain a java class corresponding each html file the user
can create.
When the user saves his html you could store meta information for that
html
file like what all wicket-panels it uses. Then inisde the java class you
can
process this meta
I'm attempting to accomplish the same thing, and am actually maintaining the
model in the user's session. When I need to have two panels on the page
which show a different piece of the same model, I actually pass in the same
model. To handle Ajax updating of both panels, I call a method on the
at its core all a cms does is display some user generated content. that can
be accomplished by simply doing this:
class cmspage extends webpage {
public cmspage(pageparameters params) {
long pageid=params.getpageid();
string html=database.loadpage(pageid);
add(new label(content,
FWIW, I had to make an update to AjaxAwareModel and AjaxModelAware.
AjaxModelAware now returns a boolean, which signifies whether the
AjaxAwareModel should continue to traverse deeper in the hierarchy. If the
parent component intends to re-render or replace its children (such as in
the case
I'm attempting to load the markup for a page based on values that are
available when the page is constructed. For example, I want to be able to
pass a parameter into a page and then lookup the name of the content file in
my database based on this parameter and then have the page load and display
stick a content into a label and call label.setescapemodelstrings(false)
-igor
On 10/13/07, Jeremy Levy [EMAIL PROTECTED] wrote:
I'm attempting to load the markup for a page based on values that are
available when the page is constructed. For example, I want to be able to
pass a parameter
Jeremy Levy-2 wrote:
I want to be able to pass a parameter into a page and then lookup the name
of the content file in
my database based on this parameter and then have the page load and
display
the appropriate content.
What is the content file you want to display? Is it just HTML? If
Igor has already given a reply which is probably the best way to do it in
wicket. I agree it is much simpler solution to what I was thinking.
The reason I fell in love, and still am, with wicket was the ability to
separate html and java.
So i do not want to be generating html from inside
Will that work if the content includes a form?
I would like to be able to have a page which includes a form but have a
couple of different versions of the HTML and be able to select the one I
want based on the param...
In otherwords the HTML will contain form elements with wicket:id attributes
see IMarkupResourceStreamProvider and IMarkupCacheKeyProvider. make that
page implement both and suck the markup in from the db.
-igor
On 10/13/07, Jeremy Levy [EMAIL PROTECTED] wrote:
Will that work if the content includes a form?
I would like to be able to have a page which includes a
Igor,
I was afraid you were going to say that, we are still on 1.2.5 and I think
those are 1.3 features :(. We aren't planning to upgrade until it's
released.
Can you think of any alternatives? I've divided the entry page and the form
page into two separate pages, the first page figures out
Please create a jira issue, looks like a wicket bug to me.
-Matej
On 10/13/07, MattClark [EMAIL PROTECTED] wrote:
Hi all,
I'm running into an issue, and have described the problem below. Am I doing
something invalid?
* Assume the following hierarchy:
Page
- Panel
- RefreshingView
On 10/13/07, Jeremy Levy [EMAIL PROTECTED] wrote:
newMarkupResourceStream is only called on the first time the page loads
when
it's compiled with the HTML i suppose. Is there any way to prevent that
for
one class / page?
not as far as i know, this is why we added IMarkupCacheKeyProvider
There is now:
https://issues.apache.org/jira/browse/WICKET-1072
On 12 Oct 2007, at 11:28, John Patterson wrote:
Is there a JIRA issue for the broken stateless support so I know
when to update my application?
Cheers,
John.
On 11 Oct 2007, at 00:57, Matej Knopp wrote:
Yeah, it's a bug
Thanks. I see, so if I were to return a random value with getVariation,
that would effectively defeat reusing the complied version.
Could you give me more details on markupresourcestreamprovider I couldn't
find anything like that in the api, what should I extend / implement and how
do I use it?
Okay, I think i figured it out. Using AbstractResourceStream which gets
content based on the ids.
Thank you.
On 10/13/07, Jeremy Levy [EMAIL PROTECTED] wrote:
Thanks. I see, so if I were to return a random value with getVariation,
that would effectively defeat reusing the complied version.
kent lai wrote:
Anyway I am using AjaxPagingNavigator, and wheneven i do a double
click(or however many times, my mouse *is* kinda faulty in that it
triggers multiple clicks sometimes), i get the following,
WicketMessage: Unable to find AjaxPagingNavigator component in
Christopher Gardner-2 wrote:
Does anyone have any examples of configuring DatePicker? I'd like to
limit the minimal date, for example. I subclassed it and overrode
configure() to set what I thought the Yahoo documentation said to to
specify the minimal date, but to no avail.
The code
Jan Kriesten wrote:
might be, but it's a nice feature for just styling col-width and
col-alignment.
actually, this would be an optional add-on, no replacement for
IStyledColumn.
since it is pretty easy to implement, what are the pitfalls when have it
added?
All mozilla-based
40 matches
Mail list logo