Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-11 Thread Alexander Morozov
Great news! Thanks. I'll wait for 6.1.0 :)



-
--
http://www.linkedin.com/in/amorozov
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/announce-Wicket-CDI-for-Wicket-6-0-0-released-tp4651924p4651935.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



Re: Is anyone using ObjectAutoCompleteField from wicketstuff?

2012-09-11 Thread James Eliyezar
Select2 is an awesome component.
Will try that out.

Anybody else out there?

On Wed, Sep 12, 2012 at 9:21 AM, Igor Vaynberg wrote:

> http://ivaynberg.github.com/select2/
>
> https://github.com/ivaynberg/wicket-select2
>
> -igor
>
> On Tue, Sep 11, 2012 at 5:50 PM, James Eliyezar 
> wrote:
> > Hi all,
> >
> > What do you all do display objects in an autocomplete field?
> > I used to use ObjectAutoCompleteField from wicketstuff but seems that it
> is
> > having some problem with
> > wicket-1.5.x
> > Do you all use this component or stick to the traditional
> > AutoCompleteTextField?
> > Would love to hear your voice on this.
> >
> > --
> > Thanks & regards
> > James Selvakumar
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Thanks & regards
James Selvakumar


Re: Is anyone using ObjectAutoCompleteField from wicketstuff?

2012-09-11 Thread Igor Vaynberg
http://ivaynberg.github.com/select2/

https://github.com/ivaynberg/wicket-select2

-igor

On Tue, Sep 11, 2012 at 5:50 PM, James Eliyezar  wrote:
> Hi all,
>
> What do you all do display objects in an autocomplete field?
> I used to use ObjectAutoCompleteField from wicketstuff but seems that it is
> having some problem with
> wicket-1.5.x
> Do you all use this component or stick to the traditional
> AutoCompleteTextField?
> Would love to hear your voice on this.
>
> --
> Thanks & regards
> James Selvakumar

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Is anyone using ObjectAutoCompleteField from wicketstuff?

2012-09-11 Thread James Eliyezar
Hi all,

What do you all do display objects in an autocomplete field?
I used to use ObjectAutoCompleteField from wicketstuff but seems that it is
having some problem with
wicket-1.5.x
Do you all use this component or stick to the traditional
AutoCompleteTextField?
Would love to hear your voice on this.

-- 
Thanks & regards
James Selvakumar


Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable" error.

2012-09-11 Thread James Eliyezar
Any updates regarding this?
The issue  filed in the
wicketstuff issue tracker remains unanswered.

On Thu, Aug 30, 2012 at 3:38 PM, Vignesh Palanisamy
wrote:

> This is the Class tom,
>
> private class SearchOptions implements Serializable
> {
> private String statusKey;
>
> public String getStatusKey()
> {
> return statusKey;
> }
>
> public void setStatusKey(String statusKey)
> {
> this.statusKey = statusKey;
> }
>
> }
>
>  and another class is status
>
> private class Status implements Serializable
> {
> private String key;
> private String value;
>
> public Status(String key, String value)
> {
> this.key = key;
> this.value = value;
> }
>
> public String getKey()
> {
> return key;
> }
>
> public void setKey(String key)
> {
> this.key = key;
> }
>
> public String getValue()
> {
> return value;
> }
>
> public void setValue(String value)
> {
> this.value = value;
> }
>
> @Override
> public String toString()
> {
> return getValue();
> }
> }
>
> -Vignesh Palanisamy
>
> On Thu, Aug 30, 2012 at 3:26 PM, Thomas Götz  wrote:
>
> > Are all properties (fields) of HomePage$SearchOptions also Serializable?
> >
> >-Tom
> >
> >
> > On 30.08.2012, at 03:17, Vignesh Palanisamy 
> wrote:
> >
> > > while implementing Serializable also the same error came martin!
> > >
> > >
> > > On Wed, Aug 29, 2012 at 6:17 PM, Martin Grigorov  > >wrote:
> > >
> > >> This line says it all:
> > >>
> > >> private java.lang.Object
> > >> org.apache.wicket.model.CompoundPropertyModel.target
> > >> [class=org.apache.wicket.quickstart.HomePage$SearchOptions] <-
> > >> field that is not serializable
> > >>
> > >>
> > >> HomePage$SearchOptions is not Serializable
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>



