Godaddy shared hosting workaround

2010-08-01 Thread pkcinna

There used to be a workaround for Godaddy shared hosting and Wicket but I
cannot find it with Google anymore.

Any suggestions for the following Godaddy shared hosting restrictions?  

1) Cannot write to file system except /tmp directory.  Does wicket attempt
to open any files in write mode on startup?
2) Tomcat restarted at 1am Arizona time daily.  How will this effect users
if they have a session open at that time?  Will the session be lost with
wicket or will it persist okay?
3) filters don't seem to work and app context root can't be / since its on
a shared tomcat process.  How can I setup wicket to run as a servlet?

I am hoping if I use a org.apache.log4j.jdbc.JDBCAppender with log4j it will
actually show stack traces of what goes wrong.  Very painful process but
this is the environment I'm stuck with.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Godaddy-shared-hosting-workaround-tp2309403p2309403.html
Sent from the Wicket - User 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



submitting jQuery modal dialog form to parent page

2010-08-01 Thread zoran

Hi,

I have a wicket page containing jsTree component that opens a jQuery modal
dialog on node select. This modal dialog uses ajax call to add wicket page
as a content of dialog. The problem is that I don't know how to connect this
child's page form with the parent page. 

Do you have some suggestion?

Zoran
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/submitting-jQuery-modal-dialog-form-to-parent-page-tp2309472p2309472.html
Sent from the Wicket - User 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: Disabling serialization in wicket tester....

2010-08-01 Thread Erik Brakkee
On Sun, Aug 1, 2010 at 5:11 AM, Kent Tong k...@cpttm.org.mo wrote
 I would like very much to disable serialization in wicket tester. I
 am using pages with mockito mocks that are not serializable (and why
 should they in a unit test). I am using workarounds now.

You can take a look at http://wicketpagetest.sourceforge.net which
 allows you to inject non-serializable mocks into your pages.


I have already solve the problem myself now using a SerializableProxyFactory
which creates serializable proxies for a mock:

http://utils.wamblee.org/support/general/apidocs/org/wamblee/general/SerializableProxyFactory.html

Will also have a look at the library you are suggesting.







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




Re: WicketForge Needs a New Project Lead

2010-08-01 Thread Advanced Technology®
Hi Nick,
If not late I can take it.

Regards
Azarias


On 20 July 2010 05:20, Nick Heudecker nheudec...@gmail.com wrote:

 Hi,

 As my lack of activity has probably demonstrated, I'm currently unable to
 allocate time to WicketForge.  With a startup and grad school beginning,
 I'm
 swamped and looking for someone to take over the project.  Any takers?

 -Nick




-- 
AT®


Reg: wicket doubts

2010-08-01 Thread aruna rapolu
Hi

I need to connect to the sql server using wicket and data has to put into
drop down box and should be inserted data into  database.

please help me out i now to this technology ,please please help me

and how to include image button and i need to also write that button action
,i,e when i click on to that button data has to insert into the database

please help me this is very urgent for me ,if any one help me i will be very
thank full to them


please help me some.

-- 


Regards
Aruna.R


Re: Reg: wicket doubts

2010-08-01 Thread Jeremy Thomerson
On Sun, Aug 1, 2010 at 10:39 AM, aruna rapolu arunakumm...@gmail.comwrote:

 Hi

 I need to connect to the sql server using wicket and data has to put into
 drop down box and should be inserted data into  database.

 please help me out i now to this technology ,please please help me

 and how to include image button and i need to also write that button action
 ,i,e when i click on to that button data has to insert into the database

 please help me this is very urgent for me ,if any one help me i will be
 very
 thank full to them


 please help me some.

 --


 Regards
 Aruna.R


Have you looked at any of the readily-available Wicket examples?

-- 
Jeremy Thomerson
http://www.wickettraining.com


Re: Reg: wicket doubts

