Hello,
I have a process that reads a CSV data file. The data contains lists
of people, but the number of fields, the order and the type of fields
can vary from one CSV to another.
Because the data in each column is unknown, a form is displayed with a
preview of the data in a table. The table
could do a partial
refresh if you extract computed property into an
encapsulated object (with it's own cache rule)
* or don't use formula, and do a direct JDBC query into getCoutnReports()
and getAvgQuestions1().
Regards
Tauren Mills wrote:
I'm working on a site that allows people
I'm interested in how others typically build a web application in
regards to using many Pages or very few Pages with Panels for
different web pages of content. I'm not referring to using smaller
reusable panels within pages/panels, but main Panels that encompass
the majority of the content of a
Sean,
I'm in Portland too, but I may not be in town that week. Still
working out the details. It does sound like a great idea. I got a
friend here in town into wicket, so he might be interested as well.
Tauren
On 6/30/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Are there any Wicket
I'm working on a site that allows people to rate services. There is a
Services entity that contains a set of Report entities. Users can add
new services and submit reports on those services. The reports have
questions that users rate from 1 to 5 stars.
I am using hibernate properties with
That sounds great! All the action is overseas, lets get some here on
the west coast! Planning it might be the hard part... Lets see...
juggling 3 wicket projects right now.. can I find time to go to
Seattle? :) I'm sure everyone else is in the same boat...
Tauren
On 7/10/07, Eelco Hillenius
I'm confused on how to access a CompoundPropertyModel from within a
child Panel. I set a CompountPropertyModel in a parent panel. But
doing a getModel() in the child panel returns null. I thought that
wicket would hunt back up the component tree to find an appropriate
CompountPropertyModel. How
, Tauren Mills [EMAIL PROTECTED] wrote:
I'm confused on how to access a CompoundPropertyModel from within a
child Panel. I set a CompountPropertyModel in a parent panel. But
doing a getModel() in the child panel returns null. I thought that
wicket would hunt back up the component tree to find
PROTECTED] wrote:
On 7/9/07, Tauren Mills [EMAIL PROTECTED] wrote:
Component.initModel() calls getParent() and it returns null. I guess
that makes sense because the child hasn't been added to the parent
yet. That happens after the child constructor has finished.
that makes sense
So how
I need to allow users to rate things on a site, but as far as I can
tell, none of the star rating controls I've seen do everything I want.
I'd like the following:
1. Should have CSS or Javascript rollover support to highlight stars
as mouse rolls over them.
2. Must be able to fallback to
) to repaint the updated panel (if you
have recalculated the star rating, etc).
Hope this helps a little. Sorry I didn't have more time for a better
example.
Jeremy Thomerson
On 7/3/07, Tauren Mills [EMAIL PROTECTED] wrote:
I need to allow users to rate things on a site, but as far as I can
:
On 7/3/07, Tauren Mills [EMAIL PROTECTED] wrote:
The Wicket rating control doesn't include the mouse rollover support:
http://wicketstuff.org/wicket13/ajax/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.ajax.builtin.RatingsPage
Before I go and start creating yet another star rating
It seems that there are two primary ways of having consistent layouts
across all pages:
1. Use markup inheritance:
http://cwiki.apache.org/WICKET/markup-inheritance.html
2. Use Borders:
http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html
I personally have used markup
What is the best way to customize the CSS styles of a ModalWindow in
1.2.6? The blue and grey borders do not go well with my site's color
scheme. It looks like setCssClassName only selects from the blue or
grey in modal.css. So how do I use my own stylesheet?
Should I extend ModalWindow and
I'd like to refresh a DataView with OrderByBorder column headers
without doing a full page refresh. In other words, when a column
header is clicked to sort the DataView, the DataView refreshes via
ajax. Pagination can be done via ajax, but I haven't seen a way to do
sorting via ajax. Does it
, this topic was discussed in details
Tauren Mills wrote:
What is the best way to customize the CSS styles of a ModalWindow in
1.2.6?
--
Andrew Klochkov
-
This SF.net email is sponsored by DB2 Express
Download DB2
Igor to the rescue again... Thanks!
Tauren
On 6/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
see ajaxfallbackorderbyborder
-igor
On 6/27/07, Tauren Mills [EMAIL PROTECTED] wrote:
I'd like to refresh a DataView with OrderByBorder column headers
without doing a full page refresh
Igor,
Thanks, that works perfectly.
Tauren
On 6/25/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 6/25/07, Tauren Mills [EMAIL PROTECTED] wrote:
Hi everyone,
I have a page constructor that adds several components. However,
those components are reliant on the existence of an object
I have the following hierarchy:
MyPage
MyDataView
ModalWindow (containing a MyModalPage)
MyModalPage
MyModalForm
AjaxSubmitLink
The modal window is used to add new items to MyDataView.
If there are errors when the form is submitted, the modal window
should stay open with
response to do, then the problem
shouldn't have to do with the dataview/dataprovider, should it?
Any other ideas?
Tauren
On 6/26/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
On Tue, 26 Jun 2007, Tauren Mills wrote:
2. Use AJAX to refresh just MyDataView
Have you tried adding a placeholder
On 6/26/07, Tauren Mills [EMAIL PROTECTED] wrote:
Timo,
Good idea, but that doesn't work either. The Ajax Debug window in
MyPage shows nothing being sent to do. Note this is in Wicket 1.2.6.
INFO:
INFO: Initiating Ajax GET request on
/db/app?wicket:interface=:6:newService
Hi everyone,
I have a page constructor that adds several components. However,
those components are reliant on the existence of an object in the
session. I'd like to test if that object is null, and if it is,
redirect the user to a different page where they can make a selection
that adds a valid
to implement my own
IHeaderContributor. I just wasn't sure how to go about it, and now I
am. So perhaps you are right in that it is best left out of core.
Thanks again!
Tauren
On 6/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 6/23/07, Tauren Mills [EMAIL PROTECTED] wrote:
I am creating
!
Tauren
On 6/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 6/24/07, Tauren Mills [EMAIL PROTECTED] wrote:
Igor,
Thanks for the solution! I'll go that route for now.
However, I'm not convinced that supporting alternate stylesheets is
outside the scope of wicket core. Mozilla
I am creating an application that utilizes alternate stylesheets. A
javascript library also needs each stylesheet to have a title. The
output format should be something like this:
link rel=alternate stylesheet type=text/css href=large.css
title=large /
Using HeaderContributor, I can get this
imagemap like this. I would be
happy to post this information on the wiki, but I don't want to do it
if there are better solutions. So any advice would be appreciated.
Thanks,
Tauren
Eelco
On 6/19/07, Tauren Mills [EMAIL PROTECTED] wrote:
I'm wondering if I should wicketize this form, or leave
I'm wondering if I should wicketize this form, or leave it as a
basic html form and would like to hear your thoughts.
I have a map of the USA with an imagemap. Clicking onto a state goes
to another page that displays a list of metro areas in the state.
img src=img/map.png usemap=#map border=0
Earlier I asked how to relocate html, css, and other resources away
from the Java code and Al Maw gave me some good help in IRC. In our
conversation, he helped me to realize that the approach I was planning
would not work the way I had desired. I'd like to find out how others
on the list have
Eelco and RĂ¼diger,
Thanks for your responses. I must admit I was hoping to hear that
others had solved similar problems with a more robust solution. I was
starting to wonder if what I wanted to do was possible, and it sounds
like it would be very difficult if even possible.
I've already
Hello,
For a wicket 1.2 app, I've located my html files in a different
location than the class files, as decribed here:
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
This works fine. But I'm finding that css, images, and js files are
not being located unless I put
I do this:
log.info( RemoteAddr: +
((WebRequest)getRequest()).getHttpServletRequest().getRemoteAddr());
Works for me in 1.2.5. Will be upgrading to 1.2.6 soon, so I hope it
still works.
Tauren
On 5/7/07, mathias axelsson [EMAIL PROTECTED] wrote:
((WebRequest)
Personally, I rarely use the IP address of the guest in my app, but I
like to log it in case I need to track something down later. I've
seen certain use cases where you want to let the user know where they
are coming from and that the app is logging their actions. For these
reasons, it might be
I'm having a strange problem executing javascript functions from ajax.
Some scripts work and some don't. I've got this java code:
target.appendJavascript(toggleSelection(document.getElementById('+getComponent().getMarkupId()+')));
And in the html I've
I have numerous ajax calls throughout my app, and they work fine in
both FF and IE. However, there is one that behaves differently in IE
and FF. It seems that the onchange behavior of a checkbox happens
at different times between the browsers. With FF, the event is sent
as soon as the checkbox
the interpreter to
barf and not load the rest of the script.
best,
jim
On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote:
I'm having a strange problem executing javascript functions from ajax.
Some scripts work and some don't. I've got this java code:
target.appendJavascript(toggleSelection
Duh!
Thanks!
On 5/5/07, Matej Knopp [EMAIL PROTECTED] wrote:
use onclick instead of onchange.
-Matej
On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote:
I have numerous ajax calls throughout my app, and they work fine in
both FF and IE. However, there is one that behaves differently in IE
I have a text field called 'dateField' on a form that has an
associated DatePicker control. When someone selects a date in the
picker, I want to do an ajax call to refresh another component on the
page. I need the dateField model to be updated in the ajax call.
I originally assumed the model
I'm using a custom ListView to generate a table. The content of the
table consists of four columns of data. I have that working just
fine. But I'd like to add an additional table row on occation to
group rows of data in the table. Thus, there would be a groupRow
that specifies a date, then
is a lsitview in a listview
the first outputs the date row, and then a listview that outputs rows for
that date.
makes sense?
-igor
On 5/2/07, Tauren Mills [EMAIL PROTECTED] wrote:
I'm using a custom ListView to generate a table. The content of the
table consists of four columns
that list on the fly.
-igor
On 5/3/07, Tauren Mills [EMAIL PROTECTED] wrote:
Igor,
Yes, that makes sense. However, I get the data for the list using a
single HQL query with joins and such. If I changed to a ListView
within a ListView, then wouldn't I also need to change to do many HQL
/07, Tauren Mills [EMAIL PROTECTED] wrote:
Igor,
Upon further thought, how can a ListView inside a ListView solve this?
Wouldn't the hierarchy cause the html to be messed up? I can't have
TRs within TRs. The inner listview isn't putting child data inside of
the TR, it needs to make TRs
/07, Tauren Mills [EMAIL PROTECTED] wrote:
Hi,
It appears that the javascript this object is different when I
hardcode the javascript into the html vs. using an AjaxEventBehavior
and appendJavascript. For instance, the this in this refers to the
TR which is correct and the selectRow
I'm considering different ways to implement a Forgot Password
feature. I normally see it done one of two ways.
1. On registration, get a Question and Answer from user. Ask them
this question when they forget their password. On correct answer, let
them change password. I don't have any
that to the user
-igor
On 4/30/07, Tauren Mills [EMAIL PROTECTED] wrote:
I'm considering different ways to implement a Forgot Password
feature. I normally see it done one of two ways.
1. On registration, get a Question and Answer from user. Ask them
this question when they forget
solution? Perhaps
using something besides Base64, but I don't know what would be good to
use.
Thanks,
Tauren
On 4/30/07, Tauren Mills [EMAIL PROTECTED] wrote:
Igor,
Thanks so much!
Tauren
On 4/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
class resetpage extends webpage {
public
Hi,
It appears that the javascript this object is different when I
hardcode the javascript into the html vs. using an AjaxEventBehavior
and appendJavascript. For instance, the this in this refers to the
TR which is correct and the selectRow functions works properly:
tr
Hi,
It appears that the javascript this object is different when I
hardcode the javascript into the html vs. using an AjaxEventBehavior
and appendJavascript. For instance, the this in this refers to the
TR which is correct and the selectRow functions works properly:
tr
47 matches
Mail list logo