-- 
Thanks & regards
James Selvakumar


Re: setRequired(true) without required-validator

2012-09-11 Thread Igor Vaynberg
you can create your own version of string length validator and
override its validateOnNull to return true.

keep in mind that most validators in wicket and other libraries are
not equipped to handle null and will most likely blow up.
setrequired(true) is what is designed to handle nulls.

-igor

On Tue, Sep 11, 2012 at 2:55 PM, raphw  wrote:
> Is there a way to ungo the validator that checks for a required field when I
> e.g. reqistered a String-Length-Validator? I feel that the
> String-Length-Validator is more verbose than the Required-Validator that
> Wicket adds by itself and I'd like the String-Length-Validator to send its
> error message instead when a user did not enter anything. Setting
> setRequired(false) unfortunately deactivates any validaton and not only the
> Required-Validator. Thanks for help! Best, Rafael
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/setRequired-true-without-required-validator-tp4651929.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
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



setRequired(true) without required-validator

2012-09-11 Thread raphw
Is there a way to ungo the validator that checks for a required field when I
e.g. reqistered a String-Length-Validator? I feel that the
String-Length-Validator is more verbose than the Required-Validator that
Wicket adds by itself and I'd like the String-Length-Validator to send its
error message instead when a user did not enter anything. Setting
setRequired(false) unfortunately deactivates any validaton and not only the
Required-Validator. Thanks for help! Best, Rafael



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/setRequired-true-without-required-validator-tp4651929.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



RE: Wicket 1.5 migration questions

2012-09-11 Thread Paul Bors
I never said that, I just gave you an alternate way of achieving the same
thing :)

I'm not familiar nor did I ever use the SharedResources#putClassAlias()
method, but given the API for SharedResources it seems to have been moved or
removed.

Wicket 1.4.x (has it at):
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/SharedResources.html#
putClassAlias(java.lang.Class, java.lang.String)

Wicket 1.5.x (does not list it, at least not in the same class name):
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/SharedResources.html

If adding the resources to the root of the war works, why bother?
Unless you're packaging a reusable component or you use dynamic resources,
but having a static URL might indicate otherwise.

Take a look at IResource and the many different implementations of it and
see which one can help you most, or implement your own either from scratch
or extending an existing one :)
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/request/resource/IRes
ource.html

~ Thank you,
  Paul Bors

-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: Tuesday, September 11, 2012 11:42 AM
To: users@wicket.apache.org
Subject: Re: Wicket 1.5 migration questions

> I take it by global you mean http://myServer:###/myWebApp/global?
Yes.

> If so, why don't you just add the folder to the root of your war?
Good point, I could do that, but I'd rather keep my current folder
structure.

So, does it mean that putClassAlias functionality is gone in 1.5?

Thanks,

Alec

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Since when has your application been running in production?