2010-08-01 Thread nino martinez wael
if your new to orms, i'd probably go for guice with mybatis  ibaguice, very
low learning curve.. Latter on you could always add JPA etc..

regards Nino

2010/8/1 aruna rapolu arunakumm...@gmail.com

 Hi

 I need to connect to the sql server using wicket and data has to put into
 drop down box and should be inserted data into  database.

 please help me out i now to this technology ,please please help me

 and how to include image button and i need to also write that button action
 ,i,e when i click on to that button data has to insert into the database

 please help me this is very urgent for me ,if any one help me i will be
 very
 thank full to them


 please help me some.

 --


 Regards
 Aruna.R



Re: Godaddy shared hosting workaround

2010-08-01 Thread Igor Vaynberg
On Sun, Aug 1, 2010 at 5:08 AM, pkcinna pkci...@gmail.com wrote:

 There used to be a workaround for Godaddy shared hosting and Wicket but I
 cannot find it with Google anymore.

 Any suggestions for the following Godaddy shared hosting restrictions?

 1) Cannot write to file system except /tmp directory.  Does wicket attempt
 to open any files in write mode on startup?

use session store to store the pages, then no files will be created.

 2) Tomcat restarted at 1am Arizona time daily.  How will this effect users
 if they have a session open at that time?  Will the session be lost with
 wicket or will it persist okay?

only if tomcat is configured to persist them across restarts

 3) filters don't seem to work and app context root can't be / since its on
 a shared tomcat process.  How can I setup wicket to run as a servlet?

see WicketServlet

-igor


 I am hoping if I use a org.apache.log4j.jdbc.JDBCAppender with log4j it will
 actually show stack traces of what goes wrong.  Very painful process but
 this is the environment I'm stuck with.
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Godaddy-shared-hosting-workaround-tp2309403p2309403.html
 Sent from the Wicket - User 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



[OT] HackAttackException in CryptedUrlWebRequestCodingStrategy, line 606

2010-08-01 Thread nicolas melendez
Just wanna say that  i like the name: HackAttackException   :)

it is in CryptedUrlWebRequestCodingStrategy, line 606

Bye



-- 
Nicolás Meléndez
Java Software Developer

1) Google App Engine works:

1.a) http://www.clasificad.com.ar  (Local free classifieds for  housing,
sale, services, local community, curses,jobs, and events - GAE/J + Wicket +
YUI)

1.b) http://www.chessk.com  (Massive multiplayer chess online  GAE/J +
Applets + Wicket)

2) Linkedin: http://ar.linkedin.com/in/nicolasmelendez


Re: Forms in a base class

2010-08-01 Thread Steve Mactaggart
I have found that you only need to add items directly in the child class to
the form.

We have other panels and components that can be added to each other as you
would normally its just the elements directly inside the sub-class that need
to be added to the form.

Not sure if that helps, or even make sense.

Steve

On Wed, Jul 28, 2010 at 6:52 PM, Wolfgang wolfgang.bue...@exedio.comwrote:



 Jeremy Thomerson-5 wrote:
 
  you need to be adding the components to the form.  you're currently
 adding
  them to the page itself.  the component hierarchy is thus broken.  on
 your
  child page, either do getForm().add(foo) [you'll need to expose a getForm
  method that returns the form from the parent page] or else on your parent
  page (BaseEditPage), setTransparentResolver(true) on the form and add the
  form children to the page then.
 

 It's working but is far from satisfying... It breaks the encapsulation of
 the sub-classes (and those of the sub-sub-classes) because they have to
 know
 they can't use add() anymore but have to use some addToForm(). Once you
 have
 a form somewhere in the hierarchy, trouble begins.

 Also, you cannot declare the form as a transparent resolver anymore which
 means that every component, not only form components, need to use that
 special method. I'm currently trying to find a way to avoid changing all
 the
 hundreds of add() calls in my project...
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Forms-in-a-base-class-tp1891692p2304644.html
 Sent from the Wicket - User 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