search for imarkupresourceprovider or component.getvariation
-igor
On Fri, Aug 29, 2008 at 10:54 PM, m_salman <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to allow the user/customer to be able to provide his html file
> (with the style elements or sheet) to be used with the components crea
Hi,
I would like to allow the user/customer to be able to provide his html file
(with the style elements or sheet) to be used with the components created by
java. So I guess the java code will need to know which html file to use
based on the user.
Is that possible to do so with Wicket? If so ho
Louis, Thank you, nice examples.
2008/8/30, Louis Letourneau <[EMAIL PROTECTED]>:
>
> You can check out the example in wicket extensions:
>
> http://www.wicket-library.com/wicket-examples/ajax/modal-window.0;jsessionid=D48A81DCC881B0D8A11DAA7EE39C81B1
>
> http://www.wicketframework.org/wicket-exte
Thank you, Martijn
在08-8-29,Martijn Dashorst <[EMAIL PROTECTED]> 写道:
>
> see IMarkupSettings#setDefault*DisabledLink
>
> Martijn
>
>
I'm relatively new to wicket and have question about the wizard
implementation.
It seems all the steps added to the Wizard in its constructor are themselves
constructed when init is called on the Wizard. What I would like to do is
have a mechanism for dynamically changing the second step in my wi
Many, many thanks for this! Very much appreciated. - Kaspar
On 29.08.2008, at 15:15, Martijn Dashorst wrote:
We just do it in CustomRequestCycle#onEndRequest():
@Override
protected void onEndRequest()
{
if (Application.get().isDevelopment())
Yes your observation is exactly what i described.
What you can do is for example check in the constructor (with pagemap
param) or in onbegin request (before render) of a page, if the pagemap
is the default, if it is create the same page with a new pagemap and
redicect to that one.
Whay you want
Thank you very much!
-solved
Markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, Aug 29, 2008 at 09:26:19PM +0200, Markus wrote:
>
> throw new Exception("xxx");
>
>From the Spring doco:
Note however that the Spring Framework's transaction infrastructure code
will, by default, only mark a transaction for rollback in the case of
runtime, unchecked exceptio
On Fri, Aug 29, 2008 at 09:38:20PM +0300, Timo Rantalaiho wrote:
> On Fri, 22 Aug 2008, John Krasnay wrote:
> > It's sometimes awkward to implement an AJAX indicator the standard way,
> > by implementing IAjaxIndicatorAware, since it forces me to use an
> > explicit class where I otherwise would ha
Spring does not rollback automatically on regular exceptions. You
either have to explicitly tell it to, or throw a RuntimeException (or
one of its subclasses of course).
On Fri, Aug 29, 2008 at 3:26 PM, Markus <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I have the following Problem:
>
>
>
> I wa
After spending a day or so on this issue, I finally figured out and found a
bug in wicket-ajax.js.
I am curious to know why I didnt get any responses from the Wicket
developer(s), at least who had originally coded this portion, as I had asked
for help couple of times.
This will help me (and may
Hi all,
I have the following Problem:
I want a function to rollback everything when the database-part passes, but
the email-sending throws an error.
Now this is how I tried:
applicationContext @ Spring:
classpath:hibernate.cfg.xml
Hi,
I have tried opening 2 IE 7 tabs (in the same brower window obviously),
loading the same bookmarkable url in both the tabs. I then did some action
which triggered ajax submit on one of the tabs and got the response back
correctly, URL in the browser tab remained the same. so far so good. Now
On Fri, 22 Aug 2008, John Krasnay wrote:
> It's sometimes awkward to implement an AJAX indicator the standard way,
> by implementing IAjaxIndicatorAware, since it forces me to use an
> explicit class where I otherwise would have used an anonymous inner
> class. I actually have this code in one of m
You can check out the example in wicket extensions:
http://www.wicket-library.com/wicket-examples/ajax/modal-window.0;jsessionid=D48A81DCC881B0D8A11DAA7EE39C81B1
http://www.wicketframework.org/wicket-extensions/apidocs/wicket/extensions/ajax/markup/html/modal/ModalWindow.html
If you want to reuse
Hi ,
I have a link and what I want is that the user clicks the link so that a
popup window appears. This popup will have a very simple page/form with a
couple of fields and ok/cancel button. After the user hits ok, the popup
disappears (the form submits).
Are there any good examples on popups ar
right now you cannot, but you can implement your own rangevalidator
and add whatever values you want...
-igor
On Fri, Aug 29, 2008 at 2:25 AM, Markus <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> is there any possibility to add some custom mappings to the
> DateValidator.RangeValidator?
>
>
>
> Be
Thanks for the help. We just tried your solution, but had a problem again.
The panel needs a wicket:id, but we can't provide it. We will try again
monday morning (that's the end of the day in Europe).
Thanks again. We hope that will help us!
Matej Knopp-2 wrote:
>
> You might want to try putti
AFAIK you should add the tinyMCEBehaviour to the Textarea, sth like this:
ta = new TextArea("field", model);
ta.setRequired(required);
ta.setLabel(new Model(label));
ta.setConvertEmptyInputStringToNull(false);
TinyMceBehavior tmb = new TinyMceBehavior(getAdvancedSe
Thanks, it works!
Janos Cserep-4 wrote:
>
>
>> Actually now I have only one label for testing purposes:
>> add(new Label("locale", getSession().getLocale().getLanguage()));
>>
>
> That's actually bad practice. You are adding the component in the
> constructor. That code runs only once -
Thanks, it works!
igor.vaynberg wrote:
>
> it will only work for subclasses of component
>
> if you want to inject something else you have to do it manually via
> injectorholder.getinjector().inject(this) in the constructor
>
> -igor
>
> On Thu, Aug 28, 2008 at 5:10 AM, btakacs <[EMAIL PROTE
Hi
If I try to add the TinyMCEPanel to my page it doesn't appear. If I try to
add parameters, and some extra marups, it throws the following exception:
WicketMessage: Markup of type 'html' for component
'com.myapp.wicket.ContentEditor' not found. Enable debug messages for
org.apache.wicket.util.r
You might want to try putting the link to a panel and returning panel
from newContentComponent();
-Matej
On Fri, Aug 29, 2008 at 3:38 PM, leroudav <[EMAIL PROTECTED]> wrote:
>
> Hi everyone!
> First of all, thanks for helping 2 french wicket padawan developers :-)
>
> We tried to make a Tree for
and why even bother using mergere.com or devzus.com as a repo manager?
Martijn
On Fri, Aug 29, 2008 at 3:34 PM, Martin Funk <[EMAIL PROTECTED]> wrote:
> pixotec wrote:
>>
>> Thank you, this solves the SUN part...
>> But how to avoid using the unreachable repo.mergere.com-repository?
>> Where is i
pixotec wrote:
Thank you, this solves the SUN part...
But how to avoid using the unreachable repo.mergere.com-repository?
Where is it configured? How to use another repo?
(Sorry I am new to Maven...)
Should you change it in SVN to avoid the problem for other users, too?
I changed the SUN part
Hi everyone!
First of all, thanks for helping 2 french wicket padawan developers :-)
We tried to make a Tree for our wicket application, but we encountered a
problem.
The tree is created, with simple file names, but we can't redirect the click
to the download link, and that's a big problem. We sa
and yes, your implementation of the check looks good.
Martijn
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
--
We just do it in CustomRequestCycle#onEndRequest():
@Override
protected void onEndRequest()
{
if (Application.get().isDevelopment())
{
// controleer of er hibernate objecten in de pagina
vastgehouden worden.
Sorry guys, that's not a Wicket issue!
I found the root cause. It's because of Java bug #4293229, when there is
apostrophe into a texte, java.text.MessageFormat gets messed
The bad thing is that the way Wicket handle messages changed between
1.3.1 and 1.3.4 (the code into StringResourceMo
Matijn, thank you for your hint.
I searched on your blog, http://martijndashorst.com/blog/, and Eelco's,
http://day-to-day-stuff.blogspot.com/, but must have searched for the
wrong
thing ("transient", "entity", "SerializableChecker")...
Anyways, I'd like to do what you suggest, but have a few
Thanks for your answers, Matej and Johan.
Matej: we are running with multi-window support on, and store per-window
related navigation in the session keyed on page map name. This works fine
most of the time.
Johan: I've been stepping through the Wicket code and studying the docs to
understand how
just applied your patch
could somebody please create wicketstuff-merged-resources in JIRA and
teamcity?
Jörn Zaefferer-2 wrote:
>
> Here is a first patch for the RevisionVersionProvider:
>
> Index:
> src/main/java/org/wicketstuff/mergedresources/versioning/RevisionVersionProvider.java
> =
thanks
we also only can reproduce the enviornment using vmware
for the problem OS, it is reported came from our customer, so we can just go
to fix them
for now, we have a very dirty fix and will check with the customer to see if
it works
Matej Knopp-2 wrote:
>
> Hi,
>
> You can create a ji
Just to clarify, I wrote the report in PDF format via its API. I can
tell you where to look if needed.
On Fri, Aug 29, 2008 at 11:24 AM, freak182 <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Does anyone here had encountered using crystal report with wicket as a
> reporting tool? Any idea how to integ
On Fri, Aug 29, 2008 at 4:56 AM, Mathias P.W Nilsson
<[EMAIL PROTECTED]> wrote:
>
> I read in some thread that a GZipfilter could take a lot of memory so I'm
> getting rid of my GZipFilter.
>
> I use a Servlet to host files out of the web application context. Can this
> be done using only wicket?
Yeah, I have with a Wicket app. that serves Crystal Reports XI
reports. I scrapped using its J2EE business connector and, instead,
wrote the reports in PDF format to the local filesystem and emailed
them to user. I would recommend doing this asynchronously because of
the expensive I/O costs. You do
im really happy for all the help but...
as stated in the top/first post i allready did all these things bro.
but thx anyway
Peter Ertl wrote:
>
> It's a standard tomcat problem that everybody sooner or later
> encounters...
>
> This will work for you:
> http://cagan327.blogspot.com/2006/05
Good point, I forgot that wicketstuff has its own JIRA installation.
Though the entry for the project is missing. Let me know once its
there, and I'll create the report.
Jörn
On Fri, Aug 29, 2008 at 12:26 PM, Peter Ertl <[EMAIL PROTECTED]> wrote:
> why don't you open up an issue in JIRA?
>
>
> Am
Hi everyone,
I am trying to do alittle enhancement with Jtrac(thanks PThomas). I created
a mailto properties that will open the default mail application with
pre-formatted text. The java class uses setResponsePage to include the
ticket id in the url. how can I copy the entire url since i would w
why don't you open up an issue in JIRA?
Am 29.08.2008 um 12:22 schrieb Jörn Zaefferer:
Here is a first patch for the RevisionVersionProvider:
Index: src/main/java/org/wicketstuff/mergedresources/versioning/
RevisionVersionProvider.java
===
Hello,
Does anyone here had encountered using crystal report with wicket as a
reporting tool? Any idea how to integrate crystal report? I already know how
to integrate jasper.
Thanks a lot.
Cheers.
--
View this message in context:
http://www.nabble.com/Crystal-Report-tp19217374p19217374.html
S
Here is a first patch for the RevisionVersionProvider:
Index:
src/main/java/org/wicketstuff/mergedresources/versioning/RevisionVersionProvider.java
===
---
src/main/java/org/wicketstuff/mergedresources/versioning/RevisionVersionProv
see IMarkupSettings#setDefault*DisabledLink
Martijn
On Fri, Aug 29, 2008 at 11:55 AM, 张伟 <[EMAIL PROTECTED]> wrote:
> Hello,
>I am reading -- a very good book. In the book ,
> authors explain the tag with the following code
>|#1
> |
>Page1 | #2
>Page2 | #3
> |
>
Hello,
I am reading -- a very good book. In the book ,
authors explain the tag with the following code
|#1
|
Page1 | #2
Page2 | #3
|
Then authors say "The link to the current page is rendered as disabled by
replacing the link tag with a span, and rendering
It's a standard tomcat problem that everybody sooner or later
encounters...
This will work for you:
http://cagan327.blogspot.com/2006/05/utf-8-encoding-fix-tomcat-jsp-etc.html
Just use the EncodingFilter and I bet my [EMAIL PROTECTED]@#$ it will work :-)
Am 29.08.2008 um 11:04 schrieb Ray tra
Code is now available through wicketsuff:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-merged-resources/
wicketstuff-merged-resources and
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-merged-resources-examples/
wicketstuff-mer
Hi all,
is there any possibility to add some custom mappings to the
DateValidator.RangeValidator?
Because "between Thu Feb 01 00:00:00 CET 1900 and (...)" really is not very
user-friendly formated information, in most cases.
Can I add something like ${year} or ${dateOnly} on the fly wit
Sounds promising ... and little mysterious ;) Any concrete plans/ideas so
far?
Matej Knopp-2 wrote:
>
> On Fri, Aug 29, 2008 at 9:41 AM, Peter Ertl <[EMAIL PROTECTED]> wrote:
>> I totally agree that having the version in the filename and not in the
>> query
>> string will be a-lot-better.
>>
>>
i dont think u actually read my post but thx anyways.
as stated in the initial post i tried that allready.
Emanuele Gesuato-2 wrote:
>
> Ray trace wrote:
>> ino its wierd
>>
>> yes my browser says utf-8 .
>> the mysql database is in utf-8.
>> hibernate is utf-8.
>>
>> basically all is u
I would love to see an approach where Wicket itself tries to determine a
version. If a version is available, wicket would than add it to the filename
and use an aggressive caching duration, e.g. 1 year. (no version, no
caching)
Additionally, what I currently don't like is that resource creation i
On Fri, Aug 29, 2008 at 9:41 AM, Peter Ertl <[EMAIL PROTECTED]> wrote:
> I totally agree that having the version in the filename and not in the query
> string will be a-lot-better.
>
> Just wanted to point you to that option so you can include it in your
> excellent analysis on caching *thanks* :-)
I read in some thread that a GZipfilter could take a lot of memory so I'm
getting rid of my GZipFilter.
I use a Servlet to host files out of the web application context. Can this
be done using only wicket?
--
View this message in context:
http://www.nabble.com/Tomcat-crashes-out-of-memory-tp192
Ray trace wrote:
ino its wierd
yes my browser says utf-8 .
the mysql database is in utf-8.
hibernate is utf-8.
basically all is utf-8 except the incoming post data.arg.
true
UTF-8
database schema is created with utf-8 ...so that hibernate tools generate
the correct tables.
all tho
That doesnt say anything..
It is just the last straw..
Or some really big files are served there??
On 8/29/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
> Ok thanks!
>
> Looking more careful it says that the line response.getOUtputStream() causes
> the out of memory
>
> @Override
> pro
Noo.. completely new!? all the bugs reintroduced!
On 8/28/08, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Probably not for 1.3/1.4. We could have something like that for 1.5
> (where the ajax pipeline is completely new).
>
> -Matej
>
> On Thu, Aug 28, 2008 at 6:23 PM, John Krasnay <[EMAIL PROTECTED]>
Ok thanks!
Looking more careful it says that the line response.getOUtputStream() causes
the out of memory
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
BufferedInputStream in = null;
ServletO
ino its wierd
yes my browser says utf-8 .
the mysql database is in utf-8.
hibernate is utf-8.
basically all is utf-8 except the incoming post data.arg.
true
UTF-8
database schema is created with utf-8 ...so that hibernate tools generate
the correct tables.
all though i dont think it
This is weird by defaul wicket serves out everything in utf8 (yes you
should configur tomcat about the url encoding your self)
Even if you say something else then ajax will be fixed to utf8 because
that is the spec.
Are you sure that the browser says that it is not utf8?? If you look
at the page
Thank you, this solves the SUN part...
But how to avoid using the unreachable repo.mergere.com-repository?
Where is it configured? How to use another repo?
(Sorry I am new to Maven...)
Should you change it in SVN to avoid the problem for other users, too?
--
View this message in context:
http://
I thing we should look at what that append to url does, because i dont
like the query string either, i also rather have it in the url path
itself.
Also such a resource cache duration can be added. But i also rather
have it configured by resoure(reference) like
HeaderContributor.getCSSResourceRefe
Hi everyone!
Is it supposed to be legal to use mount path with trailing slash?
If yes, then I'll file a bugreport because it doesn't work [yup, I
have a testcase]. If not, then that will be another story.
-
To unsubscribe, e-mai
Though not Wicket based and probably overkill, but could
http://ofbiz.apache.org/ be anything to look at?
Martijn
On Fri, Aug 29, 2008 at 9:40 AM, Korbinian Bachl - privat
<[EMAIL PROTECTED]> wrote:
> Hello James,
>
> I'm also quite interested into this, however I'm stuck in work at
> moment, so
i tried that ...however...then u cant use the ajax since it only uses xml
utf-8 posting
so that is not an option heresince i need special chars ...and allready
have alot of ajax.
Stefan Lindner wrote:
>
> I had the same problem some week ago but got no answer on this list. Now I
> use
>
>
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
On Fri, Aug 29, 2008 at 9:49 AM, pixotec <[EMAIL PROTECTED]> wrote:
>
> I checked out wicket-phonebook on 2008/08/27
> I can't execute
> "mvn package"
>
> successfully, because the repo "repo.mergere.com" does not respond for
> se
And place breakpoints in your code and let the debugger break and
follow/backtrack in into wicket code
On 8/29/08, James Perry <[EMAIL PROTECTED]> wrote:
> Firstly view the source code in a Java IDE like IntelliJ IDEA,
> Eclipse, NetBeans, etc so you can quickly navigate around the code.
>
> IMHO,
I had the same problem some week ago but got no answer on this list. Now I use
getMarkupSettings().setDefaultMarkupEncoding("ISO-8859-1");
getRequestCycleSettings().setResponseRequestEncoding("ISO-8859-1");
in the Application.init() method of wicket 1.4M3. Wicket seems to
And even with that check it will not work.
If you open a new tab then the first page wicket will render when you
type in an url will be the defaul pagemap. Only on the first page
rendered we know that we have to redirect. So that first page will be
blocked. The only thing that could maybe help is n
Hi i have a problem with tomcat and wicket and UTF-8
im developing my first large wicket app.
no matter what i do wicket dont seem to use the utf-8 settings i specified.
the incoming request converts the incoming UTF-8 to iso-8859-1 (the
default).
only tried post since that what wicket uses. as
I checked out wicket-phonebook on 2008/08/27
I can't execute
"mvn package"
successfully, because the repo "repo.mergere.com" does not respond for
servlet-api-JAR.
after manually copying the JAR downloaded from another repo
(repo1.maven.org) the next problem occurs:
[ERROR] BUILD ERROR
[INFO]
---
I totally agree that having the version in the filename and not in the
query string will be a-lot-better.
Just wanted to point you to that option so you can include it in your
excellent analysis on caching *thanks* :-)
People can use that option right now and get a more decent version later
Hello James,
I'm also quite interested into this, however I'm stuck in work at
moment, so don't have too much time.
2 things you really should consider:
-> Brix! the CMS mentioned before, developed by 2 wicket-core devs and
it would add all content functionality and house the cart, list etc;
Okay, sorry, you're right. Too bad, I didn't ever stumble upon this option.
However, changing filename instead of using query string has certain
advantages, see
http://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
Furthermore, setting this option does not effect exp
Thank you. I will have a look. :-)
Cheers,
James.
On Wed, Aug 27, 2008 at 11:06 PM, Patrick Angeles
<[EMAIL PROTECTED]> wrote:
>
> James,
>
> If you need any CMS functionality at all for your cart project, please have
> a look at:
>
> http://brix-cms.googlecode.com/
>
> For example, you could inc
Thanks to the individuals who have both replied to the thread and
emailed me personally. I will get the ball rolling next week.
Cheers,
James.
On Thu, Aug 28, 2008 at 1:54 PM, Serkan Camurcuoglu
<[EMAIL PROTECTED]> wrote:
> I have another idea for brix.. I believe that a portlet which displays th
Firstly view the source code in a Java IDE like IntelliJ IDEA,
Eclipse, NetBeans, etc so you can quickly navigate around the code.
IMHO, the best starting point is to look at the WicketFilter and the
WebRequestCycleProcessor to understand how it respectively intercepts
and processes Wicket request
76 matches
Mail list logo