-
Notifications
You must be signed in to change notification settings - Fork 0
/
Grails User (Old Archive) - How can I hide a field on the list and show views .html
685 lines (627 loc) · 66.7 KB
/
Grails User (Old Archive) - How can I hide a field on the list and show views .html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0100)http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/nabble.pack.css" type="text/css">
<link rel="stylesheet" href="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/NamlServlet.jtp" type="text/css">
<link href="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/css" rel="stylesheet" type="text/css">
<style type="text/css">
.second-font, h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans';
}
</style>
<script src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/cb=gapi.loaded_1" async=""></script><script defer="" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/s1.js"></script><script async="" type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/ca-pub-6703598369329977.js"></script><script type="text/javascript" async="" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/ga.js"></script><script src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/cb=gapi.loaded_0" async=""></script><script src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/jquery-1.7.2.pack.js" type="text/javascript"></script>
<script src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/nabbledropdown-2.4.1.pack.js" type="text/javascript"></script>
<script src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/NamlServlet(1).jtp" type="text/javascript"></script>
<script type="text/javascript">
var terms = Nabble.getSearchTerms();
var hasTurnOff = false;
Nabble.searchHighlight = function($elem) {
if (terms != null && terms.length > 0) {
$elem.each(function() {
Nabble.highlightSearchTerms(terms, this);
});
if (Nabble.hasHighlightedTerms && !hasTurnOff) {
var turnOffLink = '<span id="turn-off-highlight-control"><span class="highlight"> X </span> ';
turnOffLink += '<a href="javascript:void(0)" onclick="Nabble.turnOffHighlight()">Turn off highlighting</a></span>';
$('#topics-controls-right').prepend(turnOffLink);
hasTurnOff = true;
}
}
};
Nabble.turnOffHighlight = function() {
Nabble.deleteCookie("query");
Nabble.deleteCookie("searchuser");
Nabble.deleteCookie("searchterms");
$('span.search-highlight').removeClass('bold highlight');
$('#turn-off-highlight-control').hide();
};
</script>
<script type="text/javascript">
Nabble.messageTextWidth();
</script>
<script type="text/javascript"> $(document).ready(function() { Nabble.searchHighlight($('h2.post-subject,div.message-text')); }); </script> <script type="text/javascript"> var _hash = Nabble.hash(); if (_hash) { (function(){ var post = _hash.substr(2); var allPosts = [4648243, 4648254]; var allURLs = ["/How-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html"]; var iPost = allPosts.indexOf(parseInt(post)); var lower = 0; var upper = lower + 20; if (iPost != -1 && (iPost < lower || iPost >= upper)) location.replace(allURLs[Math.floor(iPost/20)]+_hash); })(); } $(document).ready(function() { var rootId = '4648243'; var currentPostId = rootId; var isChangingViews = _hash == '#none'; if (_hash && !isChangingViews) currentPostId = _hash.substr(2); Nabble.hideQuotes(); function scrollToSelectedPost() { var $arrow = $('#red-arrow'+currentPostId).show(); if ($arrow.size() > 0) { var isRootPost = currentPostId == rootId; if (Nabble.isEmbedded) { if (Nabble.canScroll()) scrollTo(0, 0); var y = isChangingViews? null : isRootPost? 1 : $arrow.parents('div.classic-row').offset().top; Nabble.resizeFrames('', y); } else if (Nabble.canScroll() && !isRootPost) { var yPos = $arrow.offset().top; scrollTo(0,yPos-20); } } else { if (Nabble.isEmbedded && Nabble.canScroll()) { Nabble.resizeFrames('', 1); } else { var tb = $('div.top-bar').get(0); if (tb) tb.scrollIntoView(); } } }; $(window).load(scrollToSelectedPost); if (Nabble.isEmbedded) { $('div.message-text img').load(Nabble.resizeFrames); } }); </script> <style type="text/css"> div.classic-header { height:2.2em; clear:both; overflow:hidden; } div.classic-author-name { float:left; width: 140px; overflow: hidden; text-align:center; font-weight:bold; } div.classic-subject-line { left:.5em; overflow:hidden; height:1.3em; position:relative; } div.classic-right-menu { float:right; padding-left:1em; } div.classic-bar { padding:.5em .3em; clear:both; height:1.8em; } table.classic-body { border-collapse:collapse; margin-bottom:1em; table-layout: fixed; width:100%; } td.classic-author { vertical-align: top; text-align:center; width:140px; padding-bottom:1em; } td.classic-message { vertical-align:top; padding:1em; } div.message-text { cursor:text; overflow-x:auto; } div.avatar-inner { margin-left:20px; } div.avatar-outer { width:140px; text-align:left; } div.avatar-label { white-space:nowrap; font-size:80%; } </style>
<title>Grails User (Old Archive) - How can I hide a field on the list and show views?</title>
<meta name="description" content="How can I hide a field on the list and show views?. I am using Grails 2.2.2 and adding display: false to a field on a domain class (with dynamic scaffolding) does not hide the field on the list and show...">
<meta name="keywords" content="how, can, hide, field, list, show, views, using, grails, 2, adding, display, false, domain, class, with, dynamic, scaffolding, does, not, where, do, want, displayed, user, old, archive">
<style type="text/css">
#search-box-dropdown {
text-align:left;
position:absolute;
display:none;
z-index:1000;
overflow:hidden;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
var $sdd = $('#search-box-dropdown');
var $sb = $('#search-input');
var $form = $sb.parent();
var timeout;
$(document).click(function(o){
var $target = $(o.target);
if ($target.parents().hasClass('search-box-dropdown')) {
clearTimeout(timeout);
$sb.focus();
}
});
$sb.focusin(function(e) {
$sdd.css('left', $sb.position().left - 5);
$sdd.width($sb.outerWidth() + 10);
$sdd.show();
});
$sb.focusout(function() {
timeout = setTimeout(function() {
$sdd.hide();
},250);
});
$('input[type=radio]', $sdd).change(function() {
var nodeId = $(this).val();
$('input[name="node"]', $form).val(nodeId);
});
$('input[name="node"]', $form).val(1312388);
});
</script><script type="text/javascript">
Nabble.setView = function(view,url,post) {
Nabble.setVar("tview",view);
url += Nabble.getClientID(';');
if (url.indexOf('#') == -1)
url += '#none';
location.replace(url);
};
</script><script type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/plusone.js" gapi_processed="true"></script><style type="text/css"> div.nabble-tooltip, div.nabble-tooltip * { color: #EEE; font-weight:bold; } div.nabble-tooltip { background: #000; font-size:90%; line-height:normal; display: none; position: absolute; z-index: 88888; padding: .5em; border: 1px solid #FFF; white-space:normal; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } div.nabble-tooltip-small-row, div.nabble-tooltip-small-row * { color:#D0EAF2; } div.nabble-tooltip-small-row { font-size:80%; font-weight:normal; padding-top: .4em; } div.nabble-tooltip-arrow { font: 40px Arial, Sans-serif; line-height:1em; left:15px; position:absolute; bottom:-15px; height:15px; width:30px; overflow:hidden; } div.nabble-tooltip-arrow div { position:absolute; } div.nabble-tooltip-arrow div.d1 { top:-22px; color: #FFF; } div.nabble-tooltip-arrow div.d2 { top:-25px; color: #000; } </style> <script type="text/javascript"> Nabble.startTooltip = function(e, position, delay) { if (e.nabbletooltip) return; e.nabbletooltip = true; var $this = $(e); var $arrow = $this.children().last(); var $elem = $this.prev(); $elem.hover( function() { setTip(); setTimer(); }, function() { stopTimer(); $this.hide(); } ); function setTimer() { $this.showTipTimer = setTimeout(function() { $('div.nabble-tooltip').hide(); stopTimer(); $this.fadeTo('fast', .8); }, delay); }; function stopTimer() { clearInterval($this.showTipTimer); }; function setTip(){ if ($this.parent().get() != document.body) $(document.body).append($this); var useTitle = $this.attr('use_title') == 'true'; if (useTitle) { var title = $elem.attr('title'); if (title != '') { $arrow.remove(); $this.html(title); $elem.attr('title',''); $this.append($arrow); } } var win = $(window).width(); if (position == 'up') { var w = $this.outerWidth(); if (w > 250) { w = 250; $this.width(w); } var xMid = $elem.offset().left + $elem.outerWidth()/2; var xTip = xMid - w/2; if (xTip+w > win-5) xTip = win-w-5; if (xTip < 0) xTip = 0; var xArrow = xMid-xTip-11; var yTip = $elem.offset().top-$this.outerHeight()-12; $arrow.css('left', xArrow); $this.css({'top' : yTip, 'left' : xTip}); } else if (position == 'right') { var h = $this.outerHeight(); var yMid = $elem.offset().top + $elem.outerHeight()/2; var yTip = yMid - h/2; var xTip = $elem.offset().left + $elem.outerWidth() + 10; $arrow.width(8).height(24).css({bottom:0,left:-8}); var yArrow = (h - 24)/2; $arrow.css({top:yArrow}); var $d1 = $arrow.children().first(); var $d2 = $arrow.children().last(); $d1.css({top:-11}); $d2.css({top:-11,left:1}); $this.css({'top' : yTip, 'left' : xTip}); } }; }; </script><script type="text/javascript">
Nabble.pinTopic = function(id) {
var call = '/template/NamlServlet.jtp?macro=pin_topic&node=' + id + Nabble.getClientID();
$.getScript(call, function() {
$('#pin-icon').show();
NabbleDropdown.show('unpinTopic');
NabbleDropdown.hide('pinTopic');
alert('This topic has been pinned.');
});
};
</script><script type="text/javascript">
Nabble.unpinTopic = function(id) {
var call = '/template/NamlServlet.jtp?macro=unpin_topic&node=' + id + Nabble.getClientID();
$.getScript(call, function() {
$('#pin-icon').hide();
NabbleDropdown.hide('unpinTopic');
NabbleDropdown.show('pinTopic');
alert('This topic has been unpinned.');
});
};
</script><script type="text/javascript">
Nabble.lockTopic = function(id) {
var call = '/template/NamlServlet.jtp?macro=lock_topic&node=' + id + Nabble.getClientID();
$.getScript(call, function() {
$('#lock-icon').show();
NabbleDropdown.show('unlockTopic');
NabbleDropdown.hide('lockTopic');
alert('This topic has been locked.');
});
};
</script><script type="text/javascript">
Nabble.unlockTopic = function(id) {
var call = '/template/NamlServlet.jtp?macro=unlock_topic&node=' + id + Nabble.getClientID();
$.getScript(call, function() {
$('#lock-icon').hide();
NabbleDropdown.hide('unlockTopic');
NabbleDropdown.show('lockTopic');
alert('This topic has been unlocked.');
});
};
</script><script type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/LoadUnit.jtp"></script><script src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/LoadUnit(1).jtp"></script>
<script type="text/javascript">
Nabble.adbayes();
</script><script type="text/javascript">
Nabble.nViews = function(id, views) {
var $v = $('#v'+id);
var pos = views=='1'?0:1;
var t = $v.html()? $v.html().split('|')[pos]:'';
$v.html(t == ''? views : t.replace(/%1/g,views)).show();
};
</script><style type="text/css">
img.report-flag {
vertical-align:middle;
cursor: pointer;
}
#report-inappropriate-content {
position: fixed;
z-index:9999;
display:none;
padding:1.5em;
left:8%;
right:8%;
top:8%;
background-color:#555;
}
#report-inappropriate-content-inner { padding:.5em; }
#report-inappropriate-content-inner div.big {
height:5em;
padding-top:2em;
text-align:center;
font-size:250%;
}
#report-inappropriate-content-inner div.big2 { font-size:70%; }
div.inappropriate-option { margin:.5em 0; }
</style>
<script type="text/javascript">
var reportNodeId = null;
Nabble.reportContent = function(nodeId) {
reportNodeId = nodeId;
$('#report-inappropriate-content').show();
var url = '/template/NamlServlet.jtp?macro=report_inappropriate_content_form';
$.get(url, function(data) {
$('#report-inappropriate-content-inner').html(data);
});
}
Nabble.closeReport = function() {
$('#report-inappropriate-content').hide();
}
Nabble.sendReport = function() {
$('#send-report-button').attr('disabled','true').addClass('toolbar-disabled');
var type = $('input[name=report_type]:checked').val();
var url = '/template/NamlServlet.jtp?macro=report_inappropriate_content_submit&node='+reportNodeId+'&type='+type+Nabble.getClientID();
$.get(url, function(data) {
var h = 'Thank You';
h += '<div class="weak-color big2">We will review your report soon.</div>';
h += '<a href="javascript: void Nabble.closeReport()">Close</a>';
$('#report-inappropriate-content-inner').html('<div class="big">'+h+'</div>');
});
}
</script>
<script type="text/javascript">
Nabble.setFontSize();
</script>
<script type="text/javascript">
if (Nabble.analytics) Nabble.analytics();
</script>
<!-- Start Quantcast tag -->
<script type="text/javascript">
_qoptions={ qacct:"p-34EL1DZyJypTI" };
</script>
<script type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/quant.js"></script>
<noscript>
<a href="http://www.quantcast.com/p-34EL1DZyJypTI" target="_blank" rel="nofollow">
<img src="http://pixel.quantserve.com/pixel/p-34EL1DZyJypTI.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
</a>
</noscript>
<!-- End Quantcast tag -->
<!-- Start Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['nabble._setAccount', 'UA-91855-9']);
_gaq.push(['nabble._trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- End Google Analytics -->
<script type="text/javascript">
var site_admins = [368401, 129071, 136493];
</script>
<script type="text/javascript">
var isSafe = true;
var Ads = Ads || {};
Ads.text = {
daysLeft: 'Trial period ends in $1 day(s)',
removeAds: 'Remove Ads',
buyCredits: 'Buy credits'
};
$(document).ready(function() {
if (Nabble.wasCreatedRecently && Nabble.currentCredits == 0) {
var s = '<div class="weak-color" style="text-align:center;margin:1em;font-size:80%">';
s += Ads.text.daysLeft.replace(/\$1/,daysLeft)+' – ';
s += '<a href="'+Nabble.buyCreditsPath+'">'+(Nabble.isSafe?Ads.text.removeAds:Ads.text.buyCredits)+'</a>';
s += '</div>';
var isAdmin = Nabble.userId && site_admins.indexOf(Number(Nabble.userId)) >= 0;
if (!isSafe || isAdmin)
$('div.nabble').append(s);
}
});
</script>
<script type="text/javascript">
$(document).ready(function() {
if (Nabble.userId && site_admins.indexOf(Number(Nabble.userId)) >= 0)
$('div.no-ads-message').show();
});
</script>
</head>
<body>
<div id="notice" class="notice rounded-bottom"></div>
<div class="nabble macro_classic_forum_topic" id="nabble">
<div class="top-bar">
<div class="breadcrumbs" style="float:left">
<span id="breadcrumbs" class="weak-color">
<a href="http://grails.1312388.n4.nabble.com/">Grails</a>
<span> › </span>
<a href="http://grails.1312388.n4.nabble.com/Grails-User-Old-Archive-f1312389.html">Grails User (Old Archive)</a>
</span>
</div>
<div style="text-align:right;">
<span style="white-space:nowrap;" id="nabble-user-header"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=login_page&nextUrl=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html">Login</a> <a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=start_registration_page&nextUrl=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html">Register</a></span>
<script type="text/javascript">Nabble.userHeader();</script>
</div>
</div>
<div id="nabble-newsflash" class="info-message" style="display:none;padding:.5em;margin-bottom:.5em"></div>
<div id="topic-search-box" class="search-box float-right" style="padding:.5em 0">
<form action="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp">
<input type="hidden" name="macro" value="search_page">
<input type="hidden" name="node" value="1312388">
<input id="search-input" name="query" size="18" class="medium-border-color">
<div id="search-box-dropdown" class="search-box-dropdown light-bg-color drop-shadow border1 medium-border-color rounded-bottom">
<div style="margin:.5em .5em 0 .5em">
<b>Search</b><br>
<input id="search-root-node" type="radio" name="n" value="1312388" checked="true">
<label for="search-root-node">everywhere</label><br>
<input id="search-this-node" type="radio" name="n" value="4648243">
<label for="search-this-node">
only in this topic
</label>
</div>
<div style="margin:.5em;line-height:2em">
<input class="toolbar action-button float-right" type="submit" value="Search">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=adv_search_page&node=4648243" rel="nofollow" style="font-size:80%">Advanced Search</a>
</div>
</div>
</form>
</div>
<h1 id="post-title" class="adbayes-content" style="margin:0.25em 0 .8em">
How can I hide a field on the list and show views?
</h1>
<div style="margin:1.2em 0 5em">
<div id="topics-controls-left" class="float-left nowrap">
<table>
<tbody><tr>
<td style="padding-right:.1em">
<img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/view-classic.gif" width="18" height="18" style="border:none" alt="classic">
</td>
<td style="padding-right:1.1em">
Classic
</td>
<td style="padding-right:.1em">
<a href="javascript:void(0)" onclick="Nabble.setView('list', '/How-can-I-hide-a-field-on-the-list-and-show-views-tc4648243.html',null)"><img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/view-list.gif" width="18" height="18" style="border:none" alt="list"></a>
</td>
<td style="padding-right:1.1em">
<a href="javascript:void(0)" onclick="Nabble.setView('list', '/How-can-I-hide-a-field-on-the-list-and-show-views-tc4648243.html',null)">List</a>
</td>
<td style="padding-right:.1em">
<a href="javascript:void(0)" onclick="Nabble.setView('threaded', '/How-can-I-hide-a-field-on-the-list-and-show-views-tt4648243.html',null)"><img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/view-threaded.gif" width="18" height="18" style="border:none" alt="threaded"></a>
</td>
<td style="padding-right:1.1em">
<a href="javascript:void(0)" onclick="Nabble.setView('threaded', '/How-can-I-hide-a-field-on-the-list-and-show-views-tt4648243.html',null)">Threaded</a>
</td>
</tr>
</tbody></table>
</div>
<div id="topics-controls-right" class="float-right nowrap" style="padding-top:.3em">
<span class="plus-one-button" style="vertical-align:-5px">
<div id="___plusone_0" style="text-indent: 0px; margin: 0px; padding: 0px; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 90px; height: 20px; background: transparent;"><iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 90px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 20px;" tabindex="0" vspace="0" width="100%" id="I0_1419369188928" name="I0_1419369188928" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/fastbutton.html" data-gapiattached="true" title="+1"></iframe></div>
</span>
<span style="padding-right:1em;height:21px">
<img id="pin-icon" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/pin.png" width="20" height="21" title="This topic has been pinned in Grails User (Old Archive)." style="vertical-align:middle;display:none;">
<div id="tooltip98635" class="nabble-tooltip" use_title="true">
<div class="nabble-tooltip-arrow">
<div class="d1">♦</div>
<div class="d2">♦</div>
</div>
</div>
<script type="text/javascript">
Nabble.startTooltip(Nabble.get('tooltip98635'), 'up', 400);
</script>
</span>
<span id="lock-icon" class="weak-color" style="padding:0 .5em;margin-right:.5em;display:none;">
<img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/lock_sm.png" width="10" height="15" style="vertical-align:middle"> Locked
</span>
<span style="padding-right:1em">
2 messages
</span>
<img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/gear.png" class="image16" alt="Options">
<span id="dd_topicdropdown"><span id="topicdropdown" class="dropdown"><a href="javascript:void(0)" title="Click for more options">Options</a> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/more.png" width="10" height="10"><table class="light-bg-color medium-border-color drop-shadow" style="margin-top:1px;"><tbody><tr id="_loadingtopicdropdown" style="display:none"><td class="dropdown-simple-row"><span id="_loadingSpantopicdropdown">Loading...</span></td></tr><tr id="topicSubscriptionLink"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=subscribe&node=4648243" rel="nofollow">Subscribe via email</a></td></tr><tr class="dropdown-separator"><td class="action-separator medium-border-color"> </td></tr><tr id="moveTopic" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=move_node&node=4648243" rel="nofollow">Move topic</a></td></tr><tr id="pinTopic" style="display:none"><td style="border:none"><a href="javascript: void Nabble.pinTopic(4648243)" rel="nofollow">Pin topic</a></td></tr><tr id="unpinTopic" style="display:none"><td style="border:none"><a href="javascript: void Nabble.unpinTopic(4648243)" rel="nofollow">Unpin topic</a></td></tr><tr id="lockTopic" style="display:none"><td style="border:none"><a href="javascript: void Nabble.lockTopic(4648243)" rel="nofollow">Lock topic</a></td></tr><tr id="unlockTopic" style="display:none"><td style="border:none"><a href="javascript: void Nabble.unlockTopic(4648243)" rel="nofollow">Unlock topic</a></td></tr><tr id="deleteRecursively" style="display:none"><td style="border:none"><a href="javascript: void(0)" onclick="Nabble.deleteFromSite(4648243)" rel="nofollow">Delete this topic</a></td></tr><tr id="deletePost" style="display:none"><td style="border:none"><a href="javascript: void(0)" onclick="Nabble.deletePost(4648243)" rel="nofollow">Delete this topic</a></td></tr><tr id="changeMetaTags" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=change_title_and_meta_tags&node=4648243" rel="nofollow">Change title and meta tags</a></td></tr><tr id="embedPost4648243"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/embed/EmbedOptions.jtp?node=4648243" rel="nofollow">Embed post</a></td></tr><tr id="permalink4648243"><td style="border:none"><a href="javascript: void(0)" onclick="prompt('Copy this:','http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html')">Permalink</a></td></tr></tbody></table></span></span>
<script type="text/javascript">
var dropdown = new NabbleDropdown("topicdropdown", "Options","Click for more options");
dropdown.add('topicSubscriptionLink', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dsubscribe&node\x3D4648243\" rel\x3D\"nofollow\"\x3ESubscribe via email\x3C/a\x3E');
dropdown.addSeparator();
dropdown.add('moveTopic', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dmove_node&node\x3D4648243\" rel\x3D\"nofollow\"\x3EMove topic\x3C/a\x3E', 'display:none');
dropdown.add('pinTopic', '\x3Ca href\x3D\"javascript: void Nabble.pinTopic(4648243)\" rel\x3D\"nofollow\"\x3EPin topic\x3C/a\x3E', 'display:none');
dropdown.add('unpinTopic', '\x3Ca href\x3D\"javascript: void Nabble.unpinTopic(4648243)\" rel\x3D\"nofollow\"\x3EUnpin topic\x3C/a\x3E', 'display:none');
dropdown.add('lockTopic', '\x3Ca href\x3D\"javascript: void Nabble.lockTopic(4648243)\" rel\x3D\"nofollow\"\x3ELock topic\x3C/a\x3E', 'display:none');
dropdown.add('unlockTopic', '\x3Ca href\x3D\"javascript: void Nabble.unlockTopic(4648243)\" rel\x3D\"nofollow\"\x3EUnlock topic\x3C/a\x3E', 'display:none');
dropdown.add('deleteRecursively', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deleteFromSite(4648243)\" rel\x3D\"nofollow\"\x3EDelete this topic\x3C/a\x3E', 'display:none');
dropdown.add('deletePost', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deletePost(4648243)\" rel\x3D\"nofollow\"\x3EDelete this topic\x3C/a\x3E', 'display:none');
dropdown.add('changeMetaTags', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dchange_title_and_meta_tags&node\x3D4648243\" rel\x3D\"nofollow\"\x3EChange title and meta tags\x3C/a\x3E', 'display:none');
dropdown.add('embedPost4648243', '\x3Ca href\x3D\"/embed/EmbedOptions.jtp?node\x3D4648243\" rel\x3D\"nofollow\"\x3EEmbed post\x3C/a\x3E');
dropdown.add('permalink4648243', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"prompt(\'Copy this:\',\'http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html\')\"\x3EPermalink\x3C/a\x3E');
dropdown.build('dd_topicdropdown');
dropdown.loadOnClick('/template/NamlServlet.jtp?macro=topic_dropdown_later&node=4648243' + Nabble.getClientID() + '&_=' + Math.floor(Math.random()*999999));
</script>
</div>
</div>
<div id="topic-contents" style="margin-top:1em;clear:both">
<div id="classic-contents">
<div class="classic-row">
<div class="classic-header">
<div class="classic-bar shaded-bg-color rounded-top">
<div class="classic-author-name nowrap">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=259979">Ben Klein</a>
</div>
<div class="classic-right-menu shaded-bg-color weak-color">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=reply&node=4648243" rel="nofollow">Reply</a> |
<a href="javascript:void(0)" onclick="Nabble.setView('threaded', '/How-can-I-hide-a-field-on-the-list-and-show-views-tt4648243.html',4648243)">Threaded</a>
<div id="tooltip5960" class="nabble-tooltip" use_title="false">
Open this post in threaded view
<div class="nabble-tooltip-arrow">
<div class="d1">♦</div>
<div class="d2">♦</div>
</div>
</div>
<script type="text/javascript">
Nabble.startTooltip(Nabble.get('tooltip5960'), 'up', 400);
</script> |
<span id="dd_postdropdown4648243"><span id="postdropdown4648243" class="dropdown"><a href="javascript:void(0)" title="Click for more options">More</a> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/more.png" width="10" height="10"><table class="light-bg-color medium-border-color drop-shadow" style="margin-top:1px;"><tbody><tr id="_loadingpostdropdown4648243" style="display:none"><td class="dropdown-simple-row"><span id="_loadingSpanpostdropdown4648243">Loading...</span></td></tr><tr id="replyToAuthor4648243" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/user/SendEmail.jtp?type=pm&post=4648243" rel="nofollow">Reply to author</a></td></tr><tr id="editPost4648243" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=edit_post&node=4648243" rel="nofollow">Edit post</a></td></tr><tr id="movePost4648243" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=move_node&node=4648243" rel="nofollow">Move post</a></td></tr><tr id="deletePost4648243" style="display:none"><td style="border:none"><a href="javascript: void(0)" onclick="Nabble.deletePost(4648243)" rel="nofollow">Delete this post</a></td></tr><tr id="deleteRecursively4648243" style="display:none"><td style="border:none"><a href="javascript: void(0)" onclick="Nabble.deleteFromSite(4648243)" rel="nofollow">Delete this post and replies</a></td></tr><tr id="changePostDate4648243" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=change_post_date&node=4648243" rel="nofollow">Change post date</a></td></tr><tr id="print4648243"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=print_post&node=4648243" rel="nofollow">Print post</a></td></tr><tr id="permalink4648243"><td style="border:none"><a href="javascript: void(0)" onclick="prompt('Copy this:','http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html')">Permalink</a></td></tr><tr id="rawMail4648243" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=raw_mail&node=4648243" rel="nofollow">Raw mail</a></td></tr><tr id="social4648243" style="white-space:nowrap"><td style="border:none"><a href="http://twitter.com/share?text=How+can+I+hide+a+field+on+the+list+and+show+views%3F&related=Grails&url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html" title="Twitter" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/twitter.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.facebook.com/share.php?v=4&src=bm&u=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&t=How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Facebook" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/facebook.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://del.icio.us/post?url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title=How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Delicious" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/delicious.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title=How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Google Bookmarks" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/google.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title=How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Stumble Upon" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/stumbleupon.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&source=Grails" title="LinkedIn" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/linkedin.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title=How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Digg" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/digg.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a></td></tr></tbody></table></span></span>
<script type="text/javascript">
var dropdown = new NabbleDropdown("postdropdown4648243", "More","Click for more options");
dropdown.add('replyToAuthor4648243', '\x3Ca href\x3D\"/user/SendEmail.jtp?type\x3Dpm&post\x3D4648243\" rel\x3D\"nofollow\"\x3EReply to author\x3C/a\x3E', 'display:none');
dropdown.add('editPost4648243', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dedit_post&node\x3D4648243\" rel\x3D\"nofollow\"\x3EEdit post\x3C/a\x3E', 'display:none');
dropdown.add('movePost4648243', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dmove_node&node\x3D4648243\" rel\x3D\"nofollow\"\x3EMove post\x3C/a\x3E', 'display:none');
dropdown.add('deletePost4648243', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deletePost(4648243)\" rel\x3D\"nofollow\"\x3EDelete this post\x3C/a\x3E', 'display:none');
dropdown.add('deleteRecursively4648243', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deleteFromSite(4648243)\" rel\x3D\"nofollow\"\x3EDelete this post and replies\x3C/a\x3E', 'display:none');
dropdown.add('changePostDate4648243', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dchange_post_date&node\x3D4648243\" rel\x3D\"nofollow\"\x3EChange post date\x3C/a\x3E', 'display:none');
dropdown.add('print4648243', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dprint_post&node\x3D4648243\" rel\x3D\"nofollow\"\x3EPrint post\x3C/a\x3E');
dropdown.add('permalink4648243', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"prompt(\'Copy this:\',\'http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html\')\"\x3EPermalink\x3C/a\x3E');
dropdown.add('rawMail4648243', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Draw_mail&node\x3D4648243\" rel\x3D\"nofollow\"\x3ERaw mail\x3C/a\x3E', 'display:none');
dropdown.add('social4648243', '\x3Ca href\x3D\"http://twitter.com/share?text\x3DHow+can+I+hide+a+field+on+the+list+and+show+views%3F&related\x3DGrails&url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html\" title\x3D\"Twitter\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/twitter.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.facebook.com/share.php?v\x3D4&src\x3Dbm&u\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&t\x3DHow+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Facebook\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/facebook.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://del.icio.us/post?url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title\x3DHow+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Delicious\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/delicious.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.google.com/bookmarks/mark?op\x3Dadd&bkmk\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title\x3DHow+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Google Bookmarks\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/google.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.stumbleupon.com/submit?url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title\x3DHow+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Stumble Upon\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/stumbleupon.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.linkedin.com/shareArticle?mini\x3Dtrue&url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&source\x3DGrails\" title\x3D\"LinkedIn\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/linkedin.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://digg.com/submit?phase\x3D2&url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243.html&title\x3DHow+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Digg\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/digg.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E','white-space:nowrap');
dropdown.build('dd_postdropdown4648243');
dropdown.loadOnClick('/template/NamlServlet.jtp?macro=post_dropdown_later&node=4648243' + Nabble.getClientID() + '&_=' + Math.floor(Math.random()*999999));
</script>
<img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/flag_gray.png" class="report-flag" onclick="Nabble.reportContent(4648243)">
<div id="tooltip10159" class="nabble-tooltip" use_title="false">
Report Content as Inappropriate
<div class="nabble-tooltip-arrow">
<div class="d1">♦</div>
<div class="d2">♦</div>
</div>
</div>
<script type="text/javascript">
Nabble.startTooltip(Nabble.get('tooltip10159'), 'up', 400);
</script>
</div>
<div class="classic-subject-line">
<span id="red-arrow4648243" class="float-left invisible" style="margin-top: 0.2em; display: inline;">
<img title="Selected post" width="15" height="15" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/arrow.png" alt="Selected post">
</span>
<span class="post-date float-left">
<span id="d1377119828000-307">Aug 21, 2013; 5:17pm</span><script type="text/javascript">
Nabble.get('d1377119828000-307').innerHTML= Nabble.formatDateLong(new Date(1377119828000));
</script>
</span>
<h2 class="post-subject float-left adbayes-content" style="width:30%;overflow:visible;font-family:inherit">
How can I hide a field on the list and show views?
</h2>
</div>
</div>
</div>
<table class="classic-body">
<tbody><tr>
<td class="classic-author shaded-bg-color rounded-bottom">
<div class="avatar-outer">
<div class="avatar-inner">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=259979" rel="nofollow" title="View profile of Ben Klein" class="nowrap no-decoration"><img class="avatar medium-border-color" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/8575d1f4fc0975a98685633c6b47a4d4" height="100" width="100" alt="Ben Klein" title="Ben Klein"><img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/online.png" class="online259979 online invisible" title="User is online" alt="online"></a>
</div>
</div>
<div class="post-count259979 avatar-label weak-color">61 posts</div>
</td>
<td class="classic-message">
<div id="message4648243" class="message-text adbayes-content">
I am using Grails 2.2.2 and adding display: false to a field on a domain class (with dynamic scaffolding) does not hide the field on the list and show views, where I do not want it displayed, but rather on the create and edit views, where I actually do (I want the user to be able to create a domain instance and supply a value for this field, only without it being displayed to someone who’s neither creating nor editing the instance).
<br><br>Is there another way to get this effect with dynamic scaffolding, or am I just doing something wrong?
<br><br>Ben
<br><br>--
<br>b<!--start-attachments--><div class="small"><br><img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/icon_attachment.gif"> <strong>smime.p7s</strong> (1K) <a href="http://grails.1312388.n4.nabble.com/attachment/4648243/0/smime.p7s" target="_top" rel="nofollow" link="external">Download Attachment</a></div><!--end-attachments-->
</div>
<script type="text/javascript">
Nabble.ads('first_classic_message');
</script><div class="ad " style="display:block !important;visibility:visible !important;height:auto !important; width: auto !important;position:static !important;top:auto !important;left:auto !important;text-align:left;width:675px !important;">
<div style="width:336px; float:left; clear:none; display:block !important;" class="div465552">
<script type="text/javascript">Nabble._fn()</script><a id="ad465552" href="http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html#" style="display:none">.</a>
<script type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/show_ads.js"></script><ins id="aswift_0_expand" style="display:inline-table;border:none;height:280px;margin:0;padding:0;position:relative;visibility:visible;width:336px;background-color:transparent"><ins id="aswift_0_anchor" style="display:block;border:none;height:280px;margin:0;padding:0;position:relative;visibility:visible;width:336px;background-color:transparent"><iframe width="336" height="280" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_0" name="aswift_0" style="left:0;position:absolute;top:0;"></iframe></ins></ins><style type="text/css">.nabble .div465552 ins { display:inline-table !important; visibility: visible !important; height:280px !important; width: 336px !important; position:static !important;top:auto !important;left:auto !important; }.nabble .div465552 ins ins iframe { display:block !important; visibility: visible !important; height:280px !important; width: 336px !important; position:static !important;top:auto !important;left:auto !important; }</style>
</div>
<div style="width:336px; float:left; clear:none; display:block !important;" class="div510827">
<script type="text/javascript">Nabble._fn()</script><a id="ad510827" href="http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html#" style="display:none">.</a>
<script type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/show_ads.js"></script><ins id="aswift_1_expand" style="display:inline-table;border:none;height:280px;margin:0;padding:0;position:relative;visibility:visible;width:336px;background-color:transparent"><ins id="aswift_1_anchor" style="display:block;border:none;height:280px;margin:0;padding:0;position:relative;visibility:visible;width:336px;background-color:transparent"><iframe width="336" height="280" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_1" name="aswift_1" style="left:0;position:absolute;top:0;"></iframe></ins></ins><style type="text/css">.nabble .div510827 ins { display:inline-table !important; visibility: visible !important; height:280px !important; width: 336px !important; position:static !important;top:auto !important;left:auto !important; }.nabble .div510827 ins ins iframe { display:block !important; visibility: visible !important; height:280px !important; width: 336px !important; position:static !important;top:auto !important;left:auto !important; }</style>
</div>
</div></td>
</tr>
</tbody></table>
</div>
<div class="classic-row">
<div class="classic-header">
<div class="classic-bar shaded-bg-color rounded-top">
<div class="classic-author-name nowrap">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=368593">wavyx</a>
</div>
<div class="classic-right-menu shaded-bg-color weak-color">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=reply&node=4648254" rel="nofollow">Reply</a> |
<a href="javascript:void(0)" onclick="Nabble.setView('threaded', '/How-can-I-hide-a-field-on-the-list-and-show-views-tt4648243.html#a4648254',4648254)">Threaded</a>
<div id="tooltip52929" class="nabble-tooltip" use_title="false">
Open this post in threaded view
<div class="nabble-tooltip-arrow">
<div class="d1">♦</div>
<div class="d2">♦</div>
</div>
</div>
<script type="text/javascript">
Nabble.startTooltip(Nabble.get('tooltip52929'), 'up', 400);
</script> |
<span id="dd_postdropdown4648254"><span id="postdropdown4648254" class="dropdown"><a href="javascript:void(0)" title="Click for more options">More</a> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/more.png" width="10" height="10"><table class="light-bg-color medium-border-color drop-shadow" style="margin-top:1px;"><tbody><tr id="_loadingpostdropdown4648254" style="display:none"><td class="dropdown-simple-row"><span id="_loadingSpanpostdropdown4648254">Loading...</span></td></tr><tr id="replyToAuthor4648254" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/user/SendEmail.jtp?type=pm&post=4648254" rel="nofollow">Reply to author</a></td></tr><tr id="editPost4648254" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=edit_post&node=4648254" rel="nofollow">Edit post</a></td></tr><tr id="movePost4648254" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=move_node&node=4648254" rel="nofollow">Move post</a></td></tr><tr id="deletePost4648254" style="display:none"><td style="border:none"><a href="javascript: void(0)" onclick="Nabble.deletePost(4648254)" rel="nofollow">Delete this post</a></td></tr><tr id="deleteRecursively4648254" style="display:none"><td style="border:none"><a href="javascript: void(0)" onclick="Nabble.deleteFromSite(4648254)" rel="nofollow">Delete this post and replies</a></td></tr><tr id="changePostDate4648254" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=change_post_date&node=4648254" rel="nofollow">Change post date</a></td></tr><tr id="print4648254"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=print_post&node=4648254" rel="nofollow">Print post</a></td></tr><tr id="permalink4648254"><td style="border:none"><a href="javascript: void(0)" onclick="prompt('Copy this:','http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html')">Permalink</a></td></tr><tr id="rawMail4648254" style="display:none"><td style="border:none"><a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=raw_mail&node=4648254" rel="nofollow">Raw mail</a></td></tr><tr id="social4648254" style="white-space:nowrap"><td style="border:none"><a href="http://twitter.com/share?text=Re%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F&related=Grails&url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html" title="Twitter" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/twitter.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.facebook.com/share.php?v=4&src=bm&u=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&t=Re%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Facebook" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/facebook.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://del.icio.us/post?url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title=Re%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Delicious" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/delicious.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title=Re%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Google Bookmarks" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/google.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title=Re%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Stumble Upon" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/stumbleupon.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&source=Grails" title="LinkedIn" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/linkedin.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title=Re%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F" title="Digg" target="_blank" ignore="y"> <img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/digg.png" style="width:16px;height:16px;margin-top:.2em;border:none;"> </a></td></tr></tbody></table></span></span>
<script type="text/javascript">
var dropdown = new NabbleDropdown("postdropdown4648254", "More","Click for more options");
dropdown.add('replyToAuthor4648254', '\x3Ca href\x3D\"/user/SendEmail.jtp?type\x3Dpm&post\x3D4648254\" rel\x3D\"nofollow\"\x3EReply to author\x3C/a\x3E', 'display:none');
dropdown.add('editPost4648254', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dedit_post&node\x3D4648254\" rel\x3D\"nofollow\"\x3EEdit post\x3C/a\x3E', 'display:none');
dropdown.add('movePost4648254', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dmove_node&node\x3D4648254\" rel\x3D\"nofollow\"\x3EMove post\x3C/a\x3E', 'display:none');
dropdown.add('deletePost4648254', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deletePost(4648254)\" rel\x3D\"nofollow\"\x3EDelete this post\x3C/a\x3E', 'display:none');
dropdown.add('deleteRecursively4648254', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deleteFromSite(4648254)\" rel\x3D\"nofollow\"\x3EDelete this post and replies\x3C/a\x3E', 'display:none');
dropdown.add('changePostDate4648254', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dchange_post_date&node\x3D4648254\" rel\x3D\"nofollow\"\x3EChange post date\x3C/a\x3E', 'display:none');
dropdown.add('print4648254', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dprint_post&node\x3D4648254\" rel\x3D\"nofollow\"\x3EPrint post\x3C/a\x3E');
dropdown.add('permalink4648254', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"prompt(\'Copy this:\',\'http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html\')\"\x3EPermalink\x3C/a\x3E');
dropdown.add('rawMail4648254', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Draw_mail&node\x3D4648254\" rel\x3D\"nofollow\"\x3ERaw mail\x3C/a\x3E', 'display:none');
dropdown.add('social4648254', '\x3Ca href\x3D\"http://twitter.com/share?text\x3DRe%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F&related\x3DGrails&url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html\" title\x3D\"Twitter\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/twitter.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.facebook.com/share.php?v\x3D4&src\x3Dbm&u\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&t\x3DRe%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Facebook\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/facebook.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://del.icio.us/post?url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title\x3DRe%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Delicious\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/delicious.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.google.com/bookmarks/mark?op\x3Dadd&bkmk\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title\x3DRe%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Google Bookmarks\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/google.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.stumbleupon.com/submit?url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title\x3DRe%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Stumble Upon\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/stumbleupon.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.linkedin.com/shareArticle?mini\x3Dtrue&url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&source\x3DGrails\" title\x3D\"LinkedIn\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/linkedin.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://digg.com/submit?phase\x3D2&url\x3Dhttp%3A%2F%2Fgrails.1312388.n4.nabble.com%2FHow-can-I-hide-a-field-on-the-list-and-show-views-tp4648243p4648254.html&title\x3DRe%3A+How+can+I+hide+a+field+on+the+list+and+show+views%3F\" title\x3D\"Digg\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/digg.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E','white-space:nowrap');
dropdown.build('dd_postdropdown4648254');
dropdown.loadOnClick('/template/NamlServlet.jtp?macro=post_dropdown_later&node=4648254' + Nabble.getClientID() + '&_=' + Math.floor(Math.random()*999999));
</script>
<img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/flag_gray.png" class="report-flag" onclick="Nabble.reportContent(4648254)">
<div id="tooltip37138" class="nabble-tooltip" use_title="false">
Report Content as Inappropriate
<div class="nabble-tooltip-arrow">
<div class="d1">♦</div>
<div class="d2">♦</div>
</div>
</div>
<script type="text/javascript">
Nabble.startTooltip(Nabble.get('tooltip37138'), 'up', 400);
</script>
</div>
<div class="classic-subject-line">
<span id="red-arrow4648254" class="float-left invisible" style="margin-top:.2em">
<img title="Selected post" width="15" height="15" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/arrow.png" alt="Selected post">
</span>
<span class="post-date float-left">
<span id="d1377156331705-50">Aug 22, 2013; 3:25am</span><script type="text/javascript">
Nabble.get('d1377156331705-50').innerHTML= Nabble.formatDateLong(new Date(1377156331705));
</script>
</span>
<h2 class="post-subject float-left adbayes-content" style="width:30%;overflow:visible;font-family:inherit">
Re: How can I hide a field on the list and show views?
</h2>
</div>
</div>
</div>
<table class="classic-body">
<tbody><tr>
<td class="classic-author shaded-bg-color rounded-bottom">
<div class="avatar-outer">
<div class="avatar-inner">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=368593" rel="nofollow" title="View profile of wavyx" class="nowrap no-decoration"><img class="avatar medium-border-color" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/52d7adb65a8e1d8bff2dfe5dc935277a" height="100" width="100" alt="wavyx" title="wavyx"><img src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/online.png" class="online368593 online invisible" title="User is online" alt="online"></a>
</div>
</div>
<div class="post-count368593 avatar-label weak-color">48 posts</div>
</td>
<td class="classic-message">
<div id="message4648254" class="message-text adbayes-content">
Hi,
<br><br>I have modified the scaffolding templates to have this behaviour.
<br>Original list.gsp (partial):
<br><pre> <% excludedProps = Event.allEvents.toList() << 'id' << 'version'
allowedNames = domainClass.persistentProperties*.name << 'dateCreated' << 'lastUpdated'
props = domainClass.properties.findAll { allowedNames.contains(it.name) && !excludedProps.contains(it.name) && it.type != null && !Collection.isAssignableFrom(it.type) }
Collections.sort(props, comparator.constructors[0].newInstance([domainClass] as Object[]))
props.eachWithIndex { p, i ->
if (i < 6) {
if (p.isAssociation()) { %>
<th><g:message code="${domainClass.propertyName}.${p.name}.label" default="${p.naturalName}" /></th>
<% } else { %>
<g:sortableColumn property="${p.name}" title="\${message(code: '${domainClass.propertyName}.${p.name}.label', default: '${p.naturalName}')}" />
<% } } } %>
</pre><br>Modified list.gsp (partial):
<br><pre><% excludedProps = Event.allEvents.toList() << 'id' << 'version'
allowedNames = domainClass.persistentProperties*.name << 'dateCreated' << 'lastUpdated'
props = domainClass.properties.findAll { allowedNames.contains(it.name) && !excludedProps.contains(it.name) && it.type != null && !Collection.isAssignableFrom(it.type) }
Collections.sort(props, comparator.constructors[0].newInstance([domainClass] as Object[]))
props.eachWithIndex { p, i ->
boolean displayList = true
if (hasHibernate) {
cp = domainClass.constrainedProperties[p.name]
displayList = (cp && cp.attributes ? cp.attributes['displayList'] : true)
}
if (displayList) {
if (p.isAssociation()) { %>
<th><g:message code="${domainClass.propertyName}.${p.name}.label" default="${p.naturalName}"/></th>
<% } else { %>
<g:sortableColumn property="${p.name}"
title="\${message(code: '${domainClass.propertyName}.${p.name}.label', default: '${p.naturalName}')}"
params="\${filterParams}"/>
<% }
}
} %>
</pre><br>so in my case I extended to support the 'displayList' attribute
<br>displayList = (cp && cp.attributes ? cp.attributes['displayList'] : true)
<br><br>and then in my domain class, I end up with:
<br> static constraints = {
<br> name(nullable: false, blank: false, unique: true)
<br> invisibleName(display: false, attributes: [displayList: false])
<br> }
<br><br>Eric
<br>
</div>
<script type="text/javascript">
Nabble.ads('last_classic_message');
</script><div class="ad div517448" style="display:block !important;visibility:visible !important;height:auto !important; width: auto !important;position:static !important;top:auto !important;left:auto !important;text-align:left;padding-top:1em;">
<a id="ad517448" href="http://grails.1312388.n4.nabble.com/How-can-I-hide-a-field-on-the-list-and-show-views-td4648243.html#" style="display:none">.</a>
<script type="text/javascript" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/show_ads.js"></script><ins id="aswift_2_expand" style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px;background-color:transparent"><ins id="aswift_2_anchor" style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px;background-color:transparent"><iframe width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}" id="aswift_2" name="aswift_2" style="left:0;position:absolute;top:0;"></iframe></ins></ins><style type="text/css">.nabble .div517448 ins { display:inline-table !important; visibility: visible !important; height:90px !important; width: 728px !important; position:static !important;top:auto !important;left:auto !important; }.nabble .div517448 ins ins iframe { display:block !important; visibility: visible !important; height:90px !important; width: 728px !important; position:static !important;top:auto !important;left:auto !important; }</style>
</div></td>
</tr>
</tbody></table>
</div>
</div>
</div>
<div id="topic-footer" class="weak-color" style="padding-top:1em">
«
<a href="http://grails.1312388.n4.nabble.com/Grails-User-Old-Archive-f1312389.html">Return to Grails User (Old Archive)</a>
|
<span id="v4648243" style="">301 views</span>
</div>
<div id="report-inappropriate-content" class="report-inappropriate-content rounded">
<div id="report-inappropriate-content-inner" class="no-bg-color medium-border-color border2">
<div class="big">Loading...</div>
</div>
</div>
<script type="text/javascript">
Nabble.ads('topic_bottom');
</script>
<table class="footer-table shaded-bg-color">
<tbody><tr>
<td class="footer-left weak-color">
Powered by
<a href="http://www.nabble.com/" target="_top">Nabble</a>
</td>
<td class="footer-right">
<a href="http://grails.1312388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=classic_forum_topic%21nabble%3Atopic.naml&base=nabble.view.web.template.ServletNamespace" rel="nofollow">Edit this page</a>
</td>
</tr>
</tbody></table>
<!-- Ad.true -->
<script type="text/javascript">
var scriptUrl = '/template/NamlServlet.jtp?macro=js_page&searchSpecial=4648243&incViewCount=4648243&newsflash=&visitorOnline=&avatarOnline=259979|368593&postCount=259979|368593&markVisited=4648254&views=4648243';
scriptUrl += '&_=' + Math.floor(Math.random()*9999) + Nabble.getClientID();
$.getScript(scriptUrl, function() { Nabble.resizeFrames(); });
</script>
</div>
<script type="text/javascript">
$(document).ready(function() { Nabble.fixCookieClientID(); });
(function(){ var sNew = document.createElement("script"); sNew.defer = true; sNew.src = "http://tag.crsspxl.com/s1.js?d=1294"; var s0 = document.getElementsByTagName('script')[0]; s0.parentNode.insertBefore(sNew, s0); })();
</script>
<!-- n4.nabble.com | Site ID = 1312388 -->
<iframe name="oauth2relay704231967" id="oauth2relay704231967" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/postmessageRelay.html" tabindex="-1" style="width: 1px; height: 1px; position: absolute; top: -100px;"></iframe><iframe width="1" height="1" frameborder="0" style="visibility:hidden;position:absolute;border:medium none" src="./Grails User (Old Archive) - How can I hide a field on the list and show views _files/s2.html"></iframe><iframe id="google_osd_static_frame_9809084592852" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;"></iframe></body></html>