I didn't find it easy to do it myself. By easy I mean what I can accomplish
within 15 mins.
>From the first glance it looks just like a mix of two strategies but it
actually does not. MixedHybridUrlCodingStrategy should handle all the
parameters delimited by slashes and some of them have names om
Hello,
I checkout the latest wicket-push in wicketstuff but unfortunately this was
built in 1.4. How can I build for 1.3.x wicket? Because our application is
using 1.3.x and I cannot tell them to migrate to 1.4 since the development
has already started.
Thanks a lot.
Cheers.
Rodolfo Hansen wro
Great.. And please if you have any patches, youre very welcome commit them..
2009/7/11 vineet semwal
> We are not even half way mark in the application we are developing :(
> i will give you a update as soon as the application concludes ..
>
> regards,
> Vineet Semwal
>
> On Fri, Jul 10, 2009 at
Hi Vladimir,
You are right. Now I look at it, it is clearly more complex then I
remembered.
You can get my version here: http://pastie.org/543892
Regards,
Erik.
Vladimir K wrote:
I didn't find it easy to do it myself. By easy I mean what I can accomplish
within 15 mins.
From the first
I have overridden the RequestCycle.onRuntimeException method:
@Override
public RequestCycle newRequestCycle(final Request request, final Response
response) {
return new WebRequestCycle(this, (WebRequest) request, (WebResponse)
response) {
@Override
public Page onRuntimeExcept
You don't have to use the spring xml config files to use Sprint
Security. Just instantiate the beans from code!
There is a small catch, you'll need to know something about Spring
callbacks. These are some interface that Spring will automatically call.
These are: InitializingBean, BeanNameAware
Thanks very much!
Why not suggest it as a patch to wicket core?
Erik van Oosten wrote:
>
> Hi Vladimir,
>
> You are right. Now I look at it, it is clearly more complex then I
> remembered.
>
> You can get my version here: http://pastie.org/543892
>
> Regards,
> Erik.
>
>
> Vladimir K
Martijn,
you probably mean how chained models would be detached. So instead of
propagating detach in IChainedModel they would be detached automatically?
Is there a vision how it would be accomplished?
Martijn Dashorst wrote:
>
> Automatic detachment is one of the things we're looking into for
Hi all,
originally I had a row of AjaxLinks and on some clicks
I opened a modal window by calling:
dialog.show(target);
Later, I've changed AjaxLinks to menuBar based on
YUI menu2, but I do know how to show the modal
window because of my onClick handler does not have
an argument of AjaxReq
I found the problem. It seems the url must be encoded otherwise the OFC
cannot find the data file. I don't have an account on apache yet so I can't
update the wiki.
private String getUrlForJson() {
CharSequence dataPath =
RequestCycle.get().urlFor(OpenFlashChart.this,
IResourc
I don't know YUI menu2, but if it is an AjaxClick, you could use
AjaxRequestTarget.get() to get the current AjaxRequestTarget.
2009/7/13 Petr Fejfar
> Hi all,
>
> originally I had a row of AjaxLinks and on some clicks
> I opened a modal window by calling:
>
> dialog.show(target);
>
> Late
Please do :)
Erik.
Vladimir K wrote:
Thanks very much!
Why not suggest it as a patch to wicket core?
Erik van Oosten wrote:
Hi Vladimir,
You are right. Now I look at it, it is clearly more complex then I
remembered.
You can get my version here: http://pastie.org/543892
Regards,
On Mon, Jul 13, 2009 at 12:05 PM, sander v F wrote:
> I don't know YUI menu2, but if it is an AjaxClick, you could use
> AjaxRequestTarget.get() to get the current AjaxRequestTarget.
It is easy, as I've found finally: Originally, I followed examples and
implement just IYUIMenuAction interface wit
No, he means *all* models. The idea would be that Wicket would look
for fields of type IModel (or its descendants) on components/pages.
If it sees one, it would automatically detach it.
On Mon, Jul 13, 2009 at 3:47 AM, Vladimir K wrote:
>
> Martijn,
>
> you probably mean how chained models would
Hi,
I turned on the option Automatic Multi Window Support and now if I open some
windows / tabs I see the pagemap name in the url like
"/?wicket:pageMapName=wicket-3".
After each link I click the pagemap name changes even in the same window, I
wonder if
this is correct ?
Is there any way that t
As models are nested this is not possible with the current setup. If a
model nests another model, the nesting model is responsible for calling
detach on the nested model. Multiple models may nest the same model.
So the best thing to do for now is to have some flag to see if you're
already deta
On Mon, Jul 13, 2009 at 7:32 AM, Erik van Oosten wrote:
> So the best thing to do for now is to have some flag to see if you're
> already detached. In getObject the flag is cleared. For most models however,
> it should not matter if they're called multiple times; the typical thing you
> do in detac
Dear all,
I am trying to implement a list with AJAX-powered inline editing and have set
one field of the model to "required" using ajaxEditableLabel.setRequired(true).
Now, whenever I hit [Enter] after clearing the related input field, I get the
message "Field 'editor' is required.". The field
Hello,
I have a table in a page that one of the columns is a Panel.
In that panel I have an AjaxLink that opens a Modal window.
The modal window has content as a WebPage. Using setPageCreator etc.
everything works fine except that the window is not closed when pressing the
X button.
We have an A
Hi Matej,
I just got a hint from a colleague: it might has something to do with
returning the wrong number of items in the dataprovider query. We
probably return UNDEFINED too often.
I'll look further into it.
Regards,
Erik.
Erik van Oosten wrote:
DataGrid. DefaultDataGrid mostly.
Take a look at this one:
2009-07-12 11:03:11,865 ERROR Web [RequestCycle]
: java.lang.NullPointerException
2009-07-12 11:03:11,879 ERROR Web [MMRequestCycle] : The exception had a
length of 0, dumping Stack
2009-07-12 11:03:11,885 ERROR Web [MMRequestCycle] : Logging:
com.mdate.web.customcomponents
Hmm, looking at that again, it looks just like the dump...
On Mon, Jul 13, 2009 at 8:55 AM, Jeremy Levy wrote:
> Take a look at this one:
> 2009-07-12 11:03:11,865 ERROR Web [RequestCycle]
> : java.lang.NullPointerException
> 2009-07-12 11:03:11,879 ERROR Web [MMRequestCycle] : The exception had
Hi all,
I'm still trying to build menubar based on YUI menu2 from wicketstuff
and still have a problems: currently I'd like to hide/show ev. to enable/disable
some menu items (YuiMenuBarItem) in dependence of actions taken
by commands related to this menu bar.
If I tried to add those menu items i
JSecurity has been renamed to Apache Shiro and is referenced in the linked
page as 'wicket-shiro'.
Cheers,
Les
On Mon, Jul 13, 2009 at 3:41 AM, Erik van Oosten wrote:
> You don't have to use the spring xml config files to use Sprint Security.
> Just instantiate the beans from code!
>
> There is
Hi,
You have two options:
1. use a previous version of wicketstuff-push,
2. or help out with branching the current code back to 1.3.x
Right now, the code requres java 1.5, so if your proyect requires java 1.4
then I recomend using a previous version.
the old wicket 1.3, java 1.4 branch is
Ok thats working nicely, the ModalWindow callback is inside the
onClick of the Link in the Item and using one instance of a MW per
list instead of one per item.
Thanks for your help Martin :)
Regards.
On 12 Jul 2009, at 18:45, Martin Makundi wrote:
BTW::: SHOW AFTER initializing callback
Hi,
We are trying to use XsltTransformerBehavior with pre-existing XSLT
templates to display various kinds of XML data in a panel.
While this is working fine, it looks as if we will have to modify our
XSL to take account of the fact that the transforming component's tags
become the root elem
Hello,
Although we use java 1.5, the wicket version we are gonna use it wicket
1.3.6 ..the problem from the latest branch is the MetaDataKey is now
generified becuase it is built against 1.4. I found out that in 1.3.x branch
has same wicket-push codebase but the metadatakey is not using generics.
the page is gone - thats why its expired. if the parameters are still
on the url you can get those by retrieving them from webrequest.
-igor
On Sun, Jul 12, 2009 at 8:28 PM, glooorrryyy wrote:
>
> I want to get the page parameter from an expired_page...
> Is it possible?
>
>
> Mathias Nilsson wro
not sure if storing in a cookie would work easily. we would still have
to keep the cookie name somewhere...and so you are back to adding that
to the url.
i think in 1.5 what we can do is make the page id unique across all
pagemaps and keep the mapping in session. not sure how easy that would
be to
Hi All
I'm having a problem using replaceWith method on a panel. That panel is
inside a tab on AjaxTabbedPanel, and everything works fine, except when I
need to open the page with a tab selected (call to
mypage.tabbedPanel.setSelectedTab),
then the panel is replaced on the tab itself instead of be
I have a custom behavior that contributes Javascript to the header. In order
to prevent collisions with other components that may also be using that
behavior, I include it using TextTemplateHeaderContributor. Like so:
public class CustomBehavior extends AbstractBehavior {
private Component
Hi,
I generate a tab navigation panel and use a name abbreviation for the tab label:
ITab tab = (new AbstractTab(new Model(nameAbbreviation)) {
private static final long serialVersionUID = 1L;
@Override
public Panel getPanel(String id) {
James, is this similar to calling
getMarkupSettings().setStripWicketTags(boolean), which I am doing in the
application init for my app? I saw that in some example somewhere during my
reading and wondered why would you want to ever include wicket id's in the
generated html? Is there any good reason
Hello.
I'm attempting a simple AjaxFallbackDefaultDataTable with using
1.4-SNAPSHOT and the wicket-1.4-20090709.154646-550.jar and
wicket-extensions-1.4-20090709.154646-542.jar files.
I get the following error:
WicketMessage: Unable to find component with id 'label' in
[MarkupContainer [Compon
I have just migrated 33 very small projects I use in a basic Wicket
course and everything went fine.
Everything I had to change was already covered by the current migration guide.
-- Cristiano
2009/7/10 Igor Vaynberg :
> We would like to release Wicket 1.4 very soon, but in order to do so
> we w
I've been playing around with the idea of creating some wicket
extensions in Scala for developing wicket with Scala...
For example, taking advantage of Scala's functional language, we can
mixin the following function and class to make models easier:
def f(gtr: => String):Fodel = new Fodel(gt
On Mon, Jul 13, 2009 at 9:43 PM, James
Carman wrote:
> On Mon, Jul 13, 2009 at 7:32 AM, Erik van Oosten wrote:
>> So the best thing to do for now is to have some flag to see if you're
>> already detached. In getObject the flag is cleared. For most models however,
>> it should not matter if they're
On Tue, 14 Jul 2009 11:38:33 +1200, Antony Stubbs wrote:
> I'm very interested in people's suggestions of otherways of taking
> advantage of Scala to make Wicket programming easier.
We are using Scala and Wicket intensively (and the DB4O object database
as well). One thing we are working on is W
Just a quick note, is the source available for all this?
all I see is svn checkout file:///home/sam/work/svn_repository/uniscala/trunk
uniscala
on http://uniscala.net/source-repository.html
On 14/07/2009, at 12:46 PM, Sam Stainsby wrote:
On Tue, 14 Jul 2009 11:38:33 +1200, Antony Stubbs wro
thanks major, i added a couple of notes to the wiki. i totally forgot
about 2350, i will get it into 1.4.0 for sure.
-igor
2009/7/11 Major Péter :
> Hi,
>
> I have recently upgraded my project and I did find these changes:
> - the first parameter of
> org.apache.wicket.markup.html.tree.LinkTree#o
I'm much more interested in reading the source code, than reading the
scaladoc :)
you could put it up on git hub privately if you want?
On 14/07/2009, at 1:10 PM, Sam Stainsby wrote:
Not yet, but I can make it available if there is interest.
Antony Stubbs wrote:
Just a quick note, is the so
All,
Every now and then my for ends up displaying
[Ljava.lang.String;@7cd46bea
instead of displaying my string value. There is no rhyme or reason, just going
back and forth through my application and eventually I see that value dumped
out in lieu of my actual string value.
ValueMap properti
No problem. I'll let you know when its available. Its just one of those
things I haven't gotten around to yet.
On Tue, 14 Jul 2009 14:01:51 +1200, Antony Stubbs wrote:
> I'm much more interested in reading the source code, than reading the
> scaladoc :)
> you could put it up on git hub privately
its not a reference to a string, its a reference to a string *array*,
notice the [ in the beginning. can happen if you add the same key
twice to the valuemap - it will create an array.
-igor
On Mon, Jul 13, 2009 at 7:43 PM, Russell
Simpkins wrote:
>
> All,
> Every now and then my for ends up disp
Done. Here is the code:
http://uniscala.svn.sourceforge.net/viewvc/uniscala/trunk/
The overall aim of the project is to produce a web framework like Zope
but for Scala instead of Python. That framework is in the 'unsicala-
granite' module. The parts I was discussing were in the modules 'uniscala
I have learned how to make a quickstart.
But for simulating this problem, tinymce-1.4-SNAPSHOT.jar should be included
into classpath.
My question is how to include tinymce-1.4-SNAPSHOT.jar in maven.
to avoid the exception below:
java.lang.NoClassDefFoundError: wicket/contrib/tinymce/settings/Tiny
Hi all,
I have a page and it's a bit slow and I want to speed it up, but don't
know a proper solution.
The case:
I have a page that contains 5 components showing different data
retrieved from a webservice. Each webservice call takes about 1 second.
Besides that I have 2 buttons who's visibility
in onbeforerender of the page you can execute the 7 calls you will
need in parallel and cache the data in fields.
if you want your page to feel more resposive you can present the user
with a busy indicator and using ajax feed back status messages or a
progressbar, once you have the data redirect t
add it as a dependency in the pom file.
-igor
2009/7/13 彭光裕 :
> I have learned how to make a quickstart.
> But for simulating this problem, tinymce-1.4-SNAPSHOT.jar should be included
> into classpath.
>
> My question is how to include tinymce-1.4-SNAPSHOT.jar in maven.
> to avoid the exception
50 matches
Mail list logo