2012-09-11 Thread Jeremy Thomerson
On Tue, Sep 11, 2012 at 7:56 AM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> I found myself asking: "What is the first Wicket application running
> in production?" and conversely "What Wicket application is still
> running in production since the beginning?"
>
> Our company, Topicus, developed during 2005 and 2006 Vocus (a student
> information system for high schools in The Netherlands), which has
> been running in production since 16 september 2006 (as far as I can
> determine—it's a long way back).
>
> I know that Meetmoi.com has been running in public beta since 2
> september 2006, so they beat us by about 14 days (through the wayback
> machine—it shows wicket:id's and wicket:interface URLs).
>
> What is your longest running application? Does it beat meetmoi.com as
> the longest running Wicket application?
>
> Martijn
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

TexasHuntFish.com started running its new Wicket-based app in public
production on December 4, 2006.  It had been running in private beta for a
month or two before that - so, it doesn't win, but it comes close to the
ones you mentioned.  It still runs on Wicket, although I have not worked
there for several years now.  I am not sure how much longer they will use
the original Wicket-based platform.

-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


[announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-11 Thread Igor Vaynberg
A Wicket 6.0 compatible version of the wicket-cdi module has been
released and is available via Maven. It is also becoming an official
module and will be bundled with Wicket starting with 6.1.0 release.
More details here:

https://www.42lines.net/2012/09/11/status-of-wicket-cdi-module/

-igor

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [Announce] WicketStuff 6.0.0 released

2012-09-11 Thread Bertrand Guay-Paquet

Hi,

Thanks for the release! Having just tried it, it seems that WicketStuff 
uses Wicket version "6.0-SNAPSHOT". Is this on purpose?


In wicketstuff-core's pom, there is the following property :

6.0-SNAPSHOT

Regards,
Bertrand

On 07/09/2012 4:01 PM, Martijn Dashorst wrote:

WicketStuff Core projects version 6.0.0 have been released and will
shortly be available at Maven Central.

The WicketStuff Core projects were built against Apache Wicket 6.0.0.

The changelog is pretty long, so you can find that at the end of this message.

The projects can be retrieved from Maven like this:


   org.wicketstuff
   wicketstuff-progressbar
   6.0.0


The release tag is here:
https://github.com/wicketstuff/core/tree/wicketstuff-core-6.0.0

Issues can be reported here: https://github.com/wicketstuff/core/issues

The Project Wiki is available here: https://github.com/wicketstuff/core/wiki

The WicketStuff team!

==

The changelog:


=Tom B (2):
   [InMethod Grid] Ability to add new rows & new column types
**Appendable Changes**  - Added `IAppendableDataSource` - defines
a data source capable of adding new rows  - Added
`AppendableDataProvider` - example IAppendableDataSource
implementation that wraps IDataProvider  - Added
`AddRecordsToolbar` - toolbar with a button for adding new records to
a data grid  - Added `AbstractPageableView#clearCache()` - clears
the query cache to force complete redraw on next render  - Added
`DataGrid#insertRow(T rowData)` - inserts a new row of data into the
end of the current page  - Added `DataGridBody#insertRow(T
rowData)` - inserts a new row of data into the end of the current page
  - Added `DataGridBody#createItem(T rowData)` - returns an item to
be inserted  - Added `DataGridBody#clearCache(T rowData)` - clears
the query cache to force complete redraw on next render
   [InMethod Grid] Added missing Wicket-DateTime dependency for
EditableDateColumn loosened SubmitCancelPanel#getGrid() to
protected for AddDeletePanel

Andrei Costescu (1):
   Manually merged changes from 1.4 branch. Options that should
eveluate to function objects browser side should not escape
unicode characters like "=". Also when the input component gets
replaced through AJAX while it is being incremented/decremented,
avoid endless loop.

Bruno Borges (2):
   DSL for Wicket+Scala projects
   fixed package name

Emond Papegaaij (3):
   many compilefixes for upstream wicket 6.0 changes
   make wicket-security work again on wicket 6.0
   ported GMap2 and openlayers to Wicket 6, I'm not in the position
to test this, so it could still be broken

Georg Buschbeck (4):
   updated jquery dependencies
   added js files fixed version typo in LibraryData
   forgot file in previous commit
   Merge remote branch 'upstream/master'

George Armhold (1):
   Fix bug in StringBuilder usage when rendering "chbh" chart URL
param.  This allows barWidth to be rendered properly.

Igor Vaynberg (1):
   Merge pull request #73 from tfreier/master

Jesse Long (5):
   IXmlPullParser no longer throws ResourceStreamNotFoundException
   Latest packaged version of jquery is 1.7.2
   Add missing jquery-1.6.1.js file
   Generify SecureTabbedPanel like regular TabbedPanel
   Update package name for UrlDecoder and UrlEncoder imports

JoachimRohde (2):
   Fixed compilation issue and a NPE in GMap2. -
wicket.contrib.gmap.api.GClientGeocoder#getCallbackScript could not be
compiled because getCallbackFunction didn't accept strings as
parameters. - In GOverlay a NullPointerException occured when
using the DragEndListener.
   Merge pull request #144 from JoachimRohde/master

Martijn Dashorst (1):
   Release version 6.0.0

Martin Grigorov (14):
   Merge pull request #86 from armhold/master
   Merge pull request #109 from raystorm/Raystorm-Appendable
   Merge pull request #111 from rkaercher/master
   Merge pull request #122 from JoachimRohde/master
   Merge pull request #124 from td-github/master
   Merge pull request #126 from td-github/master
   Merge pull request #132 from jesselong/master
   Merge pull request #133 from pausb/master
   Merge pull request #137 from minman/fix-130
   Merge pull request #139 from wickeria/master
   Merge pull request #142 from svieujot/master
   Merge pull request #141 from JoachimRohde/master
   Merge pull request #147 from wickeria/master
   Merge pull request #149 from pliljenberg/master

Martin Tzvetanov Grigorov (31):
   [inmethod-grid] Fix imports after WICKET-4439
   [inmethod-grid] Update to upstream - JavaScriptPrecondition is removed
   [annotations] Re-enable Annotations module
   [scala] Re-enable scala-extensions module
   [jquery] Re-enable jquery module
   [html5] Re-enable wicket-html5
   [spring-reference] Re-enable spring-reference module
 

Re: Wicket 1.5 migration questions

2012-09-11 Thread Alec Swan
> I take it by global you mean http://myServer:###/myWebApp/global?
Yes.

> If so, why don't you just add the folder to the root of your war?
Good point, I could do that, but I'd rather keep my current folder structure.

So, does it mean that putClassAlias functionality is gone in 1.5?

Thanks,

Alec

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: stateless Login page!!

2012-09-11 Thread Alfonso Quiroga
It IS calling it (I've debugged it) and nothing happens.

I could make it work replacing that line with this:

throw new RestartResponseAtInterceptPageException(RealHomePage.class);

Is this the solution? Why setReponsePage() is not working? thanks!

On Tue, Sep 11, 2012 at 12:21 PM, Paul Bors  wrote:
> Are you sure it's not calling the setReponsePage() (put break-point or a log
> message) and instead is trying to call the onError() method of your button
> or form?
>
> ~ Thank you,
>   Paul Bors
>
> -Original Message-
> From: Alfonso Quiroga [mailto:alfonsose...@gmail.com]
> Sent: Tuesday, September 11, 2012 11:07 AM
> To: users@wicket.apache.org
> Subject: stateless Login page!!
>
> Hi, I have a stateless login page (statelessForm) and when the user login I
> do:
>
>
>   protected void onSubmit() {
>  []
>
> setResponsePage(HomePage.class);
>   }
>
> This was WORKING on wicket 1.5.RC7, but when I've changed to 1.5.7 or 1.5.8,
> it does not work, it just RELOADS the login page. What can I do instead of
> using setResponsePage() ?? thanks in advance
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: stateless Login page!!

2012-09-11 Thread Paul Bors
Are you sure it's not calling the setReponsePage() (put break-point or a log
message) and instead is trying to call the onError() method of your button
or form?

~ Thank you,
  Paul Bors

-Original Message-
From: Alfonso Quiroga [mailto:alfonsose...@gmail.com] 
Sent: Tuesday, September 11, 2012 11:07 AM
To: users@wicket.apache.org
Subject: stateless Login page!!

Hi, I have a stateless login page (statelessForm) and when the user login I
do:


  protected void onSubmit() {
 []

setResponsePage(HomePage.class);
  }

This was WORKING on wicket 1.5.RC7, but when I've changed to 1.5.7 or 1.5.8,
it does not work, it just RELOADS the login page. What can I do instead of
using setResponsePage() ?? thanks in advance

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Wicket 1.5 migration questions

2012-09-11 Thread Paul Bors
I take it by global you mean http://myServer:###/myWebApp/global?

If so, why don't you just add the folder to the root of your war?

See how the static file such as HTML pages and images are handled in a Web
Module:
http://docs.oracle.com/cd/E13222_01/wls/docs70/webapp/basics.html#136976

~ Thank you,
  Paul Bors

-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: Monday, September 10, 2012 7:43 PM
To: users@wicket.apache.org
Subject: Re: Wicket 1.5 migration questions

Any update on this? How can I mount CSS and JS resources under /global/
without having to do a mountResource() for every such file?

Thanks,

Alec

On Thu, Sep 6, 2012 at 12:07 PM, Alec Swan  wrote:
> But I want JavaScript files to be compresses by 
> JavaScriptResourceReference and CSS be served as 
> PackageResourceReference. How do I mount them both under /global URL 
> suffix?
>
> On Thu, Sep 6, 2012 at 12:02 PM, Martin Grigorov 
wrote:
>> extend PackageResourceReference and override its #getName() to read 
>> the name from the request path/parameters mountResource("/global", 
>> new MyPRR())
>>
>> On Thu, Sep 6, 2012 at 7:57 PM, Alec Swan  wrote:
>>> In 1.4 I had the following classes in com.myco.app.res package:
>>>
>>> GlobalJavascriptResourceReference extends 
>>> JavaScriptResourceReference GlobalCompressedResourceReference 
>>> extends PackageResourceReference GlobalResourceScope
>>>
>>> And Application had the following code:
>>> getSharedResources().putClassAlias(GlobalResourceScope.class, 
>>> "global")
>>>
>>> The caller would add resources as follows:
>>> new GlobalJavascriptResourceReference(GlobalResourceScope.class,
>>> "js/common.js");
>>> new GlobalCompressedResourceReference(GlobalResourceScope.class,
>>> "css/styles.css");
>>>
>>> How should I port this to 1.5 so that I can still access 
>>> http://../global/js/common.js and http://../global/js/styles.css?
>>>
>>> Thanks,
>>>
>>> Alec
>>>
>>> On Tue, Sep 4, 2012 at 5:10 PM, Martin Grigorov 
wrote:
 On Tue, Sep 4, 2012 at 11:17 PM, Alec Swan  wrote:
> Well, mountPackage did not work for me either.
>
> Basically, what I want to do is access ALL resources in 
> com.myco.app.res package with "global" URL prefix. For example, 
> access a JavaScript file as global/events.js instead of 
> ../wicket/resource/com.myco.app.res.GlobalResourceScope/events.js URL.
> In 1.4 it was simple with
> putClassAlias(com.myco.app.res.GlobalResourceScope, "global").
>
> How can I do this with 1.5?

 Why #mountResource() didn't work for you ?

>
> Thanks,
>
> Alec
>
> On Tue, Sep 4, 2012 at 10:59 AM, Alec Swan  wrote:
>> Tom,
>>
>> I have com.myco.app.res.GlobalResourceScope.class and events.js 
>> in the same package. So, putClassAlias(GlobalResourceScope.class, 
>> "global") in 1.4 would allow me to access 
>> http://../app/global/events.js in the browser.
>>
>> It seems like in 1.5 this is similar to mountPackage(String, Class> extends Page>) which means I have to change GlobalResourceScope 
>> class to extend Page, right? Why does it need to be a Page?
>>
>> Thanks,
>>
>> Alec
>>
>> On Tue, Sep 4, 2012 at 9:42 AM, Thomas Götz  wrote:
>>> I didn't get your usecase exactly yet, but maybe this will help you:
>>> http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
>>>
>>> Cheers,
>>>-Tom
>>>
>>>
>>> On 04.09.2012, at 17:33, Alec Swan  wrote:
>>>
 I saw the link explaining how to migrate 
 "SharedResources#putClassAlias(GlobalResourceScope.class,
"global")"
 before but was found it confusing because "global" and "images"
 aliases 1.4 version were replaced with "imgres" in 1.5 example.

 All I need to do is use "global" in place of 
 GlobalResourceScope.class in the URLs. How do I do this in 1.5?
>>>
>>>
>>> 
>>> - To unsubscribe, e-mail: 
>>> users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>
> --
> --- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 ---
 -- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

>>>
>>> 
>>> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>
>>
>>
>> --
>>

stateless Login page!!

2012-09-11 Thread Alfonso Quiroga
Hi, I have a stateless login page (statelessForm) and when the user login I do:


  protected void onSubmit() {
 []

setResponsePage(HomePage.class);
  }

This was WORKING on wicket 1.5.RC7, but when I've changed to 1.5.7 or
1.5.8, it does not work, it just RELOADS the login page. What can I do
instead of using setResponsePage() ?? thanks in advance

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: read html file to string...

2012-09-11 Thread Andrea Del Bene
...but if you don't like using your html file as a package resource you 
can place it in a web app folder and  use ContextRelativeResource

Hi,

you can place HTML file next to page class, then use PackageTextTemplate

PackageTextTemplate textTemplate = new PackageTextTemplate(pageClass, 
"yourHTMLfile.html");


textTemplate.getString() ;

I have a fancy wicket app...
I have a textarea on a page...
I have an HTML file full of text..
I want the HTML content to go in the textarea
Q1: where exactly in my web app folder hierarchy should I put my 
source HTML

file ?
Q2: what is the best way to then read the contents of that file into the
model of my textarea component?

TIA




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/read-html-file-to-string-tp4651906.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






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: read html file to string...

2012-09-11 Thread Andrea Del Bene

Hi,

you can place HTML file next to page class, then use PackageTextTemplate

PackageTextTemplate textTemplate = new PackageTextTemplate(pageClass, 
"yourHTMLfile.html");


textTemplate.getString() ;

I have a fancy wicket app...
I have a textarea on a page...
I have an HTML file full of text..
I want the HTML content to go in the textarea
Q1: where exactly in my web app folder hierarchy should I put my source HTML
file ?
Q2: what is the best way to then read the contents of that file into the
model of my textarea component?

TIA




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/read-html-file-to-string-tp4651906.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




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread Martin Grigorov
Briefly, just add:

 

Apache Nexus

https://repository.apache.org/content/repositories/snapshots/

false


true




to your pom.xml

On Tue, Sep 11, 2012 at 3:02 PM, Emond Papegaaij
 wrote:
> You can find all information about Wicket's downloads, repositories and scm on
> http://wicket.apache.org/start/download.html
>
> Best regards,
> Emond
>
> On Tuesday 11 September 2012 04:37:36 esajjkh wrote:
>> Thanks Emond, Where I can find the wicket-atmosphere 0.4-snapshot maven
>> dependency?
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integra
>> tion-with-Wicket-6-tp4651891p4651909.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
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread Emond Papegaaij
You can find all information about Wicket's downloads, repositories and scm on 
http://wicket.apache.org/start/download.html

Best regards,
Emond

On Tuesday 11 September 2012 04:37:36 esajjkh wrote:
> Thanks Emond, Where I can find the wicket-atmosphere 0.4-snapshot maven
> dependency?
> 
> 
> 
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integra
> tion-with-Wicket-6-tp4651891p4651909.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

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread esajjkh
Thanks Emond, Where I can find the wicket-atmosphere 0.4-snapshot maven
dependency? 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integration-with-Wicket-6-tp4651891p4651909.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



Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread Emond Papegaaij
You will need the application. Without the application, it won't work. There 
are dozens of ways to pass the application to where you need it. For example, 
you could inject it using your favorite dependency injection framework, or you 
could pass it manually to the place where you need it.

Best regards,
Emond

On Tuesday 11 September 2012 00:56:59 esajjkh wrote:
> Hi,
> Thank you for your support. MyHazelCastBroadCaster is not a wicket component
> so when i tried to get the Application either from my application class  or
> from *Session.get().getApplcation()*  throws exception. Your help will be
> appreciated. Thank you!
> 
> 
> 
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integra
> tion-with-Wicket-6-tp4651891p4651905.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

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



read html file to string...

2012-09-11 Thread mlabs
I have a fancy wicket app...
I have a textarea on a page...
I have an HTML file full of text..
I want the HTML content to go in the textarea
Q1: where exactly in my web app folder hierarchy should I put my source HTML
file ?
Q2: what is the best way to then read the contents of that file into the
model of my textarea component?

TIA




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/read-html-file-to-string-tp4651906.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



Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread esajjkh
Hi,
Thank you for your support. MyHazelCastBroadCaster is not a wicket component
so when i tried to get the Application either from my application class  or
from *Session.get().getApplcation()*  throws exception. Your help will be
appreciated. Thank you!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integration-with-Wicket-6-tp4651891p4651905.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