Thank you all, I will give it a try.
On Fri, Dec 16, 2016 at 3:32 PM, Tobias Soloschenko <
tobiassolosche...@googlemail.com> wrote:
> Hi,
>
> if you mean absolute file system path
>
> https://ci.apache.org/projects/wicket/apidocs/7.x/
>
Hi,
if you mean absolute file system path
https://ci.apache.org/projects/wicket/apidocs/7.x/org/apache/wicket/resource/FileSystemResourceReference.html
If you mean path my URL:
https://ci.apache.org/projects/wicket/apidocs/7.x/org/apache/wicket/markup/html/image/ExternalImage.html
Examples
I think this example
http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
will do if you implement the getBytes method to read image from file system.
On Fri, Dec 16, 2016 at 12:19 PM, ganea iulia
wrote:
> Hello,
> Do you have any link for a tutorial?
>
>
Hello,
Do you have any link for a tutorial?
On Fri, Dec 16, 2016 at 1:04 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Mount a resource that readi image form that folder
>
> On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia
> wrote:
>
> > Hello,
> > Wicket 7.
Mount a resource that readi image form that folder
On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia
wrote:
> Hello,
> Wicket 7.
>
> I have been struggling to read an image from absolute path but with no
> luck.
>
> I have a folder with some images inside catalina base
Hello,
Wicket 7.
I have been struggling to read an image from absolute path but with no luck.
I have a folder with some images inside catalina base directory from where
I need to display images in my web page.
However, this does not work.
Could you please guide me on how to do this?
Thank
.1842946.n4.nabble.com/How-get-wiki-Framework-Documentation-for-offline-reading-tp4664374p4664411.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
-reading-tp4664374p4664411.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hi everyone!, Can i download wicket wiki framework documentation for
offline reading. Thanks.
https://cwiki.apache.org/confluence/display/WICKET/Index
http://wicket.apache.org/guide/guide/single.pdf
Martin Grigorov
Wicket Training and Consulting
On Tue, Feb 11, 2014 at 6:06 PM, Farrukh SATTOROV fireda...@gmail.comwrote:
Hi everyone!, Can i download wicket wiki framework documentation for
offline reading. Thanks.
https://cwiki.apache.org
I have printed this guide as brochure and reading now, but i mean about
wiki doc. Thanks anyway
On Tue, Feb 11, 2014 at 10:52 PM, Martin Grigorov mgrigo...@apache.orgwrote:
http://wicket.apache.org/guide/guide/single.pdf
Martin Grigorov
Wicket Training and Consulting
On Tue, Feb 11, 2014
The Wiki is not very up-to-date...
Martin Grigorov
Wicket Training and Consulting
On Tue, Feb 11, 2014 at 8:48 PM, Farrukh SATTOROV fireda...@gmail.comwrote:
I have printed this guide as brochure and reading now, but i mean about
wiki doc. Thanks anyway
On Tue, Feb 11, 2014 at 10:52 PM
Hi,
On Tue, Jul 23, 2013 at 10:57 PM, Andrew Schetinin ascheti...@gmail.comwrote:
Hi Cedric,
I'm not sure what you mean by a quick start, but here you may find the
piece of code I'm using:
This is how the shared resource is initialized with the application:
@Override
protected void
Hi Martin,
Thank you for the advise with attributes.getPageParameters()
.get(id) - I did not know about it.
You wrote:
*Wicket won't call MediaStorageResourceReference#*
*getResource() if the
request url doesn't match the mount path.*
Now, that's not quite correct - when I create a resource
), because all request parameters belong to the
currently created panel, and not to the resource.
You can return an empty resource, i.e. a resource without any state.
Move your logic for reading the request parameters in
IResource#respond(Attributes) or
AbstractResource#newResourceResponse(Attributes
Hi,
I have a shared resource mounted to a URL pattern /storage/${id}
So that the URL look like /storage/12345
and with optional additional parameters /storage/12345?shape=xyz
It works fine when I create a new URL - the id parameter is correctly
encoded in the URL.
But when I process the actual
Try this pattern /storage/${id}/#{shape}
Optional parameters are denoted by using a # instead of $
François Meillet
Formation Wicket - Développement Wicket
Le 23 juil. 2013 à 19:14, Andrew Schetinin ascheti...@gmail.com a écrit :
Hi,
I have a shared resource mounted to a URL pattern
Hi,
I think this is because you're mixing path parameters with query string
one. It could be a bug, could you provide a quickstart with this to help us
qualify and fix it if it is a bug.
Regards,
__
Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay)
http://code-troopers.com |
Hi Cedric,
I'm not sure what you mean by a quick start, but here you may find the
piece of code I'm using:
This is how the shared resource is initialized with the application:
@Override
protected void init() {
super.init();
mountResource( /storage/${id},
new
For direction of creating a quick start see:
http://wicket.apache.org/start/quickstart.html
-Original Message-
From: Andrew Schetinin [mailto:ascheti...@gmail.com]
Sent: Tuesday, July 23, 2013 3:58 PM
To: users@wicket.apache.org
Subject: Re: Reading placeholder parameters in mounted
in web.xml
works just fine, the HttpServletRequest contains all my pretty data ..
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Reading-POST-data-from-standalone-application-tp4657664p4657665.html
Sent from the Users forum mailing list archive at Nabble.com
I might add that popping in a standard HttpServlet and mapping in web.xml
works just fine, the HttpServletRequest contains all my pretty data ..
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Reading-POST-data-from-standalone-application-tp4657664p4657665.html
Sent
:
http://apache-wicket.1842946.n4.nabble.com/Reading-POST-data-from-standalone-application-tp4657664.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Hi,
I have a component which sets a cookie in ajax response, and uses that
cookie when rendering upon further requests to the page.
But it doesn't work. Is there something wrong on the code below?
I have checked that the cookie is set - Firefox's Web Developer plugin
shows it in successive
via Ajax or
extra fields in the form.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/setting-and-reading-a-JS-variable-from-Wicket-tp3989058p3989058.html
Sent from the Users forum mailing list archive at Nabble.com
for the AbstractDefaultAjaxBehavior
using
vars.put(url,geo.getCallbackUrl().toString());
add(TextTemplateHeaderContributor.forJavaScript(MasterPage.class,setLocation.js,Model.valueOf(vars)));
where vars is a hashmap.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/setting-and-reading
Hi I've got a small wicket app that is using paypal to take payments.
On reciept of payment, paypal posts a notification back to the website.
If I intercept this with a filter and look at the request parameters all
the information I would expect is there, transaction details, item
details
that should work. i know people use this to have external apps post to
a wicket page, so it should work.
-igor
On Wed, May 4, 2011 at 11:51 AM, Matthew Pennington
m...@profounddecisions.co.uk wrote:
Hi I've got a small wicket app that is using paypal to take payments.
On reciept of payment,
Thanks guys. This will solve my problem.
Bilgin
On Tue, Jun 29, 2010 at 6:10 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
alternatively requestcycle#onbeginrequest() is also a good place
-igor
On Mon, Jun 28, 2010 at 7:05 AM, M. Hammer nab...@hammer-tour.com wrote:
Quoting Bilgin
Hi all,
I want to implement Remember me functionality by storing the encrypted
and base64 encoded username in a cookie.
Then I'd like to check for the cookie on the very first request (or every
request) to the application.
Any tips whats the best way to access httpRequest object on each request
Quoting Bilgin Ibryam bibr...@gmail.com:
I want to implement Remember me functionality by storing the encrypted
and base64 encoded username in a cookie.
Then I'd like to check for the cookie on the very first request (or every
request) to the application.
Hi,
I do this in the newSession()
alternatively requestcycle#onbeginrequest() is also a good place
-igor
On Mon, Jun 28, 2010 at 7:05 AM, M. Hammer nab...@hammer-tour.com wrote:
Quoting Bilgin Ibryam bibr...@gmail.com:
I want to implement Remember me functionality by storing the encrypted
and base64 encoded username in a
Hi,
We are in the process of moving our applications from JSP to Wicket.
Right now we're writing a framework with BasePages and base components to
build on and are
learning Wicket on the fly.
The BasePage contains a HeaderPanel which renders the Headline of the
page:
!-- BasePage.java --
Sorry for the inconvenience, Wicket is handling this beautifully and loads
the correct resourceKey value from the Page subclass .properties file. I
don't dare admit what the problem was
Thanks for a great framework!
Hi,
We are in the process of moving our applications from JSP to Wicket.
Right now we're writing a framework with BasePages and base components to
build on and are
learning Wicket on the fly.
The BasePage contains a HeaderPanel which renders the Headline of the
page:
!-- BasePage.java --
)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/Reading-Wicket-source-code-tp24651141p24665454.html
Sent from
Coding style is not the best in all parts, fro reading point of view,
definitely ...
**
Martin
2009/7/26 Vladimir K koval...@gmail.com:
For me the magic is how wicket is managing pages and their versions. For
instance I realized that it increments version when preparing the page for
render
Also one very benefiial point of view is just to code something and
when you find a bug (either in your own code or Wicket), debug through
wicket source and find the cause. If it's a wicket bug - contribute
quickstart to jira that repeats the bug. I have learned myself quite a
bit by doing this.
Good evening,
In order to learn Wicket as well as good Java coding ^ ^, I'd like to read
Wicket source code. It's been a couple of months since I use it, so I have a
general user-view on it.
Do you have advice ? Where should I start it all ? Is there any typical
workflow through the code-base
I'd say you'd be best served by using a quickstart application and
clicking into code to see what it does. Set breakpoints to see what's
happening in a real, live application. Just randomly reading code
files won't give you nearly as much benefit.
--
Jeremy Thomerson
http
Hey,
Why Wicket package doesn't include the API and Wiki pages (like Struts2 for
example)?
Any ideas how to get them for late night offline reading?
Thanks.
--
View this message in context:
http://www.nabble.com/Getting-API-Wiki-pages-for-offline-reading-tp20998576p20998576.html
Sent from
it for? Why can't you just make another class
with
just
the attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading
with
just
the attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a
class
that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a class
Steve Swinsburg-2 wrote:
On your component attach
the attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a
class
Steve Swinsburg-2 wrote:
On your component
it for? Why can't you just make another class with
just
the attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a
class
Steve Swinsburg-2 wrote:
On your component attach an AttributeAppender or AttributeModifier,
set
the class attribute to be the name of your class. Done
that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a
class
Steve Swinsburg-2 wrote:
On your component attach
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a
class
Steve Swinsburg-2 wrote:
On your component attach an AttributeAppender or AttributeModifier,
set
the class attribute to be the name of your class. Done
On your component attach an AttributeAppender or AttributeModifier, set the
class attribute to be the name of your class. Done :)
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:05 AM
To: users@wicket.apache.org
Subject: Reading an attribute
PROTECTED]
Visit: http://jvdrums.sourceforge.net/ JVDrums
LinkedIn: http://www.linkedin.com/in/egolan74 LinkedIn
--
View this message in context:
http://www.nabble.com/Reading-an-attribute-that-is-set-in-a-CSS-file-as-a-class-tp20523855p20523855.html
Sent from the Wicket - User mailing list
is, getting a value of an attribute of a class in a CSS file.
-
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/ JVDrums
LinkedIn: http://www.linkedin.com/in/egolan74 LinkedIn
--
View this message in context:
http://www.nabble.com/Reading-an-attribute-that-is-set-in-a-CSS
What do you need it for? Why can't you just make another class with just the
attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute
: Reading an attribute that is set in a CSS file as a class
Steve Swinsburg-2 wrote:
On your component attach an AttributeAppender or AttributeModifier, set
the class attribute to be the name of your class. Done :)
Thanks Steve but this is not what I meant.
Adding a class as an attribute
@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a class
Steve Swinsburg-2 wrote:
On your component attach an AttributeAppender or AttributeModifier, set
the class attribute to be the name of your class. Done :)
Thanks Steve but this is not what I meant
make another class with just
the attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a class
/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a class
Steve Swinsburg-2 wrote:
On your component attach an AttributeAppender or AttributeModifier,
set
the class attribute to be the name of your class. Done
the attribute in it and AttributeAppender that in?
-Original Message-
From: egolan74 [mailto:[EMAIL PROTECTED]
Sent: Sun 11/16/2008 10:42 AM
To: users@wicket.apache.org
Subject: RE: Reading an attribute that is set in a CSS file as a class
Steve Swinsburg-2 wrote
.
for reading the file I used:
URL url = this.getServletContext().getResource(a.txt);
Please help
Thanks, Eyal.
--
View this message in context:
http://www.nabble.com/reading-a-resource-file-tp19606548p19606548.html
Sent from the Wicket - User mailing list archive at Nabble.com
directory in the tomact.
for reading the file I used:
URL url = this.getServletContext().getResource(a.txt);
Please help
Thanks, Eyal.
Are you using maven ?
If yes you could put your a.txt in src/main/resources. It should work.
HTH,
Emanuele
that is being deployed to tomcat using Eclipse
IDE.
I need to be able to read a .txt file from the application object. the
problem is
I cannot find where to put the txt file. I tried to put it everywhere in the
application,
and under any directory in the tomact.
for reading the file I used
the application object. the
problem is
I cannot find where to put the txt file. I tried to put it everywhere in
the
application,
and under any directory in the tomact.
for reading the file I used:
URL url = this.getServletContext().getResource(a.txt);
Please help
Thanks, Eyal.
--
View
it everywhere in
the
application,
and under any directory in the tomact.
for reading the file I used:
URL url = this.getServletContext().getResource(a.txt);
Please help
Thanks, Eyal.
--
View this message in context:
http://www.nabble.com/reading-a-resource-file-tp19606548p19606548.html
Sent from
values. I understand that this is also as expected as its just grabbing the
property. However I'm wondering how best to invoke the wicket
pre-processing?
Thanks,
Neil.
--
View this message in context:
http://www.nabble.com/Reading-Wicket-properties-file-WITH-substitutions-tp19205222p19205222.html
2008/7/11 David Nedrow [EMAIL PROTECTED]:
Here's what I've have...
IResourceStream resStream = new
PackageResourceStream(WicketApplication.class, protocols.csv);
InputStream inStream = resStream.getInputStream();
InputStreamReader isr = new InputStreamReader(inStream);
ListString[]
On Jul 9, 2008, at 6:52 AM, greeklinux wrote:
Hello,
I do not know if it helps:
Can you read the CSV file as Resource, get the IResourceStream, then
getInputStream() on IResourceStream and put this inputStream in a
java.io.InputStreamReader?
Yeah, that's basically where I am. I thought
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Reading-files-tp18321041p18358873.html
Sent from the Wicket - User mailing list archive at Nabble.com
I have a third party package that requires a java.io.Reader (or
descendent) as an input.
I need to provide a Reader for a file locate in either WEB-INF (or
possibly package sourced). This file is a CSV list of items that is
used to initialize a database table. I just need to iterate over
On 6/2/08, wenm [EMAIL PROTECTED] wrote:
But my label only show the message when the web service returns error, not
constant showing. So it is not a good idea to use resourceModel.
I know I'm not answering your original question, but until someone
does, you could look at either the
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:365)
at java.util.Properties.load(Properties.java:293)
Then I tried to test reading in main method, and it works fine there.
public static void main(String[] args){
Properties property = new Properties
it show up conditionally.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/problem-when-reading
(Properties.java:293)
Then I tried to test reading in main method, and it works fine there.
public static void main(String[] args){
Properties property = new Properties();
try {
property.load(ClassLoader.getSystemResourceAsStream(test.properties));
} catch
.
Gabor Szokoli
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/problem-when-reading-properties-file
Thanks Eyal.
I have tried with resourceModel before, it works fine.
But my label only show the message when the web service returns error, not
constant showing. So it is not a good idea to use resourceModel.
--
View this message in context:
http://www.nabble.com/problem-when-reading
the message
to your liking?
--
View this message in context:
http://www.nabble.com/problem-when-reading-properties-file-tp17597421p17599504.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
?
--
View this message in context:
http://www.nabble.com/problem-when-reading-properties-file-tp17597421p17599504.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
:) The problem is that I have to get different massages from properties
file,
and then comes to my original question.
hmm i tried Chinese, Thais and some others.
But i never got a massage from a property file, how does that feel??
johan
in context:
http://www.nabble.com/problem-when-reading-properties-file-tp17597421p17599649.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
.
But i never got a massage from a property file, how does that feel??
johan
--
View this message in context:
http://www.nabble.com/problem-when-reading-properties-file-tp17597421p17599687.html
Sent from the Wicket - User mailing list archive at Nabble.com
On Mon, Jun 2, 2008 at 8:01 AM, wenm [EMAIL PROTECTED] wrote:
Sure.
Maybe I need to explain more explicitly.
I will get the unique error code from web service if there is something
wrong. And then I would like to map the error codes to user-friendly
messages (which are in properties file),
Exactly as James suggest and what I said earlier:
use something like this,
add( new Label( page.label, new ResourceModel( page.label ) );
Instead of 'page.label' do something like error.label.key#
where key# is what you get from the service.
On Mon, Jun 2, 2008 at 3:05 PM, James Carman [EMAIL
))
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/problem-when-reading-properties-file-tp17597421p17599820.html
Sent from the Wicket - User mailing list archive
On Mon, Jun 2, 2008 at 8:10 AM, wenm [EMAIL PROTECTED] wrote:
yup, it works.
But I would like to know the way to read the file, for studying and also
maybe future use.
For future use, I'd suggest you look at the java.util.ResourceBundle
class. That will probably do what you are looking for.
you can use getconvertedinput() to get the value that will eventually
be pushed into session.
-igor
On Feb 12, 2008 10:44 PM, Rik van der Kleij [EMAIL PROTECTED] wrote:
Hi,
Does someone knows a solution for reading the selected radio button in the
validate() of a IFormValidator
Hi,
Does someone knows a solution for reading the selected radio button in the
validate() of a IFormValidator implementation? The problem I have is that
getOutput() on a form component gives the value out of the HTML because no
conversion to objects is yet done in the validation step. By the way
85 matches
Mail list